|
|
@@ -318,7 +318,7 @@ public class AccountController {
|
|
|
* @return
|
|
|
*/
|
|
|
@PostMapping("/bind/roles")
|
|
|
- public Result bindRoles(@RequestParam long accountId, @RequestParam String roleIds) {
|
|
|
+ public Result bindRoles(@RequestParam("accountId") Long accountId, @RequestParam("roleIds") String roleIds) {
|
|
|
accountService.bindRoles(accountId, roleIds);
|
|
|
accountService.clearCache(accountId);
|
|
|
return Result.success();
|