Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wxh_internal_api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
杨培培
wxh_internal_api
Commits
8563f3dd
Commit
8563f3dd
authored
May 08, 2018
by
夏彬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加企业付款回调的code验证的接口
parent
70cc485a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
Transfer.php
src/ucenter/Transfer.php
+13
-0
No files found.
src/ucenter/Transfer.php
View file @
8563f3dd
...
@@ -36,4 +36,17 @@ class Transfer extends Client
...
@@ -36,4 +36,17 @@ class Transfer extends Client
return
self
::
call
(
'transfer.create'
,
compact
(
'uid'
,
'type'
,
'channel'
,
'amount'
,
'recipient'
,
'callbackUrl'
,
'body'
,
'recipientName'
,
'description'
));
return
self
::
call
(
'transfer.create'
,
compact
(
'uid'
,
'type'
,
'channel'
,
'amount'
,
'recipient'
,
'callbackUrl'
,
'body'
,
'recipientName'
,
'description'
));
}
}
/**
* 验证支付回调码
*
* @param string $orderno
* @param string $code
* @return bool 返回true代表验证通过,返回false验证失败
*/
public
static
function
verifyNotifyCode
(
$orderno
,
$code
)
{
return
self
::
call
(
'transfer.verifyNotifyCode'
,
compact
(
'orderno'
,
'code'
));
}
}
}
\ No newline at end of file
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