Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
services
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
tencent
services
Commits
22a4e91f
Commit
22a4e91f
authored
Mar 08, 2019
by
liwotian
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/test' into test
parents
56bae921
bfa5c1f1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
4 deletions
+18
-4
src/Order/Enum/OrderEnum.php
+5
-2
src/WithdrawCash/Lib/WithdrawCashInterface.php
+13
-2
No files found.
src/Order/Enum/OrderEnum.php
View file @
22a4e91f
...
@@ -74,9 +74,12 @@ class OrderEnum
...
@@ -74,9 +74,12 @@ class OrderEnum
const
BALANCE_STATE_FALSE
=
0
;
//未对账
const
BALANCE_STATE_FALSE
=
0
;
//未对账
const
BALANCE_STATE_TRUE
=
1
;
//已对账
const
BALANCE_STATE_TRUE
=
1
;
//已对账
//退款状态
const
REFUND_SUCCESS
=
2
;
//退款成功
const
REFUND_NONE
=
0
;
//无退款
const
REFUND_PART
=
1
;
//部分退款
const
REFUND_SUCCESS
=
2
;
//退款成功(全部退款)
const
REFUND_REJECTED
=
3
;
//拒绝退款
const
REFUND_REJECTED
=
3
;
//拒绝退款
const
REFUND_REVOKE
=
4
;
//买家撤销退款
...
...
src/WithdrawCash/Lib/WithdrawCashInterface.php
View file @
22a4e91f
...
@@ -15,10 +15,11 @@ use Swoft\Core\ResultInterface;
...
@@ -15,10 +15,11 @@ use Swoft\Core\ResultInterface;
*
*
* @method ResultInterface deferPaySuccess(int $type,int $storeId,int $id,string $wxOrderSn,int $fee)
* @method ResultInterface deferPaySuccess(int $type,int $storeId,int $id,string $wxOrderSn,int $fee)
* @method ResultInterface deferPayFailed(int $type,int $storeId,int $id,string $message)
* @method ResultInterface deferPayFailed(int $type,int $storeId,int $id,string $message)
* @method ResultInterface deferGetBuyerAccountListByStoreId(int $storeId,array $buyerIds)
*/
*/
interface
WithdrawCashInterface
{
interface
WithdrawCashInterface
{
/**
/**
* 支付成功接口
* 支付成功接口
(弃用)
*
*
* @param integer $type 提现类型
* @param integer $type 提现类型
* @param integer $storeId 店铺ID
* @param integer $storeId 店铺ID
...
@@ -30,7 +31,7 @@ interface WithdrawCashInterface{
...
@@ -30,7 +31,7 @@ interface WithdrawCashInterface{
public
function
paySuccess
(
int
$type
,
int
$storeId
,
int
$id
,
string
$wxOrderSn
,
int
$fee
);
public
function
paySuccess
(
int
$type
,
int
$storeId
,
int
$id
,
string
$wxOrderSn
,
int
$fee
);
/**
/**
* 支付失败接口
* 支付失败接口
(弃用)
*
*
* @param integer $type 提现类型
* @param integer $type 提现类型
* @param integer $storeId 店铺ID
* @param integer $storeId 店铺ID
...
@@ -39,4 +40,13 @@ interface WithdrawCashInterface{
...
@@ -39,4 +40,13 @@ interface WithdrawCashInterface{
* @return boolean
* @return boolean
*/
*/
public
function
payFailed
(
int
$type
,
int
$storeId
,
int
$id
,
string
$message
);
public
function
payFailed
(
int
$type
,
int
$storeId
,
int
$id
,
string
$message
);
/**
* 批量查询指定店铺下买家佣金钱包
*
* @param integer $storeId
* @param array $buyerIds
* @return array
*/
public
function
getBuyerAccountListByStoreId
(
int
$storeId
,
array
$buyerIds
);
}
}
\ 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