Files
honoka-chan/internal/handler/api/payment/productlist.go
T
YumeMichi c77241a883 Overhaul [1/n]
Signed-off-by: Sean Du <do4suki@gmail.com>
2026-01-29 02:42:28 +08:00

32 lines
661 B
Go

package payment
import (
"honoka-chan/internal/schema/api/payment"
"time"
)
func productList() (res any, err error) {
res = payment.ProductListResp{
Result: payment.ProductListData{
RestrictionInfo: payment.RestrictionInfo{
Restricted: false,
},
UnderAgeInfo: payment.UnderAgeInfo{
BirthSet: false,
HasLimit: false,
LimitAmount: nil,
MonthUsed: 0,
},
SnsProductList: []payment.SnsProduct{},
ProductList: []payment.Product{},
SubscriptionList: []payment.Subscription{},
ShowPointShop: false,
},
Status: 200,
CommandNum: false,
TimeStamp: time.Now().Unix(),
}
return res, err
}