Commit a5ad9fb2 by 王召彬

添加子店铺的接口

parent 70510aff
...@@ -23,7 +23,6 @@ interface CommsettingInterface ...@@ -23,7 +23,6 @@ interface CommsettingInterface
/** /**
* 获取买家分销佣金规则 * 获取买家分销佣金规则
* *
* @Number(name="storeId")
* @param int $storeId * @param int $storeId
* @return array * @return array
* 返回内容说明: * 返回内容说明:
...@@ -37,7 +36,6 @@ interface CommsettingInterface ...@@ -37,7 +36,6 @@ interface CommsettingInterface
/** /**
* 根据店铺ID修改买家分销的佣金规则 * 根据店铺ID修改买家分销的佣金规则
* *
* @Number(name="storeId")
* @param integer $storeId * @param integer $storeId
* @param array $data * @param array $data
* 参数$data 字段说明: * 参数$data 字段说明:
......
...@@ -23,7 +23,6 @@ interface SettingsInterface ...@@ -23,7 +23,6 @@ interface SettingsInterface
/** /**
* 获取店铺基础设置项 * 获取店铺基础设置项
* *
* @Number(name="storeId")
* @param int $storeId * @param int $storeId
* @return array * @return array
*/ */
...@@ -32,7 +31,6 @@ interface SettingsInterface ...@@ -32,7 +31,6 @@ interface SettingsInterface
/** /**
* 获取消息通知的开关设置项 * 获取消息通知的开关设置项
* *
* @Number(name="storeId")
* @param int $storeId * @param int $storeId
* @return array * @return array
* array(5) { * array(5) {
......
...@@ -37,7 +37,6 @@ interface StoreInterface ...@@ -37,7 +37,6 @@ interface StoreInterface
/** /**
* 查询店铺是否正常 * 查询店铺是否正常
* *
* @Number(name="storeId")
* @param integer $storeId * @param integer $storeId
* @return bool true:正常,false:冻结 * @return bool true:正常,false:冻结
*/ */
......
<?php
/**
* This file is part of Swoft.
*
* @link https://swoft.org
* @document https://doc.swoft.org
* @contact group@swoft.org
* @license https://github.com/swoft-cloud/swoft/blob/master/LICENSE
*/
namespace Hdll\Services\Store\Lib;
use Swoft\Core\ResultInterface;
/**
* The interface of store service
*
* @method ResultInterface deferGetSubStore(int $storeId, int $subStoreId)
* @method ResultInterface deferGetSubStoreList(int $storeId, int $state = 0)
* @method ResultInterface deferUpdateSubStore(int $storeId, int $subStoreId, array $data)
*/
interface SubStoreInterface
{
/**
* 获取子店铺信息
*
* @param int $storeId
* @param int $subStoreId
* @return array
*/
public function getSubStore(int $storeId, int $subStoreId);
/**
* 获取storeId获取所有子店铺列表
*
* @param int $storeId
* @param int $state 子店铺状态筛选,0表示正常,1表示关闭,10表示列出所有
* @return array
*/
public function getSubStoreList(int $storeId, int $state = 0);
/**
* 修改子店铺信息
*
* @param integer $storeId
* @param integer $subStoreId
* @param array $data
* $data字段说明:
* subStoreName // 门店名称
* mobile // 门店联系手机
* state // 0表示正常状态,1关闭状态
* storeAddr // 店铺地址
* lntLat // 店铺坐标
* storeHours // 营业时间
* reservSpan // 单次预约时长
* reservMax // 同一时间段最大预约次数
*
* @return int 成功更新的条数
*/
public function updateSubStore(int $storeId, int $subStoreId, array $data);
}
\ No newline at end of file
...@@ -28,7 +28,6 @@ interface TemplateInterface ...@@ -28,7 +28,6 @@ interface TemplateInterface
* onshelf=1表示查询已上架的模板 * onshelf=1表示查询已上架的模板
* onshelf=2表示查询已下架的模板 * onshelf=2表示查询已下架的模板
* *
* @Number(name="onshelf")
* @param int $onshelf * @param int $onshelf
* @return array * @return array
*/ */
...@@ -37,7 +36,6 @@ interface TemplateInterface ...@@ -37,7 +36,6 @@ interface TemplateInterface
/** /**
* 根据模板ID获取单个模板信息 * 根据模板ID获取单个模板信息
* *
* @Number(name="tplId")
* @param integer $tplId * @param integer $tplId
* @return array * @return array
*/ */
...@@ -46,7 +44,6 @@ interface TemplateInterface ...@@ -46,7 +44,6 @@ interface TemplateInterface
/** /**
* 根据模板id删除一个模板 * 根据模板id删除一个模板
* *
* @Number(name="tplId")
* @param integer $tplId * @param integer $tplId
* @return int 返回删除成功的条数 * @return int 返回删除成功的条数
*/ */
...@@ -61,7 +58,6 @@ interface TemplateInterface ...@@ -61,7 +58,6 @@ interface TemplateInterface
* ['memo'] => 备注信息,此信息用户看不到 * ['memo'] => 备注信息,此信息用户看不到
* ['orderby'] => 排序值,值越大,越靠前 * ['orderby'] => 排序值,值越大,越靠前
* *
* @Number(name="tplId")
* @param integer $tplId * @param integer $tplId
* @param array $data * @param array $data
* @return int 返回更新成功的条数 * @return int 返回更新成功的条数
......
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