andriod
Showing
2 changed files
with
5 additions
and
1 deletions
| ... | @@ -83,6 +83,10 @@ AppClient.prototype.getGPS = function (callbackName, callback, jsonStr) { | ... | @@ -83,6 +83,10 @@ AppClient.prototype.getGPS = function (callbackName, callback, jsonStr) { |
| 83 | // }); | 83 | // }); |
| 84 | // } | 84 | // } |
| 85 | var appClient = null; | 85 | var appClient = null; |
| 86 | layer.open({ | ||
| 87 | content: window.android, | ||
| 88 | time: 2 | ||
| 89 | }) | ||
| 86 | if(window.android) { | 90 | if(window.android) { |
| 87 | appClient = new AppClient(window.android, true); | 91 | appClient = new AppClient(window.android, true); |
| 88 | // 此处可以调用一些init的方法 | 92 | // 此处可以调用一些init的方法 | ... | ... |
| ... | @@ -12,7 +12,7 @@ angular.module('myApp.services') | ... | @@ -12,7 +12,7 @@ angular.module('myApp.services') |
| 12 | }, | 12 | }, |
| 13 | verifyPhoneCode : function(phone , code){ | 13 | verifyPhoneCode : function(phone , code){ |
| 14 | var url = globalService.getParam('dingdaLoginAPI') + '/login/sms?mobile=' + phone + '&code=' + code; | 14 | var url = globalService.getParam('dingdaLoginAPI') + '/login/sms?mobile=' + phone + '&code=' + code; |
| 15 | var res = $http.post(url, {}, {}).success(function(data, status) { | 15 | var res = $http.post(url, {}).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