1
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
昔念
2026-02-20 23:33:24 +08:00
parent f6b583575a
commit 8e3ed21a3a
9 changed files with 105 additions and 28 deletions

View File

@@ -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