openId 采用code
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -29,7 +29,7 @@ angular.module('myApp.services') | ... | @@ -29,7 +29,7 @@ angular.module('myApp.services') |
| 29 | return res; | 29 | return res; |
| 30 | }, | 30 | }, |
| 31 | verifyThirdCode : function(code){ // 通过第三方登录 | 31 | verifyThirdCode : function(code){ // 通过第三方登录 |
| 32 | var url = globalService.getParam('dingdaLoginAPI') + '/login/sms?code=' + code + '&openId=19009'; | 32 | var url = globalService.getParam('dingdaLoginAPI') + '/login/sms?code=' + code + '&openId=' + code; |
| 33 | var res = $http.get(url).success(function(data, status) { | 33 | var res = $http.get(url).success(function(data, status) { |
| 34 | }).error(function(data, status) { | 34 | }).error(function(data, status) { |
| 35 | // alert(data.meta.message) | 35 | // alert(data.meta.message) | ... | ... |
-
Please register or sign in to post a comment