Commit 29d246c0 by 王召彬

添加查询店铺状态的接口

parent 29cef803
......@@ -16,6 +16,7 @@ use Swoft\Core\ResultInterface;
* The interface of store service
*
* @method ResultInterface deferIsCertified(int $storeId)
* @method ResultInterface deferIsNormal(int $storeId)
* @method ResultInterface deferGetStoreByStoreId(int $storeId)
* @method ResultInterface deferGetStoreBySellerId(int $sellerId)
* @method ResultInterface deferGetStoreByMobile(int $mobile, array $fields = [])
......@@ -29,11 +30,20 @@ interface StoreInterface
* 查询店铺是否已实名认证(企业认证)
*
* @param integer $storeId
* @return boolean
* @return bool true:认证成功 false:未认证
*/
public function isCertified(int $storeId);
/**
* 查询店铺是否正常
*
* @Number(name="storeId")
* @param integer $storeId
* @return bool true:正常,false:冻结
*/
public function isNormal(int $storeId);
/**
* 根据店铺ID获取店铺信息
*
* @param integer $storeId
......
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