```
refactor(common): 移除未使用的XML解析测试代码 移除test_test.go中未完成的Mapxml函数和login/main.go中的 XML解析注释代码,清理无用的导入包,优化代码结构 BREAKING CHANGE: 删除了modules/config/model/map_moster_node.go 文件中的MapPit相关模型定义 ```
This commit is contained in:
21
modules/config/service/map_pit.go
Normal file
21
modules/config/service/map_pit.go
Normal file
@@ -0,0 +1,21 @@
|
||||
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"},
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user