{"id":60366,"date":"2025-04-24T09:00:11","date_gmt":"2025-04-24T01:00:11","guid":{"rendered":"https:\/\/fwq.ai\/blog\/60366\/"},"modified":"2025-04-24T09:00:11","modified_gmt":"2025-04-24T01:00:11","slug":"%e4%bf%ae%e6%ad%a3recieve-php%e5%88%a4%e6%96%ad%e4%b8%8d%e4%b8%a5%e8%b0%a8%e5%af%bc%e8%87%b4%e9%82%ae%e4%bb%b6%e8%87%aa%e5%8a%a8%e7%a1%ae%e8%ae%a4%e6%94%b6%e8%b4%a7-2","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/60366\/","title":{"rendered":"\u4fee\u6b63recieve.php\u5224\u65ad\u4e0d\u4e25\u8c28\u5bfc\u81f4\u90ae\u4ef6\u81ea\u52a8\u786e\u8ba4\u6536\u8d27"},"content":{"rendered":"<p>ecshop\u540e\u53f0\u70b9\u51fb\u53d1\u8d27\u65f6\u4f1a\u4e3b\u52a8\u53d1\u9001\u90ae\u4ef6\u5230\u7528\u6237\u9884\u7559\u7684\u8054\u7edc\u90ae\u7bb1\u4e2d\uff0c\u7b80\u76f4\u56fd\u5916\u7684\u7f51\u7ad9\u90fd\u662f\u8fd9\u4e48\u64cd\u4f5c\u7684\uff0c\u6240\u4ee5\u5ba2\u6237\u4e5f\u9009\u7528\u6b64\u79cd\u65b9\u6cd5\u6765\u544a\u8bc9\u7528\u6237\u3002\u4f46\u4e0d\u6599\u6ca1\u591a\u4e45\uff0c\u4e0d\u5c11\u4e70\u5bb6\u53cd\u6620\u81ea\u5df1\u5206\u660e\u6ca1\u6709\u70b9\u51fb\u90ae\u4ef6\u4e2d\u7684\u627f\u8ba4\u6536\u8d27\u8fde\u63a5\uff0c\u53ef\u662f\u8fdb\u5165\u81ea\u5df1\u57fa\u5730\u5374\u53d1\u73b0\u8ba2\u5355\u72b6\u51b5\u73b0\u5df2\u66f4\u6539\u4e3a\u4e86\u73b0\u5df2\u6536\u5230\u8d27\u7684\u72b6\u51b5\u4e86\u3002   &nbsp;   \u56e0\u4e3aEcshop\u7a0b\u5e8f\u7684recieve\u89c4\u5212\u662f\u7528\u6237\u70b9\u4e86\u8fde\u63a5\u76f4\u63a5\u5c31\u6539\u52a8\u8ba2\u5355\u72b6\u51b5\u5230\u627f\u8ba4\u6536\u8d27\uff0c\u800cQQ\u90ae\u4ef6spam\u7cfb\u7edf\u4f1a\u4e3b\u52a8\u53bb\u70b9\u90ae\u4ef6\u91cc\u7684\u8fde\u63a5\u662f\u4e0d\u662f\u5783\u573e\u6216\u8005\u5e7f\u544a\u5730\u5740\uff0c\u6240\u4ee5\u5168\u88ab\u70b9\u6210\u627f\u8ba4\u6536\u8d27\u4e86\uff0c\u53ea\u80fd\u7ecf\u8fc7recieve.php\u6587\u4ef6\u6765\u6539\u4e86\u3002   &nbsp;   \u7ffb\u5f00recieve.php\u6587\u4ef6\u67e5\u627e\u5982\u4e0b\u4ee3\u7801\uff1a    &nbsp; &nbsp;\/* \u4fee\u6539\u8ba2\u5355\u53d1\u8d27\u72b6\u6001\u4e3a\u201c\u786e\u8ba4\u6536\u8d27\u201d *\/   &nbsp; &nbsp; $sql = &#8220;UPDATE &#8221; . $ecs-&gt;table(&#8216;order_info&#8217;) . &#8221; SET shipping_status = &#8216;&#8221; . SS_RECEIVED . &#8220;&#8216; WHERE order_id = &#8216;$order_id'&#8221;;   &nbsp; &nbsp; $db-&gt;query($sql);   &nbsp; &nbsp; \/* \u8bb0\u5f55\u65e5\u5fd7 *\/   &nbsp; &nbsp; order_action($order[&#8216;order_sn&#8217;], $order[&#8216;order_status&#8217;], SS_RECEIVED, $order[&#8216;pay_status&#8217;], &#8221;, $_LANG[&#8216;buyer&#8217;]);   &nbsp; &nbsp; $msg = $_LANG[&#8216;act_ok&#8217;];    &nbsp;   \u5c06\u4ee5\u4e0a\u4ee3\u7801\u4fee\u6b63\u4e3a\u5982\u4e0b\uff1a    &nbsp;\/\/\u786e\u8ba4\u9875\u9762   &nbsp; &nbsp; $act = !empty($_REQUEST[&#8216;act&#8217;]) ? rawurldecode($_REQUEST[&#8216;con&#8217;]) : &#8216;confirm&#8217;; \/\/ \u9a8c\u8bc1\u7801   &nbsp; &nbsp; if ($act == &#8216;confirm&#8217;)   &nbsp; &nbsp; {   &nbsp; &nbsp; &nbsp; &nbsp; $msg = $order[&#8216;order_sn&#8217;].&#8221;\u786e\u8ba4\u6536\u8d27\uff1f&lt;button onclick=\\&#8221;location.href=&#8217;receive.php?act=receive&amp;id=&#8221;.$order_id.&#8221;&amp;con=&#8221;.rawurlencode($consignee).&#8221;&#8216;;\\&#8221;&gt;\u786e\u5b9a&lt;\/a&gt;&#8221;;   &nbsp; &nbsp; }   &nbsp; &nbsp; else   &nbsp; &nbsp; {   &nbsp; &nbsp; &nbsp; &nbsp; \/* \u4fee\u6539\u8ba2\u5355\u53d1\u8d27\u72b6\u6001\u4e3a\u201c\u786e\u8ba4\u6536\u8d27\u201d *\/   &nbsp; &nbsp; &nbsp; &nbsp; $sql = &#8220;UPDATE &#8221; . $ecs-&gt;table(&#8216;order_info&#8217;) . &#8221; SET shipping_status = &#8216;&#8221; . SS_RECEIVED . &#8220;&#8216; WHERE order_id = &#8216;$order_id'&#8221;;   &nbsp; &nbsp; &nbsp; &nbsp; $db-&gt;query($sql);   &nbsp; &nbsp; &nbsp; &nbsp; \/* \u8bb0\u5f55\u65e5\u5fd7 *\/   &nbsp; &nbsp; &nbsp; &nbsp; order_action($order[&#8216;order_sn&#8217;], $order[&#8216;order_status&#8217;], SS_RECEIVED, $order[&#8216;pay_status&#8217;], &#8221;, $_LANG[&#8216;buyer&#8217;]);   &nbsp; &nbsp; &nbsp; &nbsp; $msg = $_LANG[&#8216;act_ok&#8217;];   &nbsp; &nbsp; }<br \/>\n <\/p>\n","protected":false},"excerpt":{"rendered":"<p>ecshop\u540e\u53f0\u70b9\u51fb\u53d1\u8d27\u65f6\u4f1a\u4e3b\u52a8\u53d1\u9001\u90ae\u4ef6\u5230\u7528\u6237\u9884\u7559\u7684\u8054\u7edc\u90ae\u7bb1\u4e2d\uff0c\u7b80\u76f4\u56fd\u5916\u7684\u7f51\u7ad9\u90fd\u662f\u8fd9\u4e48\u64cd\u4f5c\u7684\uff0c\u6240\u4ee5\u5ba2\u6237\u4e5f\u9009\u7528\u6b64\u79cd\u65b9\u6cd5\u6765\u544a\u8bc9\u7528\u6237\u3002\u4f46\u4e0d\u6599\u6ca1\u591a\u4e45\uff0c\u4e0d\u5c11\u4e70\u5bb6\u53cd\u6620\u81ea\u5df1\u5206\u660e\u6ca1\u6709\u70b9\u51fb\u90ae\u4ef6\u4e2d\u7684\u627f\u8ba4\u6536\u8d27\u8fde\u63a5\uff0c\u53ef\u662f\u8fdb\u5165\u81ea\u5df1\u57fa\u5730\u5374\u53d1\u73b0\u8ba2\u5355\u72b6\u51b5\u73b0\u5df2\u66f4\u6539\u4e3a\u4e86\u73b0\u5df2\u6536\u5230\u8d27\u7684\u72b6\u51b5\u4e86\u3002 &nbsp; \u56e0\u4e3aEcshop\u7a0b\u5e8f\u7684recieve\u89c4\u5212\u662f\u7528\u6237\u70b9\u4e86\u8fde\u63a5\u76f4\u63a5\u5c31\u6539\u52a8\u8ba2\u5355\u72b6\u51b5\u5230\u627f\u8ba4\u6536\u8d27\uff0c\u800cQQ\u90ae\u4ef6spam\u7cfb\u7edf\u4f1a\u4e3b\u52a8\u53bb\u70b9\u90ae\u4ef6\u91cc\u7684\u8fde\u63a5\u662f\u4e0d\u662f\u5783\u573e\u6216\u8005\u5e7f\u544a\u5730\u5740\uff0c\u6240\u4ee5\u5168\u88ab\u70b9\u6210\u627f\u8ba4\u6536\u8d27\u4e86\uff0c\u53ea\u80fd\u7ecf\u8fc7recieve.php\u6587\u4ef6\u6765\u6539\u4e86\u3002 &nbsp; \u7ffb\u5f00recieve.php\u6587\u4ef6\u67e5\u627e\u5982\u4e0b\u4ee3\u7801\uff1a &nbsp; &nbsp;\/* \u4fee\u6539\u8ba2\u5355\u53d1\u8d27\u72b6\u6001\u4e3a\u201c\u786e\u8ba4\u6536\u8d27\u201d *\/ &nbsp; &nbsp; $sql = &#8220;UPDATE &#8221; . $ecs-&gt;table(&#8216;order_info&#8217;) . &#8221; SET shipping_status = &#8216;&#8221; . SS_RECEIVED . &#8220;&#8216; WHERE order_id = &#8216;$order_id&#8217;&#8221;; &nbsp; &nbsp; $db-&gt;query($sql); &nbsp; &nbsp; \/* \u8bb0\u5f55\u65e5\u5fd7 *\/ &nbsp; &nbsp; order_action($order[&#8216;order_sn&#8217;], $order[&#8216;order_status&#8217;], SS_RECEIVED, $order[&#8216;pay_status&#8217;], &#8221;, $_LANG[&#8216;buyer&#8217;]); &nbsp; &nbsp; $msg = $_LANG[&#8216;act_ok&#8217;]; &nbsp; \u5c06\u4ee5\u4e0a\u4ee3\u7801\u4fee\u6b63\u4e3a\u5982\u4e0b\uff1a &nbsp;\/\/\u786e\u8ba4\u9875\u9762 [&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-60366","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/60366","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=60366"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/60366\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=60366"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=60366"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=60366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}