修复代码bug
This commit is contained in:
parent
aa710d72d7
commit
e6f22d2c46
@ -36,7 +36,7 @@ func (this *modelHoroscope) queryInfo(uId string) (result *pb.DBHoroscope, err e
|
|||||||
this.module.Errorln(err)
|
this.module.Errorln(err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if err != mgo.MongodbNil {
|
if err == mgo.MongodbNil {
|
||||||
err = nil
|
err = nil
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user