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