Преглед на файлове

应用管理增加TAKU 相关配置字段

marxjaw преди 2 месеца
родител
ревизия
2dea592195

+ 12 - 0
yt-common/src/main/java/com/ytpm/agent/model/YtPlatformUserApp.java

@@ -43,4 +43,16 @@ public class YtPlatformUserApp extends BaseParam {
     private String feignClassPath;
     @ApiModelProperty("服务名称")
     private String serviceName;
+    @ApiModelProperty("taku应用ID")
+    private String takuAppId;
+    @ApiModelProperty("taku应用key")
+    private String takuKey;
+    @ApiModelProperty("taku横幅")
+    private String takuBannerPid;
+    @ApiModelProperty("taku原生")
+    private String takuNativePid;
+    @ApiModelProperty("taku激励")
+    private String takuRewardPid;
+    @ApiModelProperty("taku插屏")
+    private String takuInterstitialPid;
 }

+ 12 - 0
yt-common/src/main/java/com/ytpm/middle/param/AppForm.java

@@ -41,4 +41,16 @@ public class AppForm extends BaseParam {
     private BigDecimal salePrice;
     @ApiModelProperty("授权类型")
     private Integer grantType;
+    @ApiModelProperty("taku应用ID")
+    private String takuAppId;
+    @ApiModelProperty("taku应用key")
+    private String takuKey;
+    @ApiModelProperty("taku横幅")
+    private String takuBannerPid;
+    @ApiModelProperty("taku原生")
+    private String takuNativePid;
+    @ApiModelProperty("taku激励")
+    private String takuRewardPid;
+    @ApiModelProperty("taku插屏")
+    private String takuInterstitialPid;
 }

+ 33 - 0
yt-middle/middle-platform/src/main/resources/mapper/AppMapper.xml

@@ -15,6 +15,12 @@
          wx_app_id,
          wx_secret,
          sale_price,
+         taku_app_id,
+         taku_key,
+         taku_banner_pid,
+         taku_native_pid,
+         taku_reward_pid,
+         taku_interstitial_pid,
          create_user_id,
          create_time,
          available
@@ -32,6 +38,12 @@
          #{wxAppId},
          #{wxSecret},
          #{salePrice},
+         #{takuAppId},
+         #{takuKey},
+         #{takuBannerPid},
+         #{takuNativePid},
+         #{takuRewardPid},
+         #{takuInterstitialPid},
          #{createUserId},
          #{createTime},
          #{available}
@@ -110,6 +122,27 @@
             <if test="grantType != null">
                 grant_type = #{grantType},
             </if>
+            <if test="takuAppId != null">
+                taku_app_id = #{takuAppId},
+            </if>
+            <if test="takuKey != null">
+                taku_key = #{takuKey},
+            </if>
+            <if test="takuBannerPid != null">
+                taku_banner_pid = #{takuBannerPid},
+            </if>
+            <if test="takuNativePid != null">
+                taku_native_pid = #{takuNativePid},
+            </if>
+            <if test="takuRewardPid != null">
+                taku_reward_pid = #{takuRewardPid},
+            </if>
+            <if test="takuInterstitialPid != null">
+                taku_interstitial_pid = #{takuInterstitialPid},
+            </if>
+            <if test="grantType != null">
+                grant_type = #{grantType},
+            </if>
             <if test="available != null">
                 available = #{available}
             </if>