responseType: 'blob', // 必填
export async function export_merchants(data?: Record<string, any>,options?: Record<string, any>) {
return request(API_OP_SERVER + '/gotone-merchant-api/op/merchant/export_authority_version_associated_merchants', {
method: 'POST',
data,
responseType: 'blob', // 必填
...(options || {}),
});
}
使用POST方法导出商户数据,
该代码段定义了一个异步函数export_merchants,它调用API服务器进行POST请求,用于导出与权限版本关联的商户数据。请求响应类型设置为blob,允许处理二进制大型数据。函数接受可选的数据和选项参数。
1487

被折叠的 条评论
为什么被折叠?



