提交 eb4ba383 编写于 作者: Y YaoYuHang

新客自动拉群、员工活码部分逻辑修改、群活码及员工活码扫码回调

上级 2d388f2f
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;
}
}
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;
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册