This commit is contained in:
meixiongfeng 2022-12-23 10:00:51 +08:00
parent bb45eff4d5
commit 59b0671c26

View File

@ -3,7 +3,6 @@ package hunting
import ( import (
"go_dreamfactory/comm" "go_dreamfactory/comm"
"go_dreamfactory/lego/core" "go_dreamfactory/lego/core"
"go_dreamfactory/lego/sys/mgo"
"go_dreamfactory/modules" "go_dreamfactory/modules"
"go_dreamfactory/pb" "go_dreamfactory/pb"
@ -34,7 +33,7 @@ func (this *modelHunting) modifyHuntingDataByObjId(uid string, data map[string]i
// 获取列表信息 // 获取列表信息
func (this *modelHunting) getHuntingList(uid string) (result *pb.DBHunting, err error) { func (this *modelHunting) getHuntingList(uid string) (result *pb.DBHunting, err error) {
result = &pb.DBHunting{} result = &pb.DBHunting{}
if err = this.Get(uid, result); err != nil && mgo.MongodbNil != err { if err = this.Get(uid, result); err != nil {
return return
} }