refactor(common): 移除未使用的XML解析测试代码 移除test_test.go中未完成的Mapxml函数和login/main.go中的 XML解析注释代码,清理无用的导入包,优化代码结构 BREAKING CHANGE: 删除了modules/config/model/map_moster_node.go 文件中的MapPit相关模型定义 ```
22 lines
319 B
Go
22 lines
319 B
Go
package service
|
|
|
|
import (
|
|
"blazing/cool"
|
|
"blazing/modules/config/model"
|
|
)
|
|
|
|
type MapPitService struct {
|
|
*cool.Service
|
|
}
|
|
|
|
func NewMapPitService() *MapPitService {
|
|
return &MapPitService{
|
|
&cool.Service{
|
|
Model: model.NewMapPit(),
|
|
PageQueryOp: &cool.QueryOp{
|
|
KeyWordField: []string{"remake"},
|
|
},
|
|
},
|
|
}
|
|
}
|