小浣熊CMS
当前位置: 小浣熊 > 小浣熊漫画cms更新,新增文章模块

新增文章模块,并且文章可以关联具体漫画,非常有利于SEO,具体更新文件:

app/admin/controller/Articles.php
app/admin/view/articles/index.html
app/admin/view/pub/menu.html
app/index/controller/Articles.php
app/index/controller/Books.php
app/index/controller/Chapters.php
app/mobile/controller/Articles.php
app/mobile/controller/Chapters.php
app/model/Article.php
app/provider.php
app/service/ArticleService.php
app/service/BookService.php
public/static/images/stars.png
public/template/default/m/articles/index.html
public/template/default/m/articles/list.html
public/template/default/m/index/index.html
public/template/default/pc/articles/index.html
public/template/default/pc/articles/list.html
public/template/default/pc/index/index.html
route/index/route.php
route/mobile/route.php

数据库新增一张表,建表的SQL命令如下:

CREATE TABLE `xwx_article` (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`unique_id` char(100) DEFAULT NULL,
`title` varchar(200) NOT NULL,
`content_url` varchar(200) NOT NULL,
`desc` text,
`book_id` int(10) UNSIGNED DEFAULT NULL,
`create_time` int(10) UNSIGNED DEFAULT NULL,
`update_time` int(10) UNSIGNED DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
FULLTEXT KEY `title` (`title`) with parser ngram,
KEY `book_id`(`book_id`) USING BTREE,
KEY `unique_id`(`unique_id`) USING BTREE
) ENGINE = InnoDB ROW_FORMAT = Dynamic;

「梦想一旦被付诸行动,就会变得神圣,如果觉得我的文章对您有用,请帮助本站成长」

赞(0) 打赏

支付宝扫一扫打赏

微信扫一扫打赏

标签:

上一篇:

下一篇:

相关推荐

0 条评论关于"小浣熊漫画cms更新,新增文章模块"

最新评论

    暂无留言哦~~

博客简介

服务热线:
 

 QQ在线交流

 旺旺在线