param code
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -13,10 +13,10 @@ angular.module('myApp') | ... | @@ -13,10 +13,10 @@ angular.module('myApp') |
| 13 | if (r != null) return unescape(r[2]); return null; | 13 | if (r != null) return unescape(r[2]); return null; |
| 14 | } | 14 | } |
| 15 | var code = getUrl('code') | 15 | var code = getUrl('code') |
| 16 | var loginUrlCode = function (code) { | 16 | var loginUrlCode = function () { |
| 17 | if (code) { | 17 | if (code) { |
| 18 | dingdaService.verifyThirdCode(code).success(function (res) { | ||
| 19 | globalService.saveData('loginCode', code) | 18 | globalService.saveData('loginCode', code) |
| 19 | dingdaService.verifyThirdCode(code).success(function (res) { | ||
| 20 | if (res.meta.code == 200) { | 20 | if (res.meta.code == 200) { |
| 21 | dingdaService.verifyPhoneCode(res.data.mobile, res.data.code).success(function (data) { | 21 | dingdaService.verifyPhoneCode(res.data.mobile, res.data.code).success(function (data) { |
| 22 | if (data.meta.code == 200) { | 22 | if (data.meta.code == 200) { | ... | ... |
-
Please register or sign in to post a comment