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
bc06d52b
Commit
bc06d52b
authored
Dec 13, 2018
by
xmy
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
c5067661
09c611bd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
2 deletions
+25
-2
src/Order/Enum/OrderCate.php
+5
-2
src/Pay/Lib/PayInterface.php
+13
-0
src/WithdrawCash/Enum/WithdrawCmqEnum.php
+7
-0
No files found.
src/Order/Enum/OrderCate.php
View file @
bc06d52b
...
...
@@ -9,6 +9,8 @@ namespace Hdll\Services\Order\Enum;
class
OrderCate
{
const
TYPE_BUYER
=
1
;
const
TYPE_SELLER
=
2
;
const
TYPE_BUYER
=
1
;
//小程序买家签名类型
const
TYPE_SELLER
=
2
;
//小程序卖家签名类型
const
TYPE_MP
=
3
;
//公众号签名类型
}
\ No newline at end of file
src/Pay/Lib/PayInterface.php
View file @
bc06d52b
...
...
@@ -14,6 +14,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferGenerateSellerSign(int $storeId, int $orderId, string $openId)
* @method ResultInterface deferRePay(int $storeId, int $orderId, int $buyerId)
* @method ResultInterface deferSellerRePay(int $storeId, int $orderId, int $sellerId)
* @method ResultInterface deferMpGenerateSign(int $storeId, int $orderId, int $sellerId)
*
* Interface PayInterface
* @package Hdll\Services\Pay\Lib
...
...
@@ -40,6 +41,18 @@ interface PayInterface
*/
public
function
generateSellerSign
(
int
$storeId
,
int
$orderId
,
string
$openId
);
/**
* 公众号生成签名
*
* @param int $storeId
* @param int $orderId
* @param string $openId
* @return mixed
*/
public
function
mpGenerateSign
(
int
$storeId
,
int
$orderId
,
string
$openId
);
/**
* 卖家重新支付生成签名
...
...
src/WithdrawCash/Enum/WithdrawCmqEnum.php
View file @
bc06d52b
...
...
@@ -13,4 +13,10 @@ class WithdrawCmqEnum{
const
ADD_SELLER_FREEZE
=
'addSellerFreeze'
;
//增加卖家营收冻结金额
const
REDUCE_SELLER_FREEZE
=
'reduceSellerFreeze'
;
//减少卖家营收冻结金额
const
CREATE_BUYER_CM_ACCOUNT
=
'createBuyrCmAccount'
;
//创建买家分销账户
const
CREATE_SELLER_CM_ACCOUNT
=
'createSellerCmAccount'
;
//创建卖家分销账户
const
CREATE_SELLER_FD_ACCOUNT
=
'createSellerFdAccount'
;
//创建卖家营业额账户
}
\ 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