书籍列表接口新增参数

This commit is contained in:
2025-08-13 15:19:42 +08:00
parent 6ccc87f2bf
commit 8afe651c64
201 changed files with 6987 additions and 1066 deletions

View File

@ -0,0 +1,13 @@
package model
import "github.com/gogf/gf/v2/os/gtime"
type UserPointsLog struct {
Id int64 `json:"id" orm:"id" description:"积分流水ID"`
UserId int64 `json:"userId" orm:"user_id" description:"用户ID"`
ChangeType int `json:"changeType" orm:"change_type" description:"变动类型1=消费(spend), 2=收入(earn)"`
PointsChange int `json:"pointsChange" orm:"points_change" description:"积分变化数,正数增加,负数减少"`
RelatedOrderId int64 `json:"relatedOrderId" orm:"related_order_id" description:"关联ID"`
Description string `json:"description" orm:"description" description:"变动说明"`
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"变动时间"`
}