lombok的類以下所示:前端
package com.divx.service.model.task; import com.divx.service.model.BaseTypeMedia; import lombok.Data; /** * @author wuzhilang * @Title: QuestionResult * @ProjectName yxt-parent * @Description: QuestionResult * @date 2019/6/2015:59 */ @Data public class QuestionResult { private long questionId; private BaseTypeMedia.eQuestionType qType; private String userAnswer; private String standardAnswer; private long userId; private int instId; private Boolean result; private String word; }
結果屬性裏面 private BaseTypeMedia.eQuestionType qType;的get方法是code
getQType();
致使我前端傳過來的參數沒有被接收到。具體爲何不是getqType();有沒有大神來解釋下ip