Commit a65021c8 by xmy

# 1.0.48

- 添加卖家关系保存接口
parent 126c8dda
# 1.0.48
- 添加卖家关系保存接口
# 1.0.47 # 1.0.47
- 商品服务接口修改 - 商品服务接口修改
# 1.0.46 # 1.0.46
......
...@@ -12,13 +12,14 @@ use Swoft\Core\ResultInterface; ...@@ -12,13 +12,14 @@ use Swoft\Core\ResultInterface;
/** /**
* @method ResultInterface deferSave($referId, $unionId, $openId, $nickName, $headImgUrl) * @method ResultInterface deferSave($referId, $unionId, $openId, $nickName, $headImgUrl)
* @method ResultInterface deferGet($id,$fields=['*']) * @method ResultInterface deferGet($id, $fields = ['*'])
* @method ResultInterface deferGetByUnionId($unionId,$fields=['*']) * @method ResultInterface deferGetByUnionId($unionId, $fields = ['*'])
* @method ResultInterface deferGetByStoreId($storeId,$fields=['*']) * @method ResultInterface deferGetByStoreId($storeId, $fields = ['*'])
* @method ResultInterface deferUpdate($id,$data) * @method ResultInterface deferUpdate($id, $data)
* @method ResultInterface deferCountDistributionNum($sellerId) * @method ResultInterface deferCountDistributionNum($sellerId)
* @method ResultInterface deferGetByIds(array $ids, $fields = ['*']) * @method ResultInterface deferGetByIds(array $ids, $fields = ['*'])
* @method ResultInterface deferGetAndUpdateOpenId($unionId,$openId) * @method ResultInterface deferGetAndUpdateOpenId($unionId, $openId)
* @method ResultInterface deferSaveRelation($sellerId)
* Interface SellerInterface * Interface SellerInterface
* @package App\Lib * @package App\Lib
*/ */
...@@ -44,7 +45,7 @@ interface SellerInterface ...@@ -44,7 +45,7 @@ interface SellerInterface
* @return mixed * @return mixed
* @author Administrator * @author Administrator
*/ */
public function get($id,$fields=['*']); public function get($id, $fields = ['*']);
/** /**
* @param $unionId * @param $unionId
...@@ -52,7 +53,7 @@ interface SellerInterface ...@@ -52,7 +53,7 @@ interface SellerInterface
* @return mixed * @return mixed
* @author Administrator * @author Administrator
*/ */
public function getByUnionId($unionId,$fields=['*']); public function getByUnionId($unionId, $fields = ['*']);
/** /**
* @param $condition * @param $condition
...@@ -67,7 +68,7 @@ interface SellerInterface ...@@ -67,7 +68,7 @@ interface SellerInterface
* @return mixed * @return mixed
* @author Administrator * @author Administrator
*/ */
public function update($condition,$data); public function update($condition, $data);
/** /**
* @param $storeId * @param $storeId
...@@ -83,5 +84,7 @@ interface SellerInterface ...@@ -83,5 +84,7 @@ interface SellerInterface
public function getByIds(array $ids, $fields = ['*']); public function getByIds(array $ids, $fields = ['*']);
public function getAndUpdateOpenId($unionId,$openId); public function getAndUpdateOpenId($unionId, $openId);
public function saveRelation($sellerId);
} }
\ 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