Commit 9d105930 by 王召彬

添加模板接口

parent 070e5090
...@@ -34,7 +34,7 @@ interface StoreInterface ...@@ -34,7 +34,7 @@ interface StoreInterface
* 根据店铺ID获取店铺信息 * 根据店铺ID获取店铺信息
* *
* @param integer $storeId * @param integer $storeId
* @return null|array * @return array 空数组表示没有查询到记录
*/ */
public function getStore(int $storeId); public function getStore(int $storeId);
......
...@@ -15,8 +15,8 @@ use Swoft\Core\ResultInterface; ...@@ -15,8 +15,8 @@ use Swoft\Core\ResultInterface;
/** /**
* The interface of store-template service * The interface of store-template service
* *
* @method ResultInterface deferIsCertified(int $storeId) * @method ResultInterface deferGetTemplateList(int $onshelf = 1)
* @method ResultInterface deferGetStore(int $storeId) * @method ResultInterface deferGetTemplate(int $tplId)
* @method ResultInterface deferUpdateStore(int $storeId, array $data) * @method ResultInterface deferUpdateStore(int $storeId, array $data)
* @method ResultInterface deferDeleteStore(int $storeId) * @method ResultInterface deferDeleteStore(int $storeId)
*/ */
...@@ -27,7 +27,7 @@ interface TemplateInterface ...@@ -27,7 +27,7 @@ interface TemplateInterface
* onshelf=1表示查询已上架的模板 * onshelf=1表示查询已上架的模板
* onshelf=2表示查询已下架的模板 * onshelf=2表示查询已下架的模板
* @param int $onshelf * @param int $onshelf
* @return array * @return array 空数组表示没有查询到记录
*/ */
public function getTemplateList(int $onshelf = 1); public function getTemplateList(int $onshelf = 1);
...@@ -35,7 +35,7 @@ interface TemplateInterface ...@@ -35,7 +35,7 @@ interface TemplateInterface
* 根据模板ID获取单个模板信息 * 根据模板ID获取单个模板信息
* *
* @param integer $tplId * @param integer $tplId
* @return array * @return array 空数组表示没有查询到记录
*/ */
public function getTemplate(int $tplId); public function getTemplate(int $tplId);
......
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