Commit 51dd3870 by 王召彬

Merge branch 'test' of http://git.dev.2b3.cn/tencent/services into test

parents b34fed7e 0d90bffd
......@@ -3,14 +3,14 @@
namespace Hdll\Services\Buyer\Lib;
/**
* @method ResultInterface deferGetByUnionId(string $unionId)
* @method ResultInterface deferGetByUnionId(string $unionId, int $storeId)
* @method ResultInterface deferUsefulAgent(int $storeId, int $agentId)
* Interface AgentInterface
* @package Hdll\Services\Buyer\Lib
*/
interface AgentInterface
{
public function getByUnionId(string $unionId);
public function getByUnionId(string $unionId, int $storeId);
/**
* 代理是否可用
......
......@@ -12,7 +12,7 @@ namespace Hdll\Services\Buyer\Lib;
use Swoft\Core\ResultInterface;
/**
* @method ResultInterface deferSaveBill(int $order_id, int $buyer_id, int $store_id, string $order_sn, int $money, string $orderName, int $orderType,int $agentId)
* @method ResultInterface deferSaveBill(int $order_id, int $buyer_id, int $store_id, string $order_sn, int $money, string $orderName, int $orderType, int $agentId, int $itemId)
* @method ResultInterface deferGetListByOrderId(int $storeId, int $orderId)
* Interface AgencyInterface
* @package App\Lib
......@@ -30,6 +30,7 @@ interface BillInterface
* @param string $orderName //订单名称
* @param int $orderType //订单类型
* @param int $agentId //代理商id
* @param int $itemId
* @return mixed
* @author Administrator
*/
......@@ -41,7 +42,8 @@ interface BillInterface
int $money,
string $orderName,
int $orderType,
int $agentId
int $agentId,
int $itemId
);
public function getListByOrderId(int $storeId, int $orderId);
......
......@@ -18,6 +18,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferGetBuyerAccountListByStoreId(int $storeId,array $buyerIds)
* @method ResultInterface deferGetSellerCommission(array $sellerIds)
* @method ResultInterface deferGetSellerFund(array $sellerIds)
* @method ResultInterface deferGetBuyerDistribution(int $storeId,array $buyerIds)
*/
interface WithdrawCashInterface{
/**
......@@ -67,4 +68,13 @@ interface WithdrawCashInterface{
* @return array
*/
public function getSellerFund(array $sellerIds);
/**
* 批量查询指定店铺下分销商钱包
*
* @param integer $storeId
* @param array $buyerIds
* @return array
*/
public function getBuyerDistribution(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