2,348
社区成员




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
}