狂雨小说1.2.3

狂雨小说1.2.3

在这里插入图片描述
注:手机模板失效
演示地址:book.luoxian.xyz
基于 ThankPHP + Mysql 所开发
狂雨cms源码:
链接:https://pan.baidu.com/s/1vJk_b6ONNXUaJ2qa3yroog 提取码:w8f5

搭建环境
本机环境:
    PHP:   7.3
    Mysql: 5.6
    
1.PHP要求5.6版本以上,低于5.6版本无法运行 支持php7
2.网站必须配置好伪静态(.htaccess为Apache伪静态配置文件,kyxscms.conf为Nginx伪静态配置文件)
3.需要安装扩展 fileinfo
Step1:配置nginx伪静态规则
	server {
            listen 80;
            server_name book.luoxian.xyz;

            location / {
                         root /book;
                         index index.php index.html index.htm default.php default.htm default.html;
			             if (!-e $request_filename){
				            rewrite  ^(.*)$  /index.php?s=$1  last;   break;
			             }
		    }
	        location ~ \.php$ {
                         root           /book;
                         fastcgi_pass   127.0.0.1:9000;
                         fastcgi_index  index.php;
                         fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
                         include        fastcgi_params;
            }
        }

Step2:上传到网站根目录解压

访问域名或服务器IP,初始化网站配置:
    book.luoxian.xyz
