Compare commits
5 Commits
3a8b565db1
..
v1
| Author | SHA1 | Date | |
|---|---|---|---|
| 6d08799cb8 | |||
| b92918b9e8 | |||
| e013de4241 | |||
| 9daa370797 | |||
| ebd614b2e4 |
@@ -54,7 +54,10 @@ public class Node {
|
||||
|
||||
private Date createTime;
|
||||
|
||||
//用户表相关
|
||||
/**
|
||||
* avatar
|
||||
* 用户表相关
|
||||
**/
|
||||
private String avatar;
|
||||
|
||||
private String username;
|
||||
@@ -118,7 +121,10 @@ public class Node {
|
||||
return firstList;
|
||||
}
|
||||
|
||||
//打印
|
||||
/**
|
||||
* 打印
|
||||
* show
|
||||
**/
|
||||
public static void show(List<Node> list) {
|
||||
for (Node node : list) {
|
||||
System.out.println(node.getUserId() + " 用户回复了你:" + node.getContent());
|
||||
|
||||
@@ -22,6 +22,10 @@ public class AdminSystemController {
|
||||
/**
|
||||
* 后台退出
|
||||
*/
|
||||
@RequestMapping("/admin/logout")
|
||||
public String logout(@RequestParam(defaultValue = "discussion") String type, HttpServletRequest request, ModelMap map) {
|
||||
return "admin/logout";
|
||||
}
|
||||
|
||||
/**
|
||||
* 后台设置管理
|
||||
@@ -32,7 +36,7 @@ public class AdminSystemController {
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping("/admin/home")
|
||||
public String user(@RequestParam(defaultValue = "discussion") String type, HttpServletRequest request, ModelMap map) {
|
||||
public String home(@RequestParam(defaultValue = "discussion") String type, HttpServletRequest request, ModelMap map) {
|
||||
return "admin/home";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,6 +6,7 @@ import com.yaoyuan.jiscuss.response.ResponseCode;
|
||||
import com.yaoyuan.jiscuss.service.IUsersService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.json.JSONObject;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
<title>Jiscuss Demo</title>
|
||||
<head>
|
||||
<#include "comm/commjs.ftl"/>
|
||||
|
||||
<style type="text/css">
|
||||
body {
|
||||
background-color: #f7f8fa;
|
||||
@@ -52,6 +51,7 @@
|
||||
${msg}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button class="ui fluid large blue button" type="submit">登 录</button>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user