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 afd6c275
authored
Feb 03, 2023
by
丁铜欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
微诺付
1 parent
ec0fa8d7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
11 deletions
src/Common/WNFpay/WNFBaseStrategy.php
src/Utils/Curl.php
src/Common/WNFpay/WNFBaseStrategy.php
View file @
afd6c27
...
@@ -84,10 +84,6 @@ abstract class WNFBaseStrategy implements BaseStrategy
...
@@ -84,10 +84,6 @@ abstract class WNFBaseStrategy implements BaseStrategy
$this
->
reqData
->
setSign
();
$this
->
reqData
->
setSign
();
$body
=
$this
->
reqData
->
getData
();
$body
=
$this
->
reqData
->
getData
();
debug
([
'title'
=>
'请求参数'
,
'body'
=>
$body
]);
$ret
=
$this
->
sendReq
(
$body
);
$ret
=
$this
->
sendReq
(
$body
);
return
$this
->
retData
(
$ret
);
return
$this
->
retData
(
$ret
);
...
...
src/Utils/Curl.php
View file @
afd6c27
...
@@ -237,13 +237,6 @@ class Curl
...
@@ -237,13 +237,6 @@ class Curl
// 检查错误
// 检查错误
$errno
=
curl_errno
(
$ch
);
$errno
=
curl_errno
(
$ch
);
debug
([
'title'
=>
'结果'
,
'body'
=>
$body
,
'http_code'
=>
$info
[
'http_code'
],
'errno'
=>
$errno
,
'post'
=>
json_encode
(
$this
->
postFieldsBuild
(
$this
->
post
))
]);
if
(
$errno
===
0
&&
$info
[
'http_code'
]
>=
400
)
{
if
(
$errno
===
0
&&
$info
[
'http_code'
]
>=
400
)
{
$errno
=
$info
[
'http_code'
];
$errno
=
$info
[
'http_code'
];
}
}
...
...
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