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
9d105930
Commit
9d105930
authored
Jul 30, 2018
by
王召彬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加模板接口
parent
070e5090
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
src/Store/Lib/StoreInterface.php
+1
-1
src/Store/Lib/TemplateInterface.php
+4
-4
No files found.
src/Store/Lib/StoreInterface.php
View file @
9d105930
...
...
@@ -34,7 +34,7 @@ interface StoreInterface
* 根据店铺ID获取店铺信息
*
* @param integer $storeId
* @return
null|array
* @return
array 空数组表示没有查询到记录
*/
public
function
getStore
(
int
$storeId
);
...
...
src/Store/Lib/TemplateInterface.php
View file @
9d105930
...
...
@@ -15,8 +15,8 @@ use Swoft\Core\ResultInterface;
/**
* The interface of store-template service
*
* @method ResultInterface defer
IsCertified(int $storeId
)
* @method ResultInterface deferGet
Store(int $store
Id)
* @method ResultInterface defer
GetTemplateList(int $onshelf = 1
)
* @method ResultInterface deferGet
Template(int $tpl
Id)
* @method ResultInterface deferUpdateStore(int $storeId, array $data)
* @method ResultInterface deferDeleteStore(int $storeId)
*/
...
...
@@ -27,7 +27,7 @@ interface TemplateInterface
* onshelf=1表示查询已上架的模板
* onshelf=2表示查询已下架的模板
* @param int $onshelf
* @return array
* @return array
空数组表示没有查询到记录
*/
public
function
getTemplateList
(
int
$onshelf
=
1
);
...
...
@@ -35,7 +35,7 @@ interface TemplateInterface
* 根据模板ID获取单个模板信息
*
* @param integer $tplId
* @return array
* @return array
空数组表示没有查询到记录
*/
public
function
getTemplate
(
int
$tplId
);
...
...
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