Updata;解决冲突
This commit is contained in:
commit
4e00253541
@ -40,9 +40,10 @@ func SendQuestionnaireSurvey(req *bundle.SendQuestionnaireSurveyRequest) (resp *
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
if errors.Is(err, gorm.ErrRecordNotFound) {
|
if errors.Is(err, gorm.ErrRecordNotFound) {
|
||||||
resp.Status = 0
|
resp.Status = 0
|
||||||
}
|
} else {
|
||||||
return resp, err
|
return resp, err
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if questionnaireInfo.UserId != 0 {
|
if questionnaireInfo.UserId != 0 {
|
||||||
resp.Status = 2
|
resp.Status = 2
|
||||||
return resp, nil
|
return resp, nil
|
||||||
|
|||||||
@ -2446,7 +2446,8 @@ message CreateQuestionnaireSurveyAnswerRequest{
|
|||||||
string surveyUrl = 4;
|
string surveyUrl = 4;
|
||||||
string submitTime = 5;
|
string submitTime = 5;
|
||||||
string submitBy = 6;
|
string submitBy = 6;
|
||||||
string submitAddress = 7;
|
string longitude = 7;
|
||||||
|
string latitude = 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
message CreateQuestionnaireSurveyAnswerResponse{
|
message CreateQuestionnaireSurveyAnswerResponse{
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user