Commit 283cf34c authored by 李尚科's avatar 李尚科

course fix

parent 86ca6438
Pipeline #14102 passed with stage
in 40 seconds
......@@ -152,7 +152,7 @@ class LbsService extends Service {
key: ctx.app.config.TX_LBS_KEY,
};
const resp = await ctx.helper.send_request(ctx.app.config.TX_LBS_ADDRESS_URL + '/ip', params, { method: 'GET' });
const resp = await ctx.helper.send_request(ctx.app.config.TX_LBS_ADDRESS_URL + 'ip', params, { method: 'GET' });
// resp.data.status 状态码,0:正常,310:请求参数信息有误,311:Key格式错误,306:请求有护持信息请检查字符串,110:请求来源未被授权
ctx.logger.info('tx_lbs_ip_resp: ' + JSON.stringify(resp));
if (resp.status === 200) {
......
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