Commit 77522385 by 王召彬

获取消息通知开关的接口

parent 262e4383
...@@ -16,6 +16,7 @@ use Swoft\Core\ResultInterface; ...@@ -16,6 +16,7 @@ use Swoft\Core\ResultInterface;
* The interface of store-settings service * The interface of store-settings service
* *
* @method ResultInterface deferGetSettings(int $storeId) * @method ResultInterface deferGetSettings(int $storeId)
* @method ResultInterface deferGetNoticeSwitch(int $storeId)
*/ */
interface SettingsInterface interface SettingsInterface
{ {
...@@ -28,4 +29,13 @@ interface SettingsInterface ...@@ -28,4 +29,13 @@ interface SettingsInterface
*/ */
public function getSettings(int $storeId); public function getSettings(int $storeId);
/**
* 获取消息通知的开关设置项
*
* @Number(name="storeId")
* @param int $storeId
* @return array
*/
public function getNoticeSwitch(int $storeId);
} }
\ 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