Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
services
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tencent
services
Commits
a63f18af
Commit
a63f18af
authored
Jul 27, 2018
by
王召彬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
054e7373
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
1 deletions
+36
-1
src/Store/Lib/StoreInterface.php
+36
-1
No files found.
src/Store/Lib/StoreInterface.php
View file @
a63f18af
...
...
@@ -16,6 +16,7 @@ use Swoft\Core\ResultInterface;
* The interface of store service
*
* @method ResultInterface deferIsCertified(int $storeId)
* @method ResultInterface deferGetStore(int $storeId)
*/
interface
StoreInterface
{
...
...
@@ -27,5 +28,38 @@ interface StoreInterface
*/
public
function
isCertified
(
int
$storeId
);
/**
* 根据店铺ID获取店铺信息
*
* @param integer $storeId
* @return null|array
*/
public
function
getStore
(
int
$storeId
);
/**
* 根据店铺ID修改店铺信息
*
* @param integer $storeId
* @param array $data
* 参数 $data 字段说明:
* ['storeName'] => 店铺名称
* ['mobile'] => 店铺绑定的手机号
* ['wechat'] => 店铺绑定的微信号
* ['storeAddr'] => 店铺地址
* ['logoUrl'] => 店铺logo图片url
* ['bannerUrl'] => 店铺banner 图片Url
* ['templateId'] => 当前使用的个性模板id
* ['storeIntro'] => 店铺介绍
* ['storeHours'] => 店铺营业时间,示例:"9-22" 表示从9点到22点
* @return int 成功更新的条数
*/
public
function
updateStore
(
int
$storeId
,
array
$data
);
/**
* 根据店铺id删除一个店铺记录
*
* @param integer $storeId
* @return int 成功返回删除条数
*/
public
function
deleteStore
(
int
$storeId
);
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment