mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
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
package com.panzhihua.common.service.user;
 
import java.util.List;
 
import com.panzhihua.common.model.dtos.DataKanBansDto;
import com.panzhihua.common.model.dtos.community.convenient.ConvenientMerchantDTO;
import com.panzhihua.common.model.dtos.community.convenient.DisableOrEnableConvenientMerchantDTO;
import com.panzhihua.common.model.dtos.community.microCommercialStreet.BindUserPhoneDTO;
import com.panzhihua.common.model.dtos.community.microCommercialStreet.LoginWithPhoneDTO;
import com.panzhihua.common.model.dtos.community.microCommercialStreet.McsMerchantDTO;
import com.panzhihua.common.model.dtos.partybuilding.ComPbCheckUserDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
 
import com.panzhihua.common.model.dtos.PageDTO;
import com.panzhihua.common.model.dtos.community.ExportSpecialUserDTO;
import com.panzhihua.common.model.dtos.community.ExportUserDTO;
import com.panzhihua.common.model.dtos.community.NoticeReadDTO;
import com.panzhihua.common.model.dtos.grid.*;
import com.panzhihua.common.model.dtos.user.*;
import com.panzhihua.common.model.vos.*;
import com.panzhihua.common.model.vos.shop.ShopStoreVO;
import com.panzhihua.common.model.vos.user.*;
 
import javax.validation.Valid;
 
/**
 * @program: springcloud_k8s_panzhihuazhihuishequ
 * @description: feign-userservice
 * @author: huang.hongfa weixin hhf9596 qq 959656820
 * @create: 2020-11-24 08:58
 **/
@FeignClient(name = "huacheng-user")
public interface UserService {
 
    /**
     * 新增微信用户
     *
     * @param openid
     *            微信小程序标志
     * @param sessionKey
     *            会话密钥
     * @param unionid
     *            微信平台唯一ID
     * @return 新增结果
     */
    @PostMapping("/addOrUpdate")
    R addOrUpdate(@RequestParam("openid") String openid, @RequestParam("sessionKey") String sessionKey,
        @RequestParam("unionid") String unionid,@RequestParam("appId")String appId);
 
    /**
     * 维护小程序用户基本信息 头像 昵称 性别
     *
     * @param userId
     *            数据库用户ID
     * @param nickName
     *            昵称
     * @param gender
     *            性别
     * @param avatarUrl
     *            头像
     * @return 维护结果
     */
    @PostMapping("/updateUserWeiXinInfo")
    R updateUserWeiXinInfo(@RequestParam("userId") Long userId, @RequestParam("nickName") String nickName,
        @RequestParam("gender") int gender, @RequestParam("avatarUrl") String avatarUrl);
 
    /**
     * 维护微信用户手机号
     *
     * @param userId
     *            数据库ID
     * @param purePhoneNumber
     *            没有区号的手机号
     * @return 维护结果
     */
    @PostMapping("/updateUserWeiXinPhone")
    R updateUserWeiXinPhone(@RequestParam("userId") Long userId,
        @RequestParam("purePhoneNumber") String purePhoneNumber);
 
    /**
     * 获取平台用户
     *
     * @param userId
     *            用户ID
     * @return 平台用户信息
     */
    @PostMapping("/getUserInfoUserId")
    R<LoginUserInfoVO> getUserInfoByUserId(@RequestParam("userId") String userId);
 
    /**
     * 获取平台用户
     *
     * @param userName
     *            登录账户+_type
     * @return 平台用户信息
     */
    @PostMapping(value = "/getUserInfo")
    R<LoginUserInfoVO> getUserInfo(@RequestParam("userName") String userName);
 
    /**
     * 获取平台所有权限路径url
     *
     * @return 所有url
     */
    @PostMapping("/role/getAllMenu")
    R<List<MenuVO>> getAllMenu();
 
    /**
     *
     * @param username
     *            用户的ID
     * @return 用户所有角色
     */
    @PostMapping("/role/getUserRoles")
    R<List<String>> getUserRoles(@RequestParam("username") String username);
 
    /**
     * 查询社区的党委角色
     *
     * @param communityId
     *            社区id
     * @return 党委角色列表
     */
    @PostMapping("/role/listidentity")
    R listIdentity(@RequestParam("communityId") Long communityId);
 
    /**
     * 修改用户登录密码
     *
     * @param changePasswordVO
     *            新密码
     * @return 修改结果
     */
    @PostMapping("changepassword")
    R changePassword(@RequestBody ChangePasswordVO changePasswordVO);
 
    /**
     * 重置密码用户登录密码默认admin123456
     *
     * @param userId
     *            新密码
     * @return 修改结果
     */
    @GetMapping("resetPassword")
    R resetPassword(@RequestParam("userId") Long userId);
 
    @GetMapping("/resetPasswordAccount")
    R resetPasswordAccount(@RequestParam("type")Integer type,@RequestParam("account")String account,@RequestParam("appId")String appId);
 
