摘要:
一:属性注解 1 import java.lang.annotation.*; 2 3 /** 4 * @author 陆伟 5 * 6 */ 7 @Target(ElementType.FIELD) //使用到字段上 8 @Retention(RetentionPolicy.RUNTIME) 9 阅读全文
摘要:
一:静态转换方法 1 public static <T> ApiResponse<T> parseResultV2(String json, Class<T> clazz) { 2 return JSONObject.parseObject(json, new TypeReference<ApiRe 阅读全文