完善套餐

This commit is contained in:
GoEdgeLab
2021-11-28 20:11:36 +08:00
parent 3a8540f8a4
commit cd384f5e8b
7 changed files with 142 additions and 109 deletions

View File

@@ -6,6 +6,7 @@ type UserPlan struct {
UserId uint32 `field:"userId"` // 用户ID
PlanId uint32 `field:"planId"` // 套餐ID
IsOn uint8 `field:"isOn"` // 是否启用
Name string `field:"name"` // 名称
DayTo string `field:"dayTo"` // 结束日期
State uint8 `field:"state"` // 状态
}
@@ -15,6 +16,7 @@ type UserPlanOperator struct {
UserId interface{} // 用户ID
PlanId interface{} // 套餐ID
IsOn interface{} // 是否启用
Name interface{} // 名称
DayTo interface{} // 结束日期
State interface{} // 状态
}