b90ebbd4 by ex

code 验证

1 parent a55b62cf
...@@ -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;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!