SSM新聞管理系統(tǒng)

1.JaveWeb新聞管理系統(tǒng)
本項(xiàng)目基于SSM架構(gòu),包含新聞發(fā)布系統(tǒng)常規(guī)功能,同時(shí),本項(xiàng)目包含前端、后端、移動(dòng)端三端應(yīng)用,
相當(dāng)于一套簡陋而全面的各端項(xiàng)目集合。
2.項(xiàng)目地址:
新聞發(fā)布系統(tǒng)(wcdog):https://github.com/xandone/wcdog
Android端(wcdog-app):https://github.com/xandone/wcdog-app
web端(wcdog-web):https://github.com/xandone/wcdog-web
管理后臺(tái)(wcdog-manager):https://github.com/xandone/wcdog-manager

3.功能介紹
移動(dòng)端app(Android)
基于MVP架構(gòu),技術(shù)棧:MVP+Material+retrofit2+Rx..
主要模塊:
a.登錄/注冊(cè)
b. 發(fā)帖
c. 回復(fù)/點(diǎn)贊
d. 搜索功能
e.個(gè)人中心
f. 版本更新
g.收藏
h. 其他
預(yù)覽:


1.png

web前端項(xiàng)目
基于vue.js,技術(shù)棧:vue+vuex+vue Router+scss
主要模塊:
a. 登錄/注冊(cè)
b. 發(fā)帖
c. 回復(fù)/點(diǎn)贊
d.搜索
e.公告面板
f. 發(fā)一條說說
g. 個(gè)人中心
h.其他
預(yù)覽:


2.jpg

管理后臺(tái)
基于vue.js,技術(shù)棧:vue+vuex+vue Router+element
主要模塊:
a. 用戶管理
b. 帖子管理
c. 評(píng)論管理
d. 公告面板/說說管理
e. banner管理
f 禁言功能
g. 圖片管理
h. 用戶權(quán)限
i. 管理員權(quán)限
j. 其他
預(yù)覽:


3.jpg
  1. 項(xiàng)目部署
    版本
    IED IntelliJ IDEA
    tomcat 7.0.91
    maven 3.5.4
    jdk 1.8.0
    mysql 5.7.19
    spring 4.1.3
    mybatis 3.2.8
    os CentOs 6.5
    nginx 1.12.2

  2. 說明
    1.mysql數(shù)據(jù)庫,見項(xiàng)目根目錄wcdog.sql,需手動(dòng)導(dǎo)入,可自行添加數(shù)據(jù)
    2.注意tomcat端口,管理系統(tǒng)和H5前端baseUrl均為8081端口,也可以自行修改。
    3.使用管理后臺(tái)(wcdog-manager)新增joke的時(shí)候,注意使用的是y_user表中的user_id,所以需要
    在y_user表中有一個(gè)和y_admin相同user_id的用戶,當(dāng)然,也可以在adminMapper中新增addJoke方
    法(我懶得寫了,共用的一個(gè)-_-!!);

  3. db

## User表
create table y_user(
id int(11) unsigned not null auto_increment,
user_id varchar(18) not null,
name varchar(20) not null unique,
password varchar(20) not null,
nickname varchar(20) not null,
user_icon varchar(255) DEFAULT NULL,
talk varchar(300),
address varchar(100),
token varchar(100),
regist_time datetime,
last_login_time datetime,
banned tinyint(1)DEFAULT 0,
primary key(id)
) ENGINE=InnoDB DEFAULT CHARSET=UTF8;

## joke表
create table y_joke(
id int(11) unsigned not null auto_increment,
joke_id varchar(18) not null,
joke_user_id varchar(18) not null,
title varchar(255) not null,
content mediumtext,
contentHtml mediumtext,
cover_img varchar(255) DEFAULT NULL,
post_time datetime DEFAULT NULL,
art_like_count int(5) DEFAULT '0',
art_comment_count int(5) DEFAULT '0',
category varchar(4) DEFAULT NULL,
tags varchar(100) DEFAULT NULL,
primary key (id)
)ENGINE=InnoDB DEFAULT CHARSET=UTF8;

## joke點(diǎn)贊表
create table y_joke_like(
id int(11) unsigned not null auto_increment,
joke_id varchar(18) not null,
joke_user_id varchar(18),
approval_time datetime DEFAULT NULL,
primary key (id)
)ENGINE=InnoDB DEFAULT CHARSET=UTF8;

## joke評(píng)論表
create table y_joke_comment(
id int(11) unsigned not null auto_increment,
comment_id varchar(18) not null,
joke_id varchar(18),
comment_user_id varchar(18),
comment_details mediumtext,
comment_date datetime DEFAULT NULL,
primary key (id)
)ENGINE=InnoDB DEFAULT CHARSET=UTF8;

## 圖片
create table y_image(
id int(11) unsigned not null auto_increment,
user_id varchar(18) not null,
imgId varchar(18),
imgUrl varchar(255),
pageViews int(6),
size_type int(1),
upTime datetime DEFAULT NULL,
primary key (id)
)ENGINE=InnoDB DEFAULT CHARSET=UTF8;

## 首頁輪播
create table y_banner(
id int(11) unsigned not null auto_increment,
user_id varchar(18) not null,
articel_id varchar(18) not null,
title varchar(255),
img_url varchar(255),
article_url varchar(255),
pageViews int(6),
up_time datetime DEFAULT NULL,
primary key (id)
)ENGINE=InnoDB DEFAULT CHARSET=UTF8;

## 流量統(tǒng)計(jì)表
create table y_wcdog_flow(
id int(11) unsigned not null auto_increment,
classic_count int(5) DEFAULT '0',
yellow_count int(5) DEFAULT '0',
mind_count int(5) DEFAULT '0',
shite_count int(5) DEFAULT '0',
cold_count int(5) DEFAULT '0',
all_user_count int(5) DEFAULT '0',
all_admin_count int(5) DEFAULT '0',
all_joke_count int(5) DEFAULT '0',
all_comment_count int(5) DEFAULT '0',
all_thumb_count int(5) DEFAULT '0',
post_time datetime DEFAULT NULL,
primary key (id)
)ENGINE=InnoDB DEFAULT CHARSET=UTF8;

## Admin表
create table y_admin(
id int(11) unsigned not null auto_increment,
name varchar(20) not null unique,
password varchar(20) not null,
nickname varchar(20) not null,
admin_id varchar(18) not null,
admin_icon varchar(255) DEFAULT NULL,
permisson varchar(255) DEFAULT NULL,
token varchar(100),
regist_time datetime,
last_login_time datetime,
primary key(id)
) ENGINE=InnoDB DEFAULT CHARSET=UTF8;

## 說說列表
create table y_talk_list(
id int(11) unsigned not null auto_increment,
talk_id varchar(18) not null,
user_id varchar(18) DEFAULT NULL,
talk varchar(100),
send_time datetime,
primary key(id)
) ENGINE=InnoDB DEFAULT CHARSET=UTF8;

## 公告欄表
create table y_plank(
id int(11) unsigned not null auto_increment,
plank_id varchar(18) not null,
content varchar(300) DEFAULT NULL,
send_time datetime,
primary key(id)
) ENGINE=InnoDB DEFAULT CHARSET=UTF8;

## apk版本
create table y_apk(
id int(11) unsigned not null auto_increment,
apk_id varchar(18) not null,
apk_version varchar(20)not null,
apk_url varchar(255)not null,
apk_code int(5)not null,
content varchar(300) not null,
send_time datetime,
primary key(id)
) ENGINE=InnoDB DEFAULT CHARSET=UTF8;

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

推薦閱讀更多精彩內(nèi)容