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
44ac3cfc
authored
2018-09-09 23:22:31 +0800
by
ex
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
微信支付
1 parent
53c5e611
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
js/service/wechatPaymentService.js
js/service/wechatPaymentService.js
View file @
44ac3cf
angular
.
module
(
'myApp.services'
)
.
service
(
'wechatPayment'
,[
'$http'
,
'$q'
,
'$rootScope'
,
'$location'
,
function
(
$http
,
$q
,
$rootScope
,
$location
)
{
.
service
(
'wechatPayment'
,[
'$http'
,
'$q'
,
'$rootScope'
,
'$location'
,
'$state'
,
function
(
$http
,
$q
,
$rootScope
,
$location
)
{
// var host = 'http://finance.api.dingdachuxing.com/service';
// var host = 'http://finance.dy.dingdatech.com/service';
...
...
@@ -58,7 +58,8 @@ angular.module('myApp.services')
var
wxh5ApiCall
=
function
(
sign
,
q
)
{
// console.log('sign', sign);
// window.location.href = sign.mwebUrl;
$state
.
go
(
'bond'
);
window
.
location
.
href
=
sign
.
mwebUrl
;
}
...
...
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