Commit 06ff87b3 by 王召彬

修改店铺佣金规则接口

parent be03122a
...@@ -26,6 +26,11 @@ interface CommsettingInterface ...@@ -26,6 +26,11 @@ interface CommsettingInterface
* @Number(name="storeId") * @Number(name="storeId")
* @param int $storeId * @param int $storeId
* @return array * @return array
* 返回内容说明:
* ['state'] => 分销佣金规则是否启用,0不启用,1启用
* ['rule'] => 分销佣金规则具体设置内容,json格式: {"1":35,"2":14.5}
* ['minWithdraw'] => 最小提现金额,单位分
* ['memo'] => 规则备注说明
*/ */
public function getCommSetting(int $storeId); public function getCommSetting(int $storeId);
...@@ -34,9 +39,15 @@ interface CommsettingInterface ...@@ -34,9 +39,15 @@ interface CommsettingInterface
* *
* @Number(name="storeId") * @Number(name="storeId")
* @param integer $storeId * @param integer $storeId
* @param array $data
* 参数$data 字段说明:
* ['state'] => 分销佣金规则是否启用,0不启用,1启用
* ['rule'] => 分销佣金规则具体设置内容,json格式: {"1":35,"2":14.5}
* ['minWithdraw'] => 最小提现金额,单位分
* ['memo'] => 规则备注说明
* @return array * @return array
*/ */
public function updateByStoreId(int $storeId); public function updateByStoreId(int $storeId, array $data);
} }
\ 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