a55b62cf by unknown

appid

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