1
This commit is contained in:
parent
5c22c5e1fc
commit
0ff4a491a0
@ -18,6 +18,7 @@ func (this *MissionApi) List(c *gin.Context) {
|
|||||||
}
|
}
|
||||||
rspObj := struct {
|
rspObj := struct {
|
||||||
vo.BaseVo
|
vo.BaseVo
|
||||||
|
Data []vo.Mission `json:"data"`
|
||||||
}{}
|
}{}
|
||||||
mt.Table.Task.Traverse(func (taskMeta *mt.Task) bool {
|
mt.Table.Task.Traverse(func (taskMeta *mt.Task) bool {
|
||||||
return true
|
return true
|
||||||
|
10
server/wheelserver/vo/mission.go
Normal file
10
server/wheelserver/vo/mission.go
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
package vo
|
||||||
|
|
||||||
|
import (
|
||||||
|
)
|
||||||
|
|
||||||
|
type Mission struct {
|
||||||
|
MissionId int32 `json:"mission_id"`
|
||||||
|
Current int32 `json:"current"`
|
||||||
|
Target int32 `json:"target"`
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user