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
ebedb025
Commit
ebedb025
authored
Nov 21, 2019
by
dzhang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test' of
http://git.dev.2b3.cn/tencent/services
into test
parents
2a0e4e05
82c64325
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletions
+15
-1
src/Craftsman/Lib/CraftsmanInterface.php
+12
-0
src/Notice/Lib/NoticeInterface.php
+3
-1
No files found.
src/Craftsman/Lib/CraftsmanInterface.php
View file @
ebedb025
...
...
@@ -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
src/Notice/Lib/NoticeInterface.php
View file @
ebedb025
...
...
@@ -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更新未读消息内容
]
];
*
*
...
...
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