feat(config): 修改地图坑位配置的数据结构 - 将MapPit结构体中的MapID字段从数组类型[]int32改为单个int32类型 - 更新数据库标签,移除数组类型定义,添加非空约束和索引 - 修改JSON标签注释为"所属地图ID" - 在服务层的查询操作中添加map_id字段的相等查询支持 ```
This commit is contained in:
@@ -15,6 +15,7 @@ func NewMapPitService() *MapPitService {
|
||||
Model: model.NewMapPit(),
|
||||
PageQueryOp: &cool.QueryOp{
|
||||
KeyWordField: []string{"remake"},
|
||||
FieldEQ: []string{"map_id"},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user