1
This commit is contained in:
parent
59a38a4db5
commit
8bf608e858
@ -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)
|
|
||||||
|
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user