{"id":743,"date":"2016-03-31T18:43:34","date_gmt":"2016-03-31T10:43:34","guid":{"rendered":"http:\/\/www.baishitou.cn\/?p=743"},"modified":"2017-11-20T17:13:28","modified_gmt":"2017-11-20T09:13:28","slug":"dedecms%e8%87%aa%e5%ae%9a%e4%b9%89%e5%86%85%e5%ae%b9%e6%a8%a1%e5%9e%8b%e5%9c%a8%e9%a6%96%e9%a1%b5%e3%80%81%e5%88%97%e8%a1%a8%e9%a1%b5%e5%8f%8a%e5%86%85%e5%ae%b9%e8%b0%83%e7%94%a8%e6%a0%87%e7%ad%be","status":"publish","type":"post","link":"https:\/\/www.baishitou.cn\/743.html","title":{"rendered":"dedecms\u81ea\u5b9a\u4e49\u5185\u5bb9\u6a21\u578b\u5728\u9996\u9875\u3001\u5217\u8868\u9875\u53ca\u5185\u5bb9\u8c03\u7528\u6807\u7b7e\u7684\u65b9\u6cd5"},"content":{"rendered":"

\u672c\u6587\u8bb2\u8ff0\u4e86dedecms\u5173\u4e8e\u81ea\u5b9a\u4e49\u6a21\u578b\uff08\u72ec\u7acb\u6a21\u578b\uff09\u7684\u9996\u9875\u3001\u5217\u8868\u9875\u3001\u5185\u5bb9\u8c03\u7528\u65b9\u6cd5\uff0c\u5728\u540e\u53f0\u81ea\u5b9a\u4e49\u6a21\u578b\uff08\u72ec\u7acb\u6a21\u578b\uff09\u7684\u5efa\u7acb\u53ca\u81ea\u5b9a\u4e49\u5b57\u6bb5\u7684\u6dfb\u52a0\u6bd4\u8f83\u7b80\u5355\uff0c\u8fd9\u91cc\u9700\u8981\u6ce8\u610f\u4e24\u70b9\uff1a<\/p>\n

\u4e00.\u5982\u679c\u67d0\u4e2a\u5b57\u6bb5\u9700\u8981\u5728\u524d\u53f0\u5217\u8868\u9875\u663e\u793a\uff0c\u5219\u5728\u524d\u53f0\u53c2\u6570\u4e2d\u52fe\u9009\u201c\u4f7f\u5b57\u6bb5\u53ef\u4ee5\u5728\u5217\u8868\u7684\u5e95\u5c42\u6a21\u677f\u4e2d\u83b7\u5f97<\/strong>(\u81ea\u5b9a\u4e49\u5b57\u6bb5\u9ed8\u8ba4\u4ec5\u80fd\u5728\u6587\u6863\u6a21\u677f\u663e\u793a\uff0c\u4f46\u662f\u542f\u7528\u6b64\u9009\u9879\u5c06\u4f7f\u5217\u8868\u67e5\u8be2\u53d8\u6162\uff0c\u5982\u65e0\u5fc5\u8981\u8bf7\u4e0d\u8981\u9009\u62e9) \u201d\uff1b<\/p>\n

\u4e8c.\u5efa\u597d\u72ec\u7acb\u6a21\u578b\u548c\u5b57\u6bb5\u4e4b\u540e\uff0c\u5728\u7f51\u7ad9\u8c03\u7528\u65b9\u6cd5\u5982\u4e0b\uff1a<\/p>\n

\uff081\uff09\u9996\u9875\u8c03\u7528\u81ea\u5b9a\u4e49\u6a21\u578b\uff08\u72ec\u7acb\u6a21\u578b\uff09\uff1a<\/strong><\/p>\n

\u72ec\u7acb\u6a21\u578b\u7684\u8c03\u7528\u8bf7\u7528arclistsg \u72ec\u7acb\u5355\u8868\u6a21\u578b\u8c03\u7528\u6807\u7b7e\uff0c\u800c\u975earclist\u6587\u6863\u5217\u8868\u6807\u7b7e\u3002\u7f51\u4e0a\u5927\u90e8\u5206\u7684\u6559\u7a0b\u6587\u7ae0\u90fd\u662f\u9488\u5bf9\u5df2\u6709\u7684\u6a21\u578b\u6dfb\u52a0\u7684\u81ea\u5b9a\u4e49\u5b57\u6bb5\u800c\u975e\u65b0\u5efa\u7684\u72ec\u7acb\u6a21\u578b\uff0c\u6240\u4ee5\u7528arclist\u6807\u7b7e\u662f\u8c03\u7528\u4e0d\u51fa\u72ec\u7acb\u6a21\u578b\u7684\u3002<\/p>\n

 <\/p>\n

\n

\u4ee3\u7801\u5982\u4e0b:<\/p>\n<\/div>\n

\n
{dede:arclistsg typeid='8' row='10' addfields='name,sex,tel' channelid='-101'}\r\n[field:title\/] \u59d3\u540d\uff1a[field:name\/] | \u6027\u522b\uff1a[field:sex\/] | \u7535\u8bdd\uff1a[field:tel\/]\r\n{\/dede:arclistsg}<\/code><\/pre>\n

\u8981\u83b7\u53d6\u81ea\u5b9a\u4e49\u5b57\u6bb5\u7684\u5185\u5bb9\uff0c\u5fc5\u987b\u7b26\u5408\u4e24\u4e2a\u6761\u4ef6\uff0c\u7f3a\u4e00\u4e0d\u53ef\uff1a<\/p>\n<\/div>\n

1.\u6307\u5b9a channelid \u5c5e\u6027\uff0c\u6211\u8fd9\u662fchannelid='-101'
\n2.\u6307\u5b9a\u8981\u83b7\u5f97\u7684\u5b57\u6bb5 addfields='\u5b57\u6bb51,\u5b57\u6bb52'<\/p>\n

\uff082\uff09\u5217\u8868\u9875\u8c03\u7528\u81ea\u5b9a\u4e49\u6a21\u578b\uff08\u72ec\u7acb\u6a21\u578b\uff09\uff1a<\/strong><\/p>\n

\u4ee3\u7801\u5982\u4e0b:<\/p>\n

\n
{dede:list pagesize='10' addfields='name,sex,tel' channelid='-101' }\r\n[field:title\/] \u59d3\u540d\uff1a[field:name\/] | \u6027\u522b\uff1a[field:sex\/] | \u7535\u8bdd\uff1a[field:tel\/]\r\n{\/dede:list}<\/code><\/pre>\n

\u5982\u679c\u8be5\u680f\u76ee\u6709\u5185\u5bb9\uff0c\u4f46\u662f\u5217\u8868\u9875\u6ca1\u6709\u6389\u51fa\u6765\uff0c\u90a3\u5c31\u80af\u5b9a\u662f\u56e0\u4e3a\u4f60\u7684\u72ec\u7acb\u6a21\u578b\u7684id\u4e0d\u4e3a\u8d1f\u6570\u3002<\/p>\n<\/div>\n

\uff083\uff09\u5185\u5bb9\u9875\u8c03\u7528\u81ea\u5b9a\u4e49\u6a21\u578b\u7684\u81ea\u5b9a\u4e49\u5b57\u6bb5\u6570\u636e\uff08\u72ec\u7acb\u6a21\u578b\uff09\uff1a<\/strong><\/p>\n

\u76f4\u63a5\u5728\u8981\u8c03\u7528\u7684\u5730\u65b9\u5199\u4e0a{dede:field.name\/}\uff0c\u5176\u4e2dname\u6539\u4e3a\u4f60\u8981\u8c03\u7528\u7684\u5b57\u6bb5\u540d\u79f0\u3002<\/p>\n

\u6211\u5728\u5185\u5bb9\u9875\u91cc\u9762\u7528\u4e0b\u9762\u65b9\u6cd5\u4e5f\u53ef\u4ee5\u8c03\u7528\u6210\u529f\uff0c\u7531\u4e8e\u4e24\u4e2a\u5730\u65b9\u9700\u8981\u8c03\u7528\u81ea\u5b9a\u4e49\u5b57\u6bb5\uff0c\u4e00\u5904\u8c03\u7528\u51fa\u6765\u6b63\u5e38\uff0c\u4f46\u7b2c\u4e00\u5904\u8c03\u7528\u51fa\u6765\u7684\u6570\u636e\u662f2\u6761\u3002\u6240\u4ee5\uff0c\u8fd9\u4e2a\u9700\u8981\u5927\u5bb6\u81ea\u884c\u6d4b\u8bd5\uff0c\u770b\u54ea\u4e2a\u65b9\u4fbf\u3002\u6211\u7528\u7684\u662f\u5728\u524d\u53f0\u53c2\u6570\u4e2d\u52fe\u9009\u201c\u4f7f\u5b57\u6bb5\u53ef\u4ee5\u5728\u5217\u8868\u7684\u5e95\u5c42\u6a21\u677f\u4e2d\u83b7\u5f97\u201d\uff0c\u7136\u540e\u76f4\u63a5\u5728\u5185\u5bb9\u9875\u8c03\u7528\u3002<\/strong><\/p>\n

 <\/p>\n

{dede:arclist \u00a0addfields='name,sex,tel' \u00a0channelid='18'}\r\n[field:title\/] \u59d3\u540d\uff1a[field:name\/] | \u6027\u522b\uff1a[field:sex\/] | \u7535\u8bdd\uff1a[field:tel\/]\r\n{\/dede:arclist}\r\n\r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"

\u672c\u6587\u8bb2\u8ff0\u4e86dedecms\u5173\u4e8e\u81ea\u5b9a\u4e49\u6a21\u578b\uff08\u72ec\u7acb\u6a21\u578b\uff09\u7684\u9996\u9875\u3001\u5217\u8868\u9875\u3001\u5185\u5bb9\u8c03\u7528\u65b9\u6cd5\uff0c\u5728\u540e\u53f0\u81ea\u5b9a\u4e49\u6a21\u578b\uff08\u72ec\u7acb\u6a21\u578b\uff09\u7684 […]<\/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":[115,43,339,180,149,221],"class_list":["post-743","post","type-post","status-publish","format-standard","hentry","category-web","tag-dede","tag-dedecms","tag-339","tag-180","tag-149","tag-221"],"_links":{"self":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/743","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=743"}],"version-history":[{"count":0,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/743\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/media?parent=743"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/categories?post=743"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/tags?post=743"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}