上传购物中心
This commit is contained in:
parent
eb835f6ae7
commit
552841d0f0
@ -334,6 +334,9 @@ const (
|
||||
//守护者任务
|
||||
TableHerotask = "herotask"
|
||||
|
||||
//购物中心
|
||||
TableShopCenter = "shopcenter"
|
||||
|
||||
//如梦战令
|
||||
TablekfDreamwarorder = "dreamwarorder"
|
||||
|
||||
|
@ -23,7 +23,7 @@ type ModelShop struct {
|
||||
|
||||
func (this *ModelShop) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
|
||||
err = this.MCompModel.Init(service, module, comp, options)
|
||||
this.TableName = comm.TableHerotask
|
||||
this.TableName = comm.TableShopCenter
|
||||
this.module = module.(*ShopCenter)
|
||||
this.DB.CreateIndex(core.SqlTable(this.TableName), mongo.IndexModel{
|
||||
Keys: bsonx.Doc{{Key: "uid", Value: bsonx.Int32(1)}},
|
||||
|
Loading…
Reference in New Issue
Block a user