新增管理员用户删除,修改反馈,任务列表
This commit is contained in:
@ -15,6 +15,7 @@ type RewardType struct {
|
||||
CreatedAt *gtime.Time `json:"createdAt" dc:"创建时间" orm:"created_at"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" dc:"更新时间" orm:"updated_at"`
|
||||
DeletedAt *gtime.Time `json:"deletedAt" dc:"软删除时间戳" orm:"deleted_at"`
|
||||
StoreName string `json:"storeName" dc:"门店名称" orm:"storeName"`
|
||||
}
|
||||
|
||||
// RewardTypeCreateIn 创建奖励类型入参
|
||||
|
||||
@ -97,7 +97,3 @@ type StoreData struct {
|
||||
MerchantId int `json:"merchantId" orm:"merchant_id"`
|
||||
StoreName string `json:"storeName" orm:"name"`
|
||||
}
|
||||
|
||||
type S struct {
|
||||
Name string `json:"name"`
|
||||
}
|
||||
|
||||
@ -173,3 +173,11 @@ type UserBoundInfoOut struct {
|
||||
Nick string
|
||||
Utype int8
|
||||
}
|
||||
|
||||
type DelUserIn struct {
|
||||
Id int64
|
||||
}
|
||||
|
||||
type DelUserOut struct {
|
||||
Success bool
|
||||
}
|
||||
|
||||
@ -5,7 +5,7 @@ import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
type UserTaskRanking struct {
|
||||
type UserTask struct {
|
||||
g.Meta `orm:"table:task"`
|
||||
Id int `orm:"column:id" json:"id"` //
|
||||
UserId int `orm:"column:user_id" json:"userId"` // 用户 id
|
||||
@ -50,3 +50,14 @@ type LoginUserRanking struct {
|
||||
type LoginUserRankingNum struct {
|
||||
Num int `orm:"num" json:"num"`
|
||||
}
|
||||
|
||||
// GetTaskIn 添加任务记录入参
|
||||
type GetTaskIn struct {
|
||||
TaskId int `json:"taskId"`
|
||||
StoreId int `json:"storeId"`
|
||||
UserId int `json:"userId"`
|
||||
}
|
||||
|
||||
type GetTaskOut struct {
|
||||
Success bool `json:"success"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user