|
@@ -573,7 +573,7 @@ public class CommunityArticleController extends BaseController {
|
|
|
|
|
|
@ApiOperation("获取用户信息")
|
|
@ApiOperation("获取用户信息")
|
|
@GetMapping("/userInfo")
|
|
@GetMapping("/userInfo")
|
|
- public AjaxResult userInfo(Long userId) {
|
|
|
|
|
|
+ public AjaxResult userInfo(@RequestParam(required = false) Long userId) {
|
|
if (Objects.isNull(userId)) {
|
|
if (Objects.isNull(userId)) {
|
|
userId = SecurityUtils.getLoginUser().getUserId();
|
|
userId = SecurityUtils.getLoginUser().getUserId();
|
|
}
|
|
}
|