修改奖励类型,游戏列表接口,
This commit is contained in:
@ -1,13 +1,20 @@
|
||||
package model
|
||||
|
||||
import "github.com/gogf/gf/v2/frame/g"
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
type RewardType struct {
|
||||
g.Meta `orm:"table:reward_type"`
|
||||
Id int64 `json:"id" dc:"ID" orm:"id,primary"`
|
||||
Name string `json:"name" dc:"名称" orm:"name"`
|
||||
Sort int `json:"sort" dc:"排序" orm:"sort"`
|
||||
Status int `json:"status" dc:"状态:1=启用,2=禁用" orm:"status"`
|
||||
g.Meta `orm:"table:reward_type"`
|
||||
Id int64 `json:"id" dc:"ID" orm:"id,primary"`
|
||||
Name string `json:"name" dc:"名称" orm:"name"`
|
||||
Code string `json:"code" dc:"代号" orm:"code"`
|
||||
Status int `json:"status" dc:"状态:1=启用,2=禁用" orm:"status"`
|
||||
Description string `json:"description" dc:"描述" orm:"description"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"删除时间"`
|
||||
}
|
||||
type RewardTypeIn struct {
|
||||
Page int
|
||||
|
||||
Reference in New Issue
Block a user