调整响应成功状态码为200,与全局保持一致

master
陈烁键 2 years ago
parent 3ccf5c0e50
commit aaedafff52
  1. 2
      ruoyi-common/src/main/java/com/ruoyi/common/core/domain/R.java

@ -12,7 +12,7 @@ public class R<T> implements Serializable
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
/** 成功 */ /** 成功 */
public static final int SUCCESS = 0; public static final int SUCCESS = 200;
/** 失败 */ /** 失败 */
public static final int FAIL = 500; public static final int FAIL = 500;

Loading…
Cancel
Save