想了解一下各端项目的同志能够看看,空余时间写了个相似新闻发布系统的小项目,本项目包含前端、后端、移动端三端应用,这里和你们交流交流,有兴趣的能够看看,欢迎讨论。css
本项目基于SSM架构,包含新闻发布系统常规功能,同时,本项目包含前端、后端、移动端三端应用, 至关于一套简陋而全面的各端项目集合。
前端
新闻发布系统(wcdog):github.com/xandone/wcd…
Android端(wcdog-app):github.com/xandone/wcd…
web端(wcdog-web):github.com/xandone/wcd…
管理后台(wcdog-manager):github.com/xandone/wcd…vue
移动端app(Android)
基于MVP架构,技术栈:MVP+Material+retrofit2+Rx.. 主要模块: a.登陆/注册 b. 发帖 c. 回复/点赞 d. 搜索功能 e.我的中心 f. 版本更新 g.收藏 h. 其余 预览: mysql
web前端项目
基于vue.js,技术栈:vue+vuex+vue Router+scss
主要模块:
a. 登陆/注册 b. 发帖 c. 回复/点赞 d.搜索 e.公告面板 f. 发一条说说 g. 我的中心 h.其余 预览: nginx
管理后台
基于vue.js,技术栈:vue+vuex+vue Router+element
主要模块:
a. 用户管理 b. 帖子管理 c. 评论管理 d. 公告面板/说说管理 e. banner管理 f 禁言功能 g. 图片管理 h. 用户权限 i. 管理员权限 j. 其余 预览: git
版本
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.2github
1.mysql数据库,见项目根目录wcdog.sql,需手动导入,可自行添加数据 2.注意tomcat端口,管理系统和H5前端baseUrl均为8081端口,也能够自行修改。 3.使用管理后台(wcdog-manager)新增joke的时候,注意使用的是y_user表中的user_id,因此须要 在y_user表中有一个和y_admin相同user_id的用户,固然,也能够在adminMapper中新增addJoke方 法(我懒得写了,共用的一个-_-!!);web
## 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点赞表
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评论表
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;
## 流量统计表
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;
复制代码