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方法是

getQType();

导致我前端传过来的参数没有被接收到。具体为什么不是getqType();有没有大神来解释下

06-25 02:47