Commit e5f28d04 by xmy

1.0.23

cmq seller 枚举
parent bd752f8c
# 1.0.23
- 卖家分销,卖家钱包 消息队列枚举
# 1.0.22 # 1.0.22
- 卖家钱包消息队列枚举 - 卖家钱包消息队列枚举
# 1.0.21 # 1.0.21
......
...@@ -6,7 +6,11 @@ class SellerCmqEnum{ ...@@ -6,7 +6,11 @@ class SellerCmqEnum{
const TOPIC = 'seller'; const TOPIC = 'seller';
const ADD_BALANCE = 'addBalance'; const ADD_BALANCE = 'addBalance';
const REDUCE_BALANCE = 'reduceBalance';
const REDUCE_TOTAL = 'reduceTotal';
const ADD_FUND = 'addFund';
const ADD_EXPECT_FUND = 'addExpectFund';
const REDUCE_EXPECT_FUND = 'reduceExpectFund';
const ADD_ACTUAL_COMMISSION_FUND = 'addActualCommissionFund'; const ADD_ACTUAL_COMMISSION_FUND = 'addActualCommissionFund';
const ADD_TOTAL = 'addTotal'; const ADD_TOTAL = 'addTotal';
const REFUND_ADD_BALANCE = 'refundAddBalance';
} }
\ No newline at end of file
<?php
namespace Hdll\Services\Seller\Enum;
class SellerDistributionCmqEnum{
const TOPIC = 'sellerDistribution';
const ADD_BALANCE = 'addBalance';
const REDUCE_BALANCE = 'reduceBalance';
const ADD_TOTAL = 'addTotal';
const REFUND_ADD_BALANCE = 'refundAddBalance';
}
\ No newline at end of file
...@@ -11,12 +11,12 @@ use Swoft\Core\ResultInterface; ...@@ -11,12 +11,12 @@ use Swoft\Core\ResultInterface;
/** /**
* @method ResultInterface deferSaveBill($orderId, $sellerId, $money) * @method ResultInterface deferSaveBill($orderId, $sellerId, $money)
* @method ResultInterface deferGetCommission($sellerId) * @method ResultInterface deferGetCommission($sellerId)
* method ResultInterface deferAddBalance($sellerId, $money) * @method ResultInterface deferAddBalance($sellerId, $money, $orderSn)
* method ResultInterface deferReduceBalance($sellerId, $money) * @method ResultInterface deferReduceBalance($sellerId, $money, $orderSn)
* method ResultInterface deferListByOrderId($storeId, $orderId,$sellerId) * @method ResultInterface deferListByOrderId($storeId, $orderId,$sellerId)
* method ResultInterface deferAddTotal($sellerId, $money) * @method ResultInterface deferAddTotal($sellerId, $money, $orderSn)
* method ResultInterface deferRefundAddBalance($sellerId, $money) * @method ResultInterface deferRefundAddBalance($sellerId, $money, $orderSn)
* method ResultInterface deferCountVip($storeId, $sellerId) * @method ResultInterface deferCountVip($storeId, $sellerId)
* Interface SellerDistributionInterface * Interface SellerDistributionInterface
* @package App\Lib * @package App\Lib
*/ */
...@@ -53,7 +53,7 @@ interface SellerDistributionInterface{ ...@@ -53,7 +53,7 @@ interface SellerDistributionInterface{
* @return mixed * @return mixed
* @author Administrator * @author Administrator
*/ */
public function addBalance($sellerId, $money); public function addBalance($sellerId, $money, $orderSn);
/** /**
* 减少佣金 * 减少佣金
...@@ -62,7 +62,7 @@ interface SellerDistributionInterface{ ...@@ -62,7 +62,7 @@ interface SellerDistributionInterface{
* @return mixed * @return mixed
* @author Administrator * @author Administrator
*/ */
public function reduceBalance($sellerId, $money); public function reduceBalance($sellerId, $money, $orderSn);
/** /**
...@@ -92,7 +92,7 @@ interface SellerDistributionInterface{ ...@@ -92,7 +92,7 @@ interface SellerDistributionInterface{
* @return mixed * @return mixed
* @author Administrator * @author Administrator
*/ */
public function addTotal($sellerId, $money); public function addTotal($sellerId, $money, $orderSn);
/** /**
...@@ -102,7 +102,7 @@ interface SellerDistributionInterface{ ...@@ -102,7 +102,7 @@ interface SellerDistributionInterface{
* @return mixed * @return mixed
* @author Administrator * @author Administrator
*/ */
public function refundAddBalance($sellerId, $money); public function refundAddBalance($sellerId, $money, $orderSn);
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment