找回密码
 立即注册

只需一扫,快速开始

QQ登录

只需一步,快速开始

搜索
查看: 23265|回复: 0

[技术经验] discuz批量将本地附件切换到远程附件的方法

[复制链接]

8万

主题

431

回帖

9万

积分

管理员

积分
94369
QQ
发表于 2016-11-29 15:46:03 | 显示全部楼层 |阅读模式
  1. update pre_portal_article_title set remote=1;
  2. update pre_portal_attachment set remote=1;
  3. update pre_portal_topic_pic set remote=1;
  4. update pre_home_pic set remote=1;
  5. update pre_forum_attachment_0 set remote =1;
  6. update pre_forum_attachment_1 set remote =1;
  7. update pre_forum_attachment_2 set remote =1;
  8. update pre_forum_attachment_3 set remote =1;
  9. update pre_forum_attachment_4 set remote =1;
  10. update pre_forum_attachment_5 set remote =1;
  11. update pre_forum_attachment_6 set remote =1;
  12. update pre_forum_attachment_7 set remote =1;
  13. update pre_forum_attachment_8 set remote =1;
  14. update pre_forum_attachment_9 set remote =1;
复制代码


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册   

本版积分规则

QQ|Archiver|手机版|小黑屋|站秘书 ( 蜀ICP备15034504号-3 )

GMT+8, 2024-4-20 23:58 , Processed in 0.093847 second(s), 44 queries .

Powered by Discuz! X3.5

Copyright © 2001-2024 Tencent Cloud.

快速回复 返回顶部 返回列表