Commit 27836cce by 宋毅

tj

parent c4627238
......@@ -350,7 +350,7 @@ class utilsTlBankSve {
result = "回调cusorderid参数错误,没有_标识";
return result;
}
if (attachList[0] && attachList[0].substr(0, 3) == "qft") {
if (attachList[0] && attachList[0].substr(0, 3) == "qft"tmpResult) {
var p = {
"actionProcess": "actionProcess参数不",
"actionType": "receiveCallBackNotify",
......@@ -359,8 +359,8 @@ class utilsTlBankSve {
};
var qftstr = await this.restClient.execPost(p, this.centerChannelUrl + "web/payment/paymentApi/springBoard");
var qftjson = JSON.parse(qftstr.stdout);
if(qftjson.status>-1){
result="success"
if (qftjson.status > -1) {
result = "success"
}
return result;
} else {
......@@ -368,8 +368,8 @@ class utilsTlBankSve {
var payParam = await this.companypayparamDao.getOneByCompanyId(tmpCompanyId, 1);
if (!payParam) {
result.return_msg = "回调公司没有对应的支付凭证";
return jsonBuilder.buildObject(result);
result = "回调公司没有对应的支付凭证";
return result;
}
var signResult = await this.resultSign(parmas, payParam.pay_key);
if (signResult.code != 1) {
......@@ -384,17 +384,14 @@ class utilsTlBankSve {
if (parmas.other_company_id && Number(parmas.other_company_id) > 0) {
var otherPayParam = await this.companypayparamDao.getOneByCompanyId(parmas.other_company_id, 1);
if (!otherPayParam) {
result.return_msg = "回调其他公司公司没有对应的配置信息";
return jsonBuilder.buildObject(result);
result = "回调其他公司公司没有对应的配置信息";
return result;
}
return await this.opOtherCompanyNotify(otherPayParam.notifyUrl, parmas, "通联回调");
}//是别的公司则进行回调别的接口信息
else {
var backResult = await this.opBackNotify(parmas, "通联回调");
if (backResult.code != 1) {
result = backResult.msg;
return result;
}
result = backResult.msg;
return result;
}
}
......@@ -522,7 +519,7 @@ class utilsTlBankSve {
其余为事务处理会抛出异常
*/
async notifyOpDb(obj) {
var notifyResult = { code: 1, msg: "ok" };
var notifyResult = { code: 1, msg: "success" };
var account_type_list = uiconfig.config.pdict.accountType;
var account_type_name = account_type_list[obj.req_accountType];
obj.account_type_name = account_type_name;
......
......@@ -7,11 +7,11 @@ var settings={
},
database:{
dbname : "igirl",
user : "write",
password : "write",
config : {
host: '43.247.184.35',
port:8899,
user: "write",
password: "write",
config: {
host: '43.247.184.35',
port: 8899,
dialect: 'mysql',
operatorsAliases: false,
pool: {
......
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