{"id":199177,"date":"2025-05-03T11:04:09","date_gmt":"2025-05-03T03:04:09","guid":{"rendered":"https:\/\/server.hk\/cnblog\/199177\/"},"modified":"2025-05-03T11:04:09","modified_gmt":"2025-05-03T03:04:09","slug":"%e4%bf%ae%e6%94%b9ecshop%e5%95%86%e5%93%81%e8%b4%ad%e4%b9%b0%e8%ae%b0%e5%bd%95%e9%bb%98%e8%ae%a4%e6%af%8f%e9%a1%b5%e6%9d%a1%e6%95%b0","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/199177\/","title":{"rendered":"\u4fee\u6539ecshop\u5546\u54c1\u8d2d\u4e70\u8bb0\u5f55\u9ed8\u8ba4\u6bcf\u9875\u6761\u6570"},"content":{"rendered":"<p>&nbsp;<span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\">ECSHOP\u5546\u54c1\u8be6\u60c5\u9875\u7684\u8d2d\u4e70\u8bb0\u5f55\uff0c\u9ed8\u8ba4\u663e\u793a5\u6761\u9500\u552e\u8bb0\u5f55\uff0c\u5c31\u5f00\u59cb\u7ffb\u9875\uff0c<\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\"><br \/> <\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\"><br \/> <\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\">\u6211\u60f3\u6539\u6210\u663e\u793a10\u6761\u8bb0\u5f55\u540e\u518d\u7ffb\u9875\uff0c\u8981\u5982\u4f55\u4fee\u6539\u5462\uff1f\uff1f<\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\"><br \/> <\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\"><br \/> <\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\"><br \/> <\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\">\u597d\u6a21\u677f\u4e0b\u9762\u6765\u8bf4\u4e00\u4e0b\u6559\u7a0b<\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\"><br \/> <\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\"><br \/> <\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\">1\uff09\u3001<\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\"><br \/> <\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\"><br \/> <\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\">\u9996\u5148\u6765\u4fee\u6539 includes\/lib_insert.php \u6587\u4ef6\u91cc\u7684 insert_bought_notes($arr) \u51fd\u6570\u90e8\u5206<\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\"><br \/> <\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\"><br \/> <\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\">\u627e\u5230<\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\"><br \/> <\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\"><br \/> <\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\">&#8216; ORDER BY oi.add_time DESC LIMIT 5&#8217;<\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\"><br \/> <\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\"><br \/> <\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\">\u548c<\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\">&nbsp;<\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\"><br \/> <\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\"><br \/> <\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\">$pager[&#8216;size&#8217;]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = $size = 5;<\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\"><br \/> <\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\"><br \/> <\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\">\u5c06\u90a3\u4e2a 5 \u90fd\u6539\u6210 10<\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\"><br \/> <\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\"><br \/> <\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\">2\uff09\u3001<\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\"><br \/> <\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\"><br \/> <\/span><span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;font-size: 12px;line-height: 18px\">\u63a5\u7740\u6253\u5f00 \/goods.php \u6587\u4ef6\uff0c\u6267\u884c\u4e0b\u9762\u56fe\u7247\u63cf\u8ff0\u4e2d\u7684\u64cd\u4f5c<\/span><br \/> <font><span style=\"font-size: 12px;line-height: 18px\"><br \/> <\/span><\/font><\/p>\n<p>\u627e\u5230($page-1) : 0) * 5 . &#8216;,5&#8217;;<\/p>\n<p>\u4fee\u6539\u6210&nbsp;($page-1) : 0) * 1 . &#8217;15&#8217;;<\/p>\n<p>\u627e\u5230$pager[&#8216;size&#8217;] &nbsp; &nbsp; &nbsp; &nbsp; = $size = 5;<\/p>\n<p>\u4fee\u6539\u6210&nbsp;$pager[&#8216;size&#8217;] &nbsp; &nbsp; &nbsp; &nbsp; = $size = 1;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;ECSHOP\u5546\u54c1\u8be6\u60c5&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4925],"tags":[],"class_list":["post-199177","post","type-post","status-publish","format-standard","hentry","category-4925"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/199177","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=199177"}],"version-history":[{"count":0,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/199177\/revisions"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=199177"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=199177"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=199177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}