{"id":59338,"date":"2025-04-23T12:08:45","date_gmt":"2025-04-23T04:08:45","guid":{"rendered":"https:\/\/fwq.ai\/blog\/59338\/"},"modified":"2025-04-23T12:08:45","modified_gmt":"2025-04-23T04:08:45","slug":"%e4%bf%ae%e6%94%b9ecshop%e8%b4%ad%e4%b9%b0%e6%8c%89%e9%92%ae%e6%98%be%e7%a4%ba%e5%ba%93%e5%ad%98%e6%97%a0%e8%b4%a7%e7%8a%b6%e6%80%81","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/59338\/","title":{"rendered":"\u4fee\u6539ecshop\u8d2d\u4e70\u6309\u94ae\u663e\u793a\u5e93\u5b58\u65e0\u8d27\u72b6\u6001"},"content":{"rendered":"<p>\u627e\u5230ecshop\u6587\u4ef6\uff0c\u6253\u5f00\u6240\u5728\u7684goods.dwt\u6a21\u677f\uff0c\u641c\u7d22\u8d2d\u7269\u90a3\u4e2a\u6309\u94ae\uff08\u63d0\u793a\uff1a\u56fe\u7247\u53e6\u5b58\u5c31\u77e5\u9053\u6587\u4ef6\u540d\uff09\uff0c\u4e4b\u540e\u770b\u5230\u4ee5\u4e0b\u4ee3\u7801   &lt;li id=&#8221;itemBtnList&#8221; class=&#8221;item_img&#8221;&gt;   &lt;a href=&#8221;javascript:addToCart({$goods.goods_id})&#8221;&gt;&lt;img src=&#8221;images\/add_cart.gif&#8221; alt=&#8221;&#8221; \/&gt;&lt;\/a&gt;   &lt;a href=&#8221;javascript:collect({$goods.goods_id})&#8221;&gt;&lt;img src=&#8221;images\/collect.gif&#8221; alt=&#8221;\u52a0\u5165\u6536\u85cf&#8221; \/&gt;&lt;\/a&gt;&nbsp;   \u4fee\u6539\u6210\u4e00\u4e0b\u4ee3\u7801\u5c31\u53ef\u4ee5\u4e86\uff1a   &lt;li id=&#8221;itemBtnList&#8221; class=&#8221;item_img&#8221;&gt;   &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;!&#8211; {if $goods.goods_number neq 0} &#8211;&gt;   &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;a href=&#8221;javascript:addToCart({$goods.goods_id})&#8221;&gt;&lt;img src=&#8221;images\/add_cart.gif&#8221; alt=&#8221;&#8221; \/&gt;&lt;\/a&gt;   &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;!&#8211; {else} &#8211;&gt;   &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;img src=&#8221;images\/wuhuo.gif&#8221; alt=&#8221;\u5e93\u5b58\u6682\u65f6\u65e0\u8d27\uff0c\u7b49\u6709\u8d27\u518d\u8d2d\u4e70\uff0c\u8c22\u8c22&#8221; \/&gt;   &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;!&#8211; {\/if} &#8211;&gt;   &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;a href=&#8221;javascript:collect({$goods.goods_id})&#8221;&gt;&lt;img src=&#8221;images\/collect.gif&#8221; alt=&#8221;\u52a0\u5165\u6536\u85cf&#8221; \/&gt;&lt;\/a&gt;&nbsp;   &nbsp;   \u8fd9\u4e2awuhuo.gif\u81ea\u5df1\u505a\u4e2a\uff0c\u653e\u5230images\u6587\u4ef6\u5939\uff0c\u5982\u679c\u60f3\u589e\u52a0\u7f3a\u8d27\u767b\u8bb0\uff0c\u90a3\u4e48\uff0c\u518dwuhuo.gif\u6240\u5728\u7684\u4f4d\u7f6e\u589e\u52a0\u4e00\u4e2a\u8fde\u63a5   &lt;a href=&#8221;user.php?act=add_booking&amp;id={$goods.goods_id}&#8221;&gt;&lt;img src=&#8221;images\/wuhuo.gif&#8221; alt=&#8221;\u5e93\u5b58\u6682\u65f6\u65e0\u8d27\uff0c\u7b49\u6709\u8d27\u518d\u8d2d\u4e70\uff0c\u8c22\u8c22&#8221; \/&gt;   &lt;\/a&gt;   &nbsp; <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u627e\u5230ecshop\u6587\u4ef6\uff0c\u6253\u5f00\u6240\u5728\u7684goods.dwt\u6a21\u677f\uff0c\u641c\u7d22\u8d2d\u7269\u90a3\u4e2a\u6309\u94ae\uff08\u63d0\u793a\uff1a\u56fe\u7247\u53e6\u5b58\u5c31\u77e5\u9053\u6587\u4ef6\u540d\uff09\uff0c\u4e4b\u540e\u770b\u5230\u4ee5\u4e0b\u4ee3\u7801 &lt;li id=&#8221;itemBtnList&#8221; class=&#8221;item_img&#8221;&gt; &lt;a href=&#8221;javascript:addToCart({$goods.goods_id})&#8221;&gt;&lt;img src=&#8221;images\/add_cart.gif&#8221; alt=&#8221;&#8221; \/&gt;&lt;\/a&gt; &lt;a href=&#8221;javascript:collect({$goods.goods_id})&#8221;&gt;&lt;img src=&#8221;images\/collect.gif&#8221; alt=&#8221;\u52a0\u5165\u6536\u85cf&#8221; \/&gt;&lt;\/a&gt;&nbsp; \u4fee\u6539\u6210\u4e00\u4e0b\u4ee3\u7801\u5c31\u53ef\u4ee5\u4e86\uff1a &lt;li id=&#8221;itemBtnList&#8221; class=&#8221;item_img&#8221;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;!&#8211; {if $goods.goods_number neq 0} &#8211;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;a href=&#8221;javascript:addToCart({$goods.goods_id})&#8221;&gt;&lt;img src=&#8221;images\/add_cart.gif&#8221; alt=&#8221;&#8221; \/&gt;&lt;\/a&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;!&#8211; {else} &#8211;&gt; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-59338","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/59338","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=59338"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/59338\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=59338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=59338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=59338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}