优化结构

This commit is contained in:
2026-04-28 17:33:00 +08:00
parent 07b97bc514
commit c3253b588d
7 changed files with 133 additions and 110 deletions
+3
View File
@@ -73,6 +73,7 @@ func main() {
//统一初始化
models.ConfigAllInit()
routers.ReturnInit()
routers.ApiUserInit() //用户表先初始化这是必须的因为后面需要用到用户组
routers.ApiFilesInit()
routers.ApiScheduleInit()
@@ -80,6 +81,8 @@ func main() {
routers.ApiWorkOrderInit()
routers.ApiWarehouseInit()
routers.BindsInit() //最后初始化绑定数据表
//创建必要目录
for _, path := range models.ConfigsFile.Pahts {
fmt.Println(path)