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
d66e233c
authored
2019-01-19 21:35:55 +0800
by
ex
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改回调地址
1 parent
03dac8f6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
js/service/wechatPaymentService.js
js/service/wechatPaymentService.js
View file @
d66e233
...
...
@@ -60,7 +60,12 @@ angular.module('myApp.services')
var
wxh5ApiCall
=
function
(
sign
,
q
)
{
// console.log('sign', sign);
$state
.
go
(
'bond'
);
window
.
location
.
href
=
sign
.
mwebUrl
;
var
redirect_url
=
''
if
(
isiOS
){
redirect_url
=
"www.xxxx.com%3A%2F%2F"
}
window
.
location
.
href
=
sign
.
mwebUrl
+
redirect_url
;
}
...
...
@@ -69,11 +74,6 @@ angular.module('myApp.services')
$http
.
post
(
url
,
data
)
.
success
(
function
(
data
)
{
if
(
data
.
meta
.
code
==
200
)
{
layer
.
open
({
content
:
data
})
return
// alert('支付签名返回:' + JSON.stringify(data));
wxh5ApiCall
(
data
.
data
.
wechatDto
,
q
);
}
else
{
...
...
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