生成奖励相关代码,实现新增门店奖励

This commit is contained in:
2025-06-06 15:49:46 +08:00
parent e40f9987db
commit 2054256a8c
33 changed files with 972 additions and 98 deletions

View File

@ -1,7 +1,10 @@
package model
import "github.com/gogf/gf/v2/frame/g"
// Admin 管理员信息
type Admin struct {
g.Meta `orm:"table:admins"`
Id int64 `json:"id" orm:"id,primary"` // 管理员ID
RoleId int64 `json:"roleId" orm:"role_id,not null"` // 角色ID
Username string `json:"username" orm:"username,not null"` // 管理员用户名