Commit 794af858 authored by 陈炎's avatar 陈炎

🎨 红旗活动数据接口

parent 9573942c
...@@ -25,6 +25,7 @@ public interface DwdKuaishouAuthorInfoMapper extends BaseMapper<DwdDouyinAuthorI ...@@ -25,6 +25,7 @@ public interface DwdKuaishouAuthorInfoMapper extends BaseMapper<DwdDouyinAuthorI
@Select("<script>select " + @Select("<script>select " +
" t1.aweme_id, " + " t1.aweme_id, " +
" t1.author_id , " +
" t1.aweme_title , " + " t1.aweme_title , " +
" 'douyin' as platform, " + " 'douyin' as platform, " +
" t3.dealer_area_names area_name, " + " t3.dealer_area_names area_name, " +
...@@ -70,6 +71,7 @@ public interface DwdKuaishouAuthorInfoMapper extends BaseMapper<DwdDouyinAuthorI ...@@ -70,6 +71,7 @@ public interface DwdKuaishouAuthorInfoMapper extends BaseMapper<DwdDouyinAuthorI
@Select("<script>select " + @Select("<script>select " +
" t1.aweme_id, " + " t1.aweme_id, " +
" t1.author_id, " +
" t1.aweme_title , " + " t1.aweme_title , " +
" 'kuaishou' as platform, " + " 'kuaishou' as platform, " +
" t3.dealer_area_names area_name, " + " t3.dealer_area_names area_name, " +
...@@ -115,6 +117,7 @@ public interface DwdKuaishouAuthorInfoMapper extends BaseMapper<DwdDouyinAuthorI ...@@ -115,6 +117,7 @@ public interface DwdKuaishouAuthorInfoMapper extends BaseMapper<DwdDouyinAuthorI
@Select("<script>select " + @Select("<script>select " +
" t1.room_id, " + " t1.room_id, " +
" t3.author_id , " +
" t1.title, " + " t1.title, " +
" 'douyin' as platform, " + " 'douyin' as platform, " +
" t3.dealer_area_names area_name, " + " t3.dealer_area_names area_name, " +
...@@ -165,6 +168,7 @@ public interface DwdKuaishouAuthorInfoMapper extends BaseMapper<DwdDouyinAuthorI ...@@ -165,6 +168,7 @@ public interface DwdKuaishouAuthorInfoMapper extends BaseMapper<DwdDouyinAuthorI
" t3.dealer_store_code dealer_code, " + " t3.dealer_store_code dealer_code, " +
" t3.dealer_name , " + " t3.dealer_name , " +
" t3.nickname , " + " t3.nickname , " +
" t3.author_id , " +
" t1.publish_time , " + " t1.publish_time , " +
" t1.statistics_total_watch_user_count , " + " t1.statistics_total_watch_user_count , " +
" round(t1.statistics_live_time/60, 2) statistics_live_time, " + " round(t1.statistics_live_time/60, 2) statistics_live_time, " +
......
package com.afanticar.afantiopenapi.model.vo;
import com.alibaba.fastjson.annotation.JSONType;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Data;
/**
* @author chin
* @contact chenyan@afanticar.com
* @since 2024/9/23/023
*/
@Data
@JsonNaming(value = com.fasterxml.jackson.databind.PropertyNamingStrategy.SnakeCaseStrategy.class)
@JSONType(naming = com.alibaba.fastjson.PropertyNamingStrategy.SnakeCase)
public class ActivityVO {
private String activityId;
private String matchKeywords;
private String seriesCode;
}
...@@ -18,6 +18,7 @@ import java.util.List; ...@@ -18,6 +18,7 @@ import java.util.List;
public class HongqiActivityAwemeVO { public class HongqiActivityAwemeVO {
private String awemeId; private String awemeId;
private String authorId;
private String awemeTitle; private String awemeTitle;
private String platform; private String platform;
private String areaName; private String areaName;
...@@ -32,7 +33,6 @@ public class HongqiActivityAwemeVO { ...@@ -32,7 +33,6 @@ public class HongqiActivityAwemeVO {
private Integer shareCount; private Integer shareCount;
private String shareUrl; private String shareUrl;
private Date dataUpdateTime; private Date dataUpdateTime;
private List<String> activityIdList; private List<ActivityVO> activityList;
private List<String> keywordList;
} }
...@@ -18,6 +18,7 @@ import java.util.List; ...@@ -18,6 +18,7 @@ import java.util.List;
public class HongqiActivityLiveVO { public class HongqiActivityLiveVO {
private String roomId; private String roomId;
private String authorId;
private String title; private String title;
private String platform; private String platform;
private String areaName; private String areaName;
...@@ -32,7 +33,6 @@ public class HongqiActivityLiveVO { ...@@ -32,7 +33,6 @@ public class HongqiActivityLiveVO {
private Integer commentCnt; private Integer commentCnt;
private Integer giftCnt; private Integer giftCnt;
private Integer statisticsFansAdd; private Integer statisticsFansAdd;
private List<String> activityIdList; private List<ActivityVO> activityList;
private List<String> keywordList;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment