mirror of
https://github.com/zongzibinbin/MallChat.git
synced 2026-03-15 06:55:09 +08:00
chatAI-handler
This commit is contained in:
@@ -37,9 +37,14 @@ public class RedisKey {
|
||||
public static final String USER_SUMMARY_STRING = "userSummary:uid_%d";
|
||||
|
||||
/**
|
||||
* 用户AI聊天次数
|
||||
* 用户GPT聊天次数
|
||||
*/
|
||||
public static final String USER_CHAT_NUM = "userAIChatNum:uid_%d";
|
||||
public static final String USER_CHAT_NUM = "useChatGPTNum:uid_%d";
|
||||
|
||||
/**
|
||||
* 用户上次使用GLM使用时间
|
||||
*/
|
||||
public static final String USER_GLM2_TIME_LAST = "userGLM2UseTime:uid_%d";
|
||||
|
||||
public static String getKey(String key, Object... objects) {
|
||||
return BASE_KEY + String.format(key, objects);
|
||||
|
||||
Reference in New Issue
Block a user