Commit 18f5384a by 王昆

Merge branch 'bpo-web' of gitlab.gongsibao.com:jiangyong/zhichan into bpo-web

parents b7c0c585 9eb4fdc6
......@@ -628,18 +628,18 @@ class BpoSDPJApi {
let ccashinfo = await this.ccashinfoSve.findOne({
id:id
});
if(!ccashinfo.app_id){
return this.getErrResult("app_id不能为空");
}
if(!ccashinfo.ecid){
return this.getErrResult("ecid不能为空");
}
if(!ccashinfo.outTradeNo){
return this.getErrResult("outTradeNo不能为空");
}
if(!ccashinfo.amt){
return this.getErrResult("amt不能为空");
}
// if(!ccashinfo.app_id){
// return this.getErrResult("app_id不能为空");
// }
// if(!ccashinfo.ecid){
// return this.getErrResult("ecid不能为空");
// }
// if(!ccashinfo.outTradeNo){
// return this.getErrResult("outTradeNo不能为空");
// }
// if(!ccashinfo.amt){
// return this.getErrResult("amt不能为空");
// }
// if(!ccashinfo.id_name){
// return this.getErrResult("id_name不能为空");
// }
......
......@@ -119,6 +119,7 @@ class CcashinfoService extends ServiceBase {
} else if (resData.trade_status == "02") {
resData.trade_desc = bean.trade_desc;
} else if (resData.trade_status == "01") {
resData.amt = system.f2y(bean.amt);
resData.trade_desc = bean.trade_desc;
}
}
......
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