新增管理员用户删除,修改反馈,任务列表

This commit is contained in:
chy
2025-06-17 18:26:39 +08:00
parent e21353df23
commit 876363f9b4
31 changed files with 352 additions and 110 deletions

View File

@ -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"`
}