This commit is contained in:
@@ -24,7 +24,7 @@ func (s *MapService) GetData(p1 uint32) (ret *model.MapConfig) {
|
||||
//cacheKey := strings.Join([]string{fmt.Sprintf("%d", p1), fmt.Sprintf("%d", p2)}, ":")
|
||||
m := dbm_notenable(s.Model)
|
||||
|
||||
m.Wheref(`male_pet_ids @> ARRAY[?]::integer[]`, p1).Scan(&ret)
|
||||
m.Where(`map_id`, p1).Scan(&ret)
|
||||
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user