实现用户领取任务接口、用户任务记录接口
This commit is contained in:
@ -1,11 +1,13 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Reward 奖励表
|
||||
type Reward struct {
|
||||
g.Meta `orm:"table:rewards"`
|
||||
Id int64 `json:"id" orm:"id" description:"奖励ID"` // 奖励ID
|
||||
StoreId int64 `json:"storeId" orm:"store_id" description:"门店ID,系统奖励为NULL"` // 门店ID,系统奖励为NULL
|
||||
Name string `json:"name" orm:"name" description:"奖励名称"` // 奖励名称
|
||||
|
||||
Reference in New Issue
Block a user