    /**
     * 批量重置密码用户登录密码默认admin123456
     *
     * @param userIds
     *            新密码
     * @return 修改结果
     */
    @GetMapping("resetPasswordPatch")
    R resetPasswordPatch(@RequestParam("userIds") Long[] userIds,@RequestParam("password") String password);
 
    /**
     * 某社区后台人员查询
     *
     * @param param
     *            名字
     * @param communityId
     *            社区id
     * @return 人员集合
     */
    @PostMapping("listactivitymanager")
    R listActivityManager(@RequestParam("param") String param, @RequestParam("communityId") Long communityId);
 
    /**
     * 微心愿搜索社区团队人员列表
     *
     * @param param
     *            请求参数
     * @param communityId
     *            社区id
     * @return 社区团队人员列表
     */
    @PostMapping("listactivitymanager2")
    R listActivityManager2(@RequestParam("param") String param, @RequestParam("communityId") Long communityId);
 
    /**
     * 分页查询人脸识别
     *
     * @param loginUserInfoVO
     *            查询参数
     * @return 分页集合
     */
    @PostMapping("pageuserface")
    R pageUserFace(@RequestBody LoginUserInfoVO loginUserInfoVO);
 
    /**
     * 编辑人脸采集数据通过、驳回、删除
     *
     * @param loginUserInfoVO
     *            操作信息
     * @return 操作结果
     */
    @PostMapping("putuserface")
    R putUserFace(@RequestBody LoginUserInfoVO loginUserInfoVO);
 
    /**
     * 分页查询人口管理
     *
     * @param userInfoVO
     *            查询参数
     * @return 分页数据
     */
    @PostMapping("pageuser")
    R pageUser(@RequestBody AppletUserInfoVO userInfoVO);
 
    /**
     * 查询所有人员标签
     *
     * @return 标签集合
     */
    @PostMapping("listtag")
    R listTag();
 
    /**
     * 人员详情
     *
     * @param userId
     *            用户id
     * @return 人员详情
     */
    @PostMapping("detailuser")
    R<LoginUserInfoVO> detailUser(@RequestParam("userId") Long userId);
 
    /**
     * 设置用户标签
     *
     * @param loginUserInfoVO
     *            标签信息
     * @return 设置结果
     */
    @PostMapping("putusertag")
    R putUserTag(@RequestBody LoginUserInfoVO loginUserInfoVO);
 
    /**
     * 修改用户志愿者状态
     *
     * @param phone
     *            志愿者手机号
     * @param type
     *            1 支援者 0不是志愿者
     */
    @PostMapping("putuserisvolunteer")
    R putUserIsVolunteer(@RequestParam("phone") String phone, @RequestParam("type") int type);
 
    /**
     * 修改用户志愿者状态
     *
     * @param userId
     *            用户ID
     * @param type
     *            1 支援者 0不是志愿者
     */
    @PostMapping("putuserisvolunteerbyid")
    R putUserIsVolunteerById(@RequestParam("userId") Long userId, @RequestParam("type") int type);
 
    /**
     * 用户绑定社区、小区
     *
     * @param loginUserInfoVO
     *            社区小区数据
     * @return 绑定结果
     */
    @PostMapping("putusercommunityarea")
    R putUserCommunityArea(@RequestBody LoginUserInfoVO loginUserInfoVO);
 
    /**
     * 用户实名认证
     *
     * @param loginUserInfoVO
     *            认证数据
     * @return 认证结果
     */
    @PostMapping("putuserauthentication")
    R putUserAuthentication(@RequestBody LoginUserInfoVO loginUserInfoVO);
 
    /**
     * 修改用户手机号
     *
     * @param userPhoneVO
     *            手机号信息
     * @return 修改结果
     */
    @PostMapping("putuserphone")
    R putUserphone(@RequestBody UserPhoneVO userPhoneVO);
 
    /**
     * 修改用户信息
     *
     * @param loginUserInfoVO
     *            修改内容
     * @return 修改结果
     */
    @PostMapping("putuser")
    R putUser(@RequestBody LoginUserInfoVO loginUserInfoVO);
 
    /**
     * 家庭成员列表
     *
     * @param userId
     *            登录用户
     * @return 成员集合
     */
    @PostMapping("listfamily")
    R listFamily(@RequestParam("userId") Long userId, @RequestParam(value = "pageNum") Long pageNum,
        @RequestParam("pageSize") Long pageSize);
 
    /**
     * 新增家庭成员
     *
     * @param comMngFamilyInfoVO
     *            家庭成员基本信息
     * @return 增加结果
     */
    @PostMapping("addFamily")
    R addFamily(@RequestBody ComMngFamilyInfoVO comMngFamilyInfoVO);
 
    /**
     * 编辑家庭成员
     *
     * @param comMngFamilyInfoVO
     *            家庭成员信息
     * @return 编辑结果
     */
    @PostMapping("putfamily")
    R putFamily(@RequestBody ComMngFamilyInfoVO comMngFamilyInfoVO);
 
