用户订单列表

This commit is contained in:
wangjinlei
2023-10-27 11:34:18 +08:00
parent 64d0c5bdf2
commit 0a21f56c8b
2 changed files with 2 additions and 4 deletions

View File

@@ -37,8 +37,6 @@ public class ProvinceController {
//获取地址 //获取地址
@RequestMapping("/getProvince") @RequestMapping("/getProvince")
public R getProvince() { public R getProvince() {
//优化查询速度 目录放入redis中 //优化查询速度 目录放入redis中
String s = redisTemplate.opsForValue().get("Province"); String s = redisTemplate.opsForValue().get("Province");
List<Map<String, Object>> listData = new ArrayList<>(); List<Map<String, Object>> listData = new ArrayList<>();

View File

@@ -3,7 +3,7 @@ spring:
redis: redis:
open: false # 是否开启redis缓存 true开启 false关闭 open: false # 是否开启redis缓存 true开启 false关闭
database: 0 database: 0
host: 39.106.36.183 host: 59.110.212.44
port: 6379 port: 6379
password: Jgll2015 # 密码(默认为空) password: Jgll2015 # 密码(默认为空)
timeout: 6000000ms # 连接超时时长(毫秒) timeout: 6000000ms # 连接超时时长(毫秒)
@@ -72,5 +72,5 @@ aliyun:
server: server:
port: 9200 port: 9200
redisAddress: redis://39.106.36.183:6379 redisAddress: redis://59.110.212.44:6379
redisPassword: Jgll2015 redisPassword: Jgll2015