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
91adbbbb
authored
2018-08-25 18:14:30 +0800
by
ex
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
getErcode
1 parent
723ca0bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
js/JSBridge.js
js/JSBridge.js
View file @
91adbbb
...
...
@@ -44,7 +44,7 @@ AppClient.prototype.getERCode = function (callbackName, callback, jsonStr) {
if
(
this
.
isAndroid
)
{
this
.
appObj
.
getERCode
(
'H5'
,
jsonStr
);
}
else
{
this
.
appObj
.
callHandler
(
"
pos
tERCode"
,
iOSData
,
callback
);
this
.
appObj
.
callHandler
(
"
ge
tERCode"
,
iOSData
,
callback
);
}
};
AppClient
.
prototype
.
getGPS
=
function
(
callbackName
,
callback
,
jsonStr
)
{
...
...
@@ -59,7 +59,7 @@ AppClient.prototype.getGPS = function (callbackName, callback, jsonStr) {
if
(
this
.
isAndroid
)
{
this
.
appObj
.
getGPS
(
'H5'
,
jsonStr
);
}
else
{
this
.
appObj
.
callHandler
(
"
pos
tGPS"
,
iOSData
,
callback
);
this
.
appObj
.
callHandler
(
"
ge
tGPS"
,
iOSData
,
callback
);
}
};
window
.
postERCode
=
function
(
_params
)
{
...
...
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