Merge remote-tracking branch 'origin/feature/newQrcode' into release/6.1
Showing
2 changed files
with
5 additions
and
2 deletions
@@ -55,8 +55,7 @@ class newQrcode extends global.yoho.BaseModel { | @@ -55,8 +55,7 @@ class newQrcode extends global.yoho.BaseModel { | ||
55 | resu = result[0].data; | 55 | resu = result[0].data; |
56 | } | 56 | } |
57 | if (_.get(result, '[1]data')) { | 57 | if (_.get(result, '[1]data')) { |
58 | - resu.trendWord = result[1].data.trendWord; | ||
59 | - resu.inviteCode = result[1].data.inviteCode; | 58 | + resu.trendWord = result[1].data.trendWord || result[1].data.inviteCode; |
60 | } | 59 | } |
61 | if (_.get(result, '[2]')) { | 60 | if (_.get(result, '[2]')) { |
62 | resu.token = result[2]; | 61 | resu.token = result[2]; |
-
Please register or login to post a comment