Commit ebedb025 by dzhang

Merge branch 'test' of http://git.dev.2b3.cn/tencent/services into test

parents 2a0e4e05 82c64325
...@@ -22,6 +22,7 @@ use Swoft\Core\ResultInterface; ...@@ -22,6 +22,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferGetCraftsmenById(int $storeId, int $cmanId) * @method ResultInterface deferGetCraftsmenById(int $storeId, int $cmanId)
* @method ResultInterface deferGetCraftsmenByIds(int $storeId, array $cmanIds) * @method ResultInterface deferGetCraftsmenByIds(int $storeId, array $cmanIds)
* @method ResultInterface deferSyncItems(int $storeId, array $itemIds, int $mode) * @method ResultInterface deferSyncItems(int $storeId, array $itemIds, int $mode)
* @method ResultInterface deferUpdateCmanByUnionId(string $unionId, int $storeId, array $data)
*/ */
interface CraftsmanInterface interface CraftsmanInterface
{ {
...@@ -107,4 +108,14 @@ interface CraftsmanInterface ...@@ -107,4 +108,14 @@ interface CraftsmanInterface
*/ */
public function syncItems(int $storeId, array $itemIds, int $mode); public function syncItems(int $storeId, array $itemIds, int $mode);
/**
* 根据unionId修改在指定店铺的店员信息
*
* @param string $unionId
* @param integer $storeId
* @param array $data
* @return mixed
*/
public function updateCmanByUnionId(string $unionId, int $storeId, array $data);
} }
\ No newline at end of file
...@@ -82,11 +82,13 @@ interface NoticeInterface ...@@ -82,11 +82,13 @@ interface NoticeInterface
* *
* 系统发送消息数据结构 * 系统发送消息数据结构
$data[NoticeEnum::TYPE_SYSTEM_SEND] = [ $data[NoticeEnum::TYPE_SYSTEM_SEND] = [
NoticeEnum::TYPE_SYSTEM_SEND=>[
'storeId' => 198 'storeId' => 198
"userId" => "1", //用户id "userId" => "1", //用户id
"content" => "内容", "content" => "内容",
"page" => "", //页面地址 "page" => "", //页面地址
* "isUpdate"=> bool ,//是否更新 根据page storeId userId更新未读消息内容 "isUpdate"=> bool ,//是否更新 根据page storeId userId更新未读消息内容
]
]; ];
* *
* *
......
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