Browse Source

add 字段

GITZYY 6 months ago
parent
commit
5dc4348ed2

+ 15 - 0
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/repository/database/entity/EgApiEndpointDo.java

@@ -32,4 +32,19 @@ public class EgApiEndpointDo extends BaseDo implements Serializable {
      * 通道配置
      */
     private byte[] apiConfig;
+
+    /**
+     * 请求配置
+     */
+    private String requestConfig;
+
+    /**
+     * 响应配置
+     */
+    private String responseConfig;
+
+    /**
+     * 备注
+     */
+    private String memo;
 }

+ 3 - 0
egress-gateway-service-infrastructure/src/main/resources/mapper/EgApiEndpointMapper.xml

@@ -15,6 +15,9 @@
         <result column="api_code" property="apiCode"/>
         <result column="api_id" property="apiId"/>
         <result column="api_name" property="apiName"/>
+        <result column="request_config" property="requestConfig"/>
+        <result column="response_config" property="responseConfig"/>
+        <result column="memo" property="memo"/>
 
     </resultMap>
 

+ 1 - 0
egress-gateway-service-infrastructure/src/main/resources/mapper/ProductBusinessApiInfoMapper.xml

@@ -6,6 +6,7 @@
     <resultMap id="BaseResultMap" type="com.hrsk.cloud.eg.infrastructure.repository.database.entity.ProductBusinessApiInfoDo">
         <id column="id" property="id"/>
         <result column="busi_id" property="busiId"/>
+        <result column="api_id" property="apiId"/>
         <result column="join_kind" property="joinKind"/>
         <result column="join_method" property="joinMethod"/>
         <result column="joint_type" property="jointType"/>