Updata:解决冲突
This commit is contained in:
commit
8297b006dc
@ -132,6 +132,7 @@ func CreateQuestionnaireSurveyAnswer(req *bundle.CreateQuestionnaireSurveyAnswer
|
||||
"submit_time": timeParse(time.Now().Format("2006-01-02 15:04:05")),
|
||||
"survey_status": msg.QuestionnaireSubmitted,
|
||||
"survey_url": req.SurveyUrl,
|
||||
"submit_by": req.SubmitBy,
|
||||
}).Error
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
@ -24,6 +24,7 @@ type QuestionnaireSurvey struct {
|
||||
SuggestionsorImprovements string `gorm:"column:suggestionsor_improvements;not null;comment:改进建议" json:"suggestionsor_improvements"`
|
||||
AdditionalComments string `gorm:"column:additional_comments;not null;comment:补充意见" json:"additional_comments"`
|
||||
SurveyUrl string `gorm:"column:survey_url;not null;comment:问卷URL" json:"survey_url"`
|
||||
SubmitBy string `gorm:"column:submit_by;not null;comment:提交人" json:"submit_by"`
|
||||
}
|
||||
|
||||
func (QuestionnaireSurvey) TableName() string {
|
||||
|
||||
@ -2446,6 +2446,7 @@ message CreateQuestionnaireSurveyAnswerRequest{
|
||||
string surveyUrl = 4;
|
||||
string submitTime = 5;
|
||||
string submitBy = 6;
|
||||
string submitAddress = 7;
|
||||
}
|
||||
|
||||
message CreateQuestionnaireSurveyAnswerResponse{
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user