mirror of
https://github.com/flipped-aurora/gin-vue-admin.git
synced 2026-09-21 20:35:16 +00:00
代码自动迁移动态适配
修改 - server/config.yaml - server/config/config.go - server/config/viper.go - server/service/sys_auto_code.go 新增 - server/config/auto_code.go
This commit is contained in:
+22
-7
@@ -54,15 +54,30 @@ captcha:
|
||||
|
||||
# mysql connect configuration
|
||||
mysql:
|
||||
path: ''
|
||||
config: ''
|
||||
db-name: ''
|
||||
username: ''
|
||||
password: ''
|
||||
max-idle-conns: 10
|
||||
max-open-conns: 100
|
||||
config: charset=utf8mb4&parseTime=True&loc=Local
|
||||
db-name: gva111
|
||||
log-mode: false
|
||||
log-zap: ""
|
||||
max-idle-conns: 10
|
||||
max-open-conns: 100
|
||||
password: "123456"
|
||||
path: 10.43.1.71:3306
|
||||
username: root
|
||||
|
||||
autoCode:
|
||||
root: ''
|
||||
server: '/server'
|
||||
server-api: '/api/v1'
|
||||
server-model: '/model'
|
||||
server-request: '/model/request/'
|
||||
server-router: '/router'
|
||||
server-service: '/service'
|
||||
|
||||
web: '/web/src'
|
||||
web-api: '/api'
|
||||
web-form: '/view/file1'
|
||||
web-table: '/view/file1'
|
||||
web-flow: '/view/file1'
|
||||
|
||||
# local configuration
|
||||
local:
|
||||
|
||||
Reference in New Issue
Block a user