Your ROOT_URL in app.ini is http://git.zky.com/ but you are visiting http://61.178.84.89:8998/luoluo/ry_zhky/commit/571dcb99038fb91c810e07fe55fd199815fd7546?style=unified&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
13 additions and
2 deletions
@ -4,6 +4,8 @@ import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty ;
import lombok.Data ;
import javax.validation.constraints.NotBlank ;
import javax.validation.constraints.NotNull ;
import java.io.Serializable ;
/ * *
@ -34,6 +36,7 @@ public class QuAnswerDTO implements Serializable {
private String image ;
@ApiModelProperty ( value = "答案内容" )
@NotBlank ( message = "答案内容不能为空" )
private String content ;
@ApiModelProperty ( value = "答案分析" )
@ -4,6 +4,8 @@ import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty ;
import lombok.Data ;
import javax.validation.constraints.NotBlank ;
import javax.validation.constraints.NotNull ;
import java.io.Serializable ;
import java.util.Date ;
@ -26,15 +28,18 @@ public class QuDTO implements Serializable {
private String id ;
@ApiModelProperty ( value = "题目类型" )
@NotNull ( message = "题目类型不能为空" )
private Integer quType ;
@ApiModelProperty ( value = "1普通,2较难" )
@NotNull ( message = "难度等级不能为空" )
private Integer level ;
@ApiModelProperty ( value = "题目图片" )
private String image ;
@ApiModelProperty ( value = "题目内容" )
@NotBlank ( message = "题目内容不能为空" )
private String content ;
@ -6,6 +6,7 @@ import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty ;
import lombok.Data ;
import javax.validation.constraints.NotNull ;
import java.util.List ;
/ * *
@ -23,10 +24,12 @@ public class QuDetailDTO extends QuDTO {
private static final long serialVersionUID = 1L ;
@ApiModelProperty ( value = "备选项列表" , required = true )
@ApiModelProperty ( value = "备选项列表" )
@NotNull ( message = "备选项列表不能为空" )
private List < QuAnswerDTO > answerList ;
@ApiModelProperty ( value = "题库列表" , required = true )
@ApiModelProperty ( value = "题库列表" )
@NotNull ( message = "题库列表不能为空" )
private List < String > repoIds ;