提示运行环境
Showing
1 changed file
with
4 additions
and
3 deletions
| ... | @@ -48,9 +48,10 @@ AppClient.prototype.getERCode = function (jsonStr, callback) { | ... | @@ -48,9 +48,10 @@ AppClient.prototype.getERCode = function (jsonStr, callback) { |
| 48 | }; | 48 | }; |
| 49 | AppClient.prototype.getGPS = function (jsonStr, callback) { | 49 | AppClient.prototype.getGPS = function (jsonStr, callback) { |
| 50 | var dataParams = ""; | 50 | var dataParams = ""; |
| 51 | if(isJson(jsonStr)){ | 51 | if(isJson(jsonStr)) { |
| 52 | dataParams = JSON.parse(jsonStr); | 52 | dataParams = JSON.parse(jsonStr); |
| 53 | var iOSData = { | 53 | } |
| 54 | var param = { | ||
| 54 | from: 'H5', | 55 | from: 'H5', |
| 55 | params: dataParams | 56 | params: dataParams |
| 56 | }; | 57 | }; |
| ... | @@ -95,5 +96,5 @@ if(isAndroid || isiOS) { | ... | @@ -95,5 +96,5 @@ if(isAndroid || isiOS) { |
| 95 | // 此处可以调用一些init的方法 | 96 | // 此处可以调用一些init的方法 |
| 96 | }); | 97 | }); |
| 97 | } else { | 98 | } else { |
| 98 | appClient = undefined | 99 | appClient = undefined; |
| 99 | } | 100 | } | ... | ... |
-
Please register or sign in to post a comment