Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨建斌
/
dy-wx2
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
be7990ac
authored
2018-08-25 17:21:58 +0800
by
ex
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改
1 parent
ecc609ba
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
10 deletions
js/JSBridge.js
js/controller/mapController.js
js/service/wechatPaymentService.js
js/JSBridge.js
View file @
be7990a
...
...
@@ -62,7 +62,6 @@ window.getGPS = function (params) {
alert
(
JSON
.
parse
(
params
))
}
if
(
window
.
android
)
{
appClient
=
new
AppClient
(
window
.
android
,
true
);
// 此处可以调用一些init的方法
...
...
js/controller/mapController.js
View file @
be7990a
...
...
@@ -297,14 +297,14 @@ angular.module('myApp')
// onSuccess(res)
// }
// });
appClient
.
getERCode
(
'getGPS'
,
function
(
res
)
{
alert
(
JSON
.
parse
(
res
))
onSuccess
({
latitude
:
30.2741500000
,
longitude
:
120.1551500000
})
},
''
)
//
appClient.getERCode('getGPS', function (res) {
//
alert(JSON.parse(res))
//
onSuccess({
//
latitude:30.2741500000,
//
longitude:120.1551500000
//
})
//
//
}, '')
// onSuccess({latitude:30.2741500000,longitude:120.1551500000})
}
...
...
js/service/wechatPaymentService.js
View file @
be7990a
...
...
@@ -163,7 +163,7 @@ angular.module('myApp.services')
var
html
=
' <form action="'
+
host
+
'/h5/alipay/balance/'
+
token
+
'" method="post">'
+
' <input type="text" name="amount" value="'
+
amou
n
t
+
'" />'
+
' <input type="text" name="amount" value="'
+
amout
+
'" />'
+
' <input type="text" name="body" value="保证金充值"/>'
+
' <input type="text" name="type" value="100" />'
+
' <input type="submit" id="ok">\n'
+
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment