mirror of
https://github.com/zongzibinbin/MallChat.git
synced 2026-03-13 21:53:41 +08:00
加好友功能
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
package com.abin.mallchat.common.user.domain.enums;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* @author : limeng
|
||||
* @description : 申请阅读状态枚举
|
||||
* @date : 2023/07/20
|
||||
*/
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public enum ApplyReadStatusEnum {
|
||||
|
||||
UNREAD(1, "未读"),
|
||||
|
||||
READ(2, "已读");
|
||||
|
||||
private final Integer code;
|
||||
|
||||
private final String desc;
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.abin.mallchat.common.user.domain.enums;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* @author : limeng
|
||||
* @description : 申请状态枚举
|
||||
* @date : 2023/07/20
|
||||
*/
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public enum ApplyStatusEnum {
|
||||
|
||||
WAIT_APPROVAL(1, "待审批"),
|
||||
|
||||
AGREE(2, "同意");
|
||||
|
||||
private final Integer code;
|
||||
|
||||
private final String desc;
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package com.abin.mallchat.common.user.domain.enums;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* @author : limeng
|
||||
* @description : 申请类型枚举
|
||||
* @date : 2023/07/20
|
||||
*/
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public enum ApplyTypeEnum {
|
||||
|
||||
ADD_FRIEND(1, "加好友");
|
||||
|
||||
|
||||
private final Integer code;
|
||||
|
||||
private final String desc;
|
||||
}
|
||||
@@ -12,9 +12,9 @@ mallchat.redis.password=123456
|
||||
##################jwt##################
|
||||
mallchat.jwt.secret=dsfsdfsdfsdfsd
|
||||
##################微信公众号信息##################
|
||||
mallchat.wx.callback=http://127.0.0.1:8080
|
||||
mallchat.wx.appId=appid
|
||||
mallchat.wx.secret=380bfc1c9147fdsf4sf07
|
||||
mallchat.wx.callback=http://limeng-test.nat300.top/
|
||||
mallchat.wx.appId=wx6cb0974bff30cce0
|
||||
mallchat.wx.secret=072c615d9704d2e9bf0a048407928258
|
||||
# 接口配置里的Token值
|
||||
mallchat.wx.token=sdfsf
|
||||
# 接口配置里的EncodingAESKey值
|
||||
|
||||
@@ -12,7 +12,7 @@ mybatis-plus:
|
||||
spring:
|
||||
profiles:
|
||||
#运行的环境
|
||||
active: my-prod
|
||||
active: test
|
||||
application:
|
||||
name: mallchat
|
||||
datasource:
|
||||
|
||||
Reference in New Issue
Block a user