撤销聚合收款码商户
public static function cancelAggregateQrcodeMerchant(params){
return api.post({
url: '/aggregatePay/cancelAggregateQrcodeMerchant',
data: params.data
});
},
//查询聚合收款码商户
public static function queryAggregateQrcodeMerchant(params){
return api.post({
url: '/aggregatePay/queryAggregateQrcodeMerchant',
data: params.data
});
},
}
return service
})();
export default aggregatePay;
A:
Your code sort of looks like ES6 Modules but you're mixing up the syntax a bit.
To export something from a module you need to use the export keyword.
For instance, if you want to export the aggregatePay function, you'd use the following syntax:
export default function aggregatePay() {
// ...
}
And then in your main code you'd do something like this:
import aggregatePay from './aggregatePay';
aggregatePay();
You can also export multiple variables (functions or classes) from a single module by using the export keyword directly in front of the variable.
For example, if you wanted to export the cancelAggregateQrcodeMerchant and queryAggregateQrcodeMerchant functions, you'd do the following:
export function cancelAggregateQrcodeMerchant() {
// ...
}
export function queryAggregateQrcodeMerchant() {
// ...
}
And then in your main code you'd do something like this:
import { cancelAggregateQrcodeMerchant, queryAggregateQrcodeMerchant } from './aggregatePay';
cancelAggregateQrcodeMerchant();
撤销聚合收款码商户还能用吗是的,但是需要重新申请一个收款码商户并绑定新的商户号。在撤销聚合收款码之后,原来使用的商户号已经被取消,无法再次使用。
撤销聚合收款码商户会知道吗一般来说,聚合收款的撤销会向商户发出短信通知,商户会知道这笔聚合收款已被撤销。