七牛云改回本地储存,由于七牛云发帖会过慢--图片是统一传好后再发布-非常慢
七牛云改回本地储存,由于七牛云发帖会过慢--图片是统一传好后再发布-非常慢,发帖是变慢了太多。
方法记录:
二、远程转到本地
后台关闭远程附件设置,将附件移动到本地服务器的 data/attachment目录后执行sql即可
0表示本地,1表示远程
update pre_forum_attachment_0 set remote=0 where remote=1;
update pre_forum_attachment_1 set remote=0 where remote=1;
update pre_forum_attachment_2 set remote=0 where remote=1;
update pre_forum_attachment_3 set remote=0 where remote=1;
update pre_forum_attachment_4 set remote=0 where remote=1;
update pre_forum_attachment_5 set remote=0 where remote=1;
update pre_forum_attachment_6 set remote=0 where remote=1;
update pre_forum_attachment_7 set remote=0 where remote=1;
update pre_forum_attachment_8 set remote=0 where remote=1;
update pre_forum_attachment_9 set remote=0 where remote=1;
update pre_portal_article_title set remote=0 where remote=1;
update pre_portal_attachment set remote=0 where remote=1;
update pre_portal_topic_pic set remote=0 where remote=1;
update pre_home_pic set remote=0 where remote=1;
update pre_home_pic set remote=2 where remote=3;
|
|
|
|
|
已经执行完所有链接指向,现在就差一个步骤,迁移附件回服务器本地,详细教程已经发布到 csdn---------大家可以观看。
地址:
|
|
|
发表于 2020-11-30 14:28:50
举报
回复
|
|
|
|
发表于 2020-11-26 16:49:32
举报
回复
|
|
|
|
发表于 2020-11-26 15:31:07
举报
回复
|
|