Commit 19564c49 by linboxuan

ucommune notify update

parent f1e1b8e4
...@@ -423,7 +423,7 @@ module.exports = function (app) { ...@@ -423,7 +423,7 @@ module.exports = function (app) {
}); });
// 支付回调通知 // 支付回调通知
app.post('/orderNotify/aliPayNotify', async function (req, res) { app.use('/orderNotify/aliPayNotify', async function (req, res) {
try{ try{
var client_ip = system.get_client_ip(req); var client_ip = system.get_client_ip(req);
var result = await utilsOrderSve.aliPayNotify(req.body, client_ip); var result = await utilsOrderSve.aliPayNotify(req.body, client_ip);
...@@ -447,7 +447,7 @@ module.exports = function (app) { ...@@ -447,7 +447,7 @@ module.exports = function (app) {
} }
}); });
// wx支付回调 // wx支付回调
app.post('/orderNotify/wxPayNotify', async function (req, res) { app.use('/orderNotify/wxPayNotify', async function (req, res) {
try{ try{
var body = ""; var body = "";
......
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