上传开服活动和累充活动bug
This commit is contained in:
parent
c3ee1c11cd
commit
c206675c48
@ -332,7 +332,8 @@ const (
|
||||
|
||||
//开服任务
|
||||
Tablekftask = "kftask"
|
||||
|
||||
//累充活动
|
||||
TablekRecharge = "recharge"
|
||||
//守护者任务
|
||||
TableHerotask = "herotask"
|
||||
|
||||
|
@ -22,7 +22,7 @@ type ModelRecharge struct {
|
||||
|
||||
func (this *ModelRecharge) 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.Tablekftask
|
||||
this.TableName = comm.TablekRecharge
|
||||
this.module = module.(*AddRecharge)
|
||||
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