{"id":33763,"date":"2024-11-25T09:01:38","date_gmt":"2024-11-25T01:01:38","guid":{"rendered":"https:\/\/fwq.ai\/blog\/33763\/"},"modified":"2024-11-25T09:01:38","modified_gmt":"2024-11-25T01:01:38","slug":"%e5%b8%9d%e5%9b%bdcms%e4%b8%8a%e4%bc%a0%e5%9b%be%e7%89%87%e4%b8%8d%e6%98%be%e7%a4%ba%e6%80%8e%e4%b9%88%e5%8a%9e","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/33763\/","title":{"rendered":"\u5e1d\u56fdcms\u4e0a\u4f20\u56fe\u7247\u4e0d\u663e\u793a\u600e\u4e48\u529e"},"content":{"rendered":"<blockquote><p>\n  \u5e1d\u56fdcms\u4e0a\u4f20\u56fe\u7247\u4e0d\u663e\u793a\u7684\u89e3\u51b3\u65b9\u6cd5\u5305\u62ec\uff1a\u68c0\u67e5\u670d\u52a1\u5668\u6743\u9650\u3001\u68c0\u67e5\u6587\u4ef6\u8def\u5f84\u548curl\u3001\u68c0\u67e5\u7f29\u7565\u56fe\u751f\u6210\u8bbe\u7f6e\u3001\u68c0\u67e5ueditor\u7f16\u8f91\u5668\u63d2\u4ef6\u3001\u68c0\u67e5\u7f13\u5b58\u8bbe\u7f6e\uff0c\u4ee5\u53ca\u5c1d\u8bd5\u4e0d\u540c\u7684\u6d4f\u89c8\u5668\u6216\u8bbe\u5907\u8bbf\u95ee\u7f51\u7ad9\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202404\/16\/2024041617515651805.jpg\" class=\"aligncenter\" title=\"\u5e1d\u56fdcms\u4e0a\u4f20\u56fe\u7247\u4e0d\u663e\u793a\u600e\u4e48\u529e\u63d2\u56fe\" alt=\"\u5e1d\u56fdcms\u4e0a\u4f20\u56fe\u7247\u4e0d\u663e\u793a\u600e\u4e48\u529e\u63d2\u56fe\" \/><\/p>\n<p><strong>\u5e1d\u56fdCMS\u4e0a\u4f20\u56fe\u7247\u4e0d\u663e\u793a\u7684\u89e3\u51b3\u65b9\u6cd5<\/strong><\/p>\n<p><strong>\u95ee\u9898:<\/strong> \u5e1d\u56fdCMS\u4e0a\u4f20\u56fe\u7247\u4e0d\u663e\u793a\uff0c\u5982\u4f55\u89e3\u51b3\uff1f<\/p>\n<p><strong>\u89e3\u51b3\u65b9\u6848:<\/strong><\/p>\n<p><strong>1. \u68c0\u67e5\u670d\u52a1\u5668\u6743\u9650<\/strong><\/p>\n<ul>\n<li>\u786e\u4fdd\u670d\u52a1\u5668\u6709\u8db3\u591f\u6743\u9650\u8bbf\u95ee\u4e0a\u4f20\u56fe\u7247\u5b58\u50a8\u76ee\u5f55\uff0c\u5305\u62ec\u8bfb\u53d6\u3001\u5199\u5165\u548c\u6267\u884c\u6743\u9650\u3002<\/li>\n<li>\u68c0\u67e5 data\/ \u548c ueditor\/php\/ \u76ee\u5f55\u7684\u6743\u9650\uff0c\u5e94\u8bbe\u7f6e\u4e3a 755 \u6216 777\u3002<\/li>\n<\/ul>\n<p><strong>2. \u68c0\u67e5\u6587\u4ef6\u8def\u5f84\u548cURL<\/strong><\/p>\n<ul>\n<li>\u786e\u4fdd\u4e0a\u4f20\u56fe\u7247\u7684\u8def\u5f84\u548c URL \u6b63\u786e\u3002<\/li>\n<li>\u68c0\u67e5 config\/config.php \u6587\u4ef6\u4e2d\u7684 uploadurl \u548c uploadpath \u8bbe\u7f6e\u662f\u5426\u6b63\u786e\u3002<\/li>\n<\/ul>\n<p><strong>3. \u68c0\u67e5\u7f29\u7565\u56fe\u751f\u6210\u8bbe\u7f6e<\/strong><\/p>\n<ul>\n<li>\u786e\u4fdd\u7f29\u7565\u56fe\u751f\u6210\u529f\u80fd\u5df2\u542f\u7528\u3002<\/li>\n<li>\u68c0\u67e5 config\/config.php \u6587\u4ef6\u4e2d\u7684 thumb_on \u9009\u9879\u662f\u5426\u8bbe\u7f6e\u4e3a true\u3002<\/li>\n<\/ul>\n<p><strong>4. \u68c0\u67e5 Ueditor \u7f16\u8f91\u5668\u63d2\u4ef6<\/strong><\/p>\n<ul>\n<li>\u68c0\u67e5 Ueditor \u7f16\u8f91\u5668\u63d2\u4ef6\u662f\u5426\u5df2\u542f\u7528\u3002<\/li>\n<li>\u8bbf\u95ee tools\/ueditor\/php\/ \u76ee\u5f55\uff0c\u68c0\u67e5 config.json \u6587\u4ef6\u4e2d\u7684 imageUrlPrefix \u548c imagePath \u8bbe\u7f6e\u662f\u5426\u6b63\u786e\u3002<\/li>\n<\/ul>\n<p><strong>5. \u68c0\u67e5\u7f13\u5b58\u8bbe\u7f6e<\/strong><\/p>\n<ul>\n<li>\u6e05\u9664\u5e1d\u56fdCMS\u7f13\u5b58\uff08\u8bbf\u95ee admin\/index.php?m=system&amp;c=clearing&amp;a=cache_all\uff09\u3002<\/li>\n<\/ul>\n<p><strong>6. \u5176\u4ed6\u53ef\u80fd\u7684\u89e3\u51b3\u65b9\u6cd5:<\/strong><\/p>\n<ul>\n<li>\u5c1d\u8bd5\u4f7f\u7528\u4e0d\u540c\u7684\u6d4f\u89c8\u5668\u6216\u8bbe\u5907\u8bbf\u95ee\u7f51\u7ad9\u3002<\/li>\n<li>\u68c0\u67e5\u670d\u52a1\u5668\u65e5\u5fd7\u4ee5\u67e5\u627e\u4efb\u4f55\u9519\u8bef\u6d88\u606f\u3002<\/li>\n<li>\u8054\u7cfb\u5e1d\u56fdCMS\u5b98\u65b9\u652f\u6301\u56e2\u961f\u5bfb\u6c42\u5e2e\u52a9\u3002<\/li>\n<\/ul>\n<p>\u4ee5\u4e0a\u5c31\u662f\u4e0a\u4f20\u56fe\u7247\u4e0d\u663e\u793a\u600e\u4e48\u529e\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5e1d\u56fdcms\u4e0a\u4f20\u56fe\u7247\u4e0d\u663e\u793a\u7684\u89e3\u51b3\u65b9\u6cd5\u5305\u62ec\uff1a\u68c0\u67e5\u670d\u52a1\u5668\u6743\u9650\u3001\u68c0\u67e5\u6587\u4ef6\u8def\u5f84\u548curl\u3001\u68c0\u67e5\u7f29\u7565\u56fe\u751f\u6210\u8bbe\u7f6e\u3001\u68c0\u67e5ueditor\u7f16\u8f91\u5668\u63d2\u4ef6\u3001\u68c0\u67e5\u7f13\u5b58\u8bbe\u7f6e\uff0c\u4ee5\u53ca\u5c1d\u8bd5\u4e0d\u540c\u7684\u6d4f\u89c8\u5668\u6216\u8bbe\u5907\u8bbf\u95ee\u7f51\u7ad9\u3002 \u5e1d\u56fdCMS\u4e0a\u4f20\u56fe\u7247\u4e0d\u663e\u793a\u7684\u89e3\u51b3\u65b9\u6cd5 \u95ee\u9898: \u5e1d\u56fdCMS\u4e0a\u4f20\u56fe\u7247\u4e0d\u663e\u793a\uff0c\u5982\u4f55\u89e3\u51b3\uff1f \u89e3\u51b3\u65b9\u6848: 1. \u68c0\u67e5\u670d\u52a1\u5668\u6743\u9650 \u786e\u4fdd\u670d\u52a1\u5668\u6709\u8db3\u591f\u6743\u9650\u8bbf\u95ee\u4e0a\u4f20\u56fe\u7247\u5b58\u50a8\u76ee\u5f55\uff0c\u5305\u62ec\u8bfb\u53d6\u3001\u5199\u5165\u548c\u6267\u884c\u6743\u9650\u3002 \u68c0\u67e5 data\/ \u548c ueditor\/php\/ \u76ee\u5f55\u7684\u6743\u9650\uff0c\u5e94\u8bbe\u7f6e\u4e3a 755 \u6216 777\u3002 2. \u68c0\u67e5\u6587\u4ef6\u8def\u5f84\u548cURL \u786e\u4fdd\u4e0a\u4f20\u56fe\u7247\u7684\u8def\u5f84\u548c URL \u6b63\u786e\u3002 \u68c0\u67e5 config\/config.php \u6587\u4ef6\u4e2d\u7684 uploadurl \u548c uploadpath \u8bbe\u7f6e\u662f\u5426\u6b63\u786e\u3002 3. \u68c0\u67e5\u7f29\u7565\u56fe\u751f\u6210\u8bbe\u7f6e \u786e\u4fdd\u7f29\u7565\u56fe\u751f\u6210\u529f\u80fd\u5df2\u542f\u7528\u3002 \u68c0\u67e5 config\/config.php \u6587\u4ef6\u4e2d\u7684 thumb_on \u9009\u9879\u662f\u5426\u8bbe\u7f6e\u4e3a true\u3002 4. \u68c0\u67e5 Ueditor \u7f16\u8f91\u5668\u63d2\u4ef6 \u68c0\u67e5 Ueditor \u7f16\u8f91\u5668\u63d2\u4ef6\u662f\u5426\u5df2\u542f\u7528\u3002 \u8bbf\u95ee tools\/ueditor\/php\/ \u76ee\u5f55\uff0c\u68c0\u67e5 config.json \u6587\u4ef6\u4e2d\u7684 imageUrlPrefix \u548c imagePath \u8bbe\u7f6e\u662f\u5426\u6b63\u786e\u3002 5. \u68c0\u67e5\u7f13\u5b58\u8bbe\u7f6e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[],"class_list":["post-33763","post","type-post","status-publish","format-standard","hentry","category-cms"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/33763","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=33763"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/33763\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=33763"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=33763"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=33763"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}