| | |
| | | public R addMcsMerchantUser(@RequestBody McsMerchantDTO mcsMerchantDTO) { |
| | | return userService.addMcsMerchantUser(mcsMerchantDTO); |
| | | } |
| | | |
| | | /** |
| | | * 微商业街修改商家账号 |
| | | * @param mcsMerchantDTO |
| | | * @return |
| | | */ |
| | | @PutMapping("putMcsMerchantUser") |
| | | public R putMcsMerchantUser(@RequestBody McsMerchantDTO mcsMerchantDTO) { |
| | | return userService.putMcsMerchantUser(mcsMerchantDTO); |
| | | } |
| | | |
| | | /** |
| | | * 检查用户是否有效 |
| | | * @param userId |
| | | * @param type |
| | | * @return |
| | | */ |
| | | @PutMapping("checkUserIsValid") |
| | | public Boolean checkUserIsValid(@RequestParam("userId") Long userId, @RequestParam("type") Integer type) { |
| | | return userService.checkUserIsValid(userId, type); |
| | | } |
| | | } |