fix(player): 修复宠物信息服务中的数据库查询方法 使用正确的数据库管理器方法 dbm_fix 替换原有的 dbm 方法, 以确保宠物信息查询功能正常工作。 ```
This commit is contained in:
@@ -188,7 +188,7 @@ func (s *PetService) UPdate(t model.PetInfo) error {
|
||||
}
|
||||
func (s *PetService) PetInfo_One(cachetime uint32) *model.Pet {
|
||||
|
||||
m := s.dbm(s.Model).Where("catch_time", cachetime)
|
||||
m := s.dbm_fix(s.Model).Where("catch_time", cachetime)
|
||||
var tt *model.Pet
|
||||
|
||||
m.Scan(&tt)
|
||||
|
||||
Reference in New Issue
Block a user