gorm wire

This commit is contained in:
2025-05-07 14:12:53 +08:00
parent 461531c308
commit 68606c76f9
111 changed files with 1726 additions and 5809 deletions

25
configs/config.dev.yaml Normal file
View File

@@ -0,0 +1,25 @@
app:
host: 0.0.0.0
port: 9001
prod: false
db:
host: 127.0.0.1
port: 5432
username: root
password: secret
db_name: management
redis:
host: 127.0.0.1
port: 6379
password: secret
db: 2
jwt:
signing_key: ec355d26-cca6-4347-a725-3c203ea1
expires_time: 15m
refresh_time: 24h
captcha:
open_captcha: 10
open_captcha_timeout: 120
img_width: 120
img_height: 44
key_long: 4