Commit 506b4b48 by 孙亚楠

d

parent 6b8545f3
......@@ -49,7 +49,16 @@ class MerchantUserCtl extends CtlBase {
//资金流水
async merchanttradesOfListAll(params, pobj2, req) {
try {
return await this.merchanttradeSve.merchanttradesOfListAll(params);
let res = await this.merchanttradeSve.merchanttradesOfListAll(params);
if(res.status!=0){
return res;
}
for(let item of res.data.rows){
item.amount = system.f2y(item.amount);
item.available_amount = system.f2y(item.available_amount);
item.balance_amount = system.f2y(item.balance_amount);
}
return res;
} catch (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