Class WechatUserController

java.lang.Object
com.sankcrm.erp.auth.interfaces.thirdauth.wechat.WechatUserController

@RestController public class WechatUserController extends Object
微信帐号管理
Since:
2.1.2
Author:
LBW
create time:
2023/11/20 21:27
  • Constructor Details

    • WechatUserController

      public WechatUserController()
  • Method Details

    • list

      @GetMapping("/v1/app/auth/wechat/user/list") public com.sankcrm.erp.mvc.application.readmodel.Response<List<ThirdUserinfoDto>> list(ThirdUserinfoListQuery query) throws com.sankcrm.erp.common.exception.CoreException
      帐号列表
      Parameters:
      query - 查询条件
      Returns:
      微信配置信息
      Throws:
      com.sankcrm.erp.common.exception.CoreException - 查询失败
    • page

      @GetMapping("/v1/app/auth/wechat/user/page") public com.sankcrm.erp.mvc.application.readmodel.Response<com.sankcrm.erp.bus.Pagination<ThirdUserinfoDto>> page(ThirdUserinfoPageQuery query) throws com.sankcrm.erp.common.exception.CoreException
      帐号分页
      Parameters:
      query - 查询条件
      Returns:
      微信配置信息
      Throws:
      com.sankcrm.erp.common.exception.CoreException - 查询失败
    • unbound

      @PostMapping("/v1/app/auth/wechat/user/unbound") public com.sankcrm.erp.mvc.application.readmodel.Response<ThirdUserUnboundLogDto> unbound(@RequestBody ThirdUserinfoUnboundCommand command) throws com.sankcrm.erp.common.exception.CoreException
      帐号解绑
      Parameters:
      command - 参数
      Returns:
      Integer
      Throws:
      com.sankcrm.erp.common.exception.CoreException - 解绑失败
      Since:
      2.1.7
    • list

      @GetMapping("/v1/app/auth/wechat/user/bound/log/list") public com.sankcrm.erp.mvc.application.readmodel.Response<List<ThirdUserUnboundLogDto>> list(ThirdUserBoundLogListQuery query) throws com.sankcrm.erp.common.exception.CoreException
      帐号绑定日志列表
      Parameters:
      query - 查询条件
      Returns:
      帐号配置信息
      Throws:
      com.sankcrm.erp.common.exception.CoreException - 查询失败
      Since:
      2.5.0
    • page

      @GetMapping("/v1/app/auth/wechat/user/bound/log/page") public com.sankcrm.erp.mvc.application.readmodel.Response<com.sankcrm.erp.bus.Pagination<ThirdUserUnboundLogDto>> page(ThirdUserBoundLogPageQuery query) throws com.sankcrm.erp.common.exception.CoreException
      帐号绑定日志分页
      Parameters:
      query - 查询条件
      Returns:
      帐号信息
      Throws:
      com.sankcrm.erp.common.exception.CoreException - 查询失败
      Since:
      2.5.0