修改
Showing
3 changed files
with
9 additions
and
10 deletions
| ... | @@ -62,7 +62,6 @@ window.getGPS = function (params) { | ... | @@ -62,7 +62,6 @@ window.getGPS = function (params) { |
| 62 | alert(JSON.parse(params)) | 62 | alert(JSON.parse(params)) |
| 63 | } | 63 | } |
| 64 | 64 | ||
| 65 | |||
| 66 | if(window.android) { | 65 | if(window.android) { |
| 67 | appClient = new AppClient(window.android, true); | 66 | appClient = new AppClient(window.android, true); |
| 68 | // 此处可以调用一些init的方法 | 67 | // 此处可以调用一些init的方法 | ... | ... |
| ... | @@ -297,14 +297,14 @@ angular.module('myApp') | ... | @@ -297,14 +297,14 @@ angular.module('myApp') |
| 297 | // onSuccess(res) | 297 | // onSuccess(res) |
| 298 | // } | 298 | // } |
| 299 | // }); | 299 | // }); |
| 300 | appClient.getERCode('getGPS', function (res) { | 300 | // appClient.getERCode('getGPS', function (res) { |
| 301 | alert(JSON.parse(res)) | 301 | // alert(JSON.parse(res)) |
| 302 | onSuccess({ | 302 | // onSuccess({ |
| 303 | latitude:30.2741500000, | 303 | // latitude:30.2741500000, |
| 304 | longitude:120.1551500000 | 304 | // longitude:120.1551500000 |
| 305 | }) | 305 | // }) |
| 306 | 306 | // | |
| 307 | }, '') | 307 | // }, '') |
| 308 | // onSuccess({latitude:30.2741500000,longitude:120.1551500000}) | 308 | // onSuccess({latitude:30.2741500000,longitude:120.1551500000}) |
| 309 | } | 309 | } |
| 310 | 310 | ... | ... |
| ... | @@ -163,7 +163,7 @@ angular.module('myApp.services') | ... | @@ -163,7 +163,7 @@ angular.module('myApp.services') |
| 163 | 163 | ||
| 164 | var html = ' <form action="'+ host + '/h5/alipay/balance/'+token | 164 | var html = ' <form action="'+ host + '/h5/alipay/balance/'+token |
| 165 | +'" method="post">' + | 165 | +'" method="post">' + |
| 166 | ' <input type="text" name="amount" value="'+amount+'" />' + | 166 | ' <input type="text" name="amount" value="'+amout+'" />' + |
| 167 | ' <input type="text" name="body" value="保证金充值"/>' + | 167 | ' <input type="text" name="body" value="保证金充值"/>' + |
| 168 | ' <input type="text" name="type" value="100" />' + | 168 | ' <input type="text" name="type" value="100" />' + |
| 169 | ' <input type="submit" id="ok">\n' + | 169 | ' <input type="submit" id="ok">\n' + | ... | ... |
-
Please register or sign in to post a comment