此套源码是一朋友分享给我的。经初步测试功能大体完整可用。没有做任何删减与修改。
但不保证源码本身还存在其它小BUG。有需要者请自行检查与修复请酌情考虑是否需要
按教程搭建即可使用
服务器环境:宝塔Linux、Nginx1.18、MySQL 5.6、php5.6
第1步上传程序到服务器,
第2步修改数据库文件,config/config.php
第3步,导入数据,data/data.sql
打开数据库yjcode_control,将weburlv字段里网址改成你自己的,记得要加上反斜杠,如:http://maa.3332888.cn/ 这种格式
第4步,修改熊掌号地址,文件 user/ baidu.php 把里面的这个域名 maa.3332888.cn 改为自己的
第5步,后台地址,http://你的域名/admin_wbs 账号 admin 密码 admin888 登录后尽快修改密码
第6步 进入后台以后基本设置修改网址, 改为自己的 然后清空缓冲即可,
第7步 后台修改信息需要在后台右上角清理缓存,前台才能看到效果
第8步 后台修改信息需要在后台右上角清理缓存,前台才能看到效果
第9步 后台修改信息需要在后台右上角清理缓存,前台才能看到效果
后台地址,http://你的域名/admin_wbs 测试账号 wbsmb 密码 admin888 (操作员权限)
后台插件生成虚拟用户时用一用
随机数字生成https://tool.ip138.com/random/
技术支持QQ:307495904
www.u94i.cn 极速商城
www.wnmzf.com 蜗牛码支付
www.eawz.cn 蜗牛易支付
关于我们 广告合作 联系我们 隐私条款 免责声明页面404
处理方法:
伪静态加上规则既可
Nginx规则加上下面这条既可
rewrite ^/(.*)/(.*)view(.*).html /$1/$2view.php?id=$3 last;
Nginx伪静态文件
rewrite vip(.*) /shop/view.php?str=$1 last;
rewrite ^/(.*)/search(.*).html /$1/index.php?str=$2 last;
rewrite ^/(.*)/view([0-9]*).html /$1/view.php?id=$2 last;
rewrite ^/(.*)/(.*)list(.*).html /$1/$2list.php?str=$3 last;
rewrite ^/(.*)/(.*)view(.*).html /$1/$2view.php?id=$3 last;
if ($host = ‘wbsmb.com’ ) {
rewrite ^/(.*)$ http://maa.3332888.cn/$1 permanent;
}
注:红色部分换成你自己的网址,这块是用于301跳转的
附加内容:如果以上那段脚本处理代码无法生效,可以替换成以下的
rewrite ^(?i)/config/ueditor/php/upload/(.*).PHP /css/ last;
rewrite ^(?i)/config/ueditor/php/upload/(.*).asp /css/ last;
rewrite ^(?i)/config/ueditor/php/upload1/(.*).php /css/ last;
rewrite ^(?i)/config/ueditor/php/upload1/(.*).asp /css/ last;
rewrite ^(?i)/config/ueditor/php/upload2/(.*).php /css/ last;
rewrite ^(?i)/config/ueditor/php/upload2/(.*).asp /css/ last;
rewrite ^(?i)/config/ueditor/php/upload3/(.*).php /css/ last;
rewrite ^(?i)/config/ueditor/php/upload3/(.*).asp /css/ last;
rewrite ^(?i)/config/ueditor_mini/php/upload/(.*).php /css/ last;
rewrite ^(?i)/config/ueditor_mini/php/upload/(.*).asp /css/ last;
rewrite ^(?i)/config/ueditor_mini/php/upload1/(.*).php /css/ last;
rewrite ^(?i)/config/ueditor_mini/php/upload1/(.*).asp /css/ last;
rewrite ^(?i)/config/ueditor_mini/php/upload2/(.*).php /css/ last;
rewrite ^(?i)/config/ueditor_mini/php/upload2/(.*).asp /css/ last;
rewrite ^(?i)/config/ueditor_mini/php/upload3/(.*).php /css/ last;
rewrite ^(?i)/config/ueditor_mini/php/upload3/(.*).asp /css/ last;
rewrite ^(?i)/ad/(.*).php /css/ last;
rewrite ^(?i)/ad/(.*).asp /css/ last;
rewrite ^(?i)/css/(.*).php /css/ last;
rewrite ^(?i)/css/(.*).asp /css/ last;
rewrite ^(?i)/js/(.*).php /css/ last;
rewrite ^(?i)/js/(.*).asp /css/ last;
rewrite ^(?i)/homeimg/(.*).php /css/ last;
rewrite ^(?i)/homeimg/(.*).asp /css/ last;
rewrite ^(?i)/gg/(.*).php /css/ last;
rewrite ^(?i)/gg/(.*).asp /css/ last;
rewrite ^(?i)/img/(.*).php /css/ last;
rewrite ^(?i)/img/(.*).asp /css/ last;
rewrite ^(?i)/upload/(.*).php /css/ last;
rewrite ^(?i)/upload/(.*).asp /css/ last;
rewrite ^(?i)/ckeditor/attached/(.*).php /css/ last;
rewrite ^(?i)/ckeditor/attached/(.*).asp /css/ last;
Apache 伪静态规则
RewriteEngine on
#RewriteBase /
RewriteCond %{HTTP_HOST} !^wbsmb.com$ [NC]
RewriteRule ^(.*)$http://www.wbsmb.com/$1 [L,R=301]
RewriteRule ^(.*)/search(.*).html /$1/index.php\?str=$2
RewriteRule ^(.*)/view([0-9]*).html /$1/view.php\?id=$2
RewriteRule ^(.*)/(.*)list(.*).html /$1/$2list.php\?str=$3
RewriteRule ^(.*)/(.*)view(.*).html /$1/$2view.php\?id=$3
RewriteRule ^product/([0-9]*).html(.*) /product/view.php\?id=$1
RewriteRule vip(.*) /shop/view.php\?str=$1
RewriteRule upload/(.*).(PHP)$ [L,NC]
RewriteRule upload/(.*).(asp)$ [L,NC]
RewriteRule upload1/(.*).(php)$ [L,NC]
RewriteRule upload1/(.*).(asp)$ [L,NC]
RewriteRule upload2/(.*).(php)$ [L,NC]
RewriteRule upload2/(.*).(asp)$ [L,NC]
RewriteRule upload3/(.*).(php)$ [L,NC]
RewriteRule upload3/(.*).(asp)$ [L,NC]
RewriteRule ad/(.*).(asp)$ – [L,NC]
RewriteRule ad/(.*).(php)$ – [L,NC]
RewriteRule gg/(.*).(asp)$ – [L,NC]
RewriteRule gg/(.*).(php)$ – [L,NC]
RewriteRule uploadfile/(.*).(php)$ [L,NC]
RewriteRule uploadfile/(.*).(asp)$ [L,NC]
RewriteRule userphoto/(.*).(php)$ [L,NC]
RewriteRule userphoto/(.*).(asp)$ [L,NC]
RewriteRule attached/(.*).(php)$ [L,NC]
RewriteRule attached/(.*).(asp)$ [L,NC]
RewriteRule img/(.*).(php)$ [L,NC]
RewriteRule img/(.*).(asp)$ [L,NC]
RewriteRule upload/(.*).(php)$ – [L,NC]
RewriteRule config/ueditor_mini/php/upload/(.*).(php)$ – [L,NC]
RewriteRule config/ueditor_mini/php/upload/(.*).(asp)$ – [L,NC]
RewriteRule config/ueditor/php/upload/(.*).(php)$ – [L,NC]
RewriteRule config/ueditor/php/upload/(.*).(asp)$ – [L,NC]
RewriteRule homeimg/(.*).(php)$ – [L,NC]
RewriteRule homeimg/(.*).(asp)$ – [L,NC]
RewriteRule js/(.*).(php)$ – [L,NC]
RewriteRule js/(.*).(asp)$ – [L,NC]
RewriteRule css/(.*).(php)$ – [L,NC]
RewriteRule css/(.*).(asp)$ – [L,NC]