RequestApi.java
63.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
/*
* Copyright (c) Wondertek Technologies Co., Ltd. 2019-2022. All rights reserved.
*/
package com.wd.common.api;
import com.wd.capability.network.response.BaseResponse;
import com.wd.foundation.bean.AlbumListBean;
import com.wd.foundation.bean.LocationBean;
import com.wd.foundation.bean.adv.CompAdBean;
import com.wd.foundation.bean.base.BaseBean;
import com.wd.foundation.bean.collect.CollectTagsBean;
import com.wd.foundation.bean.comment.CommentListBean;
import com.wd.foundation.bean.comment.CommentStatusBean;
import com.wd.foundation.bean.comment.DisplayWorkInfoBean;
import com.wd.foundation.bean.convenience.AskBean;
import com.wd.foundation.bean.convenience.AskForumsBean;
import com.wd.foundation.bean.convenience.AskItemDetail;
import com.wd.foundation.bean.convenience.CertRegisterBean;
import com.wd.foundation.bean.convenience.CheckRegisterBean;
import com.wd.foundation.bean.convenience.DoMainBean;
import com.wd.foundation.bean.convenience.LocateAreaForumBean;
import com.wd.foundation.bean.convenience.MoreScreenItemBean;
import com.wd.foundation.bean.convenience.SubmitFileResultBean;
import com.wd.foundation.bean.custom.BindPhoneBean;
import com.wd.foundation.bean.custom.act.ActivityList;
import com.wd.foundation.bean.custom.act.BaseActivityIndexBean;
import com.wd.foundation.bean.custom.comp.CompBean;
import com.wd.foundation.bean.custom.comp.GroupBean;
import com.wd.foundation.bean.custom.comp.PageBean;
import com.wd.foundation.bean.custom.content.CommentItem;
import com.wd.foundation.bean.custom.content.ContentBean;
import com.wd.foundation.bean.custom.interest.InterestTagBean;
import com.wd.foundation.bean.custom.vote.InteractiveComponentBean;
import com.wd.foundation.bean.custom.vote.VoteStatusBean;
import com.wd.foundation.bean.custom.vote.live.LiveInteractiveVotingBean;
import com.wd.foundation.bean.incentive.IntegralExecutionOfRulesBean;
import com.wd.foundation.bean.incentive.LevelExecutionOfRulesBean;
import com.wd.foundation.bean.incentive.LevelInfoBean;
import com.wd.foundation.bean.incentive.LevelRuleBean;
import com.wd.foundation.bean.incentive.PagePointRuleBean;
import com.wd.foundation.bean.incentive.PointLevelOperateBean;
import com.wd.foundation.bean.incentive.SignInBean;
import com.wd.foundation.bean.incentive.TaskRuleSwitchBean;
import com.wd.foundation.bean.incentive.UserLevelBean;
import com.wd.foundation.bean.incentive.UserPointBean;
import com.wd.foundation.bean.incentive.UserPointFlowListBean;
import com.wd.foundation.bean.launch.AppAgreementBean;
import com.wd.foundation.bean.launch.LaunchPageBean;
import com.wd.foundation.bean.live.LiveBroadcastRoomBean;
import com.wd.foundation.bean.live.LiveExistNotWatchBean;
import com.wd.foundation.bean.live.LiveVerticalLiveHistoryBean;
import com.wd.foundation.bean.live.ReportTypeBean;
import com.wd.foundation.bean.live.RoomDataBean;
import com.wd.foundation.bean.live.TalkToEveryOneBean;
import com.wd.foundation.bean.live.WatermarkBean;
import com.wd.foundation.bean.login.AppLoginDataBean;
import com.wd.foundation.bean.message.MailBean;
import com.wd.foundation.bean.message.MailListBean;
import com.wd.foundation.bean.paper.PaperBean;
import com.wd.foundation.bean.paper.PaperNumInforListBean;
import com.wd.foundation.bean.pop.PopUpsBean;
import com.wd.foundation.bean.publish.EditDataBean;
import com.wd.foundation.bean.publish.TreeListContentClassifyBean;
import com.wd.foundation.bean.response.AlbumDetailBean;
import com.wd.foundation.bean.response.AppointmentStatusBean;
import com.wd.foundation.bean.response.AreaTreeselectBean;
import com.wd.foundation.bean.response.AudioPlaybackQuantityBean;
import com.wd.foundation.bean.response.BaseSearchHotListBean;
import com.wd.foundation.bean.response.BaseSearchTempIndexBean;
import com.wd.foundation.bean.response.BindCollectEventBean;
import com.wd.foundation.bean.response.BottomNavBean;
import com.wd.foundation.bean.response.CodeIdentifyBean;
import com.wd.foundation.bean.response.CommonConfigBean;
import com.wd.foundation.bean.response.ContentPageListBean;
import com.wd.foundation.bean.response.CreatorDirectoryBean;
import com.wd.foundation.bean.response.CreatorListIndexBean;
import com.wd.foundation.bean.response.FeedbackTypeBean;
import com.wd.foundation.bean.response.FollowBean;
import com.wd.foundation.bean.response.FollowListIndexBean;
import com.wd.foundation.bean.response.FollowWorksBean;
import com.wd.foundation.bean.response.ForgetCipherBean;
import com.wd.foundation.bean.response.GetCountAndCheckStatusBean;
import com.wd.foundation.bean.response.GetPullAddressBean;
import com.wd.foundation.bean.response.IfSetPasswordBean;
import com.wd.foundation.bean.response.ImageCoverBean;
import com.wd.foundation.bean.response.InteractBean;
import com.wd.foundation.bean.response.InteractResponseDataBean;
import com.wd.foundation.bean.response.InviterResp;
import com.wd.foundation.bean.response.LiveCommentBean;
import com.wd.foundation.bean.response.LiveStatusBean;
import com.wd.foundation.bean.response.LiveSubscribeObj;
import com.wd.foundation.bean.response.LoginUserData;
import com.wd.foundation.bean.response.MasterFollowsStatusBean;
import com.wd.foundation.bean.response.MourningModelBean;
import com.wd.foundation.bean.response.MyAskMarkBean;
import com.wd.foundation.bean.response.NewsDetailBean;
import com.wd.foundation.bean.response.OssBucketBean;
import com.wd.foundation.bean.response.OssParamsBean;
import com.wd.foundation.bean.response.OssTokenBean;
import com.wd.foundation.bean.response.PageTopNavBean;
import com.wd.foundation.bean.response.PersonalInfoBean;
import com.wd.foundation.bean.response.PublishVideoClassifyBean;
import com.wd.foundation.bean.response.ReponseDataListBean;
import com.wd.foundation.bean.response.SearchActivitingBean;
import com.wd.foundation.bean.response.SearchHotNewListDataBean;
import com.wd.foundation.bean.response.SearchPopUpKeywordsBean;
import com.wd.foundation.bean.response.SecurityBean;
import com.wd.foundation.bean.response.SpeechTokenBean;
import com.wd.foundation.bean.response.TabContentCount;
import com.wd.foundation.bean.response.UserDeviceData;
import com.wd.foundation.bean.response.UserPhotosListBean;
import com.wd.foundation.bean.response.UserStatusBean;
import com.wd.foundation.bean.response.VideoInteractBean;
import com.wd.foundation.bean.response.VideoItemBean;
import com.wd.foundation.bean.response.VideoParams;
import com.wd.foundation.bean.works.BaseOriginalWorksBean;
import com.wd.foundation.bean.works.WorksNumberBean;
import java.util.List;
import java.util.Map;
import io.reactivex.Observable;
import okhttp3.RequestBody;
import okhttp3.ResponseBody;
import retrofit2.http.Body;
import retrofit2.http.DELETE;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Headers;
import retrofit2.http.POST;
import retrofit2.http.PUT;
import retrofit2.http.Path;
import retrofit2.http.Query;
import retrofit2.http.QueryMap;
import retrofit2.http.Url;
/**
* 请求的接口
*
* @author shishuagnxi
*/
public interface RequestApi {
/**
* 获取隐私政策和协议--已经合并到统一接口
* http://180.167.180.242:7866/project/3466/interface/api/182973
* /display/zh/c/agreement
*/
@GET("api/rmrb-bff-display-zh/display/zh/c/agreement")
Observable<BaseResponse<List<AppAgreementBean>>> getAppAgreement();
/**
* 启动广告
* http://180.167.180.242:7866/project/3466/interface/api/181379
* /display/zh/c/launchPage
*/
@GET("api/rmrb-bff-display-zh/display/zh/c/launchPage")
Observable<BaseResponse<LaunchPageBean>> getSplashAdInfo(@QueryMap Map<String, Object> map);
/**
* 底部导航栏列表接口,底部导航栏
*/
@GET("api/rmrb-bff-display-zh/display/zh/c/bottomNavGroup")
Observable<BaseResponse<BottomNavBean>> getBottomNavGroup();
/**
* 根据底部导航栏id获取导航栏信息,头部频道
*/
@GET("api/rmrb-bff-display-zh/display/zh/c/bottomNavGroup/detail")
Observable<BaseResponse<PageTopNavBean>> getTopNavDetail(@QueryMap Map<String, Object> map);
/**
* 根据底部导航栏id获取导航栏信息V1.0--除默认启动时间线频道第一页情况外使用
*/
@GET("api/rmrb-bff-display-zh/display/zh/c/pageInfo")
Observable<BaseResponse<PageBean>> getPageData(@QueryMap Map<String, Object> map);
/**
* 根据底部导航栏id获取导航栏信息V1.0---热点频道第一页数据使用该接口,pageInfo合并了compInfo数据
*/
@GET("api/rmrb-bff-display-zh/display/zh/c/pageInfo/v2")
Observable<BaseResponse<PageBean>> getPageDataV2(@QueryMap Map<String, Object> map);
/**
* 本地问政卡刷新接口
*/
@GET("api/rmrb-bff-display-zh/display/zh/c/compInfo/localAsk")
Observable<BaseResponse<CompBean>> localAsk(@QueryMap Map<String, Object> map);
/**
* 根据底部导航栏id获取导航栏信息V1.0--给H5专题做缓存
* @param map
* @return 给H5专题做缓存
*/
@GET("api/rmrb-bff-display-zh/display/zh/c/pageInfo")
Observable<ResponseBody> getPageDataForH5Topic(@QueryMap Map<String, Object> map);
/**
* 获取最新早晚报专题接口
*/
@GET("api/rmrb-bff-display-zh/display/zh/c/dailyPaperTopic")
Observable<BaseResponse<PageBean>> dailyPaperTopic();
/**
* 根据页面id获取挂角广告数据V1.0
* 接口没有,待提供英文版
*/
@GET("api/rmrb-bff-display-zh/display/zh/c/corner-adv")
Observable<BaseResponse<CompAdBean>> getCornerAdvData(@QueryMap Map<String, Object> map);
/**
* 根据楼层Id获取组件节目信息V1.0
*/
@GET("api/rmrb-bff-display-zh/display/zh/c/compInfo")
Observable<BaseResponse<GroupBean>> getGroupData(@QueryMap Map<String, Object> map);
/**
* 根据楼层Id获取组件节目信息V1.0 --给H5专题做缓存
*/
@GET("api/rmrb-bff-display-zh/display/zh/c/compInfo")
Observable<ResponseBody> getGroupDataForH5Topic(@QueryMap Map<String, Object> map);
/**
* 根据楼层Id获取组件节目信息V1.0,【推荐频道】
*/
@GET("api/rmrb-bff-display-zh/display/zh/c/rec/compInfo")
Observable<BaseResponse<GroupBean>> getRecGroupData(@QueryMap Map<String, Object> map);
/**
* 获取指定日期电子报版面信息
*
* @return
*/
@GET("api/rmrb-bff-display-zh/display/zh/c/paperApi/paperTime")
Observable<BaseResponse<List<PaperNumInforListBean>>> paperTime(@QueryMap Map<String, Object> map);
/**
* 获取电子报版面数据
*
* @return
*/
@GET("api/rmrb-bff-display-zh/display/zh/c/paperApi/paperList")
Observable<BaseResponse<PaperBean>> paperList(@QueryMap Map<String, Object> map);
/**
* 获取电子报版面数据-查询最近一期电子报的首个版面信息
*
* @return
*/
@GET("api/rmrb-bff-display-zh/display/zh/c/paperApi/firstPaper")
Observable<BaseResponse<PaperBean>> firstPaperList(@QueryMap Map<String, Object> map);
/**
* 我关注的创作者发布的内容列表查询
*
* @return
*/
@POST("api/rmrb-bff-display-zh/content/zh/c/attention/contentList")
Observable<BaseResponse<FollowWorksBean>> contentList(@Body RequestBody map);
/**
* 人民号关注页面 --人民号号主推荐
*
* @return
*/
@POST("api/rmrb-bff-display-zh/recommend/zh/c/rmh")
Observable<BaseResponse<List<FollowBean>>> recommendMaterList(@Body RequestBody map);
/**
* 一键读报
*
* @return
*/
@GET("api/rmrb-bff-display-zh/content/zh/c/newsPaper/read")
Observable<BaseResponse<ContentPageListBean>> oneKeyRead(@QueryMap Map<String, Object> map);
/**
* 活动频道列表接口
*
* @return
*/
@GET("api/rmrb-bff-display-zh/display/zh/c/channel/activity/list")
Observable<BaseResponse<ActivityList>> queryActivityList(@QueryMap Map<String, Object> map);
/**
* 我的投稿内容列表
*
* @return
*/
@GET("api/rmrb-bff-display-zh/activity/zh/c/mySubContents")
Observable<BaseResponse<BaseActivityIndexBean>> queryMyContentList(@QueryMap Map<String, Object> map);
/**
* 直播频道直播列表
*
* @return
*/
@GET("api/rmrb-bff-display-zh/display/zh/c/channel/live/list")
Observable<BaseResponse<ContentPageListBean>> queryLiveChannelList(@QueryMap Map<String, Object> map);
/**
* 金刚位聚合页接口
*
* @return
*/
@POST("api/rmrb-bff-display-zh/display/zh/c/themeList")
Observable<BaseResponse<ContentPageListBean>> queryThemeList(@Body RequestBody map);
/**
* 直播内容回顾、预约组件-更多(预约列表)
*
* @return
*/
@GET("api/rmrb-bff-display-zh/display/zh/c/channel/live/reviewList")
Observable<BaseResponse<ContentPageListBean>> queryLiveChannelReviewList(@QueryMap Map<String, Object> map);
/**
* 直播月度排行列表
*
* @return
*/
@GET("api/rmrb-bff-display-zh/display/zh/c/channel/live/browseList")
Observable<BaseResponse<ContentPageListBean>> queryLiveChannelBrowseList(@QueryMap Map<String, Object> map);
/**
* 直播中红点标识
*
* @return
*/
@GET("api/rmrb-bff-display-zh/display/zh/c/channel/live/livingMark")
Observable<BaseResponse<ReponseDataListBean>> queryLivelivingMark();
/**
* 悼念模式
*/
@GET("api/rmrb-contact/contact/zh/c/mourning/mode")
Observable<BaseResponse<MourningModelBean>> getMourningMode();
/**
* 消息推送记录
* IOS:menglinghuan
*/
@GET("api/rmrb-bff-display-zh/content/zh/c/push")
Observable<BaseResponse<InteractBean>> getPushList(@QueryMap Map<String, Object> map);
/**
* 我的消息 回复我的、获赞、系统消息接口@Header("adcode") String adcode,
*/
//@Headers({"urlname:https://pd-people-sit.pdnews.cn/"})
@GET("api/rmrb-inside-mail/zh/c/inside-mail/private/polymerizationInfo")
Observable<BaseResponse<MailBean>> getPrivate(@QueryMap Map<String, Object> map);
/**
* 私信列表
*/
@GET("api/rmrb-inside-mail/zh/c/inside-mail/private")
Observable<BaseResponse<MailListBean>> getPrivateList(@QueryMap Map<String, Object> map);
/**
* 点赞总数
*/
@GET("api/rmrb-inside-mail/zh/c/inside-mail/private/getLikeCount")
Observable<BaseResponse<Integer>> getLikeCount();
/**
* 消息已读
*/
@POST("api/rmrb-inside-mail/zh/c/inside-mail/private/read")
Observable<BaseResponse<Object>> readMessage(@QueryMap Map<String, Object> map);
/**
* 消息全部已读
*/
@GET("api/rmrb-inside-mail/zh/c/inside-mail/private/readAll")
Observable<BaseResponse<Object>> readAllMessage(@Header("RMRB-X-USER-ID") String userId,
@Header("RMRB-X-USER-NAME") String userName,
@QueryMap Map<String, Object> map);
/**
* 公开信转私信接口(c端页面加载时调用)
*/
@GET("api/rmrb-inside-mail/zh/c/inside-mail/private/touch")
Observable<BaseResponse<Object>> commonToPrivate(@QueryMap Map<String, Object> map);
/**
* 获取意见反馈类型
*/
@GET("api/rmrb-interact/interact/c/user/optionClassify/list")
Observable<BaseResponse<List<FeedbackTypeBean.DataBean>>> getFeedbackTypeList(@Query("dictCode") String dictCode);
/**
* 意见反馈
*/
@POST("api/rmrb-interact/interact/zh/c/user/feedBack")
Observable<BaseResponse<Object>> feedBackCommit(@Body RequestBody body);
/**
* app登录
*/
@POST("api/rmrb-user-center/auth/zh/c/appLogin")
Observable<BaseResponse<AppLoginDataBean>> appLogin(@Body RequestBody body);
/**
* 用户信息
*/
@GET("api/rmrb-user-center/user/zh/c/queryUserDetail")
Observable<BaseResponse<LoginUserData>> queryUserDetail();
/**
* app退出登录
*
* @param body
*/
@POST("api/rmrb-user-center/user/zh/c/appLogout")
Observable<BaseResponse<String>> appLoginOut(@Body RequestBody body);
/**
* app注销账号
*
* @param body
*/
@POST("api/rmrb-user-center/user/zh/c/logoff")
Observable<BaseResponse<String>> appCancellation(@Body RequestBody body);
/**
* 获取oss 配置
*/
@GET("api/rmrb-bff-display-zh/content/zh/c/oss/configs")
Observable<BaseResponse<List<OssParamsBean>>> getOssParams();
/**
* 获取oss 配置(内容中心用)
*/
@GET("api/rmrb-content-center/b/zh/aliyun/getOssBucketInfo")
Observable<BaseResponse<OssBucketBean>> getContentOssParams();
/**
* 获取上传OSS token
*
* @return
*/
@GET("api/rmrb-bff-display-zh/content/zh/c/oss/stsToken/v2")
Observable<BaseResponse<OssTokenBean>> getStsToken();
/**
* 上传图片
*/
@PUT("api/live-center-mam/zh/c/oss/pre-upload")
Observable<BaseResponse<ImageCoverBean>> createImageCover(@Body RequestBody body);
/**
* 内容详情,批量查询
*/
@POST("api/rmrb-bff-display-zh/content/zh/c/content/detail")
Observable<BaseResponse<List<NewsDetailBean>>> getNewsDetail(@Body RequestBody body);
/**
* 合集详情接口
*/
@GET("api/rmrb-bff-display-zh/content/zh/c/serials/detail")
Observable<BaseResponse<AlbumDetailBean>> serialsDetail(@QueryMap Map<String, Object> map);
/**
* 合集列表接口
*/
@GET("api/rmrb-bff-display-zh/content/zh/c/serials/contentList")
Observable<BaseResponse<AlbumListBean>> serialsContentList(@QueryMap Map<String, Object> map);
/**
* 内容详情,单个查询
*/
@GET("api/rmrb-bff-display-zh/content/zh/c/content/detail")
Observable<BaseResponse<List<NewsDetailBean>>> getOneNewsDetail(@QueryMap Map<String, Object> map);
/**
* 给文章详情用的,单个
* @param map
* @return
*/
@GET("api/rmrb-bff-display-zh/content/zh/c/content/detail")
Observable<ResponseBody> getArticleNewsDetail(@QueryMap Map<String, Object> map);
/**
* 批量查询各类型内容动态数据接口--批量查询使用
*/
@POST("api/rmrb-contact/contact/zh/c/content/interactData")
Observable<BaseResponse<List<InteractResponseDataBean>>> interactData(@Body RequestBody body);
/**
* 查询各类型内容动态数据接口V1:仅图文详情且readFlag=0调用访问
*/
@GET("api/rmrb-contact/contact/zh/c/content/interactData")
Observable<BaseResponse<InteractResponseDataBean>> getInteractDataV1(@QueryMap Map<String,
Object> map);
/**
* 查询各类型内容动态数据接口V2:其他场景的均调用V2---api缓存1-2s
*/
@GET("api/rmrb-contact/contact/zh/c/v2/content/interactData")
Observable<BaseResponse<InteractResponseDataBean>> getInteractDataV2(@QueryMap Map<String,
Object> map);
/**
* 新闻内容详情
*/
@POST("api/rmrb-bff-display-zh/recommend/zh/c/detail")
Observable<BaseResponse<List<NewsDetailBean>>> getRecommendDetail(@Body RequestBody body);
/**
* 推荐数据列表
*/
@POST("api/rmrb-bff-recommend/recommend/c/detail/recommend")
Observable<BaseResponse<List<VideoItemBean>>> getRecommendList(@Body Map<String, Object> map);
/**
* 详情下一页数据
*/
@GET("api/rmrb-bff-display-zh/content/zh/c/nextContent")
Observable<BaseResponse<List<NewsDetailBean>>> getNextPageVideo(@QueryMap Map<String, Object> map);
/**
* 推荐列表
* contentType 当前数据类型 1:视频,2:直播,5:专题,8:图文,9:组图,10:H5新闻
* recType 推荐类型:1.详情推荐;2.搜索推荐
* @param
* @return
*/
@POST("api/rmrb-bff-display-zh/recommend/zh/c/list")
Observable<BaseResponse<List<ContentBean>>> getRecList(@Body RequestBody body);
/**
* 视频沉浸式推荐
* pageSize 请求数量
* refreshCnt 刷新次数,默认1
* channelId 频道id
* @param
* @return
*/
@POST("api/rmrb-bff-display-zh/recommend/zh/c/videoList")
Observable<BaseResponse<List<NewsDetailBean>>> getRecVideoList(@Body RequestBody body);
// /**
// * 获取IM--dAppKey--接口已合并
// *
// * @param
// * @return
// */
// @GET("api/live-center-message/zh/a/live/getAppKey")
// Observable<BaseResponse<String>> getIMAppKey();
/**
* 获取IM长连接建立token
*/
@GET("api/live-center-message/zh/a/live/getToken")
Observable<BaseResponse<String>> getIMToken(@Query("userId") String userId, @Query("userName") String userName);
/**
* 获取直播拉流地址
*/
@GET("api/live-center-video/zh/c/vlive/pull-stream/{liveId}")
Observable<BaseResponse<GetPullAddressBean>> queryVLivePullStream(@Path("liveId") String liveId);
/**
* 多路直播获取流地址
*多路直播 专用查询多个流
*兼容白名单 变成 c
* */
@GET("api/live-center-video/zh/c/vlive/pull-stream-list/{liveId}")
Observable<BaseResponse<List<GetPullAddressBean>>> queryVLivePullStreamList(@Path("liveId") String liveId);
/**
* 直播预约
*/
@POST("api/live-center-message/zh/c/live/subscribe")
Observable<BaseResponse<Object>> predictLive(@Body RequestBody body);
/**
* 查询直播间预约状态
*/
@GET("api/live-center-message/zh/c/live/subscribe/query")
Observable<BaseResponse<Boolean>> checkLiveSubscribeStatus(@QueryMap Map<String, Object> map);
/**
* 查询是否存在已预约且未观看且直播中的直播 (客户端个人页 预约小红点)
*/
@POST("api/live-center-message/zh/c/live/subscribe/not/watch/exist")
Observable<BaseResponse<LiveExistNotWatchBean>> getLiveNotWatchExist(@Body RequestBody body);
/**
* 直播分享
*/
@GET("api/live-center-message/zh/c/live/share/{liveId}")
Observable<BaseResponse<BaseBean>> shareLive(@Path("liveId") String liveId);
/**
* 设备信息,可清除用户缓存
*/
@POST("api/rmrb-user-center/common/user/c/device/push")
Observable<BaseResponse<UserDeviceData>> getDeviceInfo(@Body RequestBody body);
//搜索中心 start ---------
//---------------------------
/**
* 获取阿里云语音识别token
*/
@GET("api/rmrb-search-api/zh/c/display/search/token")
Observable<BaseResponse<SpeechTokenBean>> getAliToken();
/**
* 获取已发布默认词
*/
@GET("api/rmrb-search-api/zh/c/hints")
Observable<BaseResponse<List<String>>> getSearchHints();
/**
* 获取已发布热词
*/
@GET("api/rmrb-search-api/zh/c/hots")
Observable<BaseResponse<List<SearchHotNewListDataBean>>> getSearchHots();
/**
* 获取联想词接口
*/
@GET("api/rmrb-search-api/zh/c/suggestions/{keyword}")
Observable<BaseResponse<List<String>>> getSuggestions(@Path("keyword") String keyword);
/**
* 搜索的热词榜
*/
@GET("api/rmrb-search-api/zh/p/search/hot/lists")
Observable<BaseResponse<BaseResponse<BaseSearchHotListBean>>> getSearchHotWordsList(@QueryMap Map<String, Object> map);
/**
* 所有分类数量
*
* @param map
* @return
*/
@GET("api/rmrb-search-api/zh/c/count")
Observable<BaseResponse<TabContentCount>> getTabContentCount(@QueryMap Map<String, Object> map);
/**
* 执行搜索
*
* @param map
* @return
*/
@GET("api/rmrb-search-api/zh/c/search")
Observable<BaseResponse<BaseSearchTempIndexBean>> executeSearch(@QueryMap Map<String, Object> map);
/**
* 活动投稿内容列表
*/
@GET("api/rmrb-bff-display-zh/activity/zh/c/atv/contentList")
Observable<BaseResponse<BaseActivityIndexBean>> atvContentList(@QueryMap Map<String, Object> map);
/**
* 投票活动内容列表
*/
@GET("api/rmrb-bff-display-zh/activity/c/atv/v2/voteContentList")
Observable<BaseResponse<BaseActivityIndexBean>> atvV2ContentList(@QueryMap Map<String, Object> map);
/**
* 获取当天的全量搜索关键字
*/
@GET("api/rmrb-bff-display-zh/display/zh/c/search/popUp/keywords")
Observable<BaseResponse<List<SearchPopUpKeywordsBean>>> searchPopUpWordsList();
/**
* 搜索彩蛋关键字素材接口 返回的是彩蛋匹配列表,用于匹配搜索彩蛋
*/
@GET("api/rmrb-bff-display-zh/display/zh/c/search/popUp/material")
Observable<BaseResponse<PopUpsBean>> searchPopUpMaterial(@Query("id") String id);
//-------------------------
//搜索中心 end ---------
/**
* 浏览历史增加、删除接口
*
* @param body
* @return
*/
@POST("api/rmrb-interact/interact/zh/c/brows/operate")
Observable<BaseResponse<String>> addOrDelHistory(@Body RequestBody body);
@POST("api/rmrb-bff-display-zh/content/zh/c/viewList")
Observable<BaseResponse<InteractBean>> getViewList(@Body RequestBody body);
/**
* 展现中心类型 :0:不跳转 1:视频,2:直播,5:专题,6:链接,8:图文,9:组图,10:H5新闻,11:频道
* 内容中心新闻类别:1:视频,2:直播,5:专题,8:图文,9:组图,10:H5新闻,12:组件
* <p>
* 场景一:浏览历史、收藏历史列表相关查询接口;【绑定jwt插件,需要用户登录】
* BFF 聚合 社交、直播、内容搜索、展现中心接口
* 场景二:浏览历史、收藏历史中,点击视频进入视频沉浸式 上下滑动;
* 1.点击进入时传当前视频id,返回当前视频所在的分页数值,及分页记录;
* 2.后续上下滑动,不需要传视频id,直接传对应分页数值;
*/
@GET("api/rmrb-bff-display-zh/content/zh/c/interact")
Observable<BaseResponse<InteractBean>> getInteractList(@QueryMap Map<String, Object> map);
/**
* 场景二:浏览历史、收藏历史中,点击视频进入视频沉浸式 上下滑动;
* 1.点击进入时传当前视频id,返回当前视频所在的分页数值,及分页记录;
* 2.后续上下滑动,不需要传视频id,直接传对应分页数值;
*
* @param map
* @return
*/
@GET("api/rmrb-bff-display-zh/content/zh/c/interactNexts")
Observable<BaseResponse<VideoInteractBean>> getInteractNext(@QueryMap Map<String, Object> map);
/**
* 号主页作品上下滑
* @param map
* @return
*/
@GET("api/rmrb-bff-display-zh/content/zh/c/publishNexts")
Observable<BaseResponse<VideoInteractBean>> getPublishNexts(@QueryMap Map<String, Object> map);
/**
* 频道/专题上下滑
* channelId和topicId两者只需要有一个传值,两者都有channeId优先。
* contentId或compId两者只需其中一个有值,两者都有以compId优先。
* @param map
* @return
*/
@GET("api/rmrb-bff-display-zh/content/zh/c/nextContent")
Observable<BaseResponse<VideoInteractBean>> getChannelNextContent(@QueryMap Map<String, Object> map);
/**
* 获取合集内容列表
*/
@GET("api/rmrb-bff-display-zh/content/zh/c/content/serialsContentList")
Observable<BaseResponse<AlbumListBean>> getAlbumList(@QueryMap Map<String, Object> map);
/**
* 用户投票
*/
@POST("api/rmrb-contact/contact/zh/c/vote/submit")
Observable<BaseResponse<Object>> sendVote(@Body Map<String, String> map);
/**
* 用户投票状态查询
*/
@GET("api/rmrb-contact/contact/zh/c/vote/queryStatus")
Observable<BaseResponse<VoteStatusBean>> requestVoteStatus(@Query("voteId") String voteId);
/**
* 查询用户兴趣标签
*
* @return
*/
@GET("api/rmrb-user-center/user/zh/c/tag/queryUserTag")
Observable<BaseResponse<List<InterestTagBean>>> getInterestTag();
/**
* 查询偏好标签(无需登录态)
*
* @return
*/
@GET("api/rmrb-user-center/user/zh/c/tag/queryTags")
Observable<BaseResponse<List<InterestTagBean>>> getInterestTagNoLogin();
/**
* 修改用户标签
*
* @param
* @return
*/
// @POST("api/rmrb-user-center/user/zh/c/tag/updateUserTag")
// Observable<BaseResponse<Object>> updateInterestTag(@Body RequestBody body);
/**
* 兴趣标签卡选择标签
* @param body
* @return
*/
@POST("api/rmrb-user-center/user/zh/c/tag/updateUserTagWord")
Observable<BaseResponse<Object>> updateUserTagWord(@Body RequestBody body);
/**
* 选择用户头像列表
*
* @return
*/
@GET("api/rmrb-user-center/user/zh/selectHeader")
Observable<BaseResponse<UserPhotosListBean>> getUserPhotos();
/**
* 修改用户信息
*
* @return
*/
@POST("api/rmrb-user-center/user/zh/c/editUserDetail")
Observable<BaseResponse<String>> editUserDetail(@Body RequestBody body);
/**
* 完善用户信息
*
* @return
*/
@POST("api/rmrb-user-center/user/zh/c/completeUserInfo")
Observable<BaseResponse<String>> completeUserInfo(@Body RequestBody body);
/**
* 获取国内、外信息
*
* @return
*/
@GET("api/rmrb-bff-display-zh/location/get")
Observable<BaseResponse<LocationBean>> getLocation();
@GET
Observable<ResponseBody> pageDataGet(@Url String url, @QueryMap Map<String, Object> map);
@POST
Observable<ResponseBody> pageDataPost(@Url String url, @Body RequestBody map);
/**
* 绑定手机号码
*/
@POST("api/rmrb-user-center/auth/zh/c/thirdPartyBind")
Observable<BaseResponse<AppLoginDataBean>> goBindPhone(@Body RequestBody body);
/**
* 老用户绑定手机号码
*/
@POST("api/rmrb-user-center/auth/zh/c/phoneBind")
Observable<BaseResponse<AppLoginDataBean>> oldUserBindPhone(@Body RequestBody body);
/**
* 更换手机号
*/
@POST("api/rmrb-user-center/user/zh/c/userPhoneChange")
Observable<BaseResponse<AppLoginDataBean>> changeBindPhone(@Body RequestBody body);
/**
* 注册
*/
@POST("login/rmrb/register")
Observable<BaseResponse<Object>> userRegister(@Body RequestBody body);
/**
* 登录获取验证码
*/
@POST("api/rmrb-user-center/auth/zh/c/sendVerifyCode")
Observable<BaseResponse<String>> getPhoneCodeInfo(@Body RequestBody body);
/**
* 设置密码
*/
@POST("api/rmrb-user-center/user/zh/c/forgotPassword")
Observable<BaseResponse<String>> getModifyCipherInfo(@Header("RMRB-X-TOKEN") String token
, @Header("cookie") String cookie, @Body RequestBody body);
/**
* 忘记密码校验
*/
@POST("api/rmrb-user-center/auth/zh/c/checkVerifyCode")
Observable<BaseResponse<ForgetCipherBean>> getForgetCipherInfo(@Body RequestBody body);
/**
* 安全页-修改密码
*/
@POST("api/rmrb-user-center/user/zh/c/resetPassword")
Observable<BaseResponse<Object>> resetPassword(@Body RequestBody body);
/**
* 获取短信验证码【走token鉴权】
*/
@POST("api/rmrb-user-center/user/zh/c/sendVerifyCodeByToken")
Observable<BaseResponse<String>> sendVerifyCodeByToken();
/**
* 校验短信验证码【走token鉴权】
*/
@POST("api/rmrb-user-center/user/zh/c/checkVerifyCodeByToken")
Observable<BaseResponse<ForgetCipherBean>> checkVerifyCodeByToken(@Body RequestBody body);
/**
* 个人主页基本信息查询(包含普通用户主页和号主主页信息)
*/
@POST("api/rmrb-contact/contact/zh/c/master/detail")
Observable<BaseResponse<PersonalInfoBean>> getPersonalCenterInfo(@Body RequestBody body);
/**
* 查询创作者状态
* @param userId
* @return
*/
@GET("api/rmrb-creator-user/cn/c/creator/getStatusByCnUserId")
Observable<BaseResponse<UserStatusBean>> qryUserStatus(@Query("cnUserId") String userId);
/**
* 获取自己的基本信息
*/
@GET("api/rmrb-contact/contact/zh/c/my/detail")
Observable<BaseResponse<PersonalInfoBean>> getMyDetail();
// /**
// * 个人中心配置信息查询
// */
// @GET("api/rmrb-contact/contact/zh/c/appPersonal/config")
// Observable<BaseResponse<PersonalConfigBean>> getAppPersonalConfig();
/**
* 查询账号可修改次数和审核状态
*/
@GET("api/rmrb-creator-user/cn/c/creator/getCountAndCheckStatus")
Observable<BaseResponse<List<GetCountAndCheckStatusBean>>> getCountAndCheckStatus(@QueryMap Map<String, Object> map);
/**
* 账号名称修改-创作者
*/
@POST("api/rmrb-creator-user/c/rmrb-creator-user/creator/updateName")
Observable<BaseResponse<Object>> creatorUpdateName(@Body RequestBody body);
/**
* 简介修改-创作者
*/
@POST("api/rmrb-creator-user/c/rmrb-creator-user/creator/updateIntroduction")
Observable<BaseResponse<Object>> creatorUpdateIntroduction(@Body RequestBody body);
/**
* 头像修改-创作者
*/
@POST("api/rmrb-creator-user/c/rmrb-creator-user/creator/updateIcon")
Observable<BaseResponse<Object>> creatorUpdateIcon(@Body RequestBody body);
/**
* 地区修改-创作者
*/
@POST("api/rmrb-creator-user/c/rmrb-creator-user/creator/updateArea")
Observable<BaseResponse<Object>> creatorUpdateArea(@Body RequestBody body);
/**
* (关注/取消关注)
*/
@POST("api/rmrb-interact/interact/zh/c/attention/operation")
Observable<BaseResponse<Object>> postFocusUser(@Body RequestBody body);
/**
* 一键关注接口
*/
@POST("api/rmrb-interact/interact/zh/c/attention/batch")
Observable<BaseResponse<Object>> batchAttention(@Body RequestBody body);
/**
* 批量查询创作者的关注状态
*
* @param map
* @return
*/
@POST("api/rmrb-interact/interact/zh/c/batchAttention/status")
Observable<BaseResponse<List<MasterFollowsStatusBean>>> getBatchAttentionStatus(@Body RequestBody map);
/**
* 我的关注列表查询
* @param map
*/
@GET("api/rmrb-interact/interact/zh/c/attention/list")
Observable<BaseResponse<FollowListIndexBean>> getAttentionList(@QueryMap Map<String, Object> map);
/**
* 客态查看别人的关注列表
* @param map
* @return
*/
@GET("api/rmrb-interact/interact/zh/c/userAttention/list")
Observable<BaseResponse<FollowListIndexBean>> getUserAttentionList(@QueryMap Map<String, Object> map);
/**
* 获取分类目录列表
*
* @return
*/
@GET("api/rmrb-creator-user/c/creatorDirectory/getCreatorDirectoryTree")
Observable<BaseResponse<List<CreatorDirectoryBean>>> getCreatorDirectoryTree();
/**
* 获取分类目录号主信息
*
* @param map
* @return
*/
@POST("api/rmrb-creator-user/c/creatorDirectory/getContactMasterDetaiPage")
Observable<BaseResponse<CreatorListIndexBean>> getContactMasterDetailPage(@Body RequestBody map);
/**
* 安全页-查询用户是否设置过密码
*/
@GET("api/rmrb-user-center/user/zh/c/ifSetPassword")
Observable<BaseResponse<IfSetPasswordBean>> ifSetPassword();
/**
* 获取用户安全页信息
*
* @return
*/
@GET("api/rmrb-user-center/user/zh/c/security/query")
Observable<BaseResponse<SecurityBean>> querySecurity();
/**
* 解绑
*/
@POST("api/rmrb-user-center/user/zh/c/thirdPart/unbind")
Observable<BaseResponse<Object>> unbind(@Body RequestBody body);
/**
* 绑定手机号码
*/
@POST("api/rmrb-user-center/user/zh/c/thirdPart/bind")
Observable<BaseResponse<BindPhoneBean>> bind(@Body RequestBody body);
/**
* 临时二维码
*
* @param qrCode
* @return
*/
@GET("api/rmrb-user-center/app/zh/c/qr/temporaryToken")
Observable<BaseResponse<Object>> queryQrCodeStatus(@Query("qrCode") String qrCode);
/**
* app 授权登录web
*/
@POST("api/rmrb-user-center/app/zh/c/qr/sureLogin")
Observable<BaseResponse<Object>> appAuthLogin(@Body RequestBody body);
/**
* 获取行政区
*/
@Headers({"urlname:https://restapi.amap.com/"})
@GET("v3/config/district")
Observable<ResponseBody> getDistrictData(@QueryMap Map<String, Object> map);
/**
* 获取 地区展示,视界的
*/
// @GET("api/rmrb-bff-display/display/c/area")
/**
* 中文端的
*/
@GET("api/rmrb-content-center/c/service/sys-area/treeselect")
Observable<BaseResponse<List<AreaTreeselectBean>>> getAreaReveal(@Query("md5") String md5);
/**
* 获取二级地理信息
* @return
*/
@GET("api/rmrb-content-center/zh/c/sys-area/treeList")
Observable<BaseResponse<List<AreaTreeselectBean>>> getTreeList();
/**
* 获取评论列表
*/
@GET("api/rmrb-comment/comment/zh/c/contentCommentList")
Observable<BaseResponse<CommentListBean>> getCommentList(@QueryMap Map<String, Object> map);
/**
* 查询二级评论
* 分页查询子评论
*/
@GET("api/rmrb-comment/comment/zh/c/childCommentList")
Observable<BaseResponse<CommentListBean>> getSecondCommentList(@QueryMap Map<String, Object> map);
/**
* 用户等级-用户等级批量查询接口
*/
@POST("/api/rmrb-user-point/auth/level/zh/c/batchUser")
Observable<BaseResponse<List<LevelInfoBean>>> batchUser(@Body RequestBody map);
/**
* 发布评论
*/
@POST("api/rmrb-comment/comment/zh/c/publish")
Observable<BaseResponse<CommentItem>> submitPushComment(@Body RequestBody map);
/**
* 游客评论发布
*/
@POST("api/rmrb-comment/comment/zh/c/visitorPublish")
Observable<BaseResponse<CommentItem>> submitVisitorPushComment(@Body RequestBody map);
/**
* 游客评论合并
*/
@POST("api/rmrb-comment/comment/zh/c/visitorMerge")
Observable<BaseResponse<Object>> visitorMergeComment(@Body RequestBody map);
/**
* 批量查询创作者信息
*/
@POST("api/rmrb-contact/contact/zh/c/master/detailList")
Observable<BaseResponse<List<PersonalInfoBean>>> getMasterInfoListData(@Body() RequestBody body);
/**
* 批量查询当前登录人 评论 点赞状态
*/
@POST("api/rmrb-comment/comment/zh/c/batchCommentStatus")
Observable<BaseResponse<List<CommentStatusBean>>> batchCommentStatus(@Body() RequestBody body);
/**
* 评论 点赞/取消点赞
*/
@POST("api/rmrb-comment/comment/zh/c/commentLike")
Observable<BaseResponse<Object>> commentLike(@Body RequestBody body);
/**
* 评论 删除
*/
@POST("api/rmrb-comment/comment/zh/c/delete")
Observable<BaseResponse<String>> delComment(@Body RequestBody body);
/**
* 评论 删除(游客)
*/
@POST("api/rmrb-comment/comment/zh/c/visitorDelete")
Observable<BaseResponse<String>> delVisitorComment(@Body RequestBody body);
/**
* 查看别人的评论列表
*/
@GET("api/rmrb-comment/comment/zh/c/othersCommentList")
Observable<BaseResponse<CommentListBean>> getOthersCommentList(@QueryMap Map<String, Object> map);
/**
* 查看自己的评论列表
*/
@GET("api/rmrb-comment/comment/zh/c/myCommentList")
Observable<BaseResponse<CommentListBean>> getMyCommentList(@QueryMap Map<String, Object> map);
/**
* 游客评论列表
*/
@GET("api/rmrb-comment/comment/zh/c/visitorCommentList")
Observable<BaseResponse<CommentListBean>> getVisitorCommentList(@QueryMap Map<String, Object> map);
/**
* 批量查询评论点赞量
*/
@POST("api/rmrb-comment/comment/zh/c/batchCommentLikes")
Observable<BaseResponse<List<CommentItem>>> batchCommentLikes(@Body RequestBody body);
/**
* 当前内容——用户点赞
*/
@POST("api/rmrb-interact/interact/zh/c/like/executeLike")
Observable<BaseResponse<String>> contentExecuteLike(@Body RequestBody body);
/**
* 批量查询当前内容——用户点赞、收藏状态
*/
@POST("api/rmrb-interact/interact/zh/c/batchLikeAndCollect/status")
Observable<BaseResponse<List<DisplayWorkInfoBean>>> batchLikeAndCollectStatus(@Body RequestBody body);
/**
* 添加、取消收藏
*/
@POST("api/rmrb-interact/interact/zh/c/collect/executeCollcetRecord")
Observable<BaseResponse<String>> addDelCollect(@Body RequestBody body);
/**
* 分享成功回调
* @param body
*/
@POST("api/rmrb-interact/interact/zh/c/share/addShareCount")
Observable<BaseResponse<String>> addShareCount(@Body RequestBody body);
/**
* 发送消息大家聊
*/
@POST("api/live-center-message/zh/c/live/message/chat/send")
Observable<BaseResponse<LiveCommentBean>> sendMessageTalkToEveryone(@Body RequestBody body);
/**
* C端游客发送评论接口(大家聊)
*/
@POST("api/live-center-message/zh/a/live/message/chat/tourist/send")
Observable<BaseResponse<LiveCommentBean>> sendMessageTouristToEveryone(@Body RequestBody body);
/**
* C端游客发送评论合并接口 ,直播评论合并
*/
@POST("api/live-center-message/zh/c/live/message/chat/tourist/merge")
Observable<BaseResponse<Object>> liveMessageMergeComment(@Body RequestBody map);
/**
* C端评论列表(大家聊)
*/
@POST("api/live-center-message/zh/a/live/message/chat/list")
Observable<BaseResponse<TalkToEveryOneBean>> getCommentListTalkToEveryOne(@Body RequestBody body);
/**
* C端评论列表(直播间)
*/
@POST("api/live-center-message/zh/a/live/message/video/list")
Observable<BaseResponse<LiveBroadcastRoomBean>> getCommentListLiveBroadcastRoom(@Body RequestBody body);
/**
* C端评论列表 竖屏直播间
*/
@POST("api/live-center-message/zh/a/live/message/comments/list")
Observable<BaseResponse<LiveVerticalLiveHistoryBean>> getCommentListLiveVerticalLiveHistory(@Body RequestBody body);
/**
* C端房间数据
*/
@GET("api/live-center-message/zh/a/live/room/number/all")
Observable<BaseResponse<RoomDataBean>> getRoomData(@QueryMap Map<String, Object> map);
/**
* 我的直播预约列表
*/
@GET("api/live-center-message/zh/c/live/subscribe")
Observable<BaseResponse<LiveSubscribeObj>> getLiveSubscribeList(@QueryMap Map<String, Object> map);
/**
* 投诉举报
*/
@POST("api/rmrb-interact/interact/zh/c/report/doReport")
Observable<BaseResponse<Object>> postReport(@Body RequestBody body);
/**
* 获取举报类型
*/
@GET("api/rmrb-interact/interact/zh/c/report/typeList")
Observable<BaseResponse<List<ReportTypeBean>>> getReportTypes(@Query("typeCode") String typeCode);
/**
* C端点赞接口
*/
@GET("api/live-center-message/zh/c/live/room/number/like")
Observable<BaseResponse<Number>> setLike(@QueryMap Map<String, Object> map);
/**
* C端在线人次访问
*/
@POST("api/live-center-message/zh/a/live/room/number/visit")
Observable<BaseResponse<Object>> getOnlineVisits(@Body RequestBody body);
/**
* C端批量查询直播信息
*/
@GET("api/live-center-message/zh/a/live/room/number/batch/all")
Observable<BaseResponse<List<RoomDataBean>>> getRoomBatchData(@QueryMap Map<String, Object> map);
/**
* 获取创作者客态作品列表
* @param map
* @return
*/
@GET("api/rmrb-content-search/zh/c/article/articleListSimple")
Observable<BaseResponse<BaseOriginalWorksBean>> getOtherArticleList(@QueryMap Map<String, Object> map);
/**
* 获取创作者客态作品数量
* @param map
* @return
*/
@GET("api/rmrb-content-search/zh/c/article/count")
Observable<BaseResponse<WorksNumberBean>> getOtherArticleListCount(@QueryMap Map<String, Object> map);
/**
* 获取创作者主态作品列表
* @param
* @return
*/
@POST("api/rmrb-content-search/zh/c/article/self/articleListSimple")
Observable<BaseResponse<BaseOriginalWorksBean>> getSelfArticleList(@Body RequestBody body);
/**
* 获取创作者主态作品数量
* @param map
* @return
*/
@GET("api/rmrb-content-search/zh/c/article/self/count")
Observable<BaseResponse<WorksNumberBean>> getSelfArticleListCount(@QueryMap Map<String, Object> map);
// /**
// * 客户端合集列表
// * @param
// * @return
// */
// @POST("api/rmrb-content-search/zh/c/article/getSerialsList")
// Observable<BaseResponse<SerialsDataBean>> getSerialsList(@Body RequestBody body);
/**
* 置顶/取消置顶接口
* @return
*/
@GET("api/rmrb-content-center/b/zh/content/operate/topping/{id}")
Observable<BaseResponse<Object>> setTopPost(@Path("id") String id);
/**
* 删除接口
* @return
*/
@DELETE("api/rmrb-content-center/b/zh/content/operate/delete/{id}")
Observable<BaseResponse<Object>> deleteWorks(@Path("id") String id);
/**
* 撤回/恢复接口
* @return
*/
@GET("api/rmrb-content-center/b/zh/content/operate/line")
Observable<BaseResponse<Object>> revokeOrRecover(@QueryMap Map<String, Object> map);
/**
* 批查直播状态
*
* @param liveIds
* @return
*/
@GET("api/rmrb-bff-content/b/zh/content/c/liveRoom/batch/liveStatus")
Observable<BaseResponse<List<LiveStatusBean>>> getLiveStatus(@Query("liveIds") String liveIds);
/**
* 直播预约-批量查询预约状态
*/
@POST("api/live-center-message/zh/c/live/subscribe/user/batch")
Observable<BaseResponse<List<AppointmentStatusBean>>> getAppointmentStatusBatch(@Body RequestBody body);
/**
* 上传视频信息,根据oss的视频链接获取视频id相关
*/
@POST("api/rmrb-content-center/b/zh/content/video/add")
Observable<BaseResponse<VideoParams>> getVideoId(@Body RequestBody body);
/**
* 上传图片信息,根据oss的获取图片id
*/
@POST("api/rmrb-content-center/b/zh/content/picture/add")
Observable<BaseResponse<String>> getPictureId(@Body RequestBody body);
/**
* 发布视频 发布页面数据
*/
@POST("api/rmrb-content-center/b/zh/content/publish")
Observable<BaseResponse<String>> publishVideoPageData(@Body RequestBody body);
/**
* 移动生产-内容详情接口
*/
@POST("api/rmrb-content-center/b/zh/content/operate/datas")
Observable<BaseResponse<List<EditDataBean>>> getPublishOperateData(@Body RequestBody body);
/**
* 移动生产-自荐次数查询
* @param creatorId
* @return
*/
@GET("api/rmrb-content-center/b/zh/content/operate/searchTimes")
Observable<BaseResponse<Integer>> getPublishSearchTimes(@Query("creatorId") String creatorId);
/**
* 移动生产-查询创作者当日继续发文数量
* @param creatorId
* @return
*/
@GET("api/rmrb-creator-user/cn/c/creator/getRemainingDispatchNum")
Observable<BaseResponse<Integer>> getRemainingDispatchNum(@Query("creatorId") String creatorId);
// /**
// * 内容标签
// *
// * @param applicableObjectId 1视频 2直播
// */
// @GET("api/rmrb-content-center/b/zh/service/content-tag/list")
// Observable<BaseResponse<LabelListBean>> getLiveLabel(@Query("applicableObjectId") String applicableObjectId);
/**
* 发布视频的分类
*/
@GET("api/rmrb-bff-content/content/c/contentTwoClassify")
Observable<BaseResponse<PublishVideoClassifyBean>> getPublishVideoClassify();
/**
* 查询已发布的内容分类树形列表
*/
@GET("api/rmrb-content-center/b/zh/service/content-classify/treeListContentClassify")
Observable<BaseResponse<List<TreeListContentClassifyBean>>> getTreeListContentClassify();
/**
* 正在进行中的活动
*/
@GET("api/rmrb-activity-manage/zh/b/activity/collect/list")
Observable<BaseResponse<List<SearchActivitingBean>>> getSearchActiviting(@QueryMap Map<String, String> map);
/**
* 该活动用户剩余投稿次数查询
*/
@GET("api/rmrb-activity-manage/zh/c/activity/collect/sizeByCreatorId")
Observable<BaseResponse<Integer>> getActivitySizeByCreatorId(@QueryMap Map<String, String> map);
/**
* 征集活动-根据征集作品ID查询绑定的活动ID
*/
@GET("api/rmrb-activity-manage/zh/b/activity/collect/batch-bindCollects")
Observable<BaseResponse<List<BindCollectEventBean>>> getBindCollects(@QueryMap Map<String, String> map);
/**
* 音频播放量、根据专题id查询单个专题播放量
* @return
*/
@GET("api/rmrb-bigdata-bi/zh/c/musicViews/statistic/weightViews")
Observable<BaseResponse<AudioPlaybackQuantityBean>> getAudioPlaybackVolume(@Query("topicId") String topicId);
/**
* 根据专题id批量查询专题播放量
* @return
*/
@GET("api/rmrb-bigdata-bi/zh/c/batch/musicViews/statistic/weightViews")
Observable<BaseResponse<List<AudioPlaybackQuantityBean>>> getAudioPlaybackVolumes(@Query("topicIdList") String topicIdList);
/**
* 我的问政-我的问答 问政-我的留言列表接口(主态)
* http://192.168.1.3:3300/project/3796/interface/api/191707
*/
@GET("api/rmrb-content-search/zh/c/ask/myAsk")
Observable<BaseResponse<AskBean>> getLeaveWordList(@QueryMap Map<String, Object> map);
/**
* 我的问政-关注问答列表 问政-我的留言列表接口(客态)
* http://192.168.1.3:3300/project/3802/interface/api/195099
*/
@GET("api/rmrb-bff-display-zh/content/zh/c/interactAskList")
Observable<BaseResponse<AskBean>> getCareLeaveWordList(@QueryMap Map<String, Object> map);
/**
* 问政-获取留言领域和留言分类
*/
@GET("api/rmrb-content-center/zh/c/ask/domainList")
Observable<BaseResponse<MoreScreenItemBean>> getDomainList(@QueryMap Map<String, Object> map);
// /**
// * 问政-根据地区获取留言板块(获取领导)
// */
// @GET("api/rmrb-content-center/zh/c/ask/v2/getAreaForums")
// Observable<BaseResponse<List<LeaderBean>>> getAreaForums(@QueryMap Map<String, Object> map);
/**
* 问政-查询留言列表
*/
@GET("api/rmrb-content-search/zh/c/ask/askList")
Observable<BaseResponse<AskBean>> askList(@QueryMap Map<String, Object> map);
/**
* 查询用户是否注册留言系统
* 备注:该接口需要绑定JWT插件,获取用户登录身份;
* 查询user_ask表是否存在有效记录;
* 场景1:code=0;
* registStatus=0且certifyStatus=1,客户端弹出实名注册界面;
* 场景2:code!=0;
* 待确定各种异常场景,客户端直接弹出message提示;
* (封禁、注销未超过14天)
* 场景3:code=0;registStatus=1,客户端继续调整后面流程;
* @return
*/
@POST("api/rmrb-user-center/user/zh/c/ask/checkRegister")
Observable<BaseResponse<CheckRegisterBean>> checkAskRegister();
/**
* 【问政】留言用户实名注册接口
* 备注:该接口需要绑定JWT插件,获取用户登录身份;
* 查询user_ask表是否存在有效记录,没有则新增;存在则报错;
* 场景1:code!=0;
* 待确定各种异常场景,客户端直接弹出message提示;
* 场景2:code=0;registStatus=1,客户端继续调整后面流程;
* @param map
* @return
*/
@POST("api/rmrb-user-center/user/zh/c/ask/certRegister")
Observable<BaseResponse<CertRegisterBean>> certAskRegister(@Body RequestBody map);
/**
* 问政-根据地区获取留言定位板块
* @param map
* @return
*/
@GET("api/rmrb-content-center/zh/c/ask/getLocateAreaForums")
Observable<BaseResponse<LocateAreaForumBean>> getLocateAreaForums(
@QueryMap Map<String, Object> map);
// /**
// * 问政-获取地方领导一级板块(获取领导)
// * @param map
// * @return
// */
// @GET("api/rmrb-content-center/zh/c/ask/getTopAreaForums")
// Observable<BaseResponse<List<LeaderBean>>> getTopAreaForums(
// @QueryMap Map<String, Object> map);
// /**
// * 问政-获取地方领导子级板块(获取领导)
// * @param map
// * @return
// */
// @GET("api/rmrb-content-center/zh/c/ask/getAreaChildForums")
// Observable<BaseResponse<List<LeaderBean>>> getAreaChildForums(
// @QueryMap Map<String, Object> map);
/**
* 获取部委板块
* @param map
* @return
*/
@GET("api/rmrb-content-center/zh/c/ask/getTopBwForums")
Observable<BaseResponse<List<AskForumsBean>>> getTopBwForums(@QueryMap Map<String, Object> map);
// /**
// * 获取部委板块
// * @param map
// * @return
// */
// @GET("api/rmrb-content-center/zh/c/ask/getTopBwForums")
// Observable<BaseResponse<List<LeaderBean>>> getTopBwForumsWithOtherBean(@QueryMap Map<String, Object> map);
/**
* 问政-获取留言领域和留言分类
* @param map
* @return
*/
@GET("api/rmrb-content-center/zh/c/ask/domainList")
Observable<BaseResponse<DoMainBean>> getAskDomainList(@QueryMap Map<String, Object> map);
/**
* 问政-提交留言附件
* fixme 改成一个一个的提交附件
* @param requestBody
* @return
*/
@POST("api/rmrb-content-center/zh/c/ask/submitFile")
Observable<BaseResponse<SubmitFileResultBean>> submitAskFile(@Body RequestBody requestBody);
/**
* 问政-提交留言信息
* @param requestBody
* @return
*/
@POST("api/rmrb-content-center/zh/c/ask/submitAsk")
Observable<BaseResponse<Object>> submitAsk(@Body RequestBody requestBody);
/**
* 问政-提交留言--修改手机号获取短信验证码
* @param requestBody
* @return
*/
@POST("api/rmrb-content-center/zh/c/ask/sendCode")
Observable<BaseResponse<Object>> askSendCode(@Body RequestBody requestBody);
/**
* 问政-我的留言小红点
* @return
*/
@GET("api/rmrb-content-search/zh/c/ask/myAskMark")
Observable<BaseResponse<MyAskMarkBean>> myAskMark();
/**
* 我的问政-留言详情页(主态)
* id(问政id) 、realAskId
*/
@GET("api/rmrb-content-search/zh/c/ask/myAsk/detail")
Observable<BaseResponse<AskItemDetail>> getLeaveWordDetail(@QueryMap Map<String, Object> map);
/**
* 我的问政-留言详情页(客态)
* newsId 问政id
*/
@GET("api/rmrb-bff-display-zh/content/zh/c/contentAsk/detail")
Observable<BaseResponse<AskItemDetail>> getGuestLeaveWordDetail(@QueryMap Map<String, Object> map);
/**
* 我的问政-提交留言评价页
*/
@POST("api/rmrb-content-center/zh/c/ask/feedback")
Observable<BaseResponse<Object>> leaveWordFeedback(@Body RequestBody map);
/**
* http://192.168.1.3:3300/project/3832/interface/api/195743
* 直播间增加水印接口
id 是直播流id
tenancy 是 租户字段(1-视界 2-英文版 3-中文版)
landscape 是 2竖屏,1,横屏
*/
@GET("api/live-center-mam/zh/a/live/stream/logo/info")
Observable<BaseResponse<WatermarkBean>> getLiveRoomWatermark(@QueryMap Map<String, Object> map);
/**
* 查询用户是否被禁言(830)
* 接口参数和视界(api/live-center-message/c/mlive/barrage/ban)一样
* 中文版的接口 api/live-center-message/zh/c/mlive/barrage/ban
*/
@GET("api/live-center-message/zh/c/mlive/barrage/ban")
Observable<BaseResponse<Object>> userisMte(@Query("mliveId") String mliveId);
/**
* 优质评论页
* 查询72小时内优质评论:http://192.168.1.3:3300/project/3796/interface/api/197023 2023-10-23 09:58:11
* service:lifeilong
* ios:yanguoqiang
*/
@GET("api/rmrb-comment/comment/zh/c/highQuality")
Observable<BaseResponse<CommentListBean>> getHighQualityList(@QueryMap Map<String, Object> map);
/**
* 推送设备绑定
*/
@POST("api/rmrb-contact/contact/zh/c/push/device")
Observable<BaseResponse<Object>> pushDevice(@Body RequestBody body);
/**
* 获取投票选项相关信息 未登录
*/
@GET("api/live-center-message/zh/a/live/vote/{liveId}")
Observable<BaseResponse<LiveInteractiveVotingBean>> userVotePoll(@Path("liveId") String liveId);
/**
* 获取投票选项相关信息 已登录
*/
@GET("/api/live-center-message/zh/c/live/vote/{liveId}")
Observable<BaseResponse<LiveInteractiveVotingBean>> userLoginVotePoll(@Path("liveId") String liveId);
/**
* 直播是否点赞,参数
* liveId 是 直播id
* deviceId 是 设备id
* userId 否 用户id(登录必传)
*/
@GET("/api/live-center-message/zh/a/live/like")
Observable<BaseResponse<Object>> liveIsLike(@QueryMap Map<String, Object> map);
/**
* 提交用户投票的相关信息
*/
@POST("api/live-center-message/zh/c/live/vote/join")
Observable<BaseResponse<Object>> userVote(@Body RequestBody body);
/**
* 获取直播平台配置的投票组件配置信息
*/
@GET("api/live-center-mam/zh/a/live/creator/component")
Observable<BaseResponse<List<InteractiveComponentBean>>> userQueryInteractiveComponents(@Query("userId") String userId );
/**
* 查询当前用户收藏标签接口
* http://192.168.1.3:3300/project/3796/interface/api/200628
* 接口:吕义康
* /interact/zh/c/collect/userTags
* get请求
* tagName 标签名称 可不传,不传查询所有
* pageNum 1 若前端未传,则默认查询第一页
* pageSize 10 若前端未传,则默认每页10条数据
* 响应
* id 标签id
* tagName 标签名称
* num 标签下面收藏的内容数量
* */
@GET("api/rmrb-interact/interact/zh/c/collect/userTags")
Observable<BaseResponse<CollectTagsBean>> getUserCollectTags(@QueryMap Map<String, Object> map);
/**
* 增加或移除收藏标签接口
* http://192.168.1.3:3300/project/3796/interface/api/200614
* 接口:吕义康
* /interact/zh/c/collect/tagsOperate
* post请求
* tagId和tagName不能都传,也不能都不传
* tagId Long非必须标签id(传此值代表删除标签)
* tagName string非必须标签名称(传此值代表新增标签)
* operateType integer必须操作类型:1-添加,2-删除
* 响应
* success
* */
@POST("api/rmrb-interact/interact/zh/c/collect/tagsOperate")
Observable<BaseResponse<Long>> operateUserCollectTags(@Body RequestBody body);
/**
* 添加或移除收藏内容关联标签接口
* http://192.168.1.3:3300/project/3796/interface/api/200621
* 接口:吕义康
* /interact/zh/c/collect/contentTagsOperate
* post请求
* operateType integer必须操作类型:1-添加,2-删除
* contentList object []必须
* item 类型: object
* contentId string必须内容id
* contentType integer必须内容类别,1:点播,2:直播,3:活动,4:广告,5:专题,6:链接,7:榜单,8:图文,9:组图,10:H5新闻,11:频道,12:组件,13:音频,14:动态图文,15:动态视频,【不支持问政】
* contentRelId string必须【人民号内容为空】默认0
* tagId Long必须标签id
* 响应
* success 如果是添加,接口会返回tagId
* */
@POST("api/rmrb-interact/interact/zh/c/collect/contentTagsOperate")
Observable<BaseResponse<Object>> operateUserCollectContentTags(@Body RequestBody body);
/**
* 退出直播间调用
* 直播中文端新需求需统计在线人数,新增接口/zh/a/live/room/number/quit调用时机为用户退出直播间时
* 该接口端侧调用逻辑跟人次访问接口相同,入参也相同{@link #getOnlineVisits(RequestBody)}
* yapi地址http://192.168.1.3:3300/project/3832/interface/api/201097
* */
@POST("api/live-center-message/zh/a/live/room/number/quit")
Observable<BaseResponse<Object>> updateOfflineVisits(@Body RequestBody body);
/**
* 验证邀请入驻接口
*/
@POST("api/rmrb-user-center/auth/zh/c/inviter")
Observable<BaseResponse<InviterResp>> inviter(@Body RequestBody body);
/**
* 口令识别接口
*/
@POST("api/rmrb-contact/contact/zh/c/fission/code/identify")
Observable<BaseResponse<CodeIdentifyBean>> codeIdentify(@Body RequestBody body);
/**
* 中文端-口令使用接口
*/
@POST("api/rmrb-contact/contact/zh/c/fission/code/makeuse")
Observable<BaseResponse<Object>> codeMakeUse(@Body RequestBody body);
/**
* 用户等级-APP获取用户等级
*/
@GET("api/rmrb-user-point/auth/level/zh/c/queryUserLevel")
Observable<BaseResponse<UserLevelBean>> queryUserLevel();
/**
* 用户等级-APP获取等级规则
*/
@GET("api/rmrb-user-point/auth/level/zh/c/levelInfo")
Observable<BaseResponse<List<LevelInfoBean>>> levelInfo();
/**
* 用户等级-APP获取等级规则任务列表
*/
@GET("api/rmrb-user-point/auth/levelRule/zh/c/queryLevelRule")
Observable<BaseResponse<List<LevelRuleBean>>> queryLevelRule();
/**
* 用户等级-APP获取用户等级任务完成情况
*/
@GET("api/rmrb-user-point/auth/level/zh/c/queryExecutionOfRules")
Observable<BaseResponse<LevelExecutionOfRulesBean>> queryLevelExecutionOfRules();
/**
* 用户积分-获取用户当前积分
*/
@GET("api/rmrb-user-point/auth/point/zh/c/queryUserPoint")
Observable<BaseResponse<UserPointBean>> queryUserPoint();
/**
* 用户积分-APP签到接口
*/
@POST("api/rmrb-user-point/auth/point/zh/c/signIn")
Observable<BaseResponse<SignInBean>> pointSignIn();
/**
* 积分规则-积分规则列表页
*/
@GET("api/rmrb-user-point/auth/pointRule/zh/c/queryPagePointRule")
Observable<BaseResponse<PagePointRuleBean>> queryPagePointRule();
/**
* 用户积分-获取用户所有上线规则任务完成情况
*/
@GET("api/rmrb-user-point/auth/point/zh/c/queryExecutionOfRules")
Observable<BaseResponse<IntegralExecutionOfRulesBean>> queryIntegralExecutionOfRules();
/**
* 用户积分-根据用户分页返回积分记录
*/
@POST("api/rmrb-user-point/auth/point/zh/c/queryUserPointFlow")
Observable<BaseResponse<UserPointFlowListBean>> queryUserPointFlow(@Body RequestBody map);
/**
* 用户等级/积分-APP根据业务场景动态增减成长值(APP)
*/
@POST("api/rmrb-user-point/auth/pointLevel/zh/operate")
Observable<BaseResponse<PointLevelOperateBean>> pointLevelOperate(@Body RequestBody map);
/**
* 客户端积分等级上报状态接口
*/
@GET("api/rmrb-user-point/auth/pointRule/zh/c/operateType")
Observable<BaseResponse<TaskRuleSwitchBean>> queryTaskRuleSwitch();
// /**
// * 获取用户影响力
// * @return
// */
// @GET("api/rmrb-bigdata-bi/zh/c/stats/creator/influence/info")
// Observable<BaseResponse<CreatorInfluenceBean>> queryCreatorInfluence(@QueryMap Map<String, Object> map);
// /**
// * 推送老id转换成新链接
// */
// @GET("api/rmrb-contact/contact/zh/c/oldPush")
// Observable<BaseResponse<PushOldToNewBean>> oldPushToNew(@QueryMap Map<String, Object> map);
/**
* app启动通用配置接口
*/
@GET("api/rmrb-contact/contact/zh/common/config")
Observable<BaseResponse<CommonConfigBean>> getCommonConfig();
// /**
// * 问政-留言评价打星分类
// * 吕义康
// * http://192.168.1.3:3300/project/3796/interface/api/194537
// * @param map
// * @return
// */
// @GET("api/rmrb-content-center/zh/c/ask/feedbackGrades")
// Observable<BaseResponse<FeedbackGrade>> feedbackGrades(@QueryMap Map<String, Object> map);
}