{"id":30998,"date":"2024-11-25T12:07:51","date_gmt":"2024-11-25T04:07:51","guid":{"rendered":"https:\/\/fwq.ai\/blog\/30998\/"},"modified":"2024-11-25T12:07:51","modified_gmt":"2024-11-25T04:07:51","slug":"%e7%bb%87%e6%a2%a6%e5%88%97%e8%a1%a8%e9%a1%b5%e5%92%8c%e6%96%87%e7%ab%a0%e9%a1%b5%e6%80%8e%e4%b9%88%e8%b0%83%e7%94%a8%e8%af%84%e8%ae%ba%e6%95%b0%e5%92%8c%e6%94%b6%e8%97%8f%e6%95%b0","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/30998\/","title":{"rendered":"\u7ec7\u68a6\u5217\u8868\u9875\u548c\u6587\u7ae0\u9875\u600e\u4e48\u8c03\u7528\u8bc4\u8bba\u6570\u548c\u6536\u85cf\u6570"},"content":{"rendered":"<p style=\"text-align: center\"><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/000\/020\/5e167edc9930e350.jpg\" class=\"aligncenter\" title=\"\u7ec7\u68a6\u5217\u8868\u9875\u548c\u6587\u7ae0\u9875\u600e\u4e48\u8c03\u7528\u8bc4\u8bba\u6570\u548c\u6536\u85cf\u6570\u63d2\u56fe\" alt=\"\u7ec7\u68a6\u5217\u8868\u9875\u548c\u6587\u7ae0\u9875\u600e\u4e48\u8c03\u7528\u8bc4\u8bba\u6570\u548c\u6536\u85cf\u6570\u63d2\u56fe\" \/><\/p>\n<p><strong>\u7ec7\u68a6\u5217\u8868\u9875\u548c\u6587\u7ae0\u9875\u600e\u4e48\u8c03\u7528\u8bc4\u8bba\u6570\u548c\u6536\u85cf\u6570\uff1f<\/strong><\/p>\n<p>\u7ec7\u68a6DEDECMS\u5217\u8868\u9875\u548c\u6587\u7ae0\u9875\u8c03\u7528\u8bc4\u8bba\u6570\u548c\u6536\u85cf\u6570<\/p>\n<p>\u63a8\u8350\u5b66\u4e60\uff1a<\/p>\n<p>1.\u6587\u7ae0\u9875\u8c03\u7528\u8bc4\u8bba\u6570<\/p>\n<p><small>{dede:field.id runphp=&#8217;yes&#8217;}$dsql = new dedesql(false);$dsql -&gt; SetQuery(&#8220;Select count(id) as c from dede_feedback where aid=&#8221;.@me);$row = $dsql -&gt; getone();@me=$row[&#8216;c&#8217;];{\/dede:field.id}<\/small>\u4e2a\u8bc4\u8bba<\/p>\n<p>2.\u6587\u7ae0\u9875\u8c03\u7528\u6536\u85cf\u6570<\/p>\n<p>\u88ab\u6536\u85cf\uff1a{dede:field.id runphp=&#8217;yes&#8217;}$dsql = new dedesql();$dsql -&gt; SetQuery(&#8220;select count(*) as c from dede_member_stow where aid=&#8221;.@me);$row = $dsql -&gt; getone();@me=$row[&#8216;c&#8217;];{\/dede:field.id}\u6b21<\/p>\n<p>3.\u5217\u8868\u9875\u8c03\u7528\u8bc4\u8bba\u6570<\/p>\n<p>[field:ID runphp=&#8217;yes&#8217;]$dsql = new dedesql(false);$dsql -&gt; SetQuery(&#8220;Select count(id) as c from dede_feedback where aid=&#8221;.@me);$row = $dsql -&gt; getone();@me=$row[&#8216;c&#8217;];[\/field:ID]\u4e2a\u8bc4\u8bba<\/p>\n<p>4.\u5217\u8868\u9875\u8c03\u7528\u6536\u85cf\u6570<\/p>\n<p>\u88ab\u6536\u85cf\uff1a[field:ID runphp=&#8217;yes&#8217;]$dsql = new dedesql();$dsql -&gt; SetQuery(&#8220;select count(*) as c from dede_member_stow where aid=&#8221;.@me);$row = $dsql -&gt; getone();@me=$row[&#8216;c&#8217;];[\/field:ID]\u6b21<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u7ec7\u68a6\u5217\u8868\u9875\u548c\u6587\u7ae0\u9875\u600e\u4e48\u8c03\u7528\u8bc4\u8bba\u6570\u548c\u6536\u85cf\u6570\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>\u7ec7\u68a6\u5217\u8868\u9875\u548c\u6587\u7ae0\u9875\u600e\u4e48\u8c03\u7528\u8bc4\u8bba\u6570\u548c\u6536\u85cf\u6570\uff1f \u7ec7\u68a6DEDECMS\u5217\u8868\u9875\u548c\u6587\u7ae0\u9875\u8c03\u7528\u8bc4\u8bba\u6570\u548c\u6536\u85cf\u6570 \u63a8\u8350\u5b66\u4e60\uff1a 1.\u6587\u7ae0\u9875\u8c03\u7528\u8bc4\u8bba\u6570 {dede:field.id runphp=&#8217;yes&#8217;}$dsql = new dedesql(false);$dsql -&gt; SetQuery(&#8220;Select count(id) as c from dede_feedback where aid=&#8221;.@me);$row = $dsql -&gt; getone();@me=$row[&#8216;c&#8217;];{\/dede:field.id}\u4e2a\u8bc4\u8bba 2.\u6587\u7ae0\u9875\u8c03\u7528\u6536\u85cf\u6570 \u88ab\u6536\u85cf\uff1a{dede:field.id runphp=&#8217;yes&#8217;}$dsql = new dedesql();$dsql -&gt; SetQuery(&#8220;select count(*) as c from dede_member_stow where aid=&#8221;.@me);$row = $dsql -&gt; getone();@me=$row[&#8216;c&#8217;];{\/dede:field.id}\u6b21 3.\u5217\u8868\u9875\u8c03\u7528\u8bc4\u8bba\u6570 [field:ID runphp=&#8217;yes&#8217;]$dsql = new dedesql(false);$dsql -&gt; SetQuery(&#8220;Select count(id) as c from dede_feedback where [&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-30998","post","type-post","status-publish","format-standard","hentry","category-cms"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/30998","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=30998"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/30998\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=30998"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=30998"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=30998"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}