@@ -0,0 +1,27 @@
|
||||
package achievement
|
||||
|
||||
import (
|
||||
achievementapischema "honoka-chan/internal/schema/api/achievement"
|
||||
"time"
|
||||
)
|
||||
|
||||
func unaccomplishList() (res any, err error) {
|
||||
listData := make([]achievementapischema.UnaccomplishListData, 0, len(achievementFilterCategoryList))
|
||||
for i := range achievementFilterCategoryList {
|
||||
listData = append(listData, achievementapischema.UnaccomplishListData{
|
||||
FilterCategoryID: achievementFilterCategoryList[i],
|
||||
AchievementList: []achievementapischema.AchievementListItem{},
|
||||
Count: 0,
|
||||
IsLast: true,
|
||||
})
|
||||
}
|
||||
|
||||
res = achievementapischema.UnaccomplishListResp{
|
||||
Result: listData,
|
||||
Status: 200,
|
||||
CommandNum: false,
|
||||
TimeStamp: time.Now().Unix(),
|
||||
}
|
||||
|
||||
return res, nil
|
||||
}
|
||||
Reference in New Issue
Block a user