Commit d9c8b22e by xmy

feat:代理商id

parent ae149c03
...@@ -12,12 +12,13 @@ namespace Hdll\Services\Buyer\Lib; ...@@ -12,12 +12,13 @@ namespace Hdll\Services\Buyer\Lib;
use Swoft\Core\ResultInterface; 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) * @method ResultInterface deferGetListByOrderId(int $storeId, int $orderId)
* Interface AgencyInterface * Interface AgencyInterface
* @package App\Lib * @package App\Lib
*/ */
interface BillInterface{ interface BillInterface
{
/** /**
* 保存账单数据 * 保存账单数据
...@@ -28,6 +29,7 @@ interface BillInterface{ ...@@ -28,6 +29,7 @@ interface BillInterface{
* @param int $money //订单金额 * @param int $money //订单金额
* @param string $orderName //订单名称 * @param string $orderName //订单名称
* @param int $orderType //订单类型 * @param int $orderType //订单类型
* @param int $agentId //代理商id
* @return mixed * @return mixed
* @author Administrator * @author Administrator
*/ */
...@@ -38,21 +40,22 @@ interface BillInterface{ ...@@ -38,21 +40,22 @@ interface BillInterface{
string $orderSn, string $orderSn,
int $money, int $money,
string $orderName, 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