feat(blazing): 更新怪物刷新规则模型结构

重构 monster_refresh.go 中的 MonsterRefresh 模型,调整字段定义以支持更灵活的刷新配置。
新增 MapID、MinLevel、MaxLevel、FixPos 和 Script 字段,用于支持地图和等级相关的刷新逻辑。
保留部分异色相关字段并标记为待定,便于后续决定是否移除。
新增 MonsterRefreshEX 结构体扩展 MonsterRefresh 并支持数组形式的 MonsterID 和 ShinyID。
修改注释内容以准确反映当前字段含义与用途。
同时修正 dict_info.go 中查询条件错误,将 type in (?) 更正
This commit is contained in:
2025-11-27 01:23:12 +08:00
parent 5a9c37e852
commit 0ab1a85d17
5 changed files with 180 additions and 17 deletions

View File

@@ -0,0 +1,22 @@
package admin
import (
"blazing/cool"
"blazing/modules/blazing/service"
)
type BossController struct {
*cool.Controller
}
func init() {
var task_info_controller = &BossController{
&cool.Controller{
Prefix: "/admin/monster/boss",
Api: []string{"Add", "Delete", "Update", "Info", "List", "Page"},
Service: service.NewBossService(),
},
}
// 注册路由
cool.RegisterController(task_info_controller)
}