9ade58da by ex

openId 采用code

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