| | |
| | | import com.ruoyi.system.api.domain.DelayTask; |
| | | import com.ruoyi.system.api.domain.SysRole; |
| | | import com.ruoyi.system.api.domain.SysUser; |
| | | import com.ruoyi.system.api.domain.WebsocketMessageDTO; |
| | | import com.ruoyi.system.api.domain.dto.MgtAfterSaleSettingDTO; |
| | | import com.ruoyi.system.api.factory.SysUserFallbackFactory; |
| | | import java.util.List; |
| | |
| | | @PostMapping("/user/queryUserByPhone") |
| | | R<SysUser> queryUserByPhone(@RequestBody String phone); |
| | | |
| | | @PostMapping("/user/queryUserByPhone1") |
| | | R<SysUser> queryUserByPhone1(@RequestBody String phone); |
| | | |
| | | /** |
| | | * 通过账号查询用户 |
| | | * @param userName |
| | |
| | | @GetMapping("/custom-config/{configId}") |
| | | R<CustomConfig> getconfig(@PathVariable("configId") String configId); |
| | | |
| | | @GetMapping("/user/list-by-name") |
| | | @PostMapping("/user/list-by-name") |
| | | R<List<SysUser>> getUserListByName(@RequestBody SysUser sysUser, |
| | | @RequestHeader(SecurityConstants.FROM_SOURCE) String source); |
| | | |
| | | @GetMapping("/custom-config/get-after-sale-setting") |
| | | R<MgtAfterSaleSettingDTO> getAfterSaleSetting(); |
| | | |
| | | @PostMapping("/websocket/push-by-client-type") |
| | | R<?> pushByClientType(@RequestBody WebsocketMessageDTO dto, |
| | | @RequestHeader(SecurityConstants.FROM_SOURCE) String source); |
| | | |
| | | @GetMapping("/websocket/push-all/{message}") |
| | | R<?> pushAll(@PathVariable("message") String message, |
| | | @RequestHeader(SecurityConstants.FROM_SOURCE) String source); |
| | | |
| | | /** |
| | | * 批量向指定用户推送消息 |
| | | * @param dto |
| | | * @return |
| | | */ |
| | | @PostMapping("/websocket/push-batch") |
| | | R<?> pushBatch(@RequestBody WebsocketMessageDTO dto, |
| | | @RequestHeader(SecurityConstants.FROM_SOURCE) String source); |
| | | |
| | | } |