This commit is contained in:
aozhiwei 2024-11-05 14:54:25 +08:00
parent 59a38a4db5
commit 8bf608e858

View File

@ -6,10 +6,8 @@ import (
type table struct { type table struct {
WheelServerCluster *WheelServerClusterTable WheelServerCluster *WheelServerClusterTable
//WheelDb *WheelDbTable
Config *ConfigTable Config *ConfigTable
Web3ServiceCluster *Web3ServiceClusterTable Web3ServiceCluster *Web3ServiceClusterTable
//Contract *ContractTable
} }
var Table = f5.New(func(this *table) { var Table = f5.New(func(this *table) {
@ -23,17 +21,8 @@ var Table = f5.New(func(this *table) {
this.PrimKey = "instance_id" this.PrimKey = "instance_id"
}) })
/*
this.WheelDb = f5.New(func(this *WheelDbTable) {
this.FileName = "../config/nftdb.mysql.json"
this.PrimKey = ""
})*/
this.Config = f5.New(func(this *ConfigTable) { this.Config = f5.New(func(this *ConfigTable) {
this.FileName = "../config/config.json" this.FileName = "../config/config.json"
this.PrimKey = "" this.PrimKey = ""
}) })
//this.Contract = new(ContractTable)
}) })