delete: agent_id

master
howell 4 years ago
parent 33bb0361aa
commit 1e74be8592

@ -208,7 +208,6 @@ func ConfirmOrderTradeSuc(orderInfo *order.Information, clientIP ...string) erro
Level: 0,
ParentID: s1.ID,
UpgradeTime1: formatime.NewSecondNow(),
AgentID: s1.AgentID,
}).Error; e != nil {
return e
}

@ -1,8 +1,9 @@
package user
import (
"github.com/golangkit/formatime"
"recook/internal/libs/phonedata"
"github.com/golangkit/formatime"
)
type Information struct {
@ -45,7 +46,6 @@ type Information struct {
ParentID uint `json:"parent_id"`
UpgradeTime1 formatime.Second `json:"upgrade_time1"`
UpgradeTime2 formatime.Second `json:"upgrade_time2"`
AgentID uint `json:"agent_id"`
}
const (

@ -34,7 +34,6 @@ type RecookUserInfoModel struct {
ParentID uint `json:"parent_id"`
UpgradeTime1 formatime.Second `json:"upgrade_time1"`
UpgradeTime2 formatime.Second `json:"upgrade_time2"`
AgentID uint `json:"agent_id"`
OrderList []manage.RecookOrderInfoModel `json:"-" gorm:"foreignKey:user_id"`
InvitationNo string
Identifier string

Loading…
Cancel
Save