1、触发时间修改
2、用户增加父级邀请人
This commit is contained in:
@ -1,9 +1,10 @@
|
||||
package models
|
||||
|
||||
import (
|
||||
"github.com/shopspring/decimal"
|
||||
"time"
|
||||
|
||||
"github.com/shopspring/decimal"
|
||||
|
||||
"go-admin/common/models"
|
||||
)
|
||||
|
||||
@ -11,7 +12,8 @@ type LineUser struct {
|
||||
models.Model
|
||||
|
||||
GroupId int `json:"groupId" gorm:"type:int unsigned;comment:组别ID"`
|
||||
Pid int `json:"pid" gorm:"type:int unsigned;comment:推荐人ID"`
|
||||
Pid int `json:"pid" gorm:"type:int unsigned;comment:直接推荐人ID"`
|
||||
TopReferrerId int `json:"topReferrerId" gorm:"type:int unsigned;comment:父级推荐人ID"`
|
||||
Username string `json:"username" gorm:"type:varchar(32);comment:用户名"`
|
||||
Nickname string `json:"nickname" gorm:"type:varchar(50);comment:昵称"`
|
||||
Password string `json:"password" gorm:"type:varchar(32);comment:密码"`
|
||||
|
||||
Reference in New Issue
Block a user