Drop LevelDB and move all the things to SQLite. Implemented endpoints: /api <unit, accessoryMaterialAll> /api <unit, accessoryTab> /live/continue /live/partyList /unit/favoriteAccessory (WIP) /unit/sale Signed-off-by: Sean Du <do4suki@gmail.com>
20 lines
386 B
Go
20 lines
386 B
Go
package unit
|
|
|
|
import (
|
|
unitapischema "honoka-chan/internal/schema/api/unit"
|
|
"time"
|
|
)
|
|
|
|
func unitSupporterAll() (res any, err error) {
|
|
res = unitapischema.SupporterAllResp{
|
|
Result: unitapischema.SupporterAllData{
|
|
UnitSupportList: []unitapischema.SupporterList{},
|
|
}, // 练习道具
|
|
Status: 200,
|
|
CommandNum: false,
|
|
TimeStamp: time.Now().Unix(),
|
|
}
|
|
|
|
return res, err
|
|
}
|