    /**
     * 新增运营、社区后台账户
     *
     * @param administratorsUserVO
     *            账户信息
     * @return 新增结果
     */
    @PostMapping("adduserbackstage")
    R addUserBackstage(@RequestBody AdministratorsUserVO administratorsUserVO);
 
    /**
     * 新增社区后台物业,社会组织,业主委员会账户
     *
     * @param administratorsUserVO
     *            账户信息
     * @return 新增结果
     */
    @PostMapping("adduserbackstageproperty")
    R addUserBackstageProperty(@RequestBody AdministratorsUserVO administratorsUserVO);
 
 
    /**
     * 更新
     *
     * @param administratorsUserVO
     *            编辑账户内容
     * @return 编辑结果
     */
    @PostMapping("updateStreet")
    R updateStreet(@RequestBody AdministratorsUserVO administratorsUserVO);
 
    /**
     * 编辑运营、社区后台账户
     *
     * @param administratorsUserVO
     *            编辑账户内容
     * @return 编辑结果
     */
    @PostMapping("putuserbackstage")
    R putUserBackstage(@RequestBody AdministratorsUserVO administratorsUserVO);
 
    /**
     * 删除后台用户
     *
     * @param administratorsUserVO
     *            用户主键
     * @return 删除结果
     */
    @PostMapping("deleteuserbackstage")
    R deleteUserBackstage(@RequestBody AdministratorsUserVO administratorsUserVO);
 
    /**
     * 角色下拉列表
     *
     * @param communityId
     *            对应社区 0 表示运营后台
     * @return 角色集合
     */
    @PostMapping("/role/listrolebackstage")
    R listRoleBackstage(@RequestParam("communityId") Long communityId,@RequestParam("pageNum")Integer pageNum,@RequestParam("pageSize")Integer pageSize,@RequestParam("areaCode")String areaCode);
 
    /**
     * 分页查询后台用户
     *
     * @param administratorsUserVO
     *            查询参数
     * @return 后台用户
     */
    @PostMapping("pageuserbackstage")
    R pageUserBackstage(@RequestBody AdministratorsUserVO administratorsUserVO);
 
    /**
     * 新增角色
     *
     * @param roleVO
     *            角色信息
     * @return 新增结果
     */
    @PostMapping("/role/addrolebackstage")
    R addRoleBackstage(@RequestBody RoleVO roleVO);
 
    /**
     * 删除角色
     *
     * @param roleVO
     *            角色主键
     * @return 删除结果
     */
    @PostMapping("/role/deleterolebackstage")
    R deleteRoleBackstage(@RequestBody RoleVO roleVO);
 
    /**
     * 平台菜单列表
     *
     * @param communityId
     *            社区id 0 运营平台
     * @return 菜单集合
     */
    @PostMapping("/role/listmenubackstage")
    R listMenuBackstage(@RequestParam("communityId") Long communityId);
 
    /**
     * 设置角色的权限
     *
     * @param menuRoleVO
     *            用户设置的权限id
     * @return 设置结果
     */
    @PostMapping("/role/putmenurole")
    R putMenuRole(@RequestBody MenuRoleVO menuRoleVO);
 
    /**
     * 保存操作日志
     *
     * @param operlog
     *            日志内容
     * @return 保存结果
     */
    @PostMapping("addoperlog")
    R addOperLog(@RequestBody SysOperLogVO operlog);
 
    /**
     * 分页展示操作日志
     *
     * @param sysOperLogVO
     *            分页参数
     * @return 分页集合
     */
    @PostMapping("pageoperlog")
    R pageOperLog(@RequestBody SysOperLogVO sysOperLogVO);
 
    /**
     * 用户协议
     *
     * @return 协议集合
     */
    @PostMapping("listagreement")
    R listAgreement(@RequestParam("communityId") Long communityId);
 
    /**
     * 编辑用户协议
     *
     * @param sysUserAgreementVO
     *            编辑内容
     * @return 编辑结果
     */
    @PostMapping("putagreement")
    R putAgreement(@RequestBody SysUserAgreementVO sysUserAgreementVO);
 
    /**
     * 用户标签
     *
     * @param communityId
     *            社区id
     * @return 标签集合
     */
    @PostMapping("listcommngusertag")
    R listComMngUserTag(@RequestParam("communityId") Long communityId);
 
    /**
     * 新增删除用户标签
     *
     * @param systemmanagementConfigVO
     *            操作内容
     * @return 操作结果
     */
    @PostMapping("putcommngusertag")
    R putComMngUserTag(@RequestBody SystemmanagementConfigVO systemmanagementConfigVO);
 
    /**
     * 分页查询小程序用户
     *
     * @param pageUserAppletsBackstageDTO
     *            查询参数
     * @return 分页集合
     */
    @PostMapping("pageuserappletsbackstage")
    R pageUserAppletsBackstage(@RequestBody PageUserAppletsBackstageDTO pageUserAppletsBackstageDTO);
 
