Commit a058ec31 by 孙亚楠

d

parent 959f0fd1
......@@ -101,7 +101,7 @@ class BpoSDPJApi {
}
});
console.log("查看签约类型 _ecompanybusi=" + JSON.stringify(_ecompanybusi));
if(!_ecompanybusi || !_ecompanybusi.hasOwnProperty("app_type")){
if(!_ecompanybusi || !_ecompanybusi.dataValues.hasOwnProperty("app_type")){
return this.getCodeResult(500,null);
}
let _ccashinfoProperty = {};
......@@ -109,7 +109,7 @@ class BpoSDPJApi {
_ccashinfoProperty.app_type = _ecompanybusi.app_type;
_ccashinfoProperty.outTradeNo = obj.outTradeNo;
_ccashinfoProperty.mchtId = obj.mchtId;
_ccashinfoProperty.ecid = _ecompanybusobj;
_ccashinfoProperty.ecid = _ecompanybusi.etemplate_id;
_ccashinfoProperty.app_id = obj.appId;
_ccashinfoProperty.amt = Number(obj.amt || 0);
_ccashinfoProperty.idName = this.trim(obj.idName) || "";
......
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