{"id":60187,"date":"2025-04-24T09:11:39","date_gmt":"2025-04-24T01:11:39","guid":{"rendered":"https:\/\/fwq.ai\/blog\/60187\/"},"modified":"2025-04-24T09:11:39","modified_gmt":"2025-04-24T01:11:39","slug":"%e8%ae%a9ecshop%e6%9f%90%e7%ad%89%e7%ba%a7%e4%bb%a5%e4%b8%8a%e7%9a%84%e4%bc%9a%e5%91%98%e6%89%8d%e6%94%af%e6%8c%81%e8%b4%a7%e5%88%b0%e4%bb%98%e6%ac%be-2","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/60187\/","title":{"rendered":"\u8ba9ecshop\u67d0\u7b49\u7ea7\u4ee5\u4e0a\u7684\u4f1a\u5458\u624d\u652f\u6301\u8d27\u5230\u4ed8\u6b3e"},"content":{"rendered":"<p><span>\u627e\u5230ecshop\u6587\u4ef6&nbsp;<span style=\"font-family: \u5b8b\u4f53, Arial, Verdana;line-height: 28px\">includes<\/span><span style=\"font-family: \u5b8b\u4f53, Arial, Verdana;line-height: 28px\">\\lib_order.php<\/span><br \/> <span style=\"font-family: \u5b8b\u4f53, Arial, Verdana;line-height: 28px\">\u7ea6274\u884c&nbsp;&nbsp;<\/span><br \/> <span style=\"font-family: \u5b8b\u4f53, Arial, Verdana;line-height: 28px\">&nbsp; &nbsp; if (!$support_cod )<\/span><br \/> <span style=\"font-family: \u5b8b\u4f53, Arial, Verdana;line-height: 28px\">&nbsp; &nbsp; {<\/span><br \/> <span style=\"font-family: \u5b8b\u4f53, Arial, Verdana;line-height: 28px\">&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;$sql .= &#8216;AND is_cod = 0 &#8216;; \/\/ \u5982\u679c\u4e0d\u652f\u6301\u8d27\u5230<\/span><span style=\"font-family: \u5b8b\u4f53, Arial, Verdana;line-height: 28px\">\u4ed8\u6b3e<\/span><br \/> <span style=\"font-family: \u5b8b\u4f53, Arial, Verdana;line-height: 28px\">&nbsp; &nbsp; }<\/span><br \/> <span style=\"font-family: \u5b8b\u4f53, Arial, Verdana;line-height: 28px\">\u6539\u6210<\/span><br \/> <span style=\"font-family: \u5b8b\u4f53, Arial, Verdana;line-height: 28px\">&nbsp; &nbsp;if (!$support_cod || $_SESSION[&#8216;user_rank&#8217;] &lt;= 1)&nbsp;<\/span><br \/> <span style=\"font-family: \u5b8b\u4f53, Arial, Verdana;line-height: 28px\">&nbsp; &nbsp; {<\/span><br \/> <span style=\"font-family: \u5b8b\u4f53, Arial, Verdana;line-height: 28px\">&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;$sql .= &#8216;AND is_cod = 0 &#8216;; \/\/ \u5982\u679c\u4e0d\u652f\u6301\u8d27\u5230\u4ed8\u6b3e<\/span><br \/> <span style=\"font-family: \u5b8b\u4f53, Arial, Verdana;line-height: 28px\">&nbsp; &nbsp; }<\/span><br \/> <span style=\"font-family: \u5b8b\u4f53, Arial, Verdana;line-height: 28px\">$_SESSION[&#8216;user_rank&#8217;]\u4e3a<\/span><span style=\"font-family: \u5b8b\u4f53, Arial, Verdana;line-height: 28px\">\u7528\u6237<\/span><span style=\"font-family: \u5b8b\u4f53, Arial, Verdana;line-height: 28px\">\u7b49\u7ea7ID\u3002<\/span><br \/> <span style=\"font-family: \u5b8b\u4f53, Arial, Verdana;line-height: 28px\">\u53ef\u4ee5\u6539\u6210\u4f60\u60f3\u8981\u7684\u7b49\u7ea7<\/span><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u627e\u5230ecshop\u6587\u4ef6&nbsp;includes\\lib_order.php \u7ea6274\u884c&nbsp;&nbsp; &nbsp; &nbsp; if (!$support_cod ) &nbsp; &nbsp; { &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;$sql .= &#8216;AND is_cod = 0 &#8216;; \/\/ \u5982\u679c\u4e0d\u652f\u6301\u8d27\u5230\u4ed8\u6b3e &nbsp; &nbsp; } \u6539\u6210 &nbsp; &nbsp;if (!$support_cod || $_SESSION[&#8216;user_rank&#8217;] &lt;= 1)&nbsp; &nbsp; &nbsp; { &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;$sql .= &#8216;AND is_cod = 0 &#8216;; \/\/ \u5982\u679c\u4e0d\u652f\u6301\u8d27\u5230\u4ed8\u6b3e &nbsp; &nbsp; } $_SESSION[&#8216;user_rank&#8217;]\u4e3a\u7528\u6237\u7b49\u7ea7ID\u3002 \u53ef\u4ee5\u6539\u6210\u4f60\u60f3\u8981\u7684\u7b49\u7ea7<\/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-60187","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/60187","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=60187"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/60187\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=60187"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=60187"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=60187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}