Commit 5ba25a04 by 宋毅

tj

parent db6da460
......@@ -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") || parmas.trxreserved == "h5paypagesywdy") {
var p = {
"actionProcess": "actionProcess参数不",
"actionType": "receiveCallBackNotify",
......@@ -360,7 +360,7 @@ 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"
result = "success";
}
return result;
} else {
......
......@@ -28,14 +28,11 @@ module.exports = function (app) {
app.use("/api/tl/zxNotify", async function (req, res, next) {
var client_ip = System.get_client_ip(req);
if (req.body.remark && req.body.remark== "h5paypagesywdy"){
res.end("");
}
var result = await utilstlbankSve.receiveCallBackNotify(req.body, client_ip);
res.end(result);
});
});
app.get('/api/:qname/:method', function (req, res) {
app.get('/api/:qname/:method', function (req, res) {
var classPath = req.params["qname"];
var methodName = req.params["method"];
var params = [];
......@@ -55,8 +52,8 @@ app.get('/api/:qname/:method', function (req, res) {
p.then(r => {
res.end(JSON.stringify(r));
})
});
app.post('/api/:qname/:method', function (req, res) {
});
app.post('/api/:qname/:method', function (req, res) {
var classPath = req.params["qname"];
var methodName = req.params["method"];
var params = [];
......@@ -74,5 +71,5 @@ app.post('/api/:qname/:method', function (req, res) {
}).then(() => {
});
});
});
};
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