Commit 6cbc6835 authored by bboymoney's avatar bboymoney

swagger状态码自定义

parent b0ec3965
...@@ -13,7 +13,7 @@ public class JsonUtil { ...@@ -13,7 +13,7 @@ public class JsonUtil {
return JSONObject.toJavaObject(JSON.parseObject(json), clazz); return JSONObject.toJavaObject(JSON.parseObject(json), clazz);
} catch (Exception e) { } catch (Exception e) {
} }
throw new ValidCheckException(203, "json格式有误");//TODO 需要再基础类添加 throw new ValidCheckException(203, "json格式有误");
} }
public static String toString(Object obj) { public static String toString(Object obj) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment