chore: 清理根目录重复实体、崩溃日志与示例配置等机械垃圾

This commit is contained in:
2026-10-30 18:49:06 +08:00
parent 19b7f409a6
commit ee01a1cbbf
13 changed files with 3 additions and 892 deletions
@@ -1,30 +0,0 @@
package com.gxwebsoft;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.data.redis.core.StringRedisTemplate;
import javax.annotation.Resource;
@SpringBootTest
public class RedisTest {
@Resource
private StringRedisTemplate stringRedisTemplate;
//
// @Test
// public void test(){
//// stringRedisTemplate.opsForValue().set("test:add:2",Long.toString(1L));
//// stringRedisTemplate.opsForValue().increment("test:add:2",10L);
//// stringRedisTemplate.opsForValue().decrement("test:add:2",2L);
//// stringRedisTemplate.opsForValue().append("test:add:2","ssss");
// HashMap<String, String> map = new HashMap<>();
// map.put("name","李四");
// map.put("phone","13800138001");
// HashMap<String, String> map2 = new HashMap<>();
// map2.put("name","赵六");
// map2.put("phone","13800138001");
// HashMap<String, String> map3 = new HashMap<>();
// map3.put("name","张三");
// map3.put("phone","13800138001");
// stringRedisTemplate.opsForSet().add("test:set:2", JSONUtil.toJSONString(map),JSONUtil.toJSONString(map2),JSONUtil.toJSONString(map3));
// }
}