Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
quxiu
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
quxiu
Commits
92a1c24c
Commit
92a1c24c
authored
May 09, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
d4231727
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
application/Appapi/Controller/RechangeController.class.php
+2
-1
No files found.
application/Appapi/Controller/RechangeController.class.php
View file @
92a1c24c
...
@@ -43,12 +43,13 @@ class RechangeController extends HomebaseController
...
@@ -43,12 +43,13 @@ class RechangeController extends HomebaseController
public
function
wx
()
public
function
wx
()
{
{
return
$this
->
getPay
()
->
driver
(
'wechat'
)
->
gateway
(
'wap'
)
->
pay
([
echo
$this
->
getPay
()
->
driver
(
'wechat'
)
->
gateway
(
'wap'
)
->
pay
([
'out_trade_no'
=>
'128047_20200426175416265'
,
// 订单号
'out_trade_no'
=>
'128047_20200426175416265'
,
// 订单号
'total_fee'
=>
'1'
,
// 订单金额,**单位:分**
'total_fee'
=>
'1'
,
// 订单金额,**单位:分**
'body'
=>
'测试支付'
,
// 订单描述
'body'
=>
'测试支付'
,
// 订单描述
// 'spbill_create_ip' => '', // 支付人的 IP
// 'spbill_create_ip' => '', // 支付人的 IP
]);
]);
die
;
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment