Commit b5d66f42 by zhangsong

Merge branch 'ft-store' into test

parents 6638ed40 318ff9c3
...@@ -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
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