{"id":59182,"date":"2025-04-23T08:57:21","date_gmt":"2025-04-23T00:57:21","guid":{"rendered":"https:\/\/fwq.ai\/blog\/59182\/"},"modified":"2025-04-23T08:57:21","modified_gmt":"2025-04-23T00:57:21","slug":"ecshop%e5%95%86%e5%93%81%e8%af%a6%e6%83%85%e9%a1%b5%e6%98%be%e7%a4%ba%e6%89%80%e5%b1%9e%e5%93%81%e7%89%8clogo","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/59182\/","title":{"rendered":"ecshop\u5546\u54c1\u8be6\u60c5\u9875\u663e\u793a\u6240\u5c5e\u54c1\u724cLOGO"},"content":{"rendered":"<p>1 \u627eincludes\/lib_goods.php\u628ab.brand_<span>logo<\/span>\u52a0\u4e0a.<br \/> \/**<br \/> * \u83b7\u5f97\u5546\u54c1\u7684\u8be6\u7ec6\u4fe1\u606f<br \/> *<br \/> * @access&nbsp;&nbsp;public<br \/> * @param&nbsp; &nbsp;integer&nbsp; &nbsp;&nbsp;&nbsp;$goods_id<br \/> * @return&nbsp;&nbsp;void<br \/> *\/<br \/> function get_goods_info($goods_id)<br \/> {<br \/> &nbsp; &nbsp; $time = gmtime();<br \/> &nbsp; &nbsp; $sql = &#8216;SELECT g.*, c.measure_unit, b.brand_id, b.brand_logo, b.brand_name AS goods_brand, <\/p>\n<p> 2 good.dwt <span>\u9875\u9762<\/span>\u8c03\u7528\u56fe\u7247<span>\u5730\u5740<\/span>\u7528&lt;img src=&#8221;\/data\/brandlogo\/{$goods.brand_logo}&#8221;&gt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1 \u627eincludes\/lib_goods.php\u628ab.brand_logo\u52a0\u4e0a. \/** * \u83b7\u5f97\u5546\u54c1\u7684\u8be6\u7ec6\u4fe1\u606f * * @access&nbsp;&nbsp;public * @param&nbsp; &nbsp;integer&nbsp; &nbsp;&nbsp;&nbsp;$goods_id * @return&nbsp;&nbsp;void *\/ function get_goods_info($goods_id) { &nbsp; &nbsp; $time = gmtime(); &nbsp; &nbsp; $sql = &#8216;SELECT g.*, c.measure_unit, b.brand_id, b.brand_logo, b.brand_name AS goods_brand, 2 good.dwt \u9875\u9762\u8c03\u7528\u56fe\u7247\u5730\u5740\u7528&lt;img src=&#8221;\/data\/brandlogo\/{$goods.brand_logo}&#8221;&gt;<\/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-59182","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/59182","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=59182"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/59182\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=59182"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=59182"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=59182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}