Commit 8ff64eac authored by 何娜's avatar 何娜

taxH5

parent 062be9fa
Pipeline #4785 passed with stage
in 2 seconds
......@@ -17,10 +17,8 @@ module.exports = {
timeout: ['30s', '30s'],
dataType: 'json',
contentType: 'json',
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 });
......@@ -31,5 +29,5 @@ module.exports = {
} catch (e) {
ctx.logger.error('【schedule/notifyUrlTask】catch error:', JSON.stringify(e));
}
}
},
};
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