    /**
     * 编辑用户状态
     *
     * @param pageUserAppletsBackstageDTO
     *            启用或者禁用 1 启用 2 禁用
     * @return 编辑结果
     */
    @PostMapping("putuserappletsbackstage")
    R putUserAppletsBackstage(@RequestBody PageUserAppletsBackstageDTO pageUserAppletsBackstageDTO);
 
    /**
     * 调试接口--清除昵称、社区、小区
     *
     * @param userId
     *            登录用户id
     * @return 清除结果
     */
    @PostMapping("deleteusertest")
    R deleteUserTest(@RequestParam("userId") Long userId);
 
    /**
     * 用户协议和隐私政策
     *
     * @param type
     *            所属app 1居民端app 2网格员端app 3商家端app
     * @return 协议内容
     */
    @PostMapping("useragreement")
    R userAgreement(@RequestParam("type") int type,@RequestParam("appid")String appId);
 
    /**
     * uu洗车登录
     * @param uuLoginVO
     * @return
     */
    @PostMapping("uuLogin")
    R uuLogin(@RequestBody UuLoginVO uuLoginVO);
 
    /**
     * 意见反馈
     *
     * @param sysUserFeedbackDTO
     *            反馈内容
     * @return 反馈结果
     */
    @PostMapping("addfeedback")
    R addFeedback(@RequestBody SysUserFeedbackDTO sysUserFeedbackDTO);
 
    /**
     * 分页通知列表
     *
     * @param pageDTO
     *            分页参数
     * @return 分页结果
     */
    @PostMapping("pagenotice")
    R pageNotice(@RequestBody PageDTO pageDTO);
 
    /**
     * 通知已读
     *
     * @param noticeReadDTO
     *            通知已读
     * @return 修改状态
     */
    @PostMapping("putnotice")
    R putNotice(@RequestBody NoticeReadDTO noticeReadDTO);
 
    /**
     * 分页查询用户意见反馈
     *
     * @param pageFeedBackDTO
     *            分页查询参数
     * @return 意见集合
     */
    @PostMapping("pagefeedback")
    R pageFeedback(@RequestBody PageFeedBackDTO pageFeedBackDTO);
 
    /**
     * 未读消息汇总
     *
     * @param userId
     *            登录用户信息
     * @return 未读汇总
     */
    @PostMapping("noticeunreadnum")
    R noticeUnreadNum(@RequestParam("userId") Long userId);
 
    /**
     * 反馈意见详情
     *
     * @param id
     *            反馈主键
     * @return 反馈详情
     */
    @PostMapping("detailfeedback")
    R detailFeedback(@RequestParam("id") Long id);
 
    /**
     * 数据看板
     *
     * @return 运营后台数据看板
     */
    @PostMapping("datakanban")
    R dataKanban(@RequestParam("areaCode")String areaCode);
 
    /**
     * 用户菜单获取
     *
     * @param userId
     *            登录用户id
     * @return 用户菜单
     */
    @PostMapping("/role/listmenu")
    R listmenu(@RequestParam("userId") Long userId);
 
    /**
     * 社区管理后台数据看板
     *
     * @param communityId
     *            社区id
     * @return 看板用户数据
     */
    @PostMapping("indexdatacommunitybackstage")
    R indexDataCommunityBackstage(@RequestParam("communityId") Long communityId);
 
    /**
     * 定时任务维护用户持续登录时间
     *
     * @return 维护结果
     */
    @PostMapping("timedtaskcontinuouslandingdays")
    R timedTaskContinuousLandingDays();
 
    /**
     * 新增用户通知
     *
     * @param sysUserNoticeVO
     *            通知内容
     * @return 新增结果
     */
    @PostMapping("addnotice")
    R addNotice(@RequestBody SysUserNoticeVO sysUserNoticeVO);
 
    /**
     * 修改用户的党员状态
     *
     * @param idCard
     *            身份证号
     * @return 修改结果
     */
    @PostMapping("updateuserispartymember")
    R updateUserIsPartymember(@RequestParam("idCard") String idCard);
 
    /**
     * 修改党员状态
     * @param phone
     * @return
     */
    @PostMapping("updateuserispartymemberByPhone")
    R updateUserIsPartymemberByPhone(@RequestParam("phone") String phone);
    /**
     * 修改用户的为非党员状态
     *
     * @param idCard
     *            身份证号
     * @return 修改结果
     */
    @PostMapping("updateusernotpartymember")
    R updateUserNotPartymember(@RequestParam("idCard") String idCard);
 
    /**
     * 获取角色的权限配置列表
     *
     * @param roleId
     *            角色id
     * @return 菜单列表
     */
    @PostMapping("/role/listmenubackstagebyrole")
    R listMenuBackstageByRole(@RequestParam("roleId") Long roleId);
 
