Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit eb4ba383
authored
Apr 15, 2021
by
YaoYuHang
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
新客自动拉群、员工活码部分逻辑修改、群活码及员工活码扫码回调
1 parent
2d388f2f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
56 additions
and
0 deletions
linkwe-common/src/main/java/com/linkwechat/common/enums/CallbackEventUpdateDetail.java
linkwe-common/src/main/java/com/linkwechat/common/enums/WeEmpleCodeType.java
linkwe-common/src/main/java/com/linkwechat/common/enums/CallbackEventUpdateDetail.java
0 → 100644
View file @
eb4ba38
package
com
.
linkwechat
.
common
.
enums
;
import
lombok.Getter
;
/**
* 客户群变更时间的回调参数 UpdateDetail
* 变更详情。目前有以下几种:
* add_member : 成员入群
* del_member : 成员退群
* change_owner : 群主变更
* change_name : 群名变更
* change_notice : 群公告变更
*/
@Getter
public
enum
CallbackEventUpdateDetail
{
ADD_MEMBER
(
"add_member"
),
DEL_MEMBER
(
"del_member"
),
CHANGE_OWNER
(
"change_owner"
),
CHANGE_NAME
(
"change_name"
),
CHANGE_NOTICE
(
"change_notice"
);
private
final
String
type
;
CallbackEventUpdateDetail
(
String
type
)
{
this
.
type
=
type
;
}
}
linkwe-common/src/main/java/com/linkwechat/common/enums/WeEmpleCodeType.java
0 → 100644
View file @
eb4ba38
package
com
.
linkwechat
.
common
.
enums
;
/**
* 群活码运用场景: 单人、多人、批量
*/
public
enum
WeEmpleCodeType
{
// 员工活码类型:1:单人;2:多人;3:批量;
SINGLE
(
1
,
"单人"
),
MULTI
(
2
,
"多人"
),
BATCH
(
3
,
"批量"
);
private
final
Integer
type
;
private
final
String
info
;
WeEmpleCodeType
(
Integer
type
,
String
info
)
{
this
.
type
=
type
;
this
.
info
=
info
;
}
public
Integer
getType
()
{
return
type
;
}
public
String
getInfo
()
{
return
info
;
}
}
Write
Preview
Markdown
is supported
Attach a file
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 post a comment