智盟项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

254 lines
14 KiB

  1. package md
  2. var SourceCate = map[string]string{
  3. "tt99fdef4006c36ff001": "dianzhong",
  4. "tt38e94e54a7d70c4601": "bihai",
  5. "ttd02aa6974f166cca01": "bihai",
  6. "tt8a93fc2e15affaaa01": "beiwo",
  7. "tt87bdf1001882dd4b01": "lutang", //鹿糖故事会
  8. "ttdc8aaa3743b4853f01": "xinghe", //星河剧场
  9. "ttbed9c86421e54c8501": "kujiang", //酷匠短剧
  10. }
  11. var SourceBili = map[string]string{
  12. "tt99fdef4006c36ff001": "30",
  13. "tt38e94e54a7d70c4601": "30",
  14. "ttd02aa6974f166cca01": "30",
  15. "tt8a93fc2e15affaaa01": "30",
  16. "tt87bdf1001882dd4b01": "30",
  17. "ttdc8aaa3743b4853f01": "30",
  18. }
  19. var TaskAddList = []map[string]string{
  20. {
  21. "name": "tt87bdf1001882dd4b01",
  22. "type": "story",
  23. "second_type": "lutang",
  24. },
  25. {
  26. "name": "ttdc8aaa3743b4853f01",
  27. "type": "video",
  28. "second_type": "xinghe",
  29. },
  30. {
  31. "name": "ttbed9c86421e54c8501",
  32. "type": "video",
  33. "second_type": "kujiang",
  34. },
  35. }
  36. type TikTokTaskDetail struct {
  37. AnchorTitle string `json:"anchor_title"`
  38. Appid string `json:"appid"`
  39. PaymentAllocateRatio int `json:"payment_allocate_ratio"`
  40. PlatformAddressApp string `json:"platform_address_app"`
  41. PlatformAddressWeb string `json:"platform_address_web"`
  42. ReferMaCaptures []string `json:"refer_ma_captures"`
  43. ReferVideoCaptures []string `json:"refer_video_captures"`
  44. RejectReason string `json:"reject_reason"`
  45. StartPage string `json:"start_page"`
  46. Status int `json:"status"`
  47. TaskDesc string `json:"task_desc"`
  48. TaskEndTime int `json:"task_end_time"`
  49. TaskIcon string `json:"task_icon"`
  50. TaskId int64 `json:"task_id"`
  51. TaskName string `json:"task_name"`
  52. TaskRefundPeriod int `json:"task_refund_period"`
  53. TaskSettleType int `json:"task_settle_type"`
  54. TaskStartTime int `json:"task_start_time"`
  55. TaskTags []string `json:"task_tags"`
  56. TaskType int `json:"task_type"`
  57. OrientedTalentRelList []struct {
  58. CooperationState int `json:"cooperation_state"`
  59. DouyinId string `json:"douyin_id"`
  60. CancelOperator int `json:"cancel_operator,omitempty"`
  61. } `json:"oriented_talent_rel_list"`
  62. }
  63. type TikTokTaskDetailSecond struct {
  64. AnchorTitle string `json:"anchor_title"`
  65. Appid string `json:"appid"`
  66. PaymentAllocateRatio int `json:"payment_allocate_ratio"`
  67. PlatformAddressApp string `json:"platform_address_app"`
  68. PlatformAddressWeb string `json:"platform_address_web"`
  69. ReferMaCaptures string `json:"refer_ma_captures"`
  70. ReferVideoCaptures string `json:"refer_video_captures"`
  71. RejectReason string `json:"reject_reason"`
  72. StartPage string `json:"start_page"`
  73. Status int `json:"status"`
  74. TaskDesc string `json:"task_desc"`
  75. TaskEndTime int `json:"task_end_time"`
  76. TaskIcon string `json:"task_icon"`
  77. TaskId int64 `json:"task_id"`
  78. VideoId string `json:"video_id"`
  79. TaskName string `json:"task_name"`
  80. TaskRefundPeriod int `json:"task_refund_period"`
  81. TaskSettleType int `json:"task_settle_type"`
  82. TaskStartTime int `json:"task_start_time"`
  83. TaskTags string `json:"task_tags"`
  84. TaskType int `json:"task_type"`
  85. OrientedTalentRelList string `json:"oriented_talent_rel_list"`
  86. }
  87. type TikTokTaskOrder struct {
  88. VideoId int64 `json:"VideoId"`
  89. TaskId int `json:"TaskId"`
  90. TaskName string `json:"TaskName"`
  91. PublishTime int `json:"PublishTime"`
  92. Author string `json:"Author"`
  93. DouyinID string `json:"DouyinID"`
  94. VideoTitle string `json:"VideoTitle"`
  95. MicroAppTitle string `json:"MicroAppTitle"`
  96. VideoLink string `json:"VideoLink"`
  97. AgentID string `json:"AgentID"`
  98. TalentProfit1D int `json:"TalentProfit1d"`
  99. GMV1D int `json:"GMV1d"`
  100. RefundGMV1D int `json:"RefundGMV1d"`
  101. AdShareCost1D int `json:"AdShareCost1d"`
  102. FeedAdShareCost1D int `json:"FeedAdShareCost1d"`
  103. BillingRefundGMV1D int `json:"BillingRefundGMV1d"`
  104. BillingGMV1D int `json:"BillingGMV1d"`
  105. Date string `json:"date"`
  106. }
  107. type TikTokTaskRelate struct {
  108. AgencyTalentUid string `json:"agency_talent_uid"`
  109. AgentId int64 `json:"agent_id"`
  110. BindTime int `json:"bind_time"`
  111. DouyinId string `json:"douyin_id"`
  112. }
  113. type KuJiang struct {
  114. BookId int `json:"book_id"`
  115. ApplyPlatform int `json:"apply_platform"`
  116. Channel int `json:"channel"`
  117. IsCompleted int `json:"is_completed"`
  118. Seconds int `json:"seconds"`
  119. Chapters int `json:"chapters"`
  120. ReadableChapters int `json:"readable_chapters"`
  121. Stars int `json:"stars"`
  122. KujiangStars int `json:"kujiang_stars"`
  123. Weight int `json:"weight"`
  124. IsHidden int `json:"is_hidden"`
  125. Status string `json:"status"`
  126. KsStatus string `json:"ks_status"`
  127. DouyinStatus string `json:"douyin_status"`
  128. KujiangStatus string `json:"kujiang_status"`
  129. KujiangKsStatus string `json:"kujiang_ks_status"`
  130. KujiangDouyinStatus string `json:"kujiang_douyin_status"`
  131. ShowPlatform int `json:"show_platform"`
  132. KyyStatus string `json:"kyy_status"`
  133. CertifiedStatus string `json:"certified_status"`
  134. CertifiedDouyinStatus string `json:"certified_douyin_status"`
  135. AppStatus string `json:"app_status"`
  136. KujiangAppStatus string `json:"kujiang_app_status"`
  137. KujiangCertifiedStatus string `json:"kujiang_certified_status"`
  138. KujiangCertifiedDouyinStatus string `json:"kujiang_certified_douyin_status"`
  139. KujiangKyyStatus string `json:"kujiang_kyy_status"`
  140. KujiangKyyLikeCount int `json:"kujiang_kyy_like_count"`
  141. KujiangRealLikeCount int `json:"kujiang_real_like_count"`
  142. AppPublicedAt string `json:"app_publiced_at"`
  143. PublicedAt string `json:"publiced_at"`
  144. KujiangPublicedAt string `json:"kujiang_publiced_at"`
  145. RefreshedAt string `json:"refreshed_at"`
  146. BookName string `json:"book_name"`
  147. CoverKey string `json:"cover_key"`
  148. AuthorName string `json:"author_name"`
  149. AuthorAvatarKey string `json:"author_avatar_key"`
  150. Category string `json:"category"`
  151. Category2 string `json:"category2"`
  152. CateId int `json:"cate_id"`
  153. Introduce string `json:"introduce"`
  154. Tag string `json:"tag"`
  155. RecommendIntro string `json:"recommend_intro"`
  156. Source string `json:"source"`
  157. SourceDetail string `json:"source_detail"`
  158. ProducerId int `json:"producer_id"`
  159. KujiangBookId int `json:"kujiang_book_id"`
  160. DramaType int `json:"drama_type"`
  161. BookSource int `json:"book_source"`
  162. OriBookId int `json:"ori_book_id"`
  163. Grade string `json:"grade"`
  164. AppGrade string `json:"app_grade"`
  165. AppGradeSwitch int `json:"app_grade_switch"`
  166. TotalChargeAmount string `json:"total_charge_amount"`
  167. TodayChargeAmount string `json:"today_charge_amount"`
  168. LastWeekChargeAmount string `json:"last_week_charge_amount"`
  169. YesterdayChargeAmount string `json:"yesterday_charge_amount"`
  170. ReadCount int `json:"read_count"`
  171. TodayReadCount int `json:"today_read_count"`
  172. YesterdayReadCount int `json:"yesterday_read_count"`
  173. KujiangTotalChargeAmount string `json:"kujiang_total_charge_amount"`
  174. KujiangPublicTotalChargeAmount string `json:"kujiang_public_total_charge_amount"`
  175. KujiangTodayChargeAmount string `json:"kujiang_today_charge_amount"`
  176. KujiangLastWeekChargeAmount string `json:"kujiang_last_week_charge_amount"`
  177. KujiangYesterdayChargeAmount string `json:"kujiang_yesterday_charge_amount"`
  178. KujiangReadCount int `json:"kujiang_read_count"`
  179. KujiangPublicReadCount int `json:"kujiang_public_read_count"`
  180. KujiangTodayReadCount int `json:"kujiang_today_read_count"`
  181. KujiangYesterdayReadCount int `json:"kujiang_yesterday_read_count"`
  182. Remarks *string `json:"remarks"`
  183. IsOriginal int `json:"is_original"`
  184. IsBindWriter int `json:"is_bind_writer"`
  185. WriterId int `json:"writer_id"`
  186. IsOpenDouyinDistribution int `json:"is_open_douyin_distribution"`
  187. TalentStars int `json:"talent_stars"`
  188. RecordNumber string `json:"record_number"`
  189. CertifiedDistributionStatus int `json:"certified_distribution_status"`
  190. KujiangCertifiedDistributionStatus int `json:"kujiang_certified_distribution_status"`
  191. DistributionStatus int `json:"distribution_status"`
  192. KujiangDistributionStatus int `json:"kujiang_distribution_status"`
  193. IsOpenKuaishouDistribution int `json:"is_open_kuaishou_distribution"`
  194. StoryId int `json:"story_id"`
  195. ScenarioId int `json:"scenario_id"`
  196. PlotIntroduce string `json:"plot_introduce"`
  197. Director string `json:"director"`
  198. Performer string `json:"performer"`
  199. Roles string `json:"roles"`
  200. DouyingCoverUrl string `json:"douying_cover_url"`
  201. DouyingCoverUri string `json:"douying_cover_uri"`
  202. DouyingCoverKey string `json:"douying_cover_key"`
  203. DouyinAlbumId int64 `json:"douyin_album_id"`
  204. DouyinAuditStatus int `json:"douyin_audit_status"`
  205. DouyinOnline int `json:"douyin_online"`
  206. RegistrationNumber string `json:"registration_number"`
  207. IsDisplay int `json:"is_display"`
  208. KujiangIsDisplay int `json:"kujiang_is_display"`
  209. AuthArea int `json:"auth_area"`
  210. NeedContract int `json:"need_contract"`
  211. HasContract int `json:"has_contract"`
  212. IsPartnership int `json:"is_partnership"`
  213. ProducerRemark *string `json:"producer_remark"`
  214. WechatCoverKey string `json:"wechat_cover_key"`
  215. SubName string `json:"sub_name"`
  216. ThisMonthChargeAmount string `json:"this_month_charge_amount"`
  217. DouyinTags string `json:"douyin_tags"`
  218. DouyinRecommend string `json:"douyin_recommend"`
  219. DouyinDescription string `json:"douyin_description"`
  220. OtherPlatformExamineStatus int `json:"other_platform_examine_status"`
  221. FilingNumber string `json:"filing_number"`
  222. AppTotalChargeAmount string `json:"app_total_charge_amount"`
  223. AppTodayForecastChargeAmount string `json:"app_today_forecast_charge_amount"`
  224. AppYesterdayChargeAmount string `json:"app_yesterday_charge_amount"`
  225. AppLastWeekChargeAmount string `json:"app_last_week_charge_amount"`
  226. AppReadCount int `json:"app_read_count"`
  227. AppTodayReadCount int `json:"app_today_read_count"`
  228. AppYesterdayReadCount int `json:"app_yesterday_read_count"`
  229. AppTotalPayCount int `json:"app_total_pay_count"`
  230. KujiangIsOpenDouyinDistribution int `json:"kujiang_is_open_douyin_distribution"`
  231. KujiangIsOpenKuaishouDistribution int `json:"kujiang_is_open_kuaishou_distribution"`
  232. KujiangTalentStars int `json:"kujiang_talent_stars"`
  233. WxAuditStatus int `json:"wx_audit_status"`
  234. CanPlay int `json:"can_play"`
  235. CanAd int `json:"can_ad"`
  236. CanMount int `json:"can_mount"`
  237. ChapterCount int `json:"chapter_count"`
  238. WebDiskUrl string `json:"web_disk_url"`
  239. WebDiskPassword string `json:"web_disk_password"`
  240. Pic string `json:"pic"`
  241. ChapterPriceCount int `json:"chapter_price_count"`
  242. BookShelf []struct {
  243. AppletId int `json:"applet_id"`
  244. MiniName string `json:"mini_name"`
  245. OnlineStatus int `json:"online_status"`
  246. OnlineStatusDesc string `json:"online_status_desc"`
  247. Type int `json:"type"`
  248. } `json:"book_shelf"`
  249. }