Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meibuyu-micro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
without authentication
meibuyu-micro
Commits
7fa227ed
Commit
7fa227ed
authored
Nov 13, 2020
by
fuyunnan
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/flow-rpc' into fuyunnan-dev-code
parents
2ee0e6ec
5eff2e6e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
8 deletions
+27
-8
DingUserServiceInterface.php
src/Service/Interfaces/DingTalk/DingUserServiceInterface.php
+2
-7
GetConnectModuleServiceInterface.php
...vice/Interfaces/Flow/GetConnectModuleServiceInterface.php
+15
-0
MessageServiceInterface.php
src/Service/Interfaces/MessageServiceInterface.php
+10
-1
No files found.
src/Service/Interfaces/DingTalk/DingUserServiceInterface.php
View file @
7fa227ed
...
...
@@ -17,15 +17,10 @@ interface DingUserServiceInterface
public
function
getByDingUserId
(
$ding_user_id
)
:
array
;
/**
* 通过部门id获取部门分页用户列表
* @param string $departmentId 部门id
* @param int $offset
* @param int $size
* @param string|null $order
* @param string|null $lang
* 获取部门用户列表
* @return array
*/
public
function
getD
epartmentUsers
(
string
$departmentId
,
int
$offset
,
int
$size
,
string
$order
=
null
,
string
$lang
=
null
)
:
array
;
public
function
getD
ingUserLists
(
)
:
array
;
/**
* 通过临时授权码获取用户信息
...
...
src/Service/Interfaces/Flow/GetConnectModuleServiceInterface.php
0 → 100644
View file @
7fa227ed
<?php
namespace
Meibuyu\Micro\Service\Interfaces\Flow
;
interface
GetConnectModuleServiceInterface
{
/**
*通过通道名称获取process_id
* @param string $channel 通道名
* @return mixed
*/
public
function
getConnectModule
(
$channel
);
}
\ No newline at end of file
src/Service/Interfaces/MessageServiceInterface.php
View file @
7fa227ed
...
...
@@ -48,5 +48,14 @@ interface MessageServiceInterface
* @param string $title
* @return bool
*/
public
function
SendMarkDownMessage
(
array
$receiveUserId
,
$application
,
$templateId
=
0
,
$sendUserId
=
0
,
$replace
=
[],
$content
=
''
,
$title
=
''
)
:
bool
;
public
function
SendMarkDownMessage
(
array
$receiveUserId
,
$application
,
$templateId
=
0
,
$sendUserId
=
0
,
$replace
=
[],
$content
=
''
,
$title
=
''
)
:
bool
;
/**
* 发送短信
* @param string $phone 电话号码 示例'175523181**'
* @param string $templateCode 模板code 1.取消订单通知 'SMS_205395200' 2.派单提醒 'SMS_205390191' 3.返工提醒 'SMS_205390196' 4.通知类型 'SMS_205134732'
* @param array $params 模板中替换的变量 示例传入格式:['product'=>'AE1222']
* @return bool
*/
public
function
sendSms
(
string
$phone
,
string
$templateCode
,
array
$params
)
:
bool
;
}
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