{"id":1927,"date":"2018-10-22T14:58:29","date_gmt":"2018-10-22T06:58:29","guid":{"rendered":"https:\/\/www.baishitou.cn\/?p=1927"},"modified":"2018-10-22T15:00:26","modified_gmt":"2018-10-22T07:00:26","slug":"discuz-x3%e9%80%9a%e8%bf%87%e6%95%b0%e6%8d%ae%e5%ba%93%e6%89%b9%e9%87%8f%e6%9b%bf%e6%8d%a2%e4%bf%ae%e6%94%b9%e5%b8%96%e5%ad%90%e5%86%85%e5%ae%b9","status":"publish","type":"post","link":"https:\/\/www.baishitou.cn\/1927.html","title":{"rendered":"Discuz X3\u901a\u8fc7\u6570\u636e\u5e93\u6279\u91cf\u66ff\u6362\u4fee\u6539\u5e16\u5b50\u5185\u5bb9"},"content":{"rendered":"
\u4eca\u5929\u65e0\u610f\u4e2d\u53d1\u73b0\u8bba\u575b\u67d0\u4e2a\u680f\u76ee\u7684\u8d34\u5b50\u88ab\u6279\u91cf\u63d2\u5165\u5e7f\u544a\u4e86\u3002\u4e00\u4e2a\u4e00\u4e2a\u7684\u5220\u9664\u592a\u8d39\u52b2\uff0c\u53ea\u80fd\u5728\u6570\u636e\u5e93\u6279\u91cf\u66ff\u6362\u5220\u9664\u4e86\u3002Discuz X2\u8bba\u575b\u540e\u53f0\u63d0\u4f9b\u6570\u636e\u5e93SQL\u8bed\u53e5\u64cd\u4f5c\u7684\u529f\u80fd\uff0c\u4f46\u662f\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u51fa\u4e8e\u5b89\u5168\u8003\u8651\uff0c\u8be5\u529f\u80fd\u662f\u88ab\u5173\u95ed\u7684\uff0c\u6240\u4ee5\u5f97\u5148\u4fee\u6539\u4e0b\u914d\u7f6e\u6587\u4ef6\uff0c\u65b9\u6cd5\u5982\u4e0b\uff1a<\/p>\n
\u627e\u5230\u8bba\u575b\u7a0b\u5e8f\u6587\u4ef6config\/config_global.php\uff0c\u7528\u8bb0\u4e8b\u672c\u6253\u5f00\u8be5\u6587\u4ef6\uff0c\u7136\u540e\u67e5\u627e$_config['security']['querysafe']['status']\u5c06\u5176\u8bbe\u7f6e\u4e3a0\uff0c\u7ee7\u7eed\u67e5\u627e$_config['admincp']['runquery']\u5c06\u5176\u8bbe\u7f6e\u4e3a1\u5373\u53ef\u3002\uff08\u51fa\u4e8e\u5b89\u5168\u8003\u8651\uff0c\u5efa\u8bae\u6267\u884cSQL\u8bed\u53e5\u5b8c\u6bd5\u540e\u5c06\u8fd9\u4e24\u4e2a\u53c2\u6570\u7684\u503c\u518d\u6539\u56de\u6765\uff09<\/p>\n
\u7136\u540e\u8fdb\u5165\u7ba1\u7406\u540e\u53f0\u2192\u7ad9\u957f\u2192\u6570\u636e\u5e93\u2192\u5347\u7ea7\u00a0\u6267\u884c\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/p>\n
UPDATE pre_forum_post SET message=REPLACE(message,'\u9700\u8981\u66ff\u6362\u7684\u5185\u5bb9','\u66ff\u6362\u540e\u7684\u5185\u5bb9'); <\/code><\/pre>\n\u6211\u8fd9\u91cc\u9700\u8981\u66ff\u6362\u7684\u5b57\u7b26\u4e3a\uff1a\u0428\u0428\u00a0 \u90a3\u4e48\u5c31\u6267\u884c\u4ee5\u4e0b\u4ee3\u7801\u3002<\/p>\n