Merge remote-tracking branch 'origin/cc_20230520_partner' into cc_20230520_partner

This commit is contained in:
zhangchenbiao
2023-06-16 13:59:25 +08:00
26 changed files with 962 additions and 26 deletions

View File

@@ -8,8 +8,8 @@ package com.cool.store.enums;
*/
public enum DataSourceEnum {
SYNC(0, "同步"),
CREATE(1, "创建");
SYNC(0, "EC同步"),
CREATE(1, "小程序创建");
private Integer code;

View File

@@ -58,6 +58,8 @@ public enum ErrorCodeEnum {
INTENT_INFO_NOT_EXIST(500006, "意向信息不存在!", null),
INTERVIEW_ENTER_FAIL(1021101, "进入面试间失败", null),
DINGDING_USER_NOT_EXIST(1021102, "用户钉钉信息不存在,无法发起资质审核!", null),
INTERVIEW_NOT_EXIST(1021103, "面试信息不存在!", null),
SIGN_FAIL(600000, "验签失败", null),
GET_ACCESSTOKEN_ERROR(600001, "获取小程序TOKEN错误", null),

View File

@@ -171,4 +171,8 @@ public class RedisUtil {
public void delete(String key) {
redisTemplate.delete(key);
}
public Long increment(String key) {
return redisTemplate.boundValueOps(key).increment(1L);
}
}