{"id":275,"date":"2026-04-01T11:37:11","date_gmt":"2026-04-01T03:37:11","guid":{"rendered":"https:\/\/www.loongdi.net\/blog\/?p=275"},"modified":"2026-04-01T11:37:11","modified_gmt":"2026-04-01T03:37:11","slug":"%e5%be%b7%e8%ae%af%e7%94%b5%e8%ae%af%e4%ba%91%e6%8a%a5%e4%bb%b7%e5%b9%b3%e5%8f%b0%e6%93%8d%e4%bd%9c%e6%8c%87%e5%8d%97%e5%8f%8a%e5%ae%9e%e7%94%a8%e6%8a%80%e5%b7%a7%e6%8e%a8%e8%8d%90","status":"publish","type":"post","link":"https:\/\/www.loongdi.net\/blog\/275.html","title":{"rendered":"\u5fb7\u8baf\u7535\u8baf\u4e91\u62a5\u4ef7\u5e73\u53f0\u64cd\u4f5c\u6307\u5357\u53ca\u5b9e\u7528\u6280\u5de7\u63a8\u8350"},"content":{"rendered":"<p><p>\u4e91\u62a5\u4ef7\u662f\u4e00\u79cd\u901a\u8fc7\u4e91\u8ba1\u7b97\u5e73\u53f0\u63d0\u4f9b\u7684\u5728\u7ebf\u62a5\u4ef7\u89e3\u51b3\u65b9\u6848\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u4f01\u4e1a\u5feb\u901f\u3001\u51c6\u786e\u5730\u751f\u6210\u62a5\u4ef7\u5355\uff0c\u63d0\u9ad8\u9500\u552e\u6548\u7387\u3002\u672c\u6587\u5c06\u5411\u60a8\u5c55\u793a\u5982\u4f55\u4f7f\u7528\u4e91\u62a5\u4ef7\u5e73\u53f0\u8fdb\u884c\u64cd\u4f5c\uff0c\u5305\u62ec\u64cd\u4f5c\u524d\u7684\u51c6\u5907\u3001\u8be6\u7ec6\u64cd\u4f5c\u6b65\u9aa4\u3001\u5173\u952e\u547d\u4ee4\u548c\u4ee3\u7801\u793a\u4f8b\uff0c\u4ee5\u53ca\u6ce8\u610f\u4e8b\u9879\u548c\u5b9e\u7528\u6280\u5de7\u3002<\/p>\n<\/p>\n<p><h2>\u64cd\u4f5c\u524d\u7684\u51c6\u5907<\/h2>\n<\/p>\n<p><p>\u5728\u5f00\u59cb\u4f7f\u7528\u4e91\u62a5\u4ef7\u5e73\u53f0\u4e4b\u524d\uff0c\u8bf7\u786e\u4fdd\u60a8\u5df2\u7ecf\u5b8c\u6210\u4e86\u4ee5\u4e0b\u51c6\u5907\u5de5\u4f5c\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u6ce8\u518c\u5e76\u767b\u5f55\u4e91\u62a5\u4ef7\u5e73\u53f0\u3002<\/li>\n<li>\u4e86\u89e3\u5e73\u53f0\u7684\u57fa\u672c\u529f\u80fd\u548c\u64cd\u4f5c\u6d41\u7a0b\u3002<\/li>\n<li>\u51c6\u5907\u5fc5\u8981\u7684\u5546\u54c1\u4fe1\u606f\uff0c\u5982\u5546\u54c1\u540d\u79f0\u3001\u4ef7\u683c\u3001\u63cf\u8ff0\u7b49\u3002<\/li>\n<\/ul>\n<p><h2>\u5b8c\u6210\u4efb\u52a1\u6240\u9700\u7684\u8be6\u7ec6\u3001\u5206\u6b65\u64cd\u4f5c\u6307\u5357<\/h2>\n<\/p>\n<p><h3>\u6b65\u9aa4 1: \u521b\u5efa\u65b0\u7684\u62a5\u4ef7\u5355<\/h3>\n<\/p>\n<p><p>\u767b\u5f55\u4e91\u62a5\u4ef7\u5e73\u53f0\u540e\uff0c\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u521b\u5efa\u65b0\u7684\u62a5\u4ef7\u5355\uff1a<\/p>\n<\/p>\n<ol>\n<li>\u70b9\u51fb\u201c\u65b0\u5efa\u62a5\u4ef7\u5355\u201d\u6309\u94ae\u3002<\/li>\n<li>\u8f93\u5165\u62a5\u4ef7\u5355\u7684\u6807\u9898\u548c\u63cf\u8ff0\u3002<\/li>\n<li>\u9009\u62e9\u62a5\u4ef7\u5355\u7684\u6709\u6548\u671f\u3002<\/li>\n<\/ol>\n<p><h3>\u6b65\u9aa4 2: \u6dfb\u52a0\u5546\u54c1\u5230\u62a5\u4ef7\u5355<\/h3>\n<\/p>\n<p><p>\u5c06\u5546\u54c1\u6dfb\u52a0\u5230\u62a5\u4ef7\u5355\u4e2d\uff0c\u64cd\u4f5c\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<ol>\n<li>\u70b9\u51fb\u201c\u6dfb\u52a0\u5546\u54c1\u201d\u6309\u94ae\u3002<\/li>\n<li>\u641c\u7d22\u5546\u54c1\u540d\u79f0\u6216\u626b\u63cf\u5546\u54c1\u6761\u7801\u3002<\/li>\n<li>\u9009\u62e9\u5546\u54c1\u5e76\u8bbe\u7f6e\u6570\u91cf\u548c\u4ef7\u683c\u3002<\/li>\n<li>\u70b9\u51fb\u201c\u6dfb\u52a0\u201d\u6309\u94ae\u3002<\/li>\n<\/ol>\n<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/www.loongdi.net\/blog\/wp-content\/uploads\/2026\/03\/H37yX.jpg\" alt=\"\u5fb7\u8baf\u7535\u8baf\u4e91\u62a5\u4ef7\u5e73\u53f0\u64cd\u4f5c\u6307\u5357\u53ca\u5b9e\u7528\u6280\u5de7\u63a8\u8350\" title=\"\u5fb7\u8baf\u7535\u8baf\u4e91\u62a5\u4ef7\u5e73\u53f0\u64cd\u4f5c\u6307\u5357\u53ca\u5b9e\u7528\u6280\u5de7\u63a8\u8350\"><\/p>\n<p><h3>\u6b65\u9aa4 3: \u4fdd\u5b58\u548c\u53d1\u9001\u62a5\u4ef7\u5355<\/h3>\n<\/p>\n<p><p>\u5b8c\u6210\u5546\u54c1\u6dfb\u52a0\u540e\uff0c\u4fdd\u5b58\u5e76\u53d1\u9001\u62a5\u4ef7\u5355\uff1a<\/p>\n<\/p>\n<ol>\n<li>\u70b9\u51fb\u201c\u4fdd\u5b58\u201d\u6309\u94ae\u3002<\/li>\n<li>\u9009\u62e9\u53d1\u9001\u65b9\u5f0f\uff0c\u5982\u7535\u5b50\u90ae\u4ef6\u6216\u77ed\u4fe1\u3002<\/li>\n<li>\u8f93\u5165\u6536\u4ef6\u4eba\u4fe1\u606f\u5e76\u53d1\u9001\u3002<\/li>\n<\/ol>\n<p><h2>\u6d89\u53ca\u7684\u5173\u952e\u547d\u4ee4\u3001\u4ee3\u7801\u6216\u914d\u7f6e\u793a\u4f8b<\/h2>\n<\/p>\n<p><p>\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5728\u4e91\u62a5\u4ef7\u5e73\u53f0\u4e2d\u53ef\u80fd\u4f7f\u7528\u5230\u7684\u5173\u952e\u547d\u4ee4\u548c\u4ee3\u7801\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code>\/\/ \u6dfb\u52a0\u5546\u54c1\u5230\u62a5\u4ef7\u5355<\/p>\r\n<p>POST \/api\/quotation\/add_item<\/p>\r\n<p>Content-Type: application\/json<\/p>\r\n\r\n<p>{<\/p>\r\n<p>    \"quotation_id\": \"12345\",<\/p>\r\n<p>    \"product_id\": \"67890\",<\/p>\r\n<p>    \"quantity\": 2,<\/p>\r\n<p>    \"price\": 99.99<\/p>\r\n<p>}<\/p>\r\n\r\n<p>\/\/ \u53d1\u9001\u62a5\u4ef7\u5355<\/p>\r\n<p>POST \/api\/quotation\/send<\/p>\r\n<p>Content-Type: application\/json<\/p>\r\n\r\n<p>{<\/p>\r\n<p>    \"quotation_id\": \"12345\",<\/p>\r\n<p>    \"recipient_email\": \"customer@example.com\"<\/p>\r\n<p>}<\/p>\r\n<p><\/code><\/pre>\n<\/p>\n<p><h2>\u5bf9\u547d\u4ee4\u3001\u4ee3\u7801\u6216\u91cd\u8981\u6982\u5ff5\u7684\u6e05\u6670\u89e3\u91ca<\/h2>\n<\/p>\n<p><p><strong>API \u8c03\u7528<\/strong>: \u4e91\u62a5\u4ef7\u5e73\u53f0\u4f7f\u7528 RESTful API\uff0c\u901a\u8fc7 HTTP \u8bf7\u6c42\u4e0e\u670d\u52a1\u5668\u8fdb\u884c\u4ea4\u4e92\u3002<\/p>\n<\/p>\n<p><p><strong>JSON \u683c\u5f0f<\/strong>: API \u8bf7\u6c42\u548c\u54cd\u5e94\u6570\u636e\u901a\u5e38\u4ee5 JSON \u683c\u5f0f\u53d1\u9001\u548c\u63a5\u6536\u3002<\/p>\n<\/p>\n<p><p><strong>Quotation ID<\/strong>: \u62a5\u4ef7\u5355\u7684\u552f\u4e00\u6807\u8bc6\u7b26\uff0c\u7528\u4e8e\u5728 API \u8c03\u7528\u4e2d\u5f15\u7528\u62a5\u4ef7\u5355\u3002<\/p>\n<\/p>\n<p><p><strong>Product ID<\/strong>: \u5546\u54c1\u7684\u552f\u4e00\u6807\u8bc6\u7b26\uff0c\u7528\u4e8e\u5728 API \u8c03\u7528\u4e2d\u5f15\u7528\u5546\u54c1\u3002<\/p>\n<\/p>\n<p><h2>\u64cd\u4f5c\u8fc7\u7a0b\u4e2d\u53ef\u80fd\u9047\u5230\u7684\u95ee\u9898\u3001\u6ce8\u610f\u4e8b\u9879\u6216\u76f8\u5173\u7684\u5b9e\u7528\u6280\u5de7<\/h2>\n<\/p>\n<p><h3>\u95ee\u9898 1: \u5546\u54c1\u65e0\u6cd5\u6dfb\u52a0\u5230\u62a5\u4ef7\u5355<\/h3>\n<\/p>\n<p><p>\u89e3\u51b3\u65b9\u6cd5\uff1a\u68c0\u67e5\u5546\u54c1\u540d\u79f0\u6216\u6761\u7801\u662f\u5426\u6b63\u786e\uff0c\u786e\u4fdd\u5546\u54c1\u5b58\u5728\u4e8e\u5e73\u53f0\u4e0a\u3002<\/p>\n<\/p>\n<p><h3>\u95ee\u9898 2: \u62a5\u4ef7\u5355\u53d1\u9001\u5931\u8d25<\/h3>\n<\/p>\n<p><p>\u89e3\u51b3\u65b9\u6cd5\uff1a\u68c0\u67e5\u6536\u4ef6\u4eba\u4fe1\u606f\u662f\u5426\u6b63\u786e\uff0c\u786e\u8ba4\u7535\u5b50\u90ae\u4ef6\u670d\u52a1\u5668\u662f\u5426\u53ef\u8fbe\u3002<\/p>\n<\/p>\n<p><h3>\u6ce8\u610f\u4e8b\u9879<\/h3>\n<\/p>\n<ul>\n<li>\u786e\u4fdd\u7f51\u7edc\u8fde\u63a5\u7a33\u5b9a\uff0c\u907f\u514d\u64cd\u4f5c\u4e2d\u65ad\u3002<\/li>\n<li>\u5b9a\u671f\u5907\u4efd\u62a5\u4ef7\u5355\u6570\u636e\uff0c\u4ee5\u9632\u6570\u636e\u4e22\u5931\u3002<\/li>\n<li>\u719f\u6089\u5e73\u53f0\u63d0\u4f9b\u7684\u5404\u79cd\u529f\u80fd\uff0c\u63d0\u9ad8\u64cd\u4f5c\u6548\u7387\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u4e91\u62a5\u4ef7\u662f\u4e00\u79cd\u901a\u8fc7\u4e91\u8ba1\u7b97\u5e73\u53f0\u63d0\u4f9b\u7684\u5728\u7ebf\u62a5\u4ef7\u89e3\u51b3\u65b9\u6848\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u4f01\u4e1a\u5feb\u901f\u3001\u51c6\u786e\u5730\u751f\u6210\u62a5\u4ef7\u5355\uff0c\u63d0\u9ad8\u9500\u552e\u6548\u7387\u3002\u672c\u6587\u5c06\u5411\u60a8\u5c55\u793a\u5982\u4f55\u4f7f\u7528\u4e91\u62a5\u4ef7\u5e73\u53f0\u8fdb\u884c\u64cd\u4f5c\uff0c\u5305\u62ec\u64cd\u4f5c\u524d\u7684\u51c6\u5907\u3001\u8be6\u7ec6\u64cd\u4f5c\u6b65\u9aa4\u3001\u5173\u952e\u547d\u4ee4\u548c\u4ee3\u7801\u793a\u4f8b\uff0c\u4ee5\u53ca\u6ce8\u610f\u4e8b\u9879\u548c\u5b9e\u7528\u6280\u5de7\u3002 \u64cd\u4f5c\u524d\u7684\u51c6\u5907 \u5728\u5f00&#8230;<\/p>\n","protected":false},"author":1,"featured_media":116,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"topic":[],"class_list":["post-275","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hw"],"_links":{"self":[{"href":"https:\/\/www.loongdi.net\/blog\/wp-json\/wp\/v2\/posts\/275","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.loongdi.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.loongdi.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.loongdi.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.loongdi.net\/blog\/wp-json\/wp\/v2\/comments?post=275"}],"version-history":[{"count":1,"href":"https:\/\/www.loongdi.net\/blog\/wp-json\/wp\/v2\/posts\/275\/revisions"}],"predecessor-version":[{"id":276,"href":"https:\/\/www.loongdi.net\/blog\/wp-json\/wp\/v2\/posts\/275\/revisions\/276"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.loongdi.net\/blog\/wp-json\/wp\/v2\/media\/116"}],"wp:attachment":[{"href":"https:\/\/www.loongdi.net\/blog\/wp-json\/wp\/v2\/media?parent=275"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.loongdi.net\/blog\/wp-json\/wp\/v2\/categories?post=275"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.loongdi.net\/blog\/wp-json\/wp\/v2\/tags?post=275"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.loongdi.net\/blog\/wp-json\/wp\/v2\/topic?post=275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}