Commit 31cc2683 authored by 何娜's avatar 何娜

fix

parent 03f367ef
Pipeline #4764 passed with stage
in 8 seconds
......@@ -90,7 +90,7 @@ class OrderController extends Controller {
orderId,
taskId,
cityId,
// notifyUrl: ctx.app.notifyMap.get(appKey) && ctx.app.notifyMap.get(appKey).notifyUrl || '',
notifyUrl: ctx.app.notifyMap.get(appKey) && ctx.app.notifyMap.get(appKey).notifyUrl || '',
appkey: appKey,
status: 'init',
text1: channelType,
......
......@@ -20,7 +20,7 @@ module.exports = {
gzip: true
});
ctx.logger.info('notifyUrlCode', JSON.stringify(ret.data.code));
if (ret.data.code === '0') {
if (ret.data.code === 0) {
ret.data.data.customerList.map(customer => {
if ('callBackUrl' in customer) {
notifyMap.set(customer.appKey, { notifyUrl: customer.callBackUrl });
......
......@@ -98,7 +98,7 @@ module.exports = () => {
// appSecret: '0BDD1ECC147503C477563E5C1438C366D70E4F80',
// };
config.callbackUrl = 'https://dev-nginx.jianbing.com/taxh5/callback';
config.callbackUrl = 'https://dev-nginx.jianbing.com/tax_api/callback';
return config;
};
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