From 816ec82d45bdd23988b778f3262f5c6adcb385fc Mon Sep 17 00:00:00 2001 From: dinggang <2498628697@qq.com> Date: Tue, 26 Apr 2022 11:51:08 +0800 Subject: [PATCH] =?UTF-8?q?=E8=83=BD=E5=8A=9B=E8=A1=A8=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/renren/modules/resource/dto/ResourceDTO.java | 2 ++ .../io/renren/modules/resource/entity/ResourceEntity.java | 6 +++++- .../src/main/resources/mapper/resource/ResourceDao.xml | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/renren-admin/src/main/java/io/renren/modules/resource/dto/ResourceDTO.java b/renren-admin/src/main/java/io/renren/modules/resource/dto/ResourceDTO.java index 99234598..fffc20de 100644 --- a/renren-admin/src/main/java/io/renren/modules/resource/dto/ResourceDTO.java +++ b/renren-admin/src/main/java/io/renren/modules/resource/dto/ResourceDTO.java @@ -30,6 +30,8 @@ public class ResourceDTO implements Serializable { private String description; @ApiModelProperty(value = "链接URL") private String link; + @ApiModelProperty(value = "api请求方式") + private String apiMethodType; @ApiModelProperty(value = "apiURL") private String apiUrl; @ApiModelProperty(value = "groupID") diff --git a/renren-admin/src/main/java/io/renren/modules/resource/entity/ResourceEntity.java b/renren-admin/src/main/java/io/renren/modules/resource/entity/ResourceEntity.java index 1da7317f..63467f71 100644 --- a/renren-admin/src/main/java/io/renren/modules/resource/entity/ResourceEntity.java +++ b/renren-admin/src/main/java/io/renren/modules/resource/entity/ResourceEntity.java @@ -41,8 +41,12 @@ public class ResourceEntity extends BaseEntity { */ private String link; /** - * apiURL + * api请求方式 */ + private String apiMethodType; + /** + * apiURL + */ private String apiUrl; /** * groupID diff --git a/renren-admin/src/main/resources/mapper/resource/ResourceDao.xml b/renren-admin/src/main/resources/mapper/resource/ResourceDao.xml index 1c520273..85ed452f 100644 --- a/renren-admin/src/main/resources/mapper/resource/ResourceDao.xml +++ b/renren-admin/src/main/resources/mapper/resource/ResourceDao.xml @@ -9,6 +9,7 @@ + @@ -37,6 +38,7 @@ +