新增获取用户完成任务列表,修改领取任务

This commit is contained in:
chy
2025-06-19 15:34:20 +08:00
parent 9d41358f83
commit 64f63e6b28
14 changed files with 73 additions and 48 deletions

View File

@ -1,6 +1,7 @@
package model
import (
"github.com/gogf/gf/v2/frame/g"
"time"
"github.com/gogf/gf/v2/os/gtime"
@ -8,6 +9,7 @@ import (
// User 用户信息
type User struct {
g.Meta `orm:"table:users"`
Id int64 `json:"id" orm:"id,primary"` // 用户ID
Username string `json:"username" orm:"username,not null"` // 用户名
Nickname string `json:"nickname" orm:"nickname"` // 昵称