1、自用采集规则
INSERT INTO `ky_collect` VALUES
(10010,'www.rmxs8.com','auto','novel',1,0,0,'[{\"url\":\"https://www.rmxs8.com/leixing_1_[内容]/\",\"type\":\"1\",\"param\":[\"1\",\"50\",\"1\",0]},{\"url\":\"https://www.rmxs8.com/leixing_2_[内容]/\",\"type\":\"1\",\"param\":[\"1\",\"50\",\"1\",0]},{\"url\":\"https://www.rmxs8.com/leixing_3_[内容]/\",\"type\":\"1\",\"param\":[\"1\",\"50\",\"1\",0]},{\"url\":\"https://www.rmxs8.com/leixing_4_[内容]/\",\"type\":\"1\",\"param\":[\"1\",\"50\",\"1\",0]},{\"url\":\"https://www.rmxs8.com/leixing_5_[内容]/\",\"type\":\"1\",\"param\":[\"1\",\"50\",\"1\",0]},{\"url\":\"https://www.rmxs8.com/leixing_6_[内容]/\",\"type\":\"1\",\"param\":[\"1\",\"50\",\"1\",0]},{\"url\":\"https://www.rmxs8.com/leixing_7_[内容]/\",\"type\":\"1\",\"param\":[\"1\",\"50\",\"1\",0]},{\"url\":\"https://www.rmxs8.com/leixing_8_[内容]/\",\"type\":\"1\",\"param\":[\"1\",\"50\",\"1\",0]},{\"url\":\"https://www.rmxs8.com/leixing_9_[内容]/\",\"type\":\"1\",\"param\":[\"1\",\"32\",\"1\",0]},{\"url\":\"https://www.rmxs8.com/leixing_10_[内容]/\",\"type\":\"1\",\"param\":[\"1\",\"50\",\"1\",0]},{\"url\":\"https://www.rmxs8.com/leixing_11_[内容]/\",\"type\":\"1\",\"param\":[\"1\",\"50\",\"1\",0]},{\"url\":\"https://www.rmxs8.com/leixing_12_[内容]/\",\"type\":\"1\",\"param\":[\"1\",\"50\",\"1\",0]},{\"url\":\"https://www.rmxs8.com/leixing_13_[内容]/\",\"type\":\"1\",\"param\":[\"1\",\"50\",\"1\",0]},{\"url\":\"https://www.rmxs8.com/leixing_14_[内容]/\",\"type\":\"1\",\"param\":[\"1\",\"25\",\"1\",0]},{\"url\":\"https://www.rmxs8.com/leixing_15_[内容]/\",\"type\":\"1\",\"param\":[\"1\",\"50\",\"1\",0]},{\"url\":\"https://www.rmxs8.com/leixing_16_[内容]/\",\"type\":\"1\",\"param\":[\"1\",\"42\",\"1\",0]},{\"url\":\"https://www.rmxs8.com/leixing_17_[内容]/\",\"type\":\"1\",\"param\":[\"1\",\"9\",\"1\",0]},{\"url\":\"https://www.rmxs8.com/leixing_18_[内容]/\",\"type\":\"1\",\"param\":[\"1\",\"9\",\"1\",0]}]','<div id=\"newscontent\">[内容]</div>','<span class=\"s2\"><a href=\"[内容1]\">','','','','[{\"title\":\"章节页\",\"page\":\"default\",\"chapter\":\"1\",\"section\":\"<h2 class=\\\"book_article_texttitle\\\">[内容]</div>\",\"url_rule\":\"<dd><a href=\\\"[内容1]\\\">[章节标题]</a></dd>\",\"url_merge\":\"\"}]','{\"category\":{\"field\":\"category\",\"source\":\"default\",\"rule\":\"<meta property=\\\"og:novel:category\\\" content=\\\"[内容1]\\\" \\/>\",\"merge\":\"\",\"strip\":\"\"},\"title\":{\"field\":\"title\",\"source\":\"default\",\"rule\":\"<meta property=\\\"og:novel:book_name\\\" content=\\\"[内容1]\\\" \\/>\",\"merge\":\"\",\"strip\":\"\",\"replace\":\"\"},\"author\":{\"field\":\"author\",\"source\":\"default\",\"rule\":\"<meta property=\\\"og:novel:author\\\" content=\\\"[内容1]\\\" \\/>\",\"merge\":\"\",\"strip\":\"\",\"replace\":\"\"},\"serialize\":{\"field\":\"serialize\",\"source\":\"default\",\"rule\":\"([内容1])<\\/div>\",\"merge\":\"\",\"serial\":\"连载中\",\"over\":\"完结\",\"strip\":\"\",\"replace\":\"\"},\"pic\":{\"field\":\"pic\",\"source\":\"default\",\"rule\":\"<meta property=\\\"og:image\\\" content=\\\"[内容1]\\\" \\/>\",\"merge\":\"\",\"strip\":\"\",\"replace\":\"\"},\"content\":{\"field\":\"content\",\"source\":\"default\",\"rule\":\"免费阅读和txt下载:[内容1]\\\">\",\"merge\":\"\",\"strip\":\"\",\"replace\":\"[]\"},\"tag\":{\"field\":\"tag\",\"source\":\"default\",\"rule\":\"<meta name=\\\"keywords\\\" content=\\\"[内容1]\\\">\",\"merge\":\"\",\"strip\":\"\",\"replace\":\"\"},\"chapter_title\":{\"field\":\"chapter_title\",\"source\":\"0\",\"rule\":\"var chapter_name = \\\"[内容1]\\\";\",\"merge\":\"\",\"strip\":\"\",\"replace\":\"\"},\"chapter_content\":{\"field\":\"chapter_content\",\"source\":\"0\",\"rule\":\"<br \\/>(*)[内容1]<p>(.*)最新章节地址\",\"merge\":\"\",\"strip\":\"\",\"replace\":\"[{\\\"find\\\":\\\"<br \\/>\\\",\\\"replaces\\\":\\\"\\\"}]\"}}',0,0,'[{\"target\":\"玄幻奇幻\",\"local\":\"18\"},{\"target\":\"武侠仙侠\",\"local\":\"19\"},{\"target\":\"都市生活\",\"local\":\"21\"},{\"target\":\"历史军事\",\"local\":\"20\"},{\"target\":\"游戏竞技\",\"local\":\"34\"},{\"target\":\"科幻未来\",\"local\":\"22\"},{\"target\":\"恐怖悬疑\",\"local\":\"23\"},{\"target\":\"二次元\",\"local\":\"35\"},{\"target\":\"经典网文\",\"local\":\"27\"},{\"target\":\"古代言情\",\"local\":\"25\"},{\"target\":\"现代言情\",\"local\":\"26\"},{\"target\":\"幻想奇缘\",\"local\":\"28\"},{\"target\":\"青春校园\",\"local\":\"26\"},{\"target\":\"网络情缘\",\"local\":\"28\"},{\"target\":\"科幻空间\",\"local\":\"37\"},{\"target\":\"鬼怪灵异\",\"local\":\"23\"},{\"target\":\"N次元\",\"local\":\"39\"},{\"target\":\"言情美文\",\"local\":\"26\"}]',1,1562752316,1595897933,1596095782,0),
(10043,'http://www.shuquge.com/','auto','novel',1,0,0,'[{\"url\":\"http://www.shuquge.com/category/1_[内容].html\",\"type\":\"1\",\"param\":[\"1\",\"1227\",\"1\",0]},{\"url\":\"http://www.shuquge.com/category/2_[内容].html\",\"type\":\"1\",\"param\":[\"1\",\"317\",\"1\",0]},{\"url\":\"http://www.shuquge.com/category/3_[内容].html\",\"type\":\"1\",\"param\":[\"1\",\"853\",\"1\",0]},{\"url\":\"http://www.shuquge.com/category/4_[内容].html\",\"type\":\"1\",\"param\":[\"1\",\"230\",\"1\",0]},{\"url\":\"http://www.shuquge.com/category/7_[内容].html\",\"type\":\"1\",\"param\":[\"1\",\"308\",\"1\",0]}]','<body>[内容]</body>','<li><span class=\"s1\">(*)</span><span class=\"s2\"><a href=\"[内容1]\">(*)</a></span>','','','','[{\"title\":\"章节页\",\"page\":\"default\",\"chapter\":\"1\",\"section\":\"正文卷</dt>[内容]</div>\",\"url_rule\":\"<dd><a href=\\\"[内容1]\\\">[章节标题]</a></dd>\",\"url_merge\":\"\"}]','{\"category\":{\"field\":\"category\",\"source\":\"default\",\"rule\":\"<meta property=\\\"og:novel:category\\\" content=\\\"[内容1]\\\" \\/> \",\"merge\":\"\",\"strip\":\"\"},\"title\":{\"field\":\"title\",\"source\":\"default\",\"rule\":\"<meta property=\\\"og:novel:book_name\\\" content=\\\"[内容1]\\\" \\/> \",\"merge\":\"\",\"strip\":\"\",\"replace\":\"\"},\"author\":{\"field\":\"author\",\"source\":\"default\",\"rule\":\"<meta property=\\\"og:novel:author\\\" content=\\\"[内容1]\\\" \\/> \",\"merge\":\"\",\"strip\":\"\",\"replace\":\"\"},\"serialize\":{\"field\":\"serialize\",\"source\":\"default\",\"rule\":\"<meta property=\\\"og:novel:status\\\" content=\\\"[内容1]\\\" \\/>\",\"merge\":\"\",\"serial\":\"连载中\",\"over\":\"完结\",\"strip\":\"\",\"replace\":\"\"},\"pic\":{\"field\":\"pic\",\"source\":\"default\",\"rule\":\" <meta property=\\\"og:image\\\" content=\\\"[内容1]\\\" \\/> \",\"merge\":\"\",\"strip\":\"\",\"replace\":\"\"},\"content\":{\"field\":\"content\",\"source\":\"default\",\"rule\":\" <meta property=\\\"og:description\\\" content=\\\" [内容1]\\\" \\/> \",\"merge\":\"\",\"strip\":\"\",\"replace\":\"\"},\"tag\":{\"field\":\"tag\",\"source\":\"default\",\"rule\":\"<meta property=\\\"og:title\\\" content=\\\"[内容1]\\\" \\/> \",\"merge\":\"\",\"strip\":\"\",\"replace\":\"\"},\"chapter_title\":{\"field\":\"chapter_title\",\"source\":\"0\",\"rule\":\"<h1>[内容1]<\\/h1>\",\"merge\":\"\",\"strip\":\"\",\"replace\":\"\"},\"chapter_content\":{\"field\":\"chapter_content\",\"source\":\"0\",\"rule\":\"<div id=\\\"content\\\" class=\\\"showtxt\\\">[内容1]<br \\/>\",\"merge\":\"\",\"strip\":\"\",\"replace\":\"[{\\\"find\\\":\\\"<br\\/>\\\",\\\"replaces\\\":\\\"\\\"}]\"}}',0,0,'[{\"target\":\"玄幻魔法\",\"local\":\"18\"},{\"target\":\"武侠修真\",\"local\":\"19\"},{\"target\":\"都市言情\",\"local\":\"21\"},{\"target\":\"历史军事\",\"local\":\"20\"},{\"target\":\"科幻灵异\",\"local\":\"22\"}]',1,1586771330,1594821930,1596096860,0),
(10044,'天籁','auto','novel',1,0,0,'[{\"url\":\"https://www.tlxs.com/xuanhuan/[内容].html\",\"type\":\"1\",\"param\":[\"1\",\"183\",\"1\",0]}]','<div class=\"fl_right\">[内容]<div class=\"right\">','<h3><a href=\"[内容1]\">','[内容1]','','','[{\"title\":\"章节页\",\"page\":\"default\",\"chapter\":\"1\",\"section\":\"<h3><a>全部章节</a></h3>[内容]<div class=\\\"yb\\\">\",\"url_rule\":\"<li><a href=\\\"[内容1]\\\">[章节标题]</a></li>\",\"url_merge\":\"\"}]','{\"category\":{\"field\":\"category\",\"source\":\"default\",\"rule\":\"<meta property=\\\"og:novel:category\\\" content=\\\"[内容1]\\\" \\/>\",\"merge\":\"\",\"strip\":\"\"},\"title\":{\"field\":\"title\",\"source\":\"default\",\"rule\":\"<h1>[内容1]<\\/h1>\",\"merge\":\"\",\"strip\":\"\",\"replace\":\"\"},\"author\":{\"field\":\"author\",\"source\":\"default\",\"rule\":\"<meta property=\\\"og:novel:author\\\" content=\\\"[内容1]\\\" \\/>\",\"merge\":\"\",\"strip\":\"\",\"replace\":\"\"},\"serialize\":{\"field\":\"serialize\",\"source\":\"default\",\"rule\":\"<span>状态:[内容1]<\\/span>\",\"merge\":\"\",\"serial\":\"连载中\",\"over\":\"完结\",\"strip\":\"\",\"replace\":\"\"},\"pic\":{\"field\":\"pic\",\"source\":\"default\",\"rule\":\"<div class=\\\"pic\\\"><img src=\\\"[内容1]\\\"\",\"merge\":\"\",\"strip\":\"\",\"replace\":\"\"},\"content\":{\"field\":\"content\",\"source\":\"default\",\"rule\":\"<p class=\\\"jj\\\">[内容1]<\\/p>\",\"merge\":\"\",\"strip\":\"\",\"replace\":\"\"},\"tag\":{\"field\":\"tag\",\"source\":\"default\",\"rule\":\"<h1>[内容1]<\\/h1>\",\"merge\":\"\",\"strip\":\"\",\"replace\":\"\"},\"chapter_title\":{\"field\":\"chapter_title\",\"source\":\"0\",\"rule\":\"<h3>[内容1]<\\/h3>\",\"merge\":\"\",\"strip\":\"\",\"replace\":\"\"},\"chapter_content\":{\"field\":\"chapter_content\",\"source\":\"0\",\"rule\":\"天才一秒记住「天籁小说」地址:www.tlxs.com[内容1]PS:如果您觉得本站还不错,请您向朋友推荐分享下,谢谢!\",\"merge\":\"\",\"strip\":\"\",\"replace\":\"[{\\\"find\\\":\\\"笔@趣@阁wWw。biqUgE。info\\\",\\\"replaces\\\":\\\"\\\"},{\\\"find\\\":\\\"<br\\/>\\\",\\\"replaces\\\":\\\"\\\\n\\\"}]\"}}',0,4,'[{\"target\":\"玄幻小说\",\"local\":\"18\"}]',1,1596082298,1596082750,1596095632,0),
(10045,'http://www.biquge.info/','auto','novel',1,0,0,'[{\"url\":\"http://www.biquge.info/list/1_[内容].html\",\"type\":\"1\",\"param\":[\"1\",\"637\",\"1\",0]},{\"url\":\"http://www.biquge.info/list/2_[内容].html\",\"type\":\"1\",\"param\":[\"1\",\"266\",\"1\",0]},{\"url\":\"http://www.biquge.info/list/3_[内容].html\",\"type\":\"1\",\"param\":[\"1\",\"878\",\"1\",0]},{\"url\":\"http://www.biquge.info/list/4_[内容].html\",\"type\":\"1\",\"param\":[\"1\",\"192\",\"1\",0]},{\"url\":\"http://www.biquge.info/list/5_[内容].html\",\"type\":\"1\",\"param\":[\"1\",\"216\",\"1\",0]},{\"url\":\"http://www.biquge.info/list/6_[内容].html\",\"type\":\"1\",\"param\":[\"1\",\"756\",\"1\",0]}]','<div id=\"hotcontent\">[内容]<div class=\"r\">','<span class=\"s2\"><a href=\"[内容1]\">','[内容1]','','','[{\"title\":\"章节页\",\"page\":\"default\",\"chapter\":\"1\",\"section\":\"<dl>[内容]</dl>\",\"url_rule\":\"<dd><a href=\\\"[内容1]\\\" title=\\\"[章节标题]\\\">(*)</a></dd>\",\"url_merge\":\"\"}]','{\"category\":{\"field\":\"category\",\"source\":\"default\",\"rule\":\"<meta property=\\\"og:novel:category\\\" content=\\\"[内容1]\\\"\\/>\",\"merge\":\"\",\"strip\":\"\"},\"title\":{\"field\":\"title\",\"source\":\"default\",\"rule\":\"<meta property=\\\"og:novel:book_name\\\" content=\\\"[内容1]\\\"\\/>\",\"merge\":\"\",\"strip\":\"\",\"replace\":\"\"},\"author\":{\"field\":\"author\",\"source\":\"default\",\"rule\":\"<meta property=\\\"og:novel:author\\\" content=\\\"[内容1]\\\"\\/>\",\"merge\":\"\",\"strip\":\"\",\"replace\":\"\"},\"serialize\":{\"field\":\"serialize\",\"source\":\"default\",\"rule\":\"<meta property=\\\"og:novel:status\\\" content=\\\"[内容1]\\\"\\/>\",\"merge\":\"\",\"serial\":\"连载中\",\"over\":\"完结\",\"strip\":\"\",\"replace\":\"\"},\"pic\":{\"field\":\"pic\",\"source\":\"default\",\"rule\":\"<meta property=\\\"og:image\\\" content=\\\"[内容1]\\\"\\/>\",\"merge\":\"\",\"strip\":\"\",\"replace\":\"\"},\"content\":{\"field\":\"content\",\"source\":\"default\",\"rule\":\"<div id=\\\"intro\\\">\\n<p>[内容1]<\\/p>\\n<p>本站提示\",\"merge\":\"\",\"strip\":\"\",\"replace\":\"\"},\"tag\":{\"field\":\"tag\",\"source\":\"default\",\"rule\":\"<meta property=\\\"og:novel:category\\\" content=\\\"[内容1]\\\"\\/>\",\"merge\":\"\",\"strip\":\"\",\"replace\":\"\"},\"chapter_title\":{\"field\":\"chapter_title\",\"source\":\"0\",\"rule\":\"<h1>[内容1]<\\/h1>\",\"merge\":\"\",\"strip\":\"\",\"replace\":\"\"},\"chapter_content\":{\"field\":\"chapter_content\",\"source\":\"0\",\"rule\":\"<!--go-->[内容1]<!--over-->\",\"merge\":\"\",\"strip\":\"\",\"replace\":\"[{\\\"find\\\":\\\"<br\\/>\\\",\\\"replaces\\\":\\\"\\\"}]\"}}',0,4,'[{\"target\":\"玄幻小说\",\"local\":\"18\"},{\"target\":\"修真小说\",\"local\":\"19\"},{\"target\":\"都市小说\",\"local\":\"21\"},{\"target\":\"穿越小说\",\"local\":\"35\"},{\"target\":\"网游小说\",\"local\":\"34\"},{\"target\":\"科幻小说\",\"local\":\"22\"}]',1,1596099945,1596100351,1596100357,0),
(10046,'笔趣阁排行榜','auto','novel',1,0,0,'[{\"url\":\"http://www.biquge.info/paihangbang_allvisit/[内容].html\",\"type\":\"1\",\"param\":[\"1\",\"2942\",\"1\",0]}]','<div class=\"novelslistss\">[内容]','<span class=\"s2\"><a href=\"[内容1]\">','[内容1]','','','[{\"title\":\"章节页\",\"page\":\"default\",\"chapter\":\"1\",\"section\":\"<dl>[内容]</dl>\",\"url_rule\":\"<dd><a href=\\\"[内容1]\\\" title=\\\"[章节标题]\\\">(*)</a></dd>\",\"url_merge\":\"\"}]','{\"category\":{\"field\":\"category\",\"source\":\"default\",\"rule\":\"<meta property=\\\"og:novel:category\\\" content=\\\"[内容1]\\\"\\/>\",\"merge\":\"\",\"strip\":\"\"},\"title\":{\"field\":\"title\",\"source\":\"default\",\"rule\":\"<meta property=\\\"og:novel:book_name\\\" content=\\\"[内容1]\\\"\\/>\",\"merge\":\"\",\"strip\":\"\",\"replace\":\"\"},\"author\":{\"field\":\"author\",\"source\":\"default\",\"rule\":\"<meta property=\\\"og:novel:author\\\" content=\\\"[内容1]\\\"\\/>\",\"merge\":\"\",\"strip\":\"\",\"replace\":\"\"},\"serialize\":{\"field\":\"serialize\",\"source\":\"default\",\"rule\":\"<meta property=\\\"og:novel:status\\\" content=\\\"[内容1]\\\"\\/>\",\"merge\":\"\",\"serial\":\"连载中\",\"over\":\"完结\",\"strip\":\"\",\"replace\":\"\"},\"pic\":{\"field\":\"pic\",\"source\":\"default\",\"rule\":\"<meta property=\\\"og:image\\\" content=\\\"[内容1]\\\"\\/>\",\"merge\":\"\",\"strip\":\"\",\"replace\":\"\"},\"content\":{\"field\":\"content\",\"source\":\"default\",\"rule\":\"<meta property=\\\"og:description\\\" content=\\\"[内容1]\\\"\\/>\",\"merge\":\"\",\"strip\":\"\",\"replace\":\"\"},\"tag\":{\"field\":\"tag\",\"source\":\"default\",\"rule\":\"<meta property=\\\"og:novel:category\\\" content=\\\"[内容1]\\\"\\/>\",\"merge\":\"\",\"strip\":\"\",\"replace\":\"\"},\"chapter_title\":{\"field\":\"chapter_title\",\"source\":\"0\",\"rule\":\"<h1>[内容1]<\\/h1>\",\"merge\":\"\",\"strip\":\"\",\"replace\":\"\"},\"chapter_content\":{\"field\":\"chapter_content\",\"source\":\"0\",\"rule\":\"<!--go-->[内容1]<!--over-->\",\"merge\":\"\",\"strip\":\"\",\"replace\":\"[{\\\"find\\\":\\\"笔@趣@阁wWw。biqUgE。info\\\",\\\"replaces\\\":\\\"\\\"},{\\\"find\\\":\\\"<br\\/>\\\",\\\"replaces\\\":\\\"\\\\n\\\"}]\"}}',0,0,'[{\"target\":\"玄幻小说\",\"local\":\"18\"},{\"target\":\"修真小说\",\"local\":\"19\"},{\"target\":\"都市小说\",\"local\":\"21\"},{\"target\":\"穿越小说\",\"local\":\"35\"},{\"target\":\"网游小说\",\"local\":\"34\"},{\"target\":\"科幻小说\",\"local\":\"22\"}]',1,1596101266,1596102490,1596102655,0);

2、添加模板
上传模板到模板目录home下,执行sql
# 实例
truncate table ky_template;
INSERT INTO `ky_template` VALUES (1, 'default_web', '默认模版WEB', 1, 'kyxscms', '1.0.5', 0, 'web', 1);
INSERT INTO `ky_template` VALUES (2, 'default_wap', '默认模版Wap', 1, 'kyxscms', '1.0.4', 0, 'wap', 1);

©️2020 CSDN 皮肤主题: 数字20 设计师:CSDN官方博客 返回首页