    /**
     * 获取各种协议
     *
     * @param type
     *            1居民端app协议 2网格员端app协议 3商家端app协议 4隐私政策
     * @return 协议内容
     */
    @PostMapping("agreement")
    R agreement(@RequestParam("type") Integer type,@RequestParam("appId")String appId);
 
    /**
     * 维护用户最后登录时间
     *
     * @param userId
     *            用户主键
     * @return 维护结果
     */
    @PostMapping("putuserlastlogintime")
    R putUserLastLoginTime(@RequestParam("userId") Long userId);
 
    /**
     * 删除意见反馈
     *
     * @param id
     *            主键
     * @return 删除结果
     */
    @PostMapping("deletefeedback")
    R deleteFeedback(@RequestParam("id") Long id);
 
    /**
     * 批量导入居民用户
     *
     * @param list
     *            居民用户集合
     * @param areaName
     *            小区名字
     * @return 导入结果
     */
    @PostMapping("batchsaveuser")
    R batchSaveUser(@RequestBody List<EexcelUserDTO> list, @RequestParam("areaName") StringBuffer areaName);
 
    /**
     * 校验小区是否存在
     *
     * @param areaName
     *            小区名字
     * @return 校验结果
     */
    @PostMapping("checkaereaname")
    R checkAereaName(@RequestParam("areaName") String areaName);
 
    /**
     * 社区人员详情包括导入人员
     *
     * @param userId
     *            人员id
     * @return CommunityUserInfoVO
     */
    @PostMapping("detailusercomunity")
    R detailUserComunity(@RequestParam("userId") Long userId);
 
    /**
     * 用户搜索了就下载搜索的用户否则下载所有用户
     *
     * @param exportUserDTO
     *            用户搜索内容
     * @return List<EexcelUserDTO> excel内容
     */
    @PostMapping("export")
    R export(@RequestBody ExportUserDTO exportUserDTO);
 
    /**
     * 通过手机号码查询用户信息
     *
     * @param phone
     * @return
     */
    @GetMapping("getUserByPhone")
    R getSysUserVOByPhone(@RequestParam(value = "phone") String phone);
 
    /**
     * 通过账号查询用户信息
     *
     * @param account
     * @return
     */
    @GetMapping("getUserByAccount")
    R getSysUserVOByAccountAndType(@RequestParam(value = "account") String account,
        @RequestParam(value = "type") Integer type);
 
    /**
     * 基础数据》居民管理》居民列表
     *
     * @param pageInputUserDTO
     *            查询参数
     * @return 分页数据
     */
    @PostMapping("common/data/user/page")
    R pageInputUser(@RequestBody PageInputUserDTO pageInputUserDTO);
 
    /**
     * 基础数据》居民管理》设置用户标签
     *
     * @param inputUserTagsDTO
     *            标签信息
     * @return 设置结果
     */
    @PostMapping("common/data/user/tags")
    R setInputUserTag(@RequestBody InputUserTagsDTO inputUserTagsDTO);
 
    /**
     * 基础数据》居民管理》批量导入居民用户
     *
     * @param list
     *            居民用户集合
     * @param areaName
     *            小区名字
     * @return 导入结果
     */
    @PostMapping("common/data/user/import")
    R batchSaveInputUser(@RequestBody List<EexcelUserDTO> list, @RequestParam("areaName") StringBuffer areaName);
 
    /**
     * 基础数据》居民管理》 居民详情
     *
     * @param id
     *            人员id
     * @return CommunityUserInfoVO
     */
    @PostMapping("/common/data/user/detail")
    R inputUserDetail(@RequestParam("id") Long id);
 
    /**
     * 基础数据》居民管理》 导出居民信息
     *
     * @param exportUserDTO
     *            用户搜索内容
     * @return List<EexcelUserDTO> excel内容
     */
    @PostMapping("/common/data/user/export")
    R inputUserExport(@RequestBody ExportUserDTO exportUserDTO);
 
    /**
     * 基础数据》特殊群体》分页查询
     *
     * @param pageInputUserDTO
     * @return
     */
    @PostMapping("common/data/special/page")
    R specialInputUser(@RequestBody PageInputUserDTO pageInputUserDTO);
 
    /**
     * 删除特殊群体用户
     *
     * @param id
     * @return
     */
    @DeleteMapping("common/data/special/delete1")
    R deleteSpecialInputUser(@RequestParam(value = "id") Long id);
 
    /**
     * 基础数据》特殊群体》分页查询标签列表
     *
     * @param comMngUserTagDTO
     * @return
     */
    @PostMapping("common/data/special/tags/page")
    R specialInputUserTags(@RequestBody PageInputUserDTO comMngUserTagDTO);
 
    /**
     * 新增或修改特殊群体标签
     *
     * @param comMngTagVO
     * @return
     */
    @PostMapping("common/data/special/tags/save")
    R saveSpecialInputUserTags(@RequestBody ComMngTagVO comMngTagVO);
 
