appid
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -12,7 +12,7 @@ angular.module('myApp.services') | ... | @@ -12,7 +12,7 @@ angular.module('myApp.services') |
| 12 | }, | 12 | }, |
| 13 | loginByCode:function (code) { | 13 | loginByCode:function (code) { |
| 14 | var url = globalService.getParam('dingaCodeAPI') + '/open-api/user/get/bycode/' + code; | 14 | var url = globalService.getParam('dingaCodeAPI') + '/open-api/user/get/bycode/' + code; |
| 15 | var res = $http.post(url, {}).success(function(data, status) { | 15 | var res = $http.post(url, {appid:'dgxpicqf60z5r0b486goi712ur8l8nh1', appsecret: 'z1lun0a0t99911n7k0k4q8f0y708av23'}).success(function(data, status) { |
| 16 | 16 | ||
| 17 | }).error(function(data, status) { | 17 | }).error(function(data, status) { |
| 18 | alert(data.meta.message) | 18 | alert(data.meta.message) | ... | ... |
-
Please register or sign in to post a comment