{"id":630,"date":"2024-07-10T23:15:31","date_gmt":"2024-07-10T15:15:31","guid":{"rendered":"https:\/\/fugary.com\/?p=630"},"modified":"2025-05-30T16:08:29","modified_gmt":"2025-05-30T08:08:29","slug":"%e7%ae%80%e5%8d%95mock%e6%9c%8d%e5%8a%a1simple-boot-mock-server%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8","status":"publish","type":"post","link":"https:\/\/fugary.com\/?p=630","title":{"rendered":"\u7b80\u5355mock\u670d\u52a1simple-boot-mock-server\u5982\u4f55\u4f7f\u7528"},"content":{"rendered":"<p>\u5173\u4e8e\u6b64<code>mock<\/code>\u670d\u52a1\u76f8\u5173\u4ecb\u7ecd\u89c1\uff1a<a href=\"https:\/\/fugary.com\/?p=626\">https:\/\/fugary.com\/?p=626<\/a><\/p>\n<h3>\u5b89\u88c5\u8fd0\u884c<\/h3>\n<ol>\n<li>\u4e0b\u8f7d\u8fd0\u884c\uff1a<a href=\"https:\/\/github.com\/fugary\/simple-boot-mock-server\/releases\">https:\/\/github.com\/fugary\/simple-boot-mock-server\/releases<\/a> \u4e0b\u8f7d\u6700\u65b0zip\u6587\u5177\n<ol>\n<li>\u4e0b\u8f7d\u89e3\u538b\u540e\uff0c<code>bin\\start.bat<\/code>\u8fd0\u884c\u5373\u53ef<\/li>\n<\/ol>\n<\/li>\n<li>Docker\u8fd0\u884c\uff1a<code>docker run -p 9086:9086 fugary\/simple-boot-mock-server:latest<\/code><\/li>\n<\/ol>\n<h3>\u767b\u5f55\u4f7f\u7528<\/h3>\n<p>\u9ed8\u8ba4\u542f\u52a8\u8bbf\u95ee\uff1a<a href=\"http:\/\/localhost:9086\">http:\/\/localhost:9086<\/a><\/p>\n<p>\u6709\u4e24\u4e2a\u7528\u6237<code>admin\/12345678<\/code>\u548c<code>mock\/mock<\/code>\uff0c\u767b\u5f55\u540e\u7b2c\u4e00\u65f6\u95f4\u4fee\u6539\u5bc6\u7801\uff0c\u65b0\u5efa\u81ea\u5df1\u7684\u8d26\u6237<\/p>\n<h4>\u4fee\u6539\u5bc6\u7801<\/h4>\n<p>\u8fdb\u5165\u4e2a\u4eba\u8d44\u6599\uff0c\u6e05\u7a7a\u5bc6\u7801\uff0c\u4fee\u6539\u81ea\u5df1\u7684\u5bc6\u7801\u5373\u53ef<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/219aee4c2db73c25e72a99df06fa4b1d\/image-20240710215302252.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/219aee4c2db73c25e72a99df06fa4b1d\/image-20240710215302252.png\" alt=\"image-20240710215302252\" \/><\/div><\/p>\n<h3>mock\u5206\u7ec4<\/h3>\n<p>\u8fdb\u5165<code>mock<\/code>\u5206\u7ec4\u9875\u9762\uff0c\u70b9\u51fb\u3010\u65b0\u589e\u3011\uff0c\u6bcf\u4e2a\u5206\u7ec4\u5bf9\u5e94\u4e00\u4e2a<code>api<\/code>\u63a5\u53e3\u7ec4\uff0c\u91cc\u9762\u53ef\u4ee5\u6709\u591a\u4e2a\u8bf7\u6c42\u8def\u5f84\uff0c\u6bcf\u4e2a\u8def\u5f84\u53ef\u4ee5\u8ba4\u4e3a\u662f\u4e00\u4e2a<code>api<\/code>\u63a5\u53e3\u3002<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/c6b4c72e26c4f4132637d225aea647fb\/image-20240710215424610.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/c6b4c72e26c4f4132637d225aea647fb\/image-20240710215424610.png\" alt=\"image-20240710215424610\" \/><\/div><\/p>\n<p>\u65b0\u589e\uff0c\u4e3b\u8981\u586b\u5199\u540d\u3010\u5206\u7ec4\u540d\u79f0\u3011\u5c31\u53ef\u4ee5\u4e86\uff0c\u3010\u8def\u5f84ID\u3011\u4e00\u822c\u81ea\u52a8\u751f\u6210\uff08\u9700\u8981\u5168\u5c40\u552f\u4e00\uff09\uff0c\u4e0d\u8fc7\u4fdd\u7559\u624b\u52a8\u586b\u5199\u7684\u652f\u6301\uff0c\u65b9\u4fbf\u9700\u8981\u624b\u52a8\u6307\u5b9a\u7684\u7279\u6b8a\u60c5\u51b5\u3002<\/p>\n<p><strong>\u6ce8\u610f\uff1a\u4ee3\u7406\u5730\u5740\u662f\u914d\u7f6e\u7684\u8bf7\u6c42\u4e4b\u5916\u7684\u5730\u5740\u5c06\u53d1\u9001\u5230\u4ee3\u7406\u5730\u5740\u83b7\u53d6\u6570\u636e\uff0c\u652f\u6301http\u548chttps\uff0c\u4e5f\u5c31\u662f\u9700\u8981\u4f7f\u7528\u7684\u771f\u5b9e\u5730\u5740\uff0c\u672c\u5730mock\u8fd9\u4e2a\u662f\u4e0d\u9700\u8981\u586b\u5199\u7684<\/strong><\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/c9c24149040d524103de03e07ea74684\/image-20240710215951061.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/c9c24149040d524103de03e07ea74684\/image-20240710215951061.png\" alt=\"image-20240710215951061\" \/><\/div><\/p>\n<p>\u70b9\u51fb\u3010\u914d\u7f6e\u3011\u8fdb\u5165\u5b50\u9875\u9762\u914d\u7f6e\u8bf7\u6c42\u8def\u5f84<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/a8dd3f45cdf9c1ba928c12d3fd0190d7\/image-20240710220339217.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/a8dd3f45cdf9c1ba928c12d3fd0190d7\/image-20240710220339217.png\" alt=\"image-20240710220339217\" \/><\/div><\/p>\n<h3>mock\u8bf7\u6c42<\/h3>\n<p>\u4e00\u4e2a<code>mock<\/code>\u5206\u7ec4\u4e0b\u9762\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a<code>mock<\/code>\u8bf7\u6c42\uff0c\u5904\u7406\u4e0d\u540c\u7684\u8bf7\u6c42\u5e76\u7ed9\u51fa\u54cd\u5e94\uff0c\u4e0b\u9762\u4e09\u4e2a\u503c\u552f\u4e00\u5b9a\u4f4d\u4e00\u4e2a\u8bf7\u6c42<\/p>\n<ol>\n<li>\u8bf7\u6c42\u8def\u5f84\uff08\u9ed8\u8ba4\u4f1a\u81ea\u52a8\u5728\u524d\u9762\u52a0\u4e0a<code>\/<\/code>\uff09<\/li>\n<li>\u8bf7\u6c42\u65b9\u6cd5<\/li>\n<li>\u5339\u914d\u89c4\u5219<\/li>\n<\/ol>\n<h4>\u65b0\u5efa\u8bf7\u6c42<\/h4>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/31470f0e353aae5580e8ffa477de7467\/image-20240710220501949.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/31470f0e353aae5580e8ffa477de7467\/image-20240710220501949.png\" alt=\"image-20240710220501949\" \/><\/div><\/p>\n<p>\u4fdd\u5b58\u540e\u53ef\u4ee5\u70b9\u51fb\u6d4b\u8bd5\uff1a<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/124bdf2a9c11c1e18ea25a43da7ccfc9\/image-20240710220804994.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/124bdf2a9c11c1e18ea25a43da7ccfc9\/image-20240710220804994.png\" alt=\"image-20240710220804994\" \/><\/div><\/p>\n<h4>\u6d4b\u8bd5\u8bf7\u6c42<\/h4>\n<p>\u8bf7\u6c42\u6d4b\u8bd5\u8fd9\u5757\u8bf4\u660e\uff1a<\/p>\n<ol>\n<li>\u5982\u679c\u5728\u5206\u7ec4\u65f6\u6ca1\u6709\u914d\u7f6e\u3010\u4ee3\u7406\u5730\u5740\u3011\uff0c\u53ea\u914d\u7f6e\u8bf7\u6c42\u6ca1\u6709\u914d\u7f6e\u54cd\u5e94\u6570\u636e\u5c06\u4f1a\u5f97\u5230<code>404<\/code>\u9519\u8bef<\/li>\n<li><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/110f34b37c4d35c482f8bbe2180a7a84\/image-20240710220956939.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/110f34b37c4d35c482f8bbe2180a7a84\/image-20240710220956939.png\" alt=\"image-20240710220956939\" \/><\/div><\/li>\n<li>\u5982\u679c\u5728\u5206\u7ec4\u65f6\u914d\u7f6e\u4e86\u3010\u4ee3\u7406\u5730\u5740\u3011\uff0c\u53ea\u914d\u7f6e\u8bf7\u6c42\u6ca1\u6709\u914d\u7f6e\u54cd\u5e94\u6570\u636e\u5c06\u4f1a\u8f6c\u53d1\u7ed9\u4ee3\u7406\u5730\u5740\uff0c\u4ece\u4ee3\u7406\u5730\u5740\u83b7\u53d6\u54cd\u5e94\uff1a<\/li>\n<li><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/fe9f04dd18b8bc3551e5bfe754bcc335\/image-20240710220911252.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/fe9f04dd18b8bc3551e5bfe754bcc335\/image-20240710220911252.png\" alt=\"image-20240710220911252\" \/><\/div><\/li>\n<li>\u5982\u679c\u914d\u7f6e\u4e86\u54cd\u5e94\u6570\u636e\uff0c\u5c06\u4f1a\u8fd4\u56de\u914d\u7f6e\u7684\u54cd\u5e94\u6570\u636e\uff0c\u4e0b\u9762\u4f1a\u4ecb\u7ecd\u5982\u4f55\u914d\u7f6e\u54cd\u5e94\u6570\u636e\uff0c\u5c06\u5728\u540e\u9762\u505a\u6d4b\u8bd5<\/li>\n<\/ol>\n<h3>mock\u54cd\u5e94\u6570\u636e<\/h3>\n<p>\u54cd\u5e94\u6570\u636e\u662f\u7ed9\u5f53\u524d\u8bf7\u6c42\u8def\u5f84\u914d\u7f6e\u5b9e\u9645\u7684\u54cd\u5e94\u4f53\uff0c\u652f\u6301\u5404\u79cd\u72b6\u6001\u7801\uff0ccontent type\u7b49<\/p>\n<h4>\u65b0\u5efa\u54cd\u5e94\u6570\u636e<\/h4>\n<p>\u6bcf\u4e2a\u8bf7\u6c42\u4e0b\u9762\u90fd\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u54cd\u5e94\u6570\u636e\uff0c\u4f46\u662f\u53ea\u6709\u4e00\u4e2a\u9ed8\u8ba4\u8bf7\u6c42\u6570\u636e<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/ad76e010fed3d43837903a038dea93c0\/image-20240710221322130.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/ad76e010fed3d43837903a038dea93c0\/image-20240710221322130.png\" alt=\"image-20240710221322130\" \/><\/div><\/p>\n<p>\u7b80\u5355\u5199\u6b7b\u914d\u7f6e\u54cd\u5e94\u6570\u636e\u5f88\u7b80\u5355\uff0c\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/f8a2fde012b0a243bdf4ea3b696d4930\/image-20240710221611946.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/f8a2fde012b0a243bdf4ea3b696d4930\/image-20240710221611946.png\" alt=\"image-20240710221611946\" \/><\/div><\/p>\n<p>\u4fdd\u5b58\u540e\u5c31\u53ef\u4ee5\u6d4b\u8bd5\u5b9e\u9645\u54cd\u5e94<\/p>\n<p><strong>\u6ce8\u610f\uff1a\u8fd9\u91cc\u6709\u4e24\u4e2a\u6d4b\u8bd5:<\/strong><\/p>\n<ol>\n<li>\u8bf7\u6c42\u6d4b\u8bd5\u65f6\u9488\u5bf9\u8bf7\u6c42\u7684\uff0c\u8bf7\u6c42\u4e0b\u9762\u914d\u7f6e\u6709\u591a\u4e2a\u54cd\u5e94\u6570\u636e\u65f6\uff0c\u9009\u62e9\u7b2c\u4e00\u6761\uff0c\u5982\u679c\u6307\u5b9a\u4e86\u9ed8\u8ba4\u6570\u636e\u5c31\u53d6\u9ed8\u8ba4\u6570\u636e<\/li>\n<li>\u6570\u636e\u6d4b\u8bd5\u65f6\u9488\u5bf9\u5355\u4e2a\u6570\u636e\u7684\uff0c\u6bcf\u4e2a\u6570\u636e\u6d4b\u8bd5\u65f6\u8fd4\u56de\u81ea\u5df1\u914d\u7f6e\u7684\u54cd\u5e94\u6570\u636e<\/li>\n<\/ol>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/dcc917288f7fd7d5581c3854517865d9\/image-20240710221906003.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/dcc917288f7fd7d5581c3854517865d9\/image-20240710221906003.png\" alt=\"image-20240710221905940\" \/><\/div><\/p>\n<p>\u56e0\u4e3a\u53ea\u6709\u552f\u4e00\u4e00\u6761\u6570\u636e\uff0c\u8bf7\u6c42\u6d4b\u8bd5\u548c\u54cd\u5e94\u6570\u636e\u6d4b\u8bd5\u65f6\u54cd\u5e94\u7684\u6570\u636e\u90fd\u4e00\u6837\uff1a<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/70a14e5983b6cb6dc6c4faa694f3fcfc\/image-20240710222409692.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/70a14e5983b6cb6dc6c4faa694f3fcfc\/image-20240710222409692.png\" alt=\"image-20240710222409692\" \/><\/div><\/p>\n<h4>\u9ed8\u8ba4\u54cd\u5e94\u6570\u636e<\/h4>\n<p>\u6709\u591a\u6761\u54cd\u5e94\u6570\u636e\u7684\u65f6\u5019\u53ef\u4ee5\u6307\u5b9a\u67d0\u4e00\u6761\u4e3a\u9ed8\u8ba4\u6570\u636e\uff0c\u5728\u6d4b\u8bd5\u591a\u79cd\u54cd\u5e94\u7684\u65f6\u5019\u5f88\u6709\u7528\uff0c\u6bd4\u5982\u8981\u6d4b\u8bd5\u6b63\u5e38\u548c\u9519\u8bef\u4e24\u79cd\u54cd\u5e94\uff0c\u53ef\u4ee5\u5148\u914d\u7f6e\u597d\u4e24\u6761\u54cd\u5e94\u6570\u636e\uff0c\u5f53\u9700\u8981\u6b63\u786e\u6570\u636e\u65f6\uff0c\u5c31\u628a\u6b63\u786e\u7684\u90a3\u4e00\u6761\u8bbe\u7f6e\u4e3a\u9ed8\u8ba4\uff0c\u5982\u679c\u9700\u8981\u9519\u8bef\u7684\u6570\u636e\u65f6\uff0c\u5c31\u628a\u9519\u8bef\u90a3\u6761\u8bbe\u7f6e\u4e3a\u9ed8\u8ba4\u3002<\/p>\n<p>\u3010\u9ed8\u8ba4\u6807\u8bb0\u3011\u4e0e\u3010\u8bbe\u7f6e\u9ed8\u8ba4\u6309\u94ae\u3011\u89c1\u4e0b\u56fe<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/7931c78b65336b164049890705865d96\/image-20240710222933373.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/7931c78b65336b164049890705865d96\/image-20240710222933373.png\" alt=\"image-20240710222933373\" \/><\/div><\/p>\n<p>\u5982\u679c\u628a\u9519\u8bef\u8bbe\u7f6e\u4e3a\u9ed8\u8ba4\uff0c\u6d4b\u8bd5\u5982\u4e0b\uff1a<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/0460d51897093d271b8b0ef0283ee943\/image-20240710223051092.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/0460d51897093d271b8b0ef0283ee943\/image-20240710223051092.png\" alt=\"image-20240710223051092\" \/><\/div><\/p>\n<h4>\u6570\u636e\u590d\u5236\u529f\u80fd<\/h4>\n<p>\u4e3a\u4e86\u5feb\u901f\u6dfb\u52a0\u591a\u6761\u6570\u636e\uff0c\u53ef\u4ee5\u76f4\u63a5\u70b9\u51fb\u67d0\u4e00\u6761\u6570\u636e\u7684\u3010\u590d\u5236\u6309\u94ae\u3011<div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/63fedaef8833f29c38e32891236d692e\/image-20240710222707326.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/63fedaef8833f29c38e32891236d692e\/image-20240710222707326.png\" alt=\"image-20240710222707326\" \/><\/div>\uff0c\u53ef\u4ee5\u5feb\u901f\u590d\u5236\u4e00\u4efd\u4e00\u6a21\u4e00\u6837\u7684\u6570\u636e\uff0c\u7136\u540e\u4fee\u6539\u6210\u81ea\u5df1\u60f3\u8981\u7684\u6570\u636e\u5373\u53ef\u3002<\/p>\n<h4>\u6570\u636e\u5386\u53f2\u7248\u672c<\/h4>\n<p>\u76ee\u524dmock\u8bf7\u6c42\u4ee5\u53camock\u6570\u636e\u90fd\u652f\u6301\u5386\u53f2\u7248\u672c\uff0c\u6bcf\u6b21\u4fee\u6539\u5c06\u8bb0\u5f55\u5386\u53f2\u7248\u672c\u4fe1\u606f<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/fugary\/blogpic\/uploads\/48cb8195190891d9f94023e644d363c1\/image-20250530155754546.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/fugary\/blogpic\/uploads\/48cb8195190891d9f94023e644d363c1\/image-20250530155754546.png\" alt=\"image-20250530155754546\" \/><\/div><\/p>\n<p>\u5386\u53f2\u5217\u8868\u6570\u636e<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/fugary\/blogpic\/uploads\/d790f04aa24efb56619a86df05ac0b07\/image-20250530155835941.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/fugary\/blogpic\/uploads\/d790f04aa24efb56619a86df05ac0b07\/image-20250530155835941.png\" alt=\"image-20250530155835941\" \/><\/div><\/p>\n<p>\u53ef\u4ee5\u5bf9\u6bd4\u4fee\u6539\u7684\u5185\u5bb9\uff1a<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/fugary\/blogpic\/uploads\/d8ad1828505421f705c307ad35d9777e\/image-20250530155910002.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/fugary\/blogpic\/uploads\/d8ad1828505421f705c307ad35d9777e\/image-20250530155910002.png\" alt=\"image-20250530155910002\" \/><\/div><\/p>\n<h3>\u9ad8\u7ea7\u529f\u80fd<\/h3>\n<p>\u4e0b\u9762\u4ecb\u7ecd\u4e0b\u9ad8\u7ea7\u529f\u80fd\uff0c\u5982\u679c\u4e0a\u9762\u7684\u57fa\u672c\u529f\u80fd\u4e0d\u591f\u7528\uff0c\u4e0b\u9762\u6709\u6bd4\u8f83\u591a\u7684\u9ad8\u7ea7\u529f\u80fd\uff0c\u6709\u4e00\u5b9a\u96be\u5ea6<\/p>\n<h4>JavaScript\u652f\u6301<\/h4>\n<p>\u76ee\u524d\u4f7f\u7528\u7684JavaScript\u5f15\u64ce\u652f\u6301ES6\u8bed\u6cd5\uff0c\u6bd4\u8f83\u65b9\u4fbf\u4f7f\u7528\u9ad8\u7ea7\u8bed\u6cd5\uff0c\u7bad\u5934\u51fd\u6570\u7b49<\/p>\n<h5>Mock.js\u652f\u6301<\/h5>\n<p>\u76ee\u524d\u54cd\u5e94\u6570\u636e\u65f6\u652f\u6301<code>Mock.js<\/code>\u8bed\u6cd5\u7684\uff0c\u4f7f\u7528\u7684\u5c31\u662f<code>Mock.js<\/code>\uff0c\u4e0d\u8fc7\u662f\u901a\u8fc7<code>JDK<\/code>\u7684<code>ScriptEngine<\/code>\u8c03\u7528\u3002<\/p>\n<p>\u4ec0\u4e48\u662f<code>Mock.js<\/code>\uff1a<a href=\"http:\/\/mockjs.com\/\">http:\/\/mockjs.com\/<\/a><\/p>\n<p><code>Mock.js<\/code>\u6587\u6863\uff1a<a href=\"https:\/\/github.com\/nuysoft\/Mock\/wiki\">https:\/\/github.com\/nuysoft\/Mock\/wiki<\/a><\/p>\n<p>\u6d4b\u8bd5<code>Mock.js<\/code>\u652f\u6301\uff1a<\/p>\n<p>\u5728\u521a\u624d\u7684\u6570\u636e\u4e2d\u5199\u5165<code>Mock.js<\/code>\u652f\u6301\u7684\u683c\u5f0f\uff0c\u8fd9\u91cc\u4ee5\u751f\u6210\u4e00\u4e9b\u57ce\u5e02\u6570\u636e\u4e3a\u4f8b\uff1a<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/884129b90e59b19f096d7c0b2b87baa4\/image-20240710224052933.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/884129b90e59b19f096d7c0b2b87baa4\/image-20240710224052933.png\" alt=\"image-20240710224052933\" \/><\/div><\/p>\n<p>\u6d4b\u8bd5\u8bf7\u6c42\u54cd\u5e94\u5982\u4e0b\uff1a<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/749bb43db4e993063d8d9926f9c012c5\/image-20240710224132354.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/749bb43db4e993063d8d9926f9c012c5\/image-20240710224132354.png\" alt=\"image-20240710224132354\" \/><\/div><\/p>\n<h5>\u5176\u4ed6JS\u652f\u6301<\/h5>\n<p>\u76ee\u524d\u53ea\u5f15\u5165\u4e86<code>dayjs<\/code>\u5904\u7406\u65e5\u671f\uff0c\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528<code>dayjs<\/code>\u5168\u5c40\u53d8\u91cf\u3002<\/p>\n<p>\u53c2\u8003\uff1a<a href=\"https:\/\/day.js.org\/\">https:\/\/day.js.org\/<\/a><\/p>\n<p>\u5176\u4ed6\u66f4\u591aJS\u51fd\u6570\uff0c\u53c2\u8003\u3010\u5185\u7f6e\u51fd\u6570\u3011\u7ae0\u8282<\/p>\n<h5>\u5185\u7f6e\u51fd\u6570<\/h5>\n<p>\u65b0\u589e\u4e86\u51e0\u4e2a\u5e38\u7528\u7684\u51fd\u6570\uff0c\u4e3b\u8981\u7528\u4e8e\u6570\u636e\u52a0\u89e3\u5bc6\uff0c\u65b9\u4fbf\u5904\u7406\u4e00\u4e9b\u52a0\u5bc6\u6570\u636e\uff0c\u89e3\u6790\u51fa\u5185\u5bb9\u4f7f\u7528\uff0c\u8fd9\u4e9b\u51fd\u6570\u4e00\u822c\u4f7f\u7528<code>Java<\/code>\u5b9e\u73b0\uff0c\u5e76\u6ce8\u518c\u5230<code>JavaScript<\/code>\u5f15\u64ce\u4e2d\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u51fd\u6570\u7b7e\u540d<\/th>\n<th>\u8bf4\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>decodeHex: (hex: string) =&gt; string<\/code><\/td>\n<td>\u5c06\u5341\u516d\u8fdb\u5236\u5b57\u7b26\u4e32\u89e3\u7801\u666e\u901a\u5b57\u7b26\u4e32<\/td>\n<\/tr>\n<tr>\n<td><code>encodeHex: (data: string) =&gt; string<\/code><\/td>\n<td>\u5c06\u666e\u901a\u5b57\u7b26\u4e32\u7f16\u7801\u4e3a\u5341\u516d\u8fdb\u5236\u683c\u5f0f<\/td>\n<\/tr>\n<tr>\n<td><code>md5Hex: (data: string) =&gt; string<\/code><\/td>\n<td>\u6570\u636e<code>MD5<\/code>\u52a0\u5bc6\uff0c\u5e76\u8f93\u51fa\u5341\u516d\u8fdb\u5236\u6570\u636e\u683c\u5f0f<\/td>\n<\/tr>\n<tr>\n<td><code>md5Base64: (data: string) =&gt; string<\/code><\/td>\n<td>\u6570\u636e<code>MD5<\/code>\u52a0\u5bc6\uff0c\u5e76\u8f93\u51fa<code>Base64<\/code>\u6570\u636e\u683c\u5f0f<\/td>\n<\/tr>\n<tr>\n<td><code>sha1Hex: (data: string) =&gt; string<\/code><\/td>\n<td>\u6570\u636e<code>SHA1<\/code>\u52a0\u5bc6\uff0c\u5e76\u8f93\u51fa\u5341\u516d\u8fdb\u5236\u6570\u636e\u683c\u5f0f<\/td>\n<\/tr>\n<tr>\n<td><code>sha1Base64: (data: string) =&gt; string<\/code><\/td>\n<td>\u6570\u636e<code>SHA1<\/code>\u52a0\u5bc6\uff0c\u5e76\u8f93\u51fa<code>Base64<\/code>\u6570\u636e\u683c\u5f0f<\/td>\n<\/tr>\n<tr>\n<td><code>sha256Hex: (data: string) =&gt; string<\/code><\/td>\n<td>\u6570\u636e<code>SHA256<\/code>\u52a0\u5bc6\uff0c\u5e76\u8f93\u51fa\u5341\u516d\u8fdb\u5236\u6570\u636e\u683c\u5f0f<\/td>\n<\/tr>\n<tr>\n<td><code>sha256Base64: (data: string) =&gt; string<\/code><\/td>\n<td>\u6570\u636e<code>SHA256<\/code>\u52a0\u5bc6\uff0c\u5e76\u8f93\u51fa<code>Base64<\/code>\u6570\u636e\u683c\u5f0f<\/td>\n<\/tr>\n<tr>\n<td><code>btoa: (data: string) =&gt; string<\/code><\/td>\n<td>\u6570\u636e\u7f16\u7801\u4e3a<code>Base64<\/code>\u6570\u636e\u683c\u5f0f<\/td>\n<\/tr>\n<tr>\n<td><code>atob: (data: string) =&gt; string<\/code><\/td>\n<td>\u4ece<code>Base64<\/code>\u6570\u636e\u683c\u5f0f\u89e3\u7801\u4e3a\u539f\u59cb\u6570\u636e<\/td>\n<\/tr>\n<tr>\n<td><code>encryptAES: (data: string, key: string, options?: AESOptionsType) =&gt; string<\/code><\/td>\n<td>\u6570\u636e<code>AES<\/code>\u52a0\u5bc6\uff0c\u5e76\u8f93\u51fa<code>Base64<\/code>\u6570\u636e\u683c\u5f0f<\/td>\n<\/tr>\n<tr>\n<td><code>encryptDES: (data: string, key: string, options?: AESOptionsType) =&gt; string<\/code><\/td>\n<td>\u6570\u636e<code>DES<\/code>\u52a0\u5bc6\uff0c\u5e76\u8f93\u51fa<code>Base64<\/code>\u6570\u636e\u683c\u5f0f<\/td>\n<\/tr>\n<tr>\n<td><code>encrypt3DES: (data: string, key: string, options?: AESOptionsType) =&gt; string<\/code><\/td>\n<td>\u6570\u636e<code>3DES<\/code>\u52a0\u5bc6\uff0c\u5e76\u8f93\u51fa<code>Base64<\/code>\u6570\u636e\u683c\u5f0f<\/td>\n<\/tr>\n<tr>\n<td><code>encryptSM4: (data: string, key: string, options?: AESOptionsType) =&gt; string<\/code><\/td>\n<td>\u6570\u636e<code>SM4<\/code>\u52a0\u5bc6\uff0c\u5e76\u8f93\u51fa<code>Base64<\/code>\u6570\u636e\u683c\u5f0f<\/td>\n<\/tr>\n<tr>\n<td><code>encryptRSA: (data: string, key: string, options?: RSAOptionsType) =&gt; string<\/code><\/td>\n<td>\u6570\u636e<code>RSA<\/code>\u52a0\u5bc6\uff0c\u5e76\u8f93\u51fa<code>Base64<\/code>\u6570\u636e\u683c\u5f0f<\/td>\n<\/tr>\n<tr>\n<td><code>decryptAES: (data: string, key: string, options?: AESOptionsType) =&gt; string<\/code><\/td>\n<td>\u6570\u636e<code>AES<\/code>\u89e3\u5bc6<\/td>\n<\/tr>\n<tr>\n<td><code>decryptDES: (data: string, key: string, options?: AESOptionsType) =&gt; string<\/code><\/td>\n<td>\u6570\u636e<code>DES<\/code>\u89e3\u5bc6<\/td>\n<\/tr>\n<tr>\n<td><code>decrypt3DES: (data: string, key: string, options?: AESOptionsType) =&gt; string<\/code><\/td>\n<td>\u6570\u636e<code>3DES<\/code>\u89e3\u5bc6<\/td>\n<\/tr>\n<tr>\n<td><code>decryptSM4: (data: string, key: string, options?: AESOptionsType) =&gt; string<\/code><\/td>\n<td>\u6570\u636e<code>SM4<\/code>\u89e3\u5bc6<\/td>\n<\/tr>\n<tr>\n<td><code>decryptRSA: (data: string, key: string, options?: RSAOptionsType) =&gt; string<\/code><\/td>\n<td>\u6570\u636e<code>RSA<\/code>\u89e3\u5bc6<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>\u53d8\u91cf\u652f\u6301<\/h4>\n<p>\u6709\u65f6\u5019\u6211\u4eec\u53ef\u80fd\u9700\u8981\u7528\u4e00\u4e9b\u53d8\u91cf\u66ff\u6362\u54cd\u5e94\u6570\u636e\uff0c\u8fd9\u91cc\u6ca1\u6709<code>Mock.js<\/code>\u90a3\u4e48\u5f3a\u5927\uff0c\u4e0d\u8fc7\u4e0d\u5c40\u9650\u4e8e<code>json<\/code>\u54cd\u5e94\uff0c\u53ef\u4ee5\u652f\u6301<code>XML<\/code>\u4e2d\u66ff\u6362\u6570\u636e\uff0c\u53d8\u91cf\u652f\u6301\u5982\u4e0b\uff1a<\/p>\n<ul>\n<li><code>request.body<\/code>\u2014\u2014<code>body<\/code>\u5185\u5bb9\u5bf9\u8c61\uff08\u4ec5<code>json<\/code>\u65f6\u4f1a\u89e3\u6790\u6210\u5bf9\u8c61\uff09<\/li>\n<li><code>request.bodyStr<\/code>\u2014\u2014<code>body<\/code>\u5185\u5bb9\u5b57\u7b26\u4e32<\/li>\n<li><code>request.headers<\/code>\u2014\u2014\u5934\u4fe1\u606f\u5bf9\u8c61<\/li>\n<li><code>request.parameters<\/code>\u2014\u2014\u8bf7\u6c42\u53c2\u6570\u5bf9\u8c61<\/li>\n<li><code>request.pathParameters<\/code>\u2014\u2014\u8def\u5f84\u53c2\u6570\u5bf9\u8c61<\/li>\n<li><code>request.params<\/code>\u2014\u2014\u8bf7\u6c42\u53c2\u6570\u548c\u8def\u5f84\u53c2\u6570\u5bf9\u8c61\u5408\u5e76<\/li>\n<\/ul>\n<h5>\u7b80\u5355\u53d8\u91cf\u66ff\u6362<\/h5>\n<p>\u6bd4\u5982\u8bf7\u6c42\u53c2\u6570\u4e2d\u6709\u4e2a<code>name<\/code>\u5b57\u6bb5\uff0c\u9700\u8981\u54cd\u5e94\u4e2d\u8fd4\u56de\u56de\u6765\uff1a<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/708e1c339ad987389e76e0b97acec09e\/image-20240710224722168.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/708e1c339ad987389e76e0b97acec09e\/image-20240710224722168.png\" alt=\"image-20240710224722168\" \/><\/div><\/p>\n<p>\u6d4b\u8bd5\u5982\u4e0b\uff1a<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/995980a98b5d82b09964fa18f888ebfc\/image-20240710224827000.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/995980a98b5d82b09964fa18f888ebfc\/image-20240710224827000.png\" alt=\"image-20240710224827000\" \/><\/div><\/p>\n<h5>Mock.js\u53d8\u91cf\u4f7f\u7528<\/h5>\n<p>\u5982\u679c\u662f<code>JSON<\/code>\u7684<code>post\u8bf7\u6c42<\/code>\uff0c\u53ef\u4ee5\u89e3\u6790\u51fa\u8bf7\u6c42\u7684\u503c\uff0c\u5e76\u66ff\u6362\u7ed9\u8fd4\u56de\u6570\u636e\uff1a<\/p>\n<p>\u914d\u7f6e\u8bf7\u6c42\uff1a<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/c1f87ee159a0f3db2394cc7ddf04f7da\/image-20240710230054603.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/c1f87ee159a0f3db2394cc7ddf04f7da\/image-20240710230054603.png\" alt=\"image-20240710230054603\" \/><\/div><\/p>\n<p>\u6d4b\u8bd5\u7ed3\u679c\uff1a<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/3f6bd111f6a0c47095673789f2090d50\/image-20240710230010521.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/3f6bd111f6a0c47095673789f2090d50\/image-20240710230010521.png\" alt=\"image-20240710230010521\" \/><\/div><\/p>\n<h4>XML\u652f\u6301<\/h4>\n<p>\u53d8\u91cf\u7b49\u4e5f\u652f\u6301\u5728<code>XML<\/code>\u54cd\u5e94\u4e2d\u4f7f\u7528<\/p>\n<h5>\u57fa\u672c\u53d8\u91cf\u652f\u6301<\/h5>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/a425b8f710b182adbfc4d4350a0c9de3\/image-20240904144115122.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/a425b8f710b182adbfc4d4350a0c9de3\/image-20240904144115122.png\" alt=\"image-20240904144115122\" \/><\/div><\/p>\n<p>\u6d4b\u8bd5\u5982\u4e0b\uff1a<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/8a4a459bb980de6d90542b5c3fe62c54\/image-20240904144235678.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/8a4a459bb980de6d90542b5c3fe62c54\/image-20240904144235678.png\" alt=\"image-20240904144235678\" \/><\/div><\/p>\n<h5>Body\u53d8\u91cf\u652f\u6301<\/h5>\n<p><code>XML<\/code>\u4e5f\u662f\u652f\u6301<code>body<\/code>\u53d8\u91cf\u7684\uff0c<code>XML<\/code>\u4f1a\u88ab\u89e3\u6790\u6210<code>JS<\/code>\u5bf9\u8c61\uff0c\u7136\u540e\u7528\u4e8e\u53d8\u91cf\u8ba1\u7b97<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/cbfaae4a3f9d4de486a01df2355a4ea9\/image-20240904145412686.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/cbfaae4a3f9d4de486a01df2355a4ea9\/image-20240904145412686.png\" alt=\"image-20240904145412686\" \/><\/div><\/p>\n<p>\u6d4b\u8bd5\u5982\u4e0b\uff1a<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/166a37dcf01132a296452a46fe946918\/image-20240904145517804.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/166a37dcf01132a296452a46fe946918\/image-20240904145517804.png\" alt=\"image-20240904145517804\" \/><\/div><\/p>\n<h4>\u5339\u914d\u89c4\u5219<\/h4>\n<p>\u5339\u914d\u89c4\u5219\u662f\u7a0d\u5fae\u6bd4\u8f83\u590d\u6742\u7684\u529f\u80fd\uff0c\u4e3b\u8981\u662f\u5728\u76f8\u540c<code>url<\/code>\u548c\u8bf7\u6c42\u65b9\u6cd5\u7684\u60c5\u51b5\u4e0b\uff0c\u533a\u5206\u4e0d\u540c\u8bf7\u6c42\u7ed9\u51fa\u4e0d\u540c\u7684\u54cd\u5e94\u3002<\/p>\n<p><strong>\u6bd4\u5982\u8fd9\u4e2a\u573a\u666f\uff1a\u5982\u679c\u8bf7\u6c42\u53c2\u6570\u7684<code>orderNo&gt;100<\/code>\u65f6\u8fd4\u56de\u6b63\u786e\u6b63\u786e\u7684\u6570\u636e\uff0c\u5426\u5219\u8fd4\u56de\u9519\u8bef\u7684\u6570\u636e<\/strong><\/p>\n<p><strong>\u5339\u914d\u89c4\u5219\u4f7f\u7528JS\u8868\u8fbe\u5f0f\u8ba1\u7b97\uff0c\u8ba1\u7b97\u7ed3\u679c\u4e3a\u771f\u5c31\u662f\u5339\u914d\uff0c\u4e3a\u5047\u5c31\u662f\u4e0d\u5339\u914d<\/strong><\/p>\n<p><strong>\u5339\u914d\u89c4\u5219\u548c\u9ed8\u8ba4\u54cd\u5e94\u6709\u51b2\u7a81\uff0c\u4f18\u5148\u6309\u7167\u5339\u914d\u89c4\u5219\u5339\u914d\uff0c\u53ea\u8981\u914d\u7f6e\u6709\u5339\u914d\u89c4\u5219\u4e0d\u80fd\u4f5c\u4e3a\u9ed8\u8ba4\u54cd\u5e94<\/strong><\/p>\n<p>\u8fd9\u91cc\u7684\u5339\u914d\u89c4\u5219\uff0c\u652f\u6301\u7684\u53d8\u91cf\u548c\u524d\u9762\u3010\u53d8\u91cf\u652f\u6301\u3011\u6a21\u5757\u4e00\u81f4\uff1a<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/dbc50914d344457a2b2b9c8b16ece274\/image-20240710230952984.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/dbc50914d344457a2b2b9c8b16ece274\/image-20240710230952984.png\" alt=\"image-20240710230952984\" \/><\/div><\/p>\n<p>\u6d4b\u8bd5\u6210\u529f\uff1a<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/d48a64a336f3846e317df3541d6f9df2\/image-20240710231042719.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/d48a64a336f3846e317df3541d6f9df2\/image-20240710231042719.png\" alt=\"image-20240710231042719\" \/><\/div><\/p>\n<p>\u6d4b\u8bd5\u9519\u8bef\uff1a<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/6205a76de50355447f78d9967d3cd026\/image-20240710231130075.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/\/fugary\/blogpic\/uploads\/6205a76de50355447f78d9967d3cd026\/image-20240710231130075.png\" alt=\"image-20240710231130075\" \/><\/div><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5173\u4e8e\u6b64mock\u670d\u52a1\u76f8\u5173\u4ecb\u7ecd\u89c1\uff1ahttps:\/\/fugary.com\/?p=626 \u5b89\u88c5\u8fd0\u884c \u4e0b\u8f7d\u8fd0\u884c\uff1ahttp [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,14],"tags":[156],"_links":{"self":[{"href":"https:\/\/fugary.com\/index.php?rest_route=\/wp\/v2\/posts\/630"}],"collection":[{"href":"https:\/\/fugary.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fugary.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fugary.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fugary.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=630"}],"version-history":[{"count":3,"href":"https:\/\/fugary.com\/index.php?rest_route=\/wp\/v2\/posts\/630\/revisions"}],"predecessor-version":[{"id":652,"href":"https:\/\/fugary.com\/index.php?rest_route=\/wp\/v2\/posts\/630\/revisions\/652"}],"wp:attachment":[{"href":"https:\/\/fugary.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=630"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fugary.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=630"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fugary.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=630"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}