|
|
@@ -213,7 +213,7 @@ public class RedisService {
|
|
|
* @param map 对应多个键值
|
|
|
* @return true 成功 false 失败
|
|
|
*/
|
|
|
- public Boolean hmset(String key, Map<String, Object> map) {
|
|
|
+ public Boolean hmset(String key, Map<Object, Object> map) {
|
|
|
try {
|
|
|
redisTemplate.opsForHash().putAll(key, map);
|
|
|
return true;
|
|
|
@@ -836,6 +836,10 @@ public class RedisService {
|
|
|
MIDJOURNEY_RELAX_LIMIT("midjourney:relax:limit:", "midjourney relax次数", 60 * 60 * 48L),
|
|
|
MIDJOURNEY_EXPIRE_TIME("midjourney:expire:time:", "midjourney expire time", 60 * 60 * 48L),
|
|
|
MIDJOURNEY_USER("midjourney:user:", "midjourney user", 60 * 60 * 2L),
|
|
|
+ MIDJOURNEY_CONVERSATION("midjourney:conversation:", "midjourney conversation", 60 * 60 * 2L),
|
|
|
+ MIDJOURNEY_ACCOUNT("midjourney:account:", "midjourney account", 60 * 60 * 48L),
|
|
|
+ MIDJOURNEY_QUERY("midjourney:query:", "midjourney query", 60 * 60 * 2L),
|
|
|
+
|
|
|
|
|
|
;
|
|
|
|