76bc44e1 by ex

andriod

1 parent dfa54f2b
......@@ -83,6 +83,10 @@ AppClient.prototype.getGPS = function (callbackName, callback, jsonStr) {
// });
// }
var appClient = null;
layer.open({
content: window.android,
time: 2
})
if(window.android) {
appClient = new AppClient(window.android, true);
// 此处可以调用一些init的方法
......
......@@ -12,7 +12,7 @@ angular.module('myApp.services')
},
verifyPhoneCode : function(phone , code){
var url = globalService.getParam('dingdaLoginAPI') + '/login/sms?mobile=' + phone + '&code=' + code;
var res = $http.post(url, {}, {}).success(function(data, status) {
var res = $http.post(url, {}).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!