{"id":2798,"date":"2019-09-19T17:29:05","date_gmt":"2019-09-19T09:29:05","guid":{"rendered":"https:\/\/www.baishitou.cn\/?p=2798"},"modified":"2019-09-23T10:50:52","modified_gmt":"2019-09-23T02:50:52","slug":"%e7%bb%87%e6%a2%a6dedecms%e8%b0%83%e7%94%a8%e5%85%a8%e7%ab%99%e7%9b%b8%e5%85%b3%e6%96%87%e7%ab%a0","status":"publish","type":"post","link":"https:\/\/www.baishitou.cn\/2798.html","title":{"rendered":"\u7ec7\u68a6DEDECMS\u8c03\u7528\u5168\u7ad9\u76f8\u5173\u6587\u7ae0"},"content":{"rendered":"
\u4eca\u5929\u5728\u505a\u4e00\u4e2a\u7ad9\u8c03\u7528\u76f8\u5173\u6587\u7ae0\u65f6\u53d1\u73b0\uff0c\u8c03\u7528\u51fa\u6765\u7684\u76f8\u5173\u6587\u7ae0\u53ea\u662f\u672c\u680f\u76ee\u7684\uff0c\u5176\u4ed6\u680f\u76ee\u7684\u8c03\u7528\u4e0d\u51fa\u6765\u3002 \u7ecf\u6d4b\u8bd5\u53d1\u73b0\uff0c\u4e24\u79cd\u65b9\u6cd5\u90fd\u4e0d\u80fd\u8c03\u7528\u5168\u7ad9\u76f8\u5173\u6587\u7ae0\uff0c\u7b2c\u4e8c\u79cd\u65b9\u6cd5\u6211\u60f3\u53ea\u8c03\u7528\u6709\u7f29\u7565\u56fe\u7684\u6587\u7ae0\uff0c\u7ed3\u679c\u6ca1\u56fe\u7684\u4e5f\u7ed9\u8c03\u51fa\u6765\u4e86\u3002\u6240\u4ee5\u679c\u65ad\u7684\u653e\u5f03\u4e86\u3002\u5728\u7f51\u4e0a\u641c\u7d22\u4e00\u4e0b\u3002\u627e\u5230\u4e86\u8c03\u7528\u5168\u7ad9\u76f8\u5173\u6587\u7ae0\u7684\u65b9\u6cd5<\/p>\n \u6253\u5f00\u6587\u4ef6\uff1a\\include\\taglib\\likearticle.lib.php\u641c\u7d22<\/p>\n \u66ff\u6362\u4e3a:<\/p>\n \u6a21\u677f\u91cc\u8c03\u7528\u4ee3\u7801\uff1a<\/p>\n <\/p>\n <\/p>\n","protected":false},"excerpt":{"rendered":" \u4eca\u5929\u5728\u505a\u4e00\u4e2a\u7ad9\u8c03\u7528\u76f8\u5173\u6587\u7ae0\u65f6\u53d1\u73b0\uff0c\u8c03\u7528\u51fa\u6765\u7684\u76f8\u5173\u6587\u7ae0\u53ea\u662f\u672c\u680f\u76ee\u7684\uff0c\u5176\u4ed6\u680f\u76ee\u7684\u8c03\u7528\u4e0d\u51fa\u6765\u3002 \u6211\u5f00\u59cb\u7684\u8c03\u7528\u662f\u7528\u4e0b\u9762 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[43,731,180],"class_list":["post-2798","post","type-post","status-publish","format-standard","hentry","category-web","tag-dedecms","tag-731","tag-180"],"_links":{"self":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/2798","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=2798"}],"version-history":[{"count":0,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/2798\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/media?parent=2798"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/categories?post=2798"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/tags?post=2798"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\n\u6211\u5f00\u59cb\u7684\u8c03\u7528\u662f\u7528\u4e0b\u9762\u5730\u5740\u7684\u65b9\u6cd5\uff1a\u7ec7\u68a6DEDECMS\u6839\u636e\u5f53\u524d\u6587\u7ae0\u7684\u5173\u952e\u5b57\u8c03\u7528\u76f8\u5173\u6587\u7ae0<\/a><\/p>\n$typeid = \" And arc.typeid in($typeid) And arc.id<>$arcid \";<\/code><\/pre>\n
$typeid = \" And arc.id<>$arcid \";<\/code><\/pre>\n
{dede:likearticle row='3' type='image.' titlelen='80'}\r\n<a href='[field:arcurl\/]'>[field:title\/]<\/a>\r\n{\/dede:likearticle}<\/code><\/pre>\n