This commit is contained in:
2026-08-17 13:19:15 +08:00
parent 2b7c1c790b
commit 0e93c4f0a9
314 changed files with 2151 additions and 17468 deletions
@@ -3,12 +3,12 @@ package entity
import "github.com/gogf/gf/v2/os/gtime"
type CpsCategory struct {
Id int64 `orm:"id" json:"id"`
Code string `orm:"code" json:"code"`
Name string `orm:"name" json:"name"`
ParentCode string `orm:"parent_code" json:"parent_code"`
Source string `orm:"source" json:"source"`
SourceCatId string `orm:"source_cat_id" json:"source_cat_id"`
Sort int `orm:"sort" json:"sort"`
CreatedAt *gtime.Time `orm:"created_at" json:"created_at"`
Id int64 `orm:"id" json:"id"`
Code string `orm:"code" json:"code"`
Name string `orm:"name" json:"name"`
ParentCode string `orm:"parent_code" json:"parent_code"`
Source string `orm:"source" json:"source"`
SourceCatId string `orm:"source_cat_id" json:"source_cat_id"`
Sort int `orm:"sort" json:"sort"`
CreatedAt *gtime.Time `orm:"created_at" json:"created_at"`
}
@@ -5,7 +5,7 @@ import "github.com/gogf/gf/v2/os/gtime"
type MemberPlan struct {
Id int64 `orm:"id" json:"id"`
Name string `orm:"name" json:"name"`
PriceFen int `orm:"price_fen" json:"price_fen"`
PriceFen int64 `orm:"price_fen" json:"price_fen"`
DurationDays int `orm:"duration_days" json:"duration_days"`
Features string `orm:"features" json:"features"` // 权益 JSON 数组字符串
Sort int `orm:"sort" json:"sort"`
@@ -1,13 +0,0 @@
package entity
import "github.com/gogf/gf/v2/os/gtime"
type PayNotifyLog struct {
Id int64 `orm:"id" json:"id"`
OrderNo string `orm:"order_no" json:"order_no"`
Body string `orm:"body" json:"body"`
Sign string `orm:"sign" json:"sign"`
RemoteIp string `orm:"remote_ip" json:"remote_ip"`
Status string `orm:"status" json:"status"`
CreatedAt *gtime.Time `orm:"created_at" json:"created_at"`
}
@@ -7,7 +7,7 @@ type PaymentOrder struct {
OrderNo string `orm:"order_no" json:"order_no"`
UserId int64 `orm:"user_id" json:"user_id"`
PlanId int64 `orm:"plan_id" json:"plan_id"`
AmountFen int `orm:"amount_fen" json:"amount_fen"`
AmountFen int64 `orm:"amount_fen" json:"amount_fen"`
Channel string `orm:"channel" json:"channel"`
Status string `orm:"status" json:"status"`
TradeNo string `orm:"trade_no" json:"trade_no"`