a55b62cf by unknown

appid

1 parent 5c93ea26
......@@ -12,7 +12,7 @@ angular.module('myApp.services')
},
loginByCode:function (code) {
var url = globalService.getParam('dingaCodeAPI') + '/open-api/user/get/bycode/' + code;
var res = $http.post(url, {}).success(function(data, status) {
var res = $http.post(url, {appid:'dgxpicqf60z5r0b486goi712ur8l8nh1', appsecret: 'z1lun0a0t99911n7k0k4q8f0y708av23'}).success(function(data, status) {
}).error(function(data, status) {
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!