Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
ldy
/
payment
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 8a12cc33
authored
Mar 27, 2019
by
yeran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update some bugs
1 parent
96e9edf6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
src/Common/Sw/Data/RefundData.php
src/Notify/SwNotify.php
src/Common/Sw/Data/RefundData.php
View file @
8a12cc3
...
@@ -18,7 +18,7 @@ class RefundData extends SwBaseData
...
@@ -18,7 +18,7 @@ class RefundData extends SwBaseData
{
{
protected
function
checkDataParam
()
protected
function
checkDataParam
()
{
{
parent
::
checkDataParam
();
//
parent::checkDataParam();
$this
->
pay_ver
=
'100'
;
$this
->
pay_ver
=
'100'
;
...
...
src/Notify/SwNotify.php
View file @
8a12cc3
...
@@ -165,13 +165,15 @@ class SwNotify extends NotifyStrategy
...
@@ -165,13 +165,15 @@ class SwNotify extends NotifyStrategy
{
{
// 默认为成功
// 默认为成功
$return_code
=
'01'
;
$return_code
=
'01'
;
$return_msg
=
'数据校验成功,回调完成处理'
;
if
(
!
$flag
)
{
if
(
!
$flag
)
{
$return_code
=
'02'
;
$return_code
=
'02'
;
$return_msg
=
'数据校验失败'
;
}
}
return
[
return
[
'return_code'
=>
$return_code
,
'return_code'
=>
$return_code
,
'return_msg'
=>
'数据校验失败'
,
'return_msg'
=>
$return_msg
,
];
];
}
}
}
}
Write
Preview
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