Commit 6b258f0a by xmy

feat:代理商id

parent 171c747c
......@@ -12,12 +12,13 @@ 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)
* @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 deferGetListByOrderId(int $storeId, int $orderId)
* Interface AgencyInterface
* @package App\Lib
*/
interface BillInterface{
interface BillInterface
{
/**
* 保存账单数据
......@@ -28,6 +29,7 @@ interface BillInterface{
* @param int $money //订单金额
* @param string $orderName //订单名称
* @param int $orderType //订单类型
* @param int $agentId //代理商id
* @return mixed
* @author Administrator
*/
......@@ -38,21 +40,22 @@ interface BillInterface{
string $orderSn,
int $money,
string $orderName,
int $orderType
int $orderType,
int $agentId
);
public function getListByOrderId(int $storeId, int $orderId);
public function getListByOrderId(int $storeId, int $orderId);
public function updateByCondition(int $storeId, array $condition, array $info);
public function updateByCondition(int $storeId, array $condition, array $info);
/**
* 退款成功逻辑
*
* @param $storeId
* @param $orderId
* @return mixed
*/
public function refundSuccess($storeId, $orderId);
/**
* 退款成功逻辑
*
* @param $storeId
* @param $orderId
* @return mixed
*/
public function refundSuccess($storeId, $orderId);
}
\ 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