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;
* @method ResultInterface deferGetCraftsmenById(int $storeId, int $cmanId)
* @method ResultInterface deferGetCraftsmenByIds(int $storeId, array $cmanIds)
* @method ResultInterface deferSyncItems(int $storeId, array $itemIds, int $mode)
* @method ResultInterface deferUpdateCmanByUnionId(string $unionId, int $storeId, array $data)
*/
interface CraftsmanInterface
{
......@@ -107,4 +108,14 @@ interface CraftsmanInterface
*/
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
*
* 系统发送消息数据结构
$data[NoticeEnum::TYPE_SYSTEM_SEND] = [
NoticeEnum::TYPE_SYSTEM_SEND=>[
'storeId' => 198
"userId" => "1", //用户id
"content" => "内容",
"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