删除一些model和dao文件

This commit is contained in:
suyl
2021-06-24 16:14:39 +08:00
parent 5bbcda5b5f
commit 829b00d3c8
11 changed files with 2 additions and 779 deletions

View File

@@ -1,6 +1,7 @@
package beegodb
import (
"git.rosy.net.cn/jx-callback/business/model"
beego "github.com/astaxie/beego/adapter"
"github.com/astaxie/beego/adapter/orm"
)
@@ -10,6 +11,7 @@ func Init() {
orm.RegisterDataBase("default", "mysql", beego.AppConfig.String("dbConnectStr"), 30)
// orm.RegisterDataBase("c4", "mysql", "root:WebServer@1@tcp(gold1.jxc4.com:3306)/jxd_dev_0?charset=utf8mb4&loc=Local&parseTime=true", 30)
orm.RegisterModel(&model.NewConfig{})
// create table
orm.RunSyncdb("default", false, true)
}