Commit ce9743ae by dzhang

添加rpc接口-批量查询指定店铺下买家佣金钱包

parent a209f691
...@@ -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
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