{"id":60513,"date":"2025-04-24T09:22:02","date_gmt":"2025-04-24T01:22:02","guid":{"rendered":"https:\/\/fwq.ai\/blog\/60513\/"},"modified":"2025-04-24T09:22:02","modified_gmt":"2025-04-24T01:22:02","slug":"%e4%bf%ae%e6%94%b9ecshop%e7%bb%93%e7%ae%97%e4%b8%ad%e5%bf%83%e7%ab%8b%e5%8d%b3%e4%bd%bf%e7%94%a8%e6%94%af%e4%bb%98%e5%ae%9d%e6%94%af%e4%bb%98%e6%8c%89%e9%92%ae%e6%a0%b7%e5%bc%8f-2","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/60513\/","title":{"rendered":"\u4fee\u6539ECSHOP\u7ed3\u7b97\u4e2d\u5fc3\u201c\u7acb\u5373\u4f7f\u7528\u652f\u4ed8\u5b9d\u652f\u4ed8\u201d\u6309\u94ae\u6837\u5f0f"},"content":{"rendered":"<p>\u4fee\u6539ECSHOP\u7ed3\u7b97\u4e2d\u5fc3\u201c\u7acb\u5373\u4f7f\u7528\u652f\u4ed8\u5b9d\u652f\u4ed8\u201d\u6309\u94ae\u6837\u5f0f,\u51c6\u5907\u5de5\u4f5c\uff1a  <\/p>\n<p> \u4e00\u5f20\u652f\u4ed8\u5b9d\u7684\u56fe\u7247<\/p>\n<p> \u7b2c\u4e00\u6b65<\/p>\n<p> \u4e0b\u8f7d\u4e0a\u9762\u90a3\u4e2a\u56fe\u7247 alipay.png\uff0c\u653e\u5728 \/data\/images \u4e0b\uff0c \u5f53\u7136\uff0c\u5982\u679c\u4f60\u7f8e\u5de5\u4e0d\u9519\uff0c\u4e5f\u53ef\u4ee5\u81ea\u5df1\u8bbe\u8ba1\u4e00\u4e2a\u56fe\u7247\u6765\u7528\uff0c\u4e0d\u4e00\u5b9a\u975e\u7528\u6211\u8fd9\u4e2a\uff0c \u8fd9\u91cc\u53ea\u662f\u4e3e\u4e00\u4e2a\u4f8b\u5b50\u3002<\/p>\n<p> \u7b2c\u4e8c\u6b65\uff0c\u8981\u4fee\u6539\u7684\u6587\u4ef6 \\includes\\modules\\payment\\alipay.php<\/p>\n<p> \u539f\u6709\u6587\u4ef6\uff1a \u5728196\u884c<\/p>\n<pre>\r\n$button = '&lt;div style=\"text-align:center\"&gt;&lt;input type=\"button\" onclick=\"window.open(\\'https:\/\/www.alipay.com\/cooperate\/gateway.do?'.&#036;param. '&amp;sign='.md5($sign).'&amp;sign_type=MD5\\')\" value=\"' .$GLOBALS['_LANG']['pay_button']. '\" \/&gt;&lt;\/div&gt;';<\/pre>\n<p> \u4fee\u6539\u6210\uff1a<\/p>\n<pre>\r\n$button = '&lt;div style=\"text-align:center\"&gt;&lt;input type=\"button\" style=\"background:url(\/data\/images\/\u652f\u4ed8\u5b9d\u56fe\u7247)  no-repeat;width:155px;height:29px;border:0;\" onclick=\"window.open(\\'https:\/\/www.alipay.com\/cooperate\/gateway.do?'.&#036;param. '&amp;sign='.md5($sign).'&amp;sign_type=MD5\\')\" value=\"\u652f\u4ed8\u5b9d\u652f\u4ed8\" \/&gt;&lt;\/div&gt;';<\/pre>\n<p>   &nbsp;<br \/>\n <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4fee\u6539ECSHOP\u7ed3\u7b97\u4e2d\u5fc3\u201c\u7acb\u5373\u4f7f\u7528\u652f\u4ed8\u5b9d\u652f\u4ed8\u201d\u6309\u94ae\u6837\u5f0f,\u51c6\u5907\u5de5\u4f5c\uff1a \u4e00\u5f20\u652f\u4ed8\u5b9d\u7684\u56fe\u7247 \u7b2c\u4e00\u6b65 \u4e0b\u8f7d\u4e0a\u9762\u90a3\u4e2a\u56fe\u7247 alipay.png\uff0c\u653e\u5728 \/data\/images \u4e0b\uff0c \u5f53\u7136\uff0c\u5982\u679c\u4f60\u7f8e\u5de5\u4e0d\u9519\uff0c\u4e5f\u53ef\u4ee5\u81ea\u5df1\u8bbe\u8ba1\u4e00\u4e2a\u56fe\u7247\u6765\u7528\uff0c\u4e0d\u4e00\u5b9a\u975e\u7528\u6211\u8fd9\u4e2a\uff0c \u8fd9\u91cc\u53ea\u662f\u4e3e\u4e00\u4e2a\u4f8b\u5b50\u3002 \u7b2c\u4e8c\u6b65\uff0c\u8981\u4fee\u6539\u7684\u6587\u4ef6 \\includes\\modules\\payment\\alipay.php \u539f\u6709\u6587\u4ef6\uff1a \u5728196\u884c $button = &#8216;&lt;div style=&#8221;text-align:center&#8221;&gt;&lt;input type=&#8221;button&#8221; onclick=&#8221;window.open(\\&#8217;https:\/\/www.alipay.com\/cooperate\/gateway.do?&#8217;.&#036;param. &#8216;&amp;sign=&#8217;.md5($sign).&#8217;&amp;sign_type=MD5\\&#8217;)&#8221; value=&#8221;&#8216; .$GLOBALS[&#8216;_LANG&#8217;][&#8216;pay_button&#8217;]. &#8216;&#8221; \/&gt;&lt;\/div&gt;&#8217;; \u4fee\u6539\u6210\uff1a $button = &#8216;&lt;div style=&#8221;text-align:center&#8221;&gt;&lt;input type=&#8221;button&#8221; style=&#8221;background:url(\/data\/images\/\u652f\u4ed8\u5b9d\u56fe\u7247) no-repeat;width:155px;height:29px;border:0;&#8221; onclick=&#8221;window.open(\\&#8217;https:\/\/www.alipay.com\/cooperate\/gateway.do?&#8217;.&#036;param. &#8216;&amp;sign=&#8217;.md5($sign).&#8217;&amp;sign_type=MD5\\&#8217;)&#8221; value=&#8221;\u652f\u4ed8\u5b9d\u652f\u4ed8&#8221; \/&gt;&lt;\/div&gt;&#8217;; &nbsp;<\/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-60513","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/60513","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=60513"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/60513\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=60513"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=60513"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=60513"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}