Commit c9fc7609 by xmy

卖家分销

parent 13660efb
...@@ -6,7 +6,14 @@ ...@@ -6,7 +6,14 @@
* Time: 14:00 * Time: 14:00
*/ */
namespace App\Lib; namespace App\Lib;
use Swoft\Core\ResultInterface;
/**
* @method ResultInterface deferSaveBill($orderId, $sellerId, $money, $level, $memo = '')
* @method ResultInterface deferSaveCommission($sellerId, $orderId, $money)
* Interface SellerDistributionInterface
* @package App\Lib
*/
interface SellerDistributionInterface{ interface SellerDistributionInterface{
...@@ -22,5 +29,13 @@ interface SellerDistributionInterface{ ...@@ -22,5 +29,13 @@ interface SellerDistributionInterface{
*/ */
public function saveBill($orderId, $sellerId, $money, $level, $memo = ''); public function saveBill($orderId, $sellerId, $money, $level, $memo = '');
public function saveCommission(); /**
* 保存佣金记录
* @param $sellerId
* @param $orderId
* @param $money
* @return mixed
* @author Administrator
*/
public function saveCommission($sellerId, $orderId, $money);
} }
\ 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