Your ROOT_URL in app.ini is http://git.zky.com/ but you are visiting http://61.178.84.89:8998/luoluo/ry_zhky/commit/0a1f5f57065674a11486e064f77893f5e0c84d1f?style=split&whitespace=ignore-change
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
6 additions and
2 deletions
@ -96,9 +96,13 @@ public class SysUserExamineController extends BaseController {
@Log ( title = "用户审核" , businessType = BusinessType . PRINT )
@Log ( title = "用户审核" , businessType = BusinessType . PRINT )
@GetMapping ( "/examineprint/{userId}" )
@GetMapping ( "/examineprint/{userId}" )
@ResponseBody
@ResponseBody
public S ysUser paint ( @PathVariable ( "userId" ) Long userId )
public S tring paint ( @PathVariable ( "userId" ) Long userId , ModelMap mmap )
{
{
return userService . selectUserById ( userId ) ;
List < SysRole > roles = roleService . selectRolesByUserId ( userId ) ;
mmap . put ( "user" , userService . selectUserById ( userId ) ) ;
mmap . put ( "roles" , SysUser . isAdmin ( userId ) ? roles : roles . stream ( ) . filter ( r - > ! r . isAdmin ( ) ) . collect ( Collectors . toList ( ) ) ) ;
mmap . put ( "posts" , postService . selectPostsByUserId ( userId ) ) ;
return prefix + "/examineprint" ;
}
}
}
}