Browse Source

feat: 补充原生信息流间隔字段修改逻辑

hidewnd 1 month ago
parent
commit
e5d4faf9e7

+ 2 - 0
yt-common/src/main/java/com/ytpm/app/model/YtAppDefaultConfig.java

@@ -62,6 +62,8 @@ public class YtAppDefaultConfig {
     private Integer interstitialIntervalTime;
     @ApiModelProperty("渠道类型id")
     private String ditchId;
+    @ApiModelProperty("原生信息流间隔时间(秒)")
+    private String flowIntervalTime;
 
 
     public YtAppDefaultConfig(Object o, String appName, String wxAppId, String wxSecret, String appId, String appKey, int appType,String ditchId) {

+ 3 - 0
yt-nofeeds/nofeeds-service/src/main/resources/mapper/AppUserMapper.xml

@@ -149,6 +149,9 @@
             <if test="interstitialIntervalTime != null">
                 interstitial_interval_time = #{interstitialIntervalTime}
             </if>
+            <if test="flowIntervalTime != null">
+                flow_interval_time = #{flowIntervalTime}
+            </if>
         </set>
         where app_id = #{appId}
     </update>