feat:完善项目信息
This commit is contained in:
@ -37,9 +37,9 @@ type (
|
||||
}
|
||||
// InstanceParams 活动参数信息
|
||||
InstanceParams struct {
|
||||
ID, ApplyID, TenantID uint64
|
||||
Title, Contact, ContactMobile, Image, Content string
|
||||
BeginAt, FinishAt, JoinDeadline string
|
||||
ID, ApplyID, TenantID uint64
|
||||
Title, Contact, ContactMobile, Image, Description, Content string
|
||||
BeginAt, FinishAt, JoinDeadline string
|
||||
config.Area
|
||||
Industrys []string
|
||||
Amount float64
|
||||
@ -157,6 +157,7 @@ func (c *Instance) Form(params *InstanceParams) error {
|
||||
mActivityInstance.NotifyCrowd = params.NotifyCrowd
|
||||
mActivityInstance.IsHome = params.IsHome
|
||||
mActivityInstance.Sort = params.Sort
|
||||
mActivityInstance.Description = params.Description
|
||||
mActivityInstance.Content = params.Content
|
||||
mActivityInstance.Status = model2.ActivityInstanceStatus(params.Status)
|
||||
|
||||
|
Reference in New Issue
Block a user