    /**
     * 删除特殊群体标签
     *
     * @param id
     * @return
     */
    @DeleteMapping("common/data/special/tags/delete")
    R deleteSpecialInputUserTags(@RequestParam(value = "id") Long id);
 
    /**
     * 特殊群体导出
     *
     * @param exportSpecialUserDTO
     * @return
     */
    @PostMapping("/common/data/special/export")
    R specialUserExport(@RequestBody ExportSpecialUserDTO exportSpecialUserDTO);
 
    /**
     * 查询所有人员标签
     *
     * @return 标签集合
     */
    @PostMapping("listtag/getTag")
    R listTags();
 
    /**
     * 添加SysUser信息
     *
     * @param storeVO
     *            sysUser信息
     * @return 添加sysUser结果
     */
    @PostMapping("addSysUser")
    R addSysUser(@RequestBody ShopStoreVO storeVO);
 
    /**
     * 修改SysUser信息
     *
     * @param storeVO
     *            sysUser信息
     * @return 修改结果
     */
    @PostMapping("editSysUser")
    R editSysUser(@RequestBody ShopStoreVO storeVO);
 
    /**
     * 修改用户小程序首页活动提示
     *
     * @param userEditTipsDTO
     *            请求参数
     * @return 修改结果
     */
    @PostMapping("editUserTips")
    R editUserTips(@RequestBody SysUserEditTipsDTO userEditTipsDTO);
 
    /**
     * 获取用户电子档案
     *
     * @param userId
     *            家庭成员信息
     * @return 结果
     */
    @GetMapping("getUserArchives")
    R getUserArchives(@RequestParam("userId") Long userId);
 
    /**
     * 编辑用户电子档案
     *
     * @param userArchivesVO
     *            编辑的信息
     * @return 编辑结果
     */
    @PostMapping("updateUserArchives")
    R updateUserArchives(@RequestBody UpdateUserArchivesVO userArchivesVO);
 
    /**
     * 修改app用户密码
     *
     * @param userInfoAppDTO
     *            请求参数
     * @return 修改结果
     */
    @PutMapping("updateUserPassByApp")
    R updateUserPassByApp(@RequestBody EditUserInfoPassAppDTO userInfoAppDTO);
 
    /**
     * 添加网格员
     *
     * @param eventGridMemberAddDTO
     *            请求参数
     * @return 结果
     */
    @PostMapping("addGridUser")
    R addGridUser(@RequestBody EventGridMemberAddDTO eventGridMemberAddDTO);
 
    /**
     * 分页查询网格员
     *
     * @param memberRelationDTO
     *            请求参数
     * @return 结果
     */
    @PostMapping("member/list")
    R getGridMemberList(@RequestBody PageEventGridMemberRelationDTO memberRelationDTO);
 
    /**
     * 修改网格员信息
     *
     * @param eventGridMemberAddDTO
     *            请求参数
     * @return 修改结果
     */
    @PostMapping("editGridUser")
    R editGridUser(@RequestBody EventGridMemberEditAdminDTO eventGridMemberAddDTO);
 
    /**
     * 重置网格员密码
     *
     * @param gridMemberDTO
     *            请求参数
     * @return 重置结果
     */
    @PostMapping("passResetUser")
    R gridMemberPassReset(@RequestBody EventGridMemberPassResetDTO gridMemberDTO);
 
    /**
     * 批量删除网格员
     *
     * @param Ids
     *            网格员id集合
     * @return 删除结果
     */
    @PostMapping("deleteMembers")
    R deleteMembers(@RequestBody List<Long> Ids);
 
    /**
     * 批量修改网格员状态
     *
     * @param gridMemberEditDTO
     *            请求参数
     * @return 修改结果
     */
    @PostMapping("gridMemberEditStatus")
    R gridMemberEditStatus(@RequestBody EventGridMemberEditStatusDTO gridMemberEditDTO);
 
    @GetMapping("big/no/tip")
    R noTips(@RequestParam("userId") Long userId);
 
    /**
     * 查询社区的收益说明
     *
     * @param communityId
     *            社区id
     * @return 收益说明
     */
    @PostMapping("listagreements")
    R listAgreements(@RequestParam("communityId") Long communityId);
 
    @PostMapping("user/getUserGrids")
    R getGridIsOk(@RequestParam("userId") Long userId);
 
    @GetMapping("getGridsMemberList")
    R getGridsMemberList(@RequestParam("communityId") Long communityId);
 
    /**
     * 根据用户id查询用户openid
     *
     * @param userId
     *            用户id
     * @return openid
     */
    @GetMapping("getUserOpenId")
    R getUserOpenId(@RequestParam("userId") Long userId);
 
    /**
     * 查询社区后台工作人员列表
     *
     * @param communityId
     *            社区id
     * @return 社区后台工作人员列表
     */
    @GetMapping("getUserListByCommunityId")
    R getUserListByCommunityId(@RequestParam("communityId") Long communityId);
 
