feat: implement scenario-driven sales SOP platform

This commit is contained in:
Eric 1549169735@qq.com
2026-08-06 21:37:29 +08:00
parent 254469ab89
commit de5345607a
84 changed files with 7132 additions and 2 deletions

View File

@@ -0,0 +1,26 @@
app:
name: iqudo-top1
env: development
server:
host: 127.0.0.1
port: 8080
read_timeout: 10s
write_timeout: 20s
shutdown_timeout: 10s
database:
host: 127.0.0.1
port: 3306
name: iqudo_top1
user: root
password: ""
max_idle_connections: 10
max_open_connections: 40
connection_max_lifetime: 30m
auth:
jwt_secret: ""
access_token_ttl: 2h
refresh_token_ttl: 168h
seed:
admin_username: admin
admin_password: ""
admin_display_name: 平台管理员

View File

@@ -0,0 +1,11 @@
app:
env: production
server:
host: 0.0.0.0
database:
max_idle_connections: 20
max_open_connections: 100
seed:
admin_username: ""
admin_password: ""
admin_display_name: ""

View File

@@ -0,0 +1,8 @@
app:
env: test
server:
port: 8081
database:
name: iqudo_top1_test
auth:
jwt_secret: test-only-secret

26
codes/configs/config.yml Normal file
View File

@@ -0,0 +1,26 @@
app:
name: iqudo-top1
env: development
server:
host: 127.0.0.1
port: 8080
read_timeout: 10s
write_timeout: 20s
shutdown_timeout: 10s
database:
host: 127.0.0.1
port: 3306
name: iqudo_top1
user: root
password: root1234
max_idle_connections: 10
max_open_connections: 40
connection_max_lifetime: 30m
auth:
jwt_secret: local-development-secret-change-me
access_token_ttl: 2h
refresh_token_ttl: 168h
seed:
admin_username: admin
admin_password: admin123
admin_display_name: 平台管理员