Commit b89faf43 by 孙亚楠

d

parent 12299a80
...@@ -30,7 +30,14 @@ class MerchantaccountCtl extends CtlBase { ...@@ -30,7 +30,14 @@ class MerchantaccountCtl extends CtlBase {
async merchantAccountList(params, pobj2, req) { async merchantAccountList(params, pobj2, req) {
try { try {
return await this.merchantaccountSve.merchantAccountList(params); let page = await this.merchantaccountSve.merchantAccountList(params);
if(page.status!=0 ){
return page;
}
for (let item of page.data.rows) {
item.available_amount = system.f2y(item.available_amount);
item.balance_amount = system.f2y(item.balance_amount);
}
} catch (error) { } catch (error) {
return system.getResult(null, `系统错误 错误信息 ${error}`); return system.getResult(null, `系统错误 错误信息 ${error}`);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment