|
@@ -5,6 +5,7 @@ import java.util.Set;
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
@@ -57,7 +58,7 @@ public class PrivilegeCloudServiceProvider extends ControllerSupport
|
|
|
@ApiOperation(value = "查询用户权限", notes = "")
|
|
|
@PostMapping("getPrivileges")
|
|
|
@Override
|
|
|
- public GetPrivilegesResp getPrivileges(GetPrivilegesReq req) {
|
|
|
+ public GetPrivilegesResp getPrivileges(@RequestBody GetPrivilegesReq req) {
|
|
|
|
|
|
User accessUser = getAccessUser();
|
|
|
String groupCode = req.getGroupCode();
|