    /**
     * 检查当前用户是否是社区工作人员
     * @param phone
     * @param communityId
     * @return
     */
    @GetMapping("checkIsTeam")
    R checkCurrentUserIsTeam(@RequestParam("phone") String phone, @RequestParam("communityId") Long communityId);
 
    /**
     * 便民服务新增商家账号
     * @param convenientMerchantDTO
     * @return 商家用户id
     */
    @PostMapping("insertMerchantAccount")
    R addConvenientMerchantUser(@RequestBody ConvenientMerchantDTO convenientMerchantDTO);
 
    /**
     * 修改便民服务商家绑定账号
     * @param userId
     * @param account
     * @return
     */
    @PutMapping("putMerchantUserAccount")
    R putUserAccount(@RequestParam("userId") Long userId, @RequestParam("account") String account);
 
    /**
     * 禁用/启用便民服务商家用户
     * @param disableOrEnableConvenientMerchantDTO
     * @return
     */
    @PutMapping("disableOrEnableMerchantUsers")
    R disableOrEnableMerchantUsers(@RequestBody DisableOrEnableConvenientMerchantDTO disableOrEnableConvenientMerchantDTO);
 
    /**
     * 根据openid维护社区团队里是否注册
     * @param openid    用户微信唯一标识
     */
    @GetMapping("judgeCommunityTeam")
    void judgeCommunityTeam(@RequestParam("openid") String openid);
 
    /**
     * 数据看板升级版
     *
     * @return 运营后台数据看板升级版
     */
    @PostMapping("datakanbans")
    R dataKanBans(@RequestBody DataKanBansDto dataKanBansDto);
 
    /**
     * 运营后台-用户数据统计汇总
     * @return  用户数据统计汇总
     */
    @GetMapping("community/statistics")
    R communityStatistics(@RequestParam("areaCode") String areaCode);
 
    /**
     * 运营后台-用户数据统计导出
     * @return  用户数据
     */
    @GetMapping("community/statistics/export")
    R communityStatisticsExport(@RequestParam("areaCode") String areaCode);
 
    /**
     * 通过UnionId获取用户信息
     * @param unionId
     * @return
     */
    @GetMapping("/getByUnionId")
    R getUserInfoByUnionId(@RequestParam("unionId") String unionId);
 
    /**
     * 小程序id获取相关信息
     * @param appId
     * @return
     */
    @GetMapping("/sysAppConfig/selectByAppid")
    R<SysAppConfigVO> selectByAppid(@RequestParam("appId")String appId);
 
    /**
     * 通过区域编码 类型获取动态模板id
     * @param areaCode
     * @param type
     * @return
     */
    @GetMapping("/sysTemplateConfig/selectTemplate")
    R<SysTemplateConfigVO> selectTemplate(@RequestParam("areaCode")String areaCode,@RequestParam("type")Integer type);
 
    /**
     * 微商业街新增商家账号
     * @param mcsMerchantDTO
     * @return 商家用户id
     */
    @PostMapping("insertMcsMerchantAccount")
    R addMcsMerchantUser(@RequestBody McsMerchantDTO mcsMerchantDTO);
 
    /**
     * 微商业街修改商家账号
     * @param mcsMerchantDTO
     * @return
     */
    @PutMapping("putMcsMerchantUser")
    R putMcsMerchantUser(@RequestBody McsMerchantDTO mcsMerchantDTO);
 
    /**
     * 检查用户是否有效
     * @param userId
     * @param type
     * @return
     */
    @PutMapping("checkUserIsValid")
    Boolean checkUserIsValid(@RequestParam("userId") Long userId, @RequestParam("type") Integer type);
 
    /**
     * 根据手机号、用户类型查询用户
     * @param phone
     * @param type
     * @return
     */
    @GetMapping("/getSysUserByPhone")
    R getSysUserByPhone(@RequestParam("phone") String phone, @RequestParam("type") Integer type);
 
    /**
     * 发送验证码
     * @param phone 手机号
     * @param clientIP 用户ip
     * @param prefixKey redis Key 前缀
     * @param limit 获取次数限制
     * @param timeout 超次数获取时间等待
     * @return
     */
    @GetMapping("/sendMessageCode")
    R sendMessageCode(@RequestParam("phone") String phone,
                              @RequestParam(value = "clientIP", required = false) String clientIP,
                              @RequestParam("prefixKey") String prefixKey,
                              @RequestParam("limit") Integer limit,
                              @RequestParam("timeout") Integer timeout);
 
    /**
     * 根据openId获取微商业街用户
     * @param openid
     * @return
     */
    @GetMapping("/getMcsUserByOpenId")
    R getMcsUserByOpenId(@RequestParam("openid") String openid);
 
    /**
     * 商业街用户微信授权-绑定手机号
     * @param bindUserPhoneDTO
     * @return
     */
    @PostMapping("/mcs/bindPhone")
    R bindOrAddMcsUser(@RequestBody @Valid BindUserPhoneDTO bindUserPhoneDTO);
 
