{"id":1800,"date":"2018-07-08T12:28:49","date_gmt":"2018-07-08T04:28:49","guid":{"rendered":"http:\/\/www.baishitou.cn\/?p=1800"},"modified":"2024-05-17T14:34:18","modified_gmt":"2024-05-17T06:34:18","slug":"%e7%bb%87%e6%a2%a6dedecms%e8%af%84%e8%ae%ba%e4%ba%8c%e6%ac%a1%e5%bc%80%e5%8f%91%e7%9b%96%e6%a5%bc%e5%b5%8c%e5%a5%97%e3%80%81%e6%97%a0%e9%99%90%e5%9b%9e%e5%a4%8d","status":"publish","type":"post","link":"https:\/\/www.baishitou.cn\/1800.html","title":{"rendered":"\u7ec7\u68a6DedeCms\u8bc4\u8bba\u4e8c\u6b21\u5f00\u53d1\u76d6\u697c\u5d4c\u5957\u3001\u65e0\u9650\u56de\u590d"},"content":{"rendered":"

\u8bc4\u8bba\u6548\u679c<\/h2>\n

\"1-1P120233333N3\"<\/a><\/p>\n

\u8bc4\u8bba\u7279\u70b9<\/h2>\n

1.\u6240\u6709\u6587\u4ef6\u4e0d\u4e0e\u7a0b\u5e8f\u4efb\u4f55\u6587\u4ef6\u51b2\u7a81,\u5355\u72ec\u653e\u5728\u4e00\u4e2a\u6587\u4ef6\u5185;
\n2.\u81ea\u5e26\u8bc4\u8bba\u6837\u5f0f\uff0c\u4e0d\u9700\u8981\u5355\u72ec\u5199CSS js;
\n3.\u652f\u6301ajax\u663e\u793a\u8bc4\u8bba\u603b\u6570;
\n4.\u652f\u6301\u65e0\u9650\u56de\u590d\u76d6\u697c;
\n5.\u652f\u6301\u5f00\u542f\u6e38\u5ba2\u8bc4\u8bba\u4e0e\u4ec5\u652f\u6301\u4f1a\u5458\u8bc4\u8bba;
\n6.\u652f\u6301\u6e38\u5ba2\u8bc4\u8bba\u52a0\u5165\u9a8c\u8bc1\u7801,\u4f1a\u5458\u8bc4\u8bba\u4e0d\u52a0\u9a8c\u8bc1\u7801;<\/p>\n

\u4f7f\u7528\u6559\u7a0b<\/h2>\n

1.\u540e\u53f0-\u7cfb\u7edf-SQL\u547d\u4ee4\u884c\u5de5\u5177,\u6267\u884c\u4ee5\u4e0b\u8bed\u53e5.<\/strong><\/p>\n

\n
\n
\n
PHP<\/div>\n<\/div>\n
ALTER<\/span><\/span> TABLE<\/span><\/span> `SzsFox_feedback`<\/span> ADD<\/span><\/span> `pid`<\/span> SMALLINT<\/span><\/span>(<\/span><\/span> 5<\/span><\/span> )<\/span><\/span> UNSIGNED<\/span><\/span> NOT<\/span><\/span> NULL<\/span><\/span> DEFAULT<\/span><\/span> '0'<\/span><\/span><\/code><\/pre>\n<\/div>\n

2.\u9009\u62e9\u5bf9\u5e94\u7684\u7f16\u7801\u6587\u4ef6\u5939\uff0c\u628a comments \u6587\u4ef6\u5939\u653e\u5230\u7f51\u7ad9\u6839\u76ee\u5f55\u91cc\uff1b\u628a ajaxcomments.htm \u6587\u4ef6\u653e\u5728\u4f60\u6b63\u5728\u4f7f\u7528\u7684\u6a21\u677f\u6587\u4ef6\u5939\u91cc.<\/strong><\/p>\n<\/div>\n

3.\u5728\u5185\u5bb9\u9875\u6a21\u677f\u5408\u9002\u7684\u4f4d\u7f6e\u52a0\u5165\u8bc4\u8bba\u6846\u4ee3\u7801<\/strong><\/p>\n

\n
\n
HTML<\/div>\n<\/div>\n
<!-- \/\/AJAX\u8bc4\u8bba\u533a \u5f00\u59cb --><\/span><\/span>\r\n<<\/span><\/span>script<\/span><\/span> type<\/span><\/span>=<\/span><\/span>'<\/span><\/span>text\/javascript<\/span>'<\/span><\/span><\/span> src<\/span><\/span>=<\/span><\/span>'<\/span><\/span>\/comments\/jquery.min.js?ver<\/span>=<\/span><\/span>3.0<\/span>'<\/span><\/span><\/span>><\/span><\/span><\/span><\/<\/span><\/span>script<\/span><\/span>><\/span><\/span><\/span><!-- \/\/\u5982\u679c\u4f60\u9875\u9762\u4e2d\u5df2\u7ecf\u52a0\u8f7d\u8fc7jquery\u5e93\uff0c\u8bf7\u5220\u9664\u8fd9\u4e00\u884c\uff0c\u9632\u6b62\u51b2\u7a81 --><\/span><\/span>\r\n<<\/span><\/span>link<\/span><\/span> href<\/span><\/span>=<\/span><\/span>\"<\/span><\/span>\/comments\/comments.css<\/span>\"<\/span><\/span><\/span> rel<\/span><\/span>=<\/span><\/span>\"<\/span><\/span>stylesheet<\/span>\"<\/span><\/span><\/span> type<\/span><\/span>=<\/span><\/span>\"<\/span><\/span>text\/css<\/span>\"<\/span><\/span><\/span> \/><\/span><\/span><\/span>\r\n<<\/span><\/span>div<\/span><\/span> id<\/span><\/span>=<\/span><\/span>\"<\/span><\/span>comments<\/span>\"<\/span><\/span><\/span> class<\/span><\/span>=<\/span><\/span>\"<\/span><\/span>entry-comments<\/span>\"<\/span><\/span><\/span>><\/span><\/span><\/span>\r\n\t<<\/span><\/span>h3<\/span><\/span> id<\/span><\/span>=<\/span><\/span>\"<\/span><\/span>reply-title<\/span>\"<\/span><\/span><\/span> class<\/span><\/span>=<\/span><\/span>\"<\/span><\/span>comment-reply-title<\/span>\"<\/span><\/span><\/span>><\/span><\/span><\/span>\u53d1\u8868\u8bc4\u8bba<\/span><\/<\/span><\/span>h3<\/span><\/span>><\/span><\/span><\/span>\r\n\t{dede:include file='ajaxcomments.htm' \/}\r\n<\/span><\/<\/span><\/span>div<\/span><\/span>><\/span><\/span><\/span>\r\n<<\/span><\/span>script<\/span><\/span>><\/span><\/span><\/span>\r\nwindow<\/span>.<\/span><\/span>jsui <\/span>=<\/span><\/span> {<\/span><\/span>\r\n    uri<\/span>:<\/span><\/span> '{dede:global.cfg_basehost\/}'<\/span><\/span>\r\n}<\/span><\/span>;<\/span><\/span>\r\n<\/span><\/<\/span><\/span>script<\/span><\/span>><\/span><\/span><\/span>\r\n<<\/span><\/span>script<\/span><\/span> type<\/span><\/span>=<\/span><\/span>'<\/span><\/span>text\/javascript<\/span>'<\/span><\/span><\/span> src<\/span><\/span>=<\/span><\/span>'<\/span><\/span>\/comments\/loader.js?ver<\/span>=<\/span><\/span>3.0<\/span>'<\/span><\/span><\/span>><\/span><\/span><\/span><\/<\/span><\/span>script<\/span><\/span>><\/span><\/span><\/span>\r\n<!-- \/\/AJAX\u8bc4\u8bba\u533a \u7ed3\u675f --><\/span><\/span><\/code><\/pre>\n<\/div>\n

4.\u9759\u6001\u6a21\u5f0f\u8bb0\u5f97\u8981\u751f\u6210\u540e\u770b\u6548\u679c.<\/strong><\/p>\n

5.\u540e\u53f0-\u7cfb\u7edf-\u4e92\u52a8\u8bbe\u7f6e \u91cc\u9762\u53ef\u4ee5\u8bbe\u7f6e \u3010\u8bc4\u8bba\u53ca\u7559\u8a00(\u662f\/\u5426)\u9700\u5ba1\u6838\u3011\u3010\u8bc4\u8bba\u52a0\u9a8c\u8bc1\u7801\u91cd\u786e\u8ba4\u3011\u3010\u662f\u5426\u5141\u8bb8\u533f\u540d\u8bc4\u8bba\u3011<\/strong><\/p>\n

 <\/p>\n

\u8bc4\u8bba\u5f00\u53d1\u6253\u5305\u4e0b\u8f7d (gbk \/ utf8)\uff1a<\/h2>\n

 <\/p>\n\n\n\t\"Placeholder\"\n\t\u4e0b\u8f7d32<\/div>\n\n\t\n\n\t\t

\u7ec7\u68a6\u8bc4\u8bba\u63d2\u4ef6\uff0c\u76d6\u697c\u3001\u65e0\u9650\u56de\u590d.zip<\/h1>\n\n\t\t\t\t\t\t\n\t\t\t\u4e0b\u8f7d\u6587\u4ef6\t\t\t\u7ec7\u68a6\u8bc4\u8bba\u63d2\u4ef6\uff0c\u76d6\u697c\u3001\u65e0\u9650\u56de\u590d.zip\t\t\t\t– 116.64 KB<\/small>\n\t\t<\/a>\n\t\t\t<\/div>\n<\/aside>\n\n\n\n","protected":false},"excerpt":{"rendered":"

\u8bc4\u8bba\u6548\u679c \u8bc4\u8bba\u7279\u70b9 1.\u6240\u6709\u6587\u4ef6\u4e0d\u4e0e\u7a0b\u5e8f\u4efb\u4f55\u6587\u4ef6\u51b2\u7a81,\u5355\u72ec\u653e\u5728\u4e00\u4e2a\u6587\u4ef6\u5185; 2.\u81ea\u5e26\u8bc4\u8bba\u6837\u5f0f\uff0c\u4e0d\u9700\u8981\u5355\u72ec\u5199CS […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[43,180],"class_list":["post-1800","post","type-post","status-publish","format-standard","hentry","category-web","tag-dedecms","tag-180"],"_links":{"self":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/1800","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/comments?post=1800"}],"version-history":[{"count":0,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/1800\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/media?parent=1800"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/categories?post=1800"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/tags?post=1800"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}