code 验证
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -15,7 +15,7 @@ angular.module('myApp') | ... | @@ -15,7 +15,7 @@ angular.module('myApp') |
| 15 | if(!$scope.userinfo) { | 15 | if(!$scope.userinfo) { |
| 16 | var code = getUrl('code') | 16 | var code = getUrl('code') |
| 17 | if(code){ | 17 | if(code){ |
| 18 | dingdaService.loginByCode(code).success(function (res) { | 18 | dingdaService.verifyThirdCode(code).success(function (res) { |
| 19 | if(res.mate.code == 200) { | 19 | if(res.mate.code == 200) { |
| 20 | if (data.meta.code == 200) { | 20 | if (data.meta.code == 200) { |
| 21 | data.data.userName = $scope.phoneNumberVal; | 21 | data.data.userName = $scope.phoneNumberVal; | ... | ... |
-
Please register or sign in to post a comment