mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-07 18:50:26 +08:00
用户账单增加字段/优化代码
This commit is contained in:
@@ -5,6 +5,7 @@ type UserBill struct {
|
||||
Id uint64 `field:"id"` // ID
|
||||
UserId uint32 `field:"userId"` // 用户ID
|
||||
Type string `field:"type"` // 消费类型
|
||||
PricePeriod string `field:"pricePeriod"` // 计费周期
|
||||
Description string `field:"description"` // 描述
|
||||
Amount float64 `field:"amount"` // 消费数额
|
||||
DayFrom string `field:"dayFrom"` // YYYYMMDD
|
||||
@@ -15,7 +16,7 @@ type UserBill struct {
|
||||
PaidAt uint64 `field:"paidAt"` // 支付时间
|
||||
Code string `field:"code"` // 账单编号
|
||||
CreatedAt uint64 `field:"createdAt"` // 创建时间
|
||||
PricePeriod string `field:"pricePeriod"` // 计费周期
|
||||
CreatedDay string `field:"createdDay"` // 创建日期
|
||||
State uint8 `field:"state"` // 状态
|
||||
}
|
||||
|
||||
@@ -23,6 +24,7 @@ type UserBillOperator struct {
|
||||
Id any // ID
|
||||
UserId any // 用户ID
|
||||
Type any // 消费类型
|
||||
PricePeriod any // 计费周期
|
||||
Description any // 描述
|
||||
Amount any // 消费数额
|
||||
DayFrom any // YYYYMMDD
|
||||
@@ -33,7 +35,7 @@ type UserBillOperator struct {
|
||||
PaidAt any // 支付时间
|
||||
Code any // 账单编号
|
||||
CreatedAt any // 创建时间
|
||||
PricePeriod any // 计费周期
|
||||
CreatedDay any // 创建日期
|
||||
State any // 状态
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user