| | |
| | | import org.springblade.core.tenant.annotation.NonDS; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.core.tool.utils.Func; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | return R.data(service.updateUser(user)); |
| | | } |
| | | |
| | | @Override |
| | | @PostMapping(UPDATE_USER_STRATEGY_STATUS) |
| | | public R<Boolean> updateStrategyStatus(@RequestParam List<Long> userIds) { |
| | | return R.data(service.updateByUseStrategyId(userIds)); |
| | | } |
| | | |
| | | } |