Commit 0312a3f9 authored by 任国军's avatar 任国军

add log

parent 74ae41c6
Pipeline #15303 passed with stage
in 44 seconds
...@@ -54,7 +54,7 @@ class WechatService extends Service { ...@@ -54,7 +54,7 @@ class WechatService extends Service {
const imageInfo = {media: file}; const imageInfo = {media: file};
mediaId = await this.uploadTempMedia(imageInfo); mediaId = await this.uploadTempMedia(imageInfo);
await this.app.memcache.set('course_wechat_service_image_media_id', mediaId, 72*3600); await this.app.memcache.set('course_wechat_service_image_media_id', mediaId, 72*3600);
ctx.logger.info(mediaId); ctx.logger.info('222:' + mediaId);
} }
if (ctx.isEmpty(mediaId)) { if (ctx.isEmpty(mediaId)) {
...@@ -137,7 +137,7 @@ class WechatService extends Service { ...@@ -137,7 +137,7 @@ class WechatService extends Service {
}); });
console.log('ret: ' + ret); ctx.logger.info('ret: ' + ret);
return ret; return ret;
} }
......
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