2,350
社区成员
发帖
与我相关
我的任务
分享
type MerchantApply struct {
Id int `gorm:"-;primary_key;AUTO_INCREMENT"`
Name,Address string
Referee_id int
CreatedAt time.Time
State,Provider_id int
Contact,Tel,Remark string
}
/**
创建商户申请信息
*/
func (merchants *merchants) CreateMerchantApply(mer MerchantApply)(error) {
err := Db.Create(&mer).Error
return err
}