Authored by 毕凯

add info log

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 };