Compare commits

...

1 Commits

Author SHA1 Message Date
Loki 16d456130d 🔥 init 2025-02-25 18:27:15 +08:00
2 changed files with 7 additions and 7 deletions
@@ -36,7 +36,7 @@ public class IndexController {
return "index";
}
@AccessLimit(seconds = 10, maxCount = 1, msg = "10秒内只能生成一次短链接")
// @AccessLimit(seconds = 10, maxCount = 1, msg = "10秒内只能生成一次短链接")
@PostMapping("/generate")
@ResponseBody
public R generateShortURL(@RequestBody GenerateCmd cmd) {
@@ -1,15 +1,15 @@
server.port=8060
server.host=http://localhost:8060/
server.host=http://localhost1:8060/
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/dwz?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8
spring.datasource.url=jdbc:mysql://192.168.10.200:3306/dwz?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8
spring.datasource.username=root
spring.datasource.password=root
spring.redis.host=192.168.17.132
spring.redis.password=123456
spring.redis.host=192.168.10.200
spring.redis.password=
spring.redis.port=6379
spring.redis.database=1
spring.redis.database=15
spring.redis.timeout=10000ms
mybatis.mapper-locations=classpath:mapper/*.xml