Commit f6371d70 authored by Hsinli's avatar Hsinli

add loggert

parent 100e1921
Pipeline #15214 passed with stage
in 38 seconds
...@@ -33,7 +33,7 @@ class SmsService extends Service { ...@@ -33,7 +33,7 @@ class SmsService extends Service {
if (!(/【51公积金】/.test(params.params.content))) { if (!(/【51公积金】/.test(params.params.content))) {
params.params.content = '【51公积金】' + params.params.content; params.params.content = '【51公积金】' + params.params.content;
} }
ctx.logger.info(params); ctx.logger.info(JSON.stringify(params));
let result = await ctx.helper.send_request(url, params, { method: 'POST' }); let result = await ctx.helper.send_request(url, params, { method: 'POST' });
return result; return result;
} }
......
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