瀏覽代碼

协议修改bug的修复

dongxin 9 月之前
父節點
當前提交
126844d930

+ 1 - 1
commons/src/main/java/com/jzg/commons/entity/dto/AgreementAddParam.java

@@ -74,7 +74,7 @@ public class AgreementAddParam {
 
     @Schema(description = "api类型")
     @NotNull(message = "请选择api类型")
-    private Integer apiType;
+    private String apiType;
 
     @Schema(description = "联系方式(对接人)")
     @Size(min=1,max=11,message = "对接人联系方式长度不能大于11")

+ 1 - 1
commons/src/main/java/com/jzg/commons/entity/po/PtlAgreement.java

@@ -42,7 +42,7 @@ public class PtlAgreement extends BaseModel {
 
     /** api类型 **/
     @Schema(description = "api类型")
-    private Integer apiType;
+    private String apiType;
 
     /** 协议状态 0-停用 1-在用 */
     @Schema(description = "协议状态 0-启用 1-停用")