    /**
     * 删除用户信息缓存
     * @param phone
     */
    @DeleteMapping("/deleteUserCashByPhone")
    R deleteUserCashByPhone(@RequestParam("phone") String phone);
 
    /**
     * 修改用户党员状态
     * @param userId  用户id
     * @return  修改结果
     */
    @PostMapping("/update/user/party/status")
    R updateUserPartyStatus(@RequestParam("userId") Long userId);
 
    /**
     *导出验证密码
     */
    @GetMapping("/checkExport")
    R checkExport(@RequestParam("account")String account,@RequestParam("password")String password,@RequestParam("oldPassword")String oldPassword);
 
    @GetMapping("/indexData/totalData")
    R newIndexData(@RequestParam(value = "type",required = false) Integer type,
                   @RequestParam(value = "type",required = false) Long streetId,
                   @RequestParam(value = "areaCode",required = false) Long areaCode,@RequestParam("appId")String appId);
 
    @GetMapping("/indexData/userRate")
    R userRate(@RequestParam(value = "type",required = false) Integer type,
               @RequestParam(value = "streetId",required = false) Long streetId,
               @RequestParam(value = "areaCode",required = false) Long areaCode,
               @RequestParam(value = "range",required = false) Integer range,@RequestParam(value = "appId",required = false) String appId);
 
 
    @GetMapping("/indexData/realUser")
    R realUser(@RequestParam(value = "type",required = false) Integer type,
               @RequestParam(value = "streetId",required = false) Long streetId,
               @RequestParam(value = "areaCode",required = false) Long areaCode,
               @RequestParam(value = "range",required = false) Integer range,@RequestParam(value = "appId",required = false) String appId);
 
    @GetMapping("/indexData/userActivity")
    R userActivity(@RequestParam(value = "type", required = false) Integer type,
                   @RequestParam(value = "streetId", required = false) Long streetId,
                   @RequestParam(value = "areaCode", required = false) Long areaCode,
                   @RequestParam(value = "range", required = false) Integer range, @RequestParam(value = "appId",required = false) String appId);
 
    @GetMapping("/indexData/getAreaAndStreet")
    R getAreaAndStreet();
    /**
     * uu洗车推送
     * @param washPhone
     * @param phone
     * @param washName
     * @param orderStatus
     * @return
     */
    @GetMapping("/uuPush")
    R uuPush(@RequestParam("washPhone")String washPhone,@RequestParam("phone")String phone,@RequestParam("washName")String washName,@RequestParam("orderStatus")Integer orderStatus);
    /**
     * 无水洗车推送
     * @param washPhone
     * @param phone
     * @param washName
     * @param orderStatus
     * @return
     */
    @GetMapping("/wsPush")
    R wsPush(@RequestParam("washPhone")String washPhone,@RequestParam("phone")String phone,@RequestParam("washName")String washName,@RequestParam("orderStatus")Integer orderStatus);
    @GetMapping("/communityList")
    R communityList(@RequestParam("name") String name, @RequestParam("id") Long  id);
 
 
    @PostMapping("/tfLogin")
    R tfLogin(@RequestBody UuLoginVO uuLoginVO);
 
    /**
     * 三说会堂添加后台账户
     * */
    @PostMapping("/sanshuoAddUser")
    R sanShuoAddUser(@RequestBody AdministratorsUserVO administratorsUserVO);
 
    /**
     * 三说会堂重置密码
     * */
    @GetMapping("/sanshuoResetPassword")
    R sanShuoResetPassword(@RequestParam("account") String account,@RequestParam("pass")String password);
 
 
    @GetMapping("/accept")
     R accept(@RequestParam("userId")Long userId);
 
    @PostMapping("/addComPbCheckUser")
     R addComPbCheckUser(@RequestBody ComPbCheckUserDTO comPbCheckUserDTO);
 
 
    /**
     * 是否为专家登陆小程序
     * */
    @GetMapping("/isSanShuoExpert")
    R isExpert(@RequestParam("number") String number);
 
    /**
     * 删除用户专家权限
     * */
    @GetMapping("/removeExpertRole")
    R removeExpertRole(@RequestParam(value = "phone",required = false) String phone);
 
    /**
     *回复反馈意见或修改返回意见的回复
     * */
    @PostMapping("/feedBackReply")
    R updateFeedBack(@RequestBody SysUserFeedbackVO sysUserFeedbackVO);
 
    @GetMapping("/myFeedBack")
    R myFeedBack(@RequestParam("userId") Long userId,@RequestParam(value = "type",required = false)Integer type,@RequestParam("propertyId")Long propertyId);
 
    /**
     * 获取所有社区等
     * @return
     */
    @GetMapping("/getAllCommunityList")
    R getAllCommunityList();
 
    @GetMapping("/propertyCheck")
    R propertyCheck(@RequestParam("phone") String phone);
 
}