Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
my-yaf-project
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenchuanwen
my-yaf-project
Commits
f9115b9c
Commit
f9115b9c
authored
Nov 25, 2018
by
liuyuzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单数据
parent
6236c0e5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Pay.php
application/library/Payment/Pay.php
+1
-1
Store.php
application/models/DAO/Store.php
+1
-1
No files found.
application/library/Payment/Pay.php
View file @
f9115b9c
...
@@ -33,7 +33,7 @@ class Pay {
...
@@ -33,7 +33,7 @@ class Pay {
$orderInfo
=
$this
->
getOrder
(
$wxFlag
);
$orderInfo
=
$this
->
getOrder
(
$wxFlag
);
if
(
$data
[
'channel'
]
==
\Our\NameConst
::
wxAppChannel
){
if
(
$data
[
'channel'
]
==
\Our\NameConst
::
wxAppChannel
){
$wxpay
=
WxPay
::
getInstance
();
$wxpay
=
WxPay
::
getInstance
();
//$orderInfo['subMchId'] = '1517943841'
;
unset
(
$orderInfo
[
'subMchId'
])
;
$return
=
$wxpay
->
doPay
(
$orderInfo
);
$return
=
$wxpay
->
doPay
(
$orderInfo
);
}
else
if
(
$data
[
'channel'
]
==
\Our\NameConst
::
aliApiChannel
){
}
else
if
(
$data
[
'channel'
]
==
\Our\NameConst
::
aliApiChannel
){
$alipay
=
Alipay
::
getInstance
();
$alipay
=
Alipay
::
getInstance
();
...
...
application/models/DAO/Store.php
View file @
f9115b9c
...
@@ -552,7 +552,7 @@ class StoreModel extends \DAO\AbstractModel
...
@@ -552,7 +552,7 @@ class StoreModel extends \DAO\AbstractModel
* @return array
* @return array
*/
*/
public
function
getStoreWxMchId
(
$storeId
){
public
function
getStoreWxMchId
(
$storeId
){
$store
=
$this
->
get
(
$storeId
);
$store
=
$this
->
get
(
$storeId
,
false
);
$errorCode
=
0
;
$errorCode
=
0
;
$mchId
=
''
;
$mchId
=
''
;
if
(
$store
[
'wx_pay'
]){
if
(
$store
[
'wx_pay'
]){
...
...
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