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
b5d66f42
Commit
b5d66f42
authored
Dec 17, 2019
by
zhangsong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ft-store' into test
parents
6638ed40
318ff9c3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
src/ActivityPlan/Lib/ActivityPlanInterface.php
+14
-0
No files found.
src/ActivityPlan/Lib/ActivityPlanInterface.php
View file @
b5d66f42
...
@@ -12,6 +12,7 @@ use Swoft\Core\ResultInterface;
...
@@ -12,6 +12,7 @@ use Swoft\Core\ResultInterface;
/**
/**
* @method ResultInterface deferGetInfo(int $id)
* @method ResultInterface deferGetInfo(int $id)
* @method ResultInterface deferGetBatch(array $ids)
* Interface VisitorInterface
* Interface VisitorInterface
* @package App\Lib
* @package App\Lib
*/
*/
...
@@ -24,4 +25,16 @@ interface ActivityPlanInterface
...
@@ -24,4 +25,16 @@ interface ActivityPlanInterface
*/
*/
public
function
getInfo
(
int
$id
);
public
function
getInfo
(
int
$id
);
/**
* 根据ids批量获取活动方案信息
* @param array $ids
* @return mixed
* 返回示例:
* [
* "id" => ["id" => 1, "title" => "方案名称"], // 键值对返回,下标是方案id
* ... ...
* ]
*/
public
function
getBatch
(
array
$ids
);
}
}
\ 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