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
32faa890
authored
2018-08-20 23:02:47 +0800
by
unknown
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
change pay
1 parent
764ef11a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
.idea/workspace.xml
js/JSBridge.js
js/service/wechatPaymentService.js
.idea/workspace.xml
View file @
32faa89
This diff is collapsed.
Click to expand it.
js/JSBridge.js
View file @
32faa89
...
...
@@ -39,6 +39,10 @@ AppClient.prototype.getERCode = function (callbackName, callback, jsonStr) {
this
.
appObj
.
callHandler
(
"getERCode"
,
iOSData
,
callback
);
}
};
window
.
getIOSERCode
=
function
(
_params
)
{
alert
(
JSON
.
parse
(
_params
))
}
window
.
get
if
(
window
.
android
)
{
appClient
=
new
AppClient
(
window
.
android
,
true
);
// 此处可以调用一些init的方法
...
...
@@ -60,7 +64,4 @@ if(window.android) {
});
}
window
.
getIOSERCode
=
function
(
_params
)
{
alert
(
JSON
.
parse
(
_params
))
}
...
...
js/service/wechatPaymentService.js
View file @
32faa89
...
...
@@ -4,7 +4,8 @@ angular.module('myApp.services')
// var host = 'http://finance.api.dingdachuxing.com/service';
// var host = 'http://finance.dy.dingdatech.com/service';
var
host
=
'http://lsz1.28ms.com/service'
// var host = 'http://lsz1.28ms.com/service'
var
host
=
'http://h5api.dy.dingdatech.com/service'
var
h5wxhost
=
'http://h5api.dy.dingdachuxing.com/service/balance/'
;
...
...
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