上传表格配置
This commit is contained in:
parent
87c9dbdbfa
commit
75491c82d4
@ -404,7 +404,9 @@ const (
|
|||||||
//藏宝图
|
//藏宝图
|
||||||
TablekTreasuremap = "treasuremap"
|
TablekTreasuremap = "treasuremap"
|
||||||
|
|
||||||
TableEntertainm = "entertainm"
|
TableDcolor = "dcolor"
|
||||||
|
TablekCanineRabbit = "caninerabbit"
|
||||||
|
TableEntertainm = "entertainm"
|
||||||
)
|
)
|
||||||
|
|
||||||
// RPC服务接口定义处
|
// RPC服务接口定义处
|
||||||
|
@ -19,7 +19,7 @@ type modelComp struct {
|
|||||||
|
|
||||||
func (this *modelComp) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
|
func (this *modelComp) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
|
||||||
err = this.MCompModel.Init(service, module, comp, options)
|
err = this.MCompModel.Init(service, module, comp, options)
|
||||||
this.TableName = comm.TablekfPushGiftbag
|
this.TableName = comm.TableDcolor
|
||||||
this.DB.CreateIndex(core.SqlTable(this.TableName), mongo.IndexModel{
|
this.DB.CreateIndex(core.SqlTable(this.TableName), mongo.IndexModel{
|
||||||
Keys: bsonx.Doc{{Key: "uid", Value: bsonx.Int32(1)}},
|
Keys: bsonx.Doc{{Key: "uid", Value: bsonx.Int32(1)}},
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user