AuthClubService.java 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. package com.caimei.service.auth;
  2. import com.caimei.model.ResponseJson;
  3. import com.caimei.model.vo.*;
  4. import com.github.pagehelper.PageInfo;
  5. /**
  6. * Description
  7. *
  8. * @author : Aslee
  9. * @date : 2021/5/11
  10. */
  11. public interface AuthClubService {
  12. /**
  13. * 机构列表
  14. *
  15. * @param authUserId 供应商用户id
  16. * @param clubName 机构名称
  17. * @param pageNum 第几页
  18. * @param pageSize 一页多少条
  19. * @return AuthVo
  20. */
  21. ResponseJson<PageInfo<ClubVo>> getClubList(Integer authUserId, String clubName, Integer pageNum, Integer pageSize);
  22. /**
  23. * 机构用户列表
  24. * @param authUserId 供应商用户id
  25. * @param mobile 手机号
  26. * @param name
  27. * @param status 状态:1未绑定,2已绑定,3已过期
  28. * @param pageNum 第几页
  29. * @param pageSize 一页多少条
  30. * @return ClubUserVo
  31. */
  32. ResponseJson<PageInfo<ClubUserVo>> getClubUserList(Integer authUserId, String mobile, String name, Integer status, Integer pageNum, Integer pageSize);
  33. /**
  34. * 微信公众号机构列表
  35. *
  36. * @param authUserId 供应商用户id
  37. * @param clubName 机构名称
  38. * @param pageNum 第几页
  39. * @param pageSize 一页多少条
  40. * @return
  41. */
  42. ResponseJson<PageInfo<WxClubListVo>> getWxClubList(Integer authUserId, String appId, String lngAndLat, String clubName, Integer provinceId,
  43. Integer cityId, Integer townId, Integer pageNum, Integer pageSize);
  44. /**
  45. * 提交反馈
  46. * @param clubUserId 机构用户id
  47. * @param content 反馈内容
  48. * @return
  49. */
  50. ResponseJson submitFeedback(Integer clubUserId, String content);
  51. /**
  52. * 微信公众号机构详情
  53. * @param authId 机构id
  54. * @return
  55. */
  56. ResponseJson<WxClubDetailsVo> getWxClubDetails(Integer authId);
  57. /**
  58. * 根据authUserId获取供应商信息
  59. *
  60. * @param authUserId
  61. * @return
  62. */
  63. ResponseJson<WxShopVo> getWxShopInfo(Integer authUserId, String appId);
  64. /**
  65. * 添加/编辑机构用户
  66. */
  67. ResponseJson saveClubUser(Integer clubUserId, Integer authUserId, String mobile);
  68. /**
  69. * 删除机构用户
  70. */
  71. ResponseJson deleteClubUser(Integer clubUserId);
  72. /**
  73. * 更新用户状态
  74. */
  75. ResponseJson updateStatus(Integer clubUserId, Integer status);
  76. /**
  77. * 重置机构用户密码
  78. * @param clubUserId
  79. * @return
  80. */
  81. ResponseJson resetClubUserPassword(Integer clubUserId);
  82. }