Showing
1 changed file
with
4 additions
and
0 deletions
1 | 'use strict'; | 1 | 'use strict'; |
2 | const PAGE = 'H5'; | 2 | const PAGE = 'H5'; |
3 | +const logger = global.yoho.logger; | ||
3 | const serviceAPI = global.yoho.ServiceAPI.ApiUrl; | 4 | const serviceAPI = global.yoho.ServiceAPI.ApiUrl; |
4 | 5 | ||
5 | module.exports = class extends global.yoho.BaseModel { | 6 | module.exports = class extends global.yoho.BaseModel { |
@@ -30,6 +31,9 @@ module.exports = class extends global.yoho.BaseModel { | @@ -30,6 +31,9 @@ module.exports = class extends global.yoho.BaseModel { | ||
30 | fromPage: PAGE, | 31 | fromPage: PAGE, |
31 | degrees: captcha | 32 | degrees: captcha |
32 | } | 33 | } |
34 | + }).then(result => { | ||
35 | + logger.info(result); | ||
36 | + return result; | ||
33 | }); | 37 | }); |
34 | } | 38 | } |
35 | }; | 39 | }; |
-
Please register or login to post a comment