{"id":42959,"date":"2023-03-09T21:44:38","date_gmt":"2023-03-09T13:44:38","guid":{"rendered":"http:\/\/gulass.cn\/?p=42959"},"modified":"2023-03-09T21:44:38","modified_gmt":"2023-03-09T13:44:38","slug":"docker-cloud-native","status":"publish","type":"post","link":"https:\/\/gulass.cn\/docker-cloud-native.html","title":{"rendered":"\u5229\u7528Docker\u8f7b\u677e\u5b9e\u73b0\u4e91\u539f\u751f\u5e94\u7528"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u524d\u6587\u8c08\u5230\u4e86\u4e91\u539f\u751f\u5e94\u7528\u5728\u90e8\u7f72\u67b6\u6784\u4e2d\u9700\u8981\u8003\u8651\u7684\u91cd\u8981\u95ee\u9898\u3002\u6587\u672c\u5c06\u4ecb\u7ecd\u4e00\u4e2a\u5e38\u89c1\u7684\u5e94\u7528\u67b6\u6784\u6a21\u5f0f\u6765\u63d0\u5347\u5e94\u7528\u7684\u53ef\u7528\u6027\u548c\u53ef\u4f38\u7f29\u6027 - \u5206\u5e03\u5f0f\u4f1a\u8bdd\u7ba1\u7406\u3002\u5e76\u5229\u7528Docker\u548c\u963f\u91cc\u4e91\u5bb9\u5668\u670d\u52a1\u5728\u672c\u5730\u548c\u4e91\u7aef\u8fdb\u884c\u4e86\u793a\u4f8b\u5e94\u7528\u7684\u90e8\u7f72\u548c\u9a8c\u8bc1\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"14808310188670\"<\/p>\n

\u524d\u6587\u8c08\u5230\u4e86\u4e91\u539f\u751f\u5e94\u7528\u5728\u90e8\u7f72\u67b6\u6784\u4e2d\u9700\u8981\u8003\u8651\u7684\u91cd\u8981\u95ee\u9898\u3002\u6587\u672c\u5c06\u4ecb\u7ecd\u4e00\u4e2a\u5e38\u89c1\u7684\u5e94\u7528\u67b6\u6784\u6a21\u5f0f\u6765\u63d0\u5347\u5e94\u7528\u7684\u53ef\u7528\u6027\u548c\u53ef\u4f38\u7f29\u6027 - \u5206\u5e03\u5f0f\u4f1a\u8bdd\u7ba1\u7406\u3002<\/p>\n

\u968f\u7740\u4e1a\u52a1\u589e\u957f\uff0cWeb\u5e94\u7528\u4e5f\u4ece\u5355\u8282\u70b9\u90e8\u7f72\u6f14\u53d8\u4e3a\u96c6\u7fa4\u90e8\u7f72\u3002\u8fd9\u65f6\u5019\u9664\u4e86\u9700\u8981\u4e3a\u5e94\u7528\u670d\u52a1\u5668\u589e\u52a0\u8d1f\u8f7d\u5747\u8861\u4e4b\u5916\uff0c\u4e5f\u8981\u89e3\u51b3\u4f1a\u8bdd\uff08session\uff09\u7ba1\u7406\u7684\u95ee\u9898\u3002Session\u5728\u5e94\u7528\u4e2d\u5e38\u88ab\u7528\u4e8e\u5b58\u50a8\u7528\u6237\u76f8\u5173\u7684\u6570\u636e\u3002\u5728\u9ad8\u53ef\u7528\u7cfb\u7edf\u4e2d\uff0c\u5982\u679c\u4e00\u53f0\u5e94\u7528\u670d\u52a1\u5b95\u673a\uff0c\u5176\u4ed6\u670d\u52a1\u5668\u9700\u8981\u80fd\u591f\u63a5\u7ba1\u5f53\u524d\u6d3b\u8dc3\u7684\u4f1a\u8bdd\uff0c\u7ee7\u7eed\u4e3a\u7528\u6237\u63d0\u4f9b\u670d\u52a1\u3002\u6240\u4ee5\u6211\u4eec\u5fc5\u987b\u63d0\u4f9b\u5206\u5e03\u5f0f\u7684\u4f1a\u8bdd\u7ba1\u7406\u80fd\u529b\u3002<\/p>\n

Spring\/Spring Boot\u5e94\u7528\u4e2d\u5229\u7528Spring Session\u914d\u5408Redis\u662f\u4e00\u4e2a\u6d41\u884c\u7684\u5206\u5e03\u5f0f\u7684\u4f1a\u8bdd\u7ba1\u7406\u65b9\u6848\uff0c\u5b83\u6709\u5982\u4e0b\u51e0\u4e2a\u4f18\u70b9\uff1a<\/p>\n

    \n
  1. \u5c06session\u6240\u6301\u4e45\u5316\u72b6\u6001\u4ece\u5e94\u7528\u670d\u52a1\u5668\u672c\u5730\u5185\u5b58\u5378\u8f7d\u5230\u5916\u90e8Redis\u670d\u52a1\u4e2d\uff0c\u53ef\u4ee5\u63d0\u5347\u5e94\u7528\u7684\u53ef\u7528\u6027<\/li>\n
  2. \u5e94\u7528\u670d\u52a1\u5668\u662f\u65e0\u72b6\u6001\u7684\uff0c\u6ee1\u8db3 12-factor \u7684\u8981\u6c42\uff0c\u53ef\u4ee5\u66f4\u597d\u5730\u652f\u6301\u5e94\u7528\u6c34\u5e73\u6269\u5c55<\/li>\n<\/ol>\n

    \u5173\u4e8e Spring Session \u7684\u4fe1\u606f\u53ef\u4ee5\u4ece\u5b98\u65b9\u6587\u6863\u83b7\u5f97<\/p>\n

    \u5229\u7528Docker\u6765\u672c\u5730\u6d4b\u8bd5Spring Boot + Redis\u4f1a\u8bdd\u5b58\u50a8<\/strong><\/div>\n

    \u9996\u5148\u4eceGithub\u83b7\u5f97\u793a\u4f8b\u4ee3\u7801<\/p>\n

    class=\"hljs stata\" data-language=\"\">git clone https:\/\/github.com\/denverdino\/docker-spring-boot-sample-session-redis<\/span>\r\ncd<\/span> docker-spring-boot<\/span>-sample<\/span>-session-redis\r\n<\/pre>\n

    \u672c\u5de5\u7a0b\u57fa\u4e8eSpring Boot\u4f7f\u7528Redis\u4f1a\u8bdd\u5b58\u50a8\u7684\u5b98\u65b9\u793a\u4f8b\uff0c\u5e76\u505a\u7b80\u5355\u8c03\u6574\u5982\u4e0b\uff1a<\/p>\n

    \u5176\u4e2d \/src\/main\/resources\/application.properties \u5185\u5bb9\uff1a<\/p>\n

    class=\"hljs stylus\" data-language=\"\">spring.session<\/span>.store-type<\/span>=redis\r\nserver.session<\/span>.timeout<\/span>=5<\/span>\r\nspring.redis<\/span>.host<\/span>=redis\r\nspring.redis<\/span>.port<\/span>=6379<\/span>\r\n<\/pre>\n

    \u5b83\u4f1a\u914d\u7f6e\u57fa\u4e8eRedis\u7684\u5206\u5e03\u5f0f\u4f1a\u8bdd\u5b58\u50a8\u652f\u6301\uff0c\u4f1a\u8bdd\u8d85\u65f6\u65f6\u95f4\u4e3a\u201c5\u201d\u79d2\uff0cRedis\u670d\u52a1\u57df\u540d\u4e3a\u201credis\u201d\uff0c\u7aef\u53e3 \u201c6379\u201d\u3002<\/p>\n

    \u6211\u4eec\u518d\u67e5\u770b\u9879\u76ee\u7684Maven\u914d\u7f6e\u6587\u4ef6pom.xml<\/p>\n

    class=\"hljs dust\" data-language=\"\"><?<\/span>xml version=\"1.0\"<\/span> encoding=\"UTF-8\"<\/span>?><\/span><\/span>\r\n<project<\/span> xmlns<\/span>=\"http:\/\/maven.apache.org\/POM\/4.0.0\"<\/span> xmlns:xsi<\/span>=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\"<\/span> xsi:schemaLocation<\/span>=\"http:\/\/maven.apache.org\/POM\/4.0.0 http:\/\/maven.apache.org\/xsd\/maven-4.0.0.xsd\"<\/span>><\/span>\r\n    <modelVersion<\/span>><\/span>4.0.0<\/modelVersion<\/span>>\r\n<\/span>\r\n    <parent<\/span>><\/span>\r\n        <!-- Your own application should inherit from spring-boot-starter-parent --><\/span>\r\n        <groupId<\/span>><\/span>org.springframework.boot<\/groupId<\/span>><\/span>\r\n        <artifactId<\/span>><\/span>spring-boot-starter-parent<\/artifactId<\/span>><\/span>\r\n        <version<\/span>><\/span>1.4.1.RELEASE<\/version<\/span>><\/span>\r\n    <\/parent<\/span>><\/span>\r\n    <artifactId<\/span>><\/span>spring-boot-sample-session-redis<\/artifactId<\/span>><\/span>\r\n    <name<\/span>><\/span>Spring Boot Session Redis Sample<\/name<\/span>><\/span>\r\n    <description<\/span>><\/span>Spring Boot Session Redis Sample<\/description<\/span>><\/span>\r\n    <url<\/span>><\/span>http:\/\/projects.spring.io\/spring-boot\/<\/url<\/span>><\/span>\r\n    <organization<\/span>><\/span>\r\n        <name<\/span>><\/span>Pivotal Software, Inc.<\/name<\/span>><\/span>\r\n        <url<\/span>><\/span>http:\/\/www.spring.io<\/url<\/span>><\/span>\r\n    <\/organization<\/span>><\/span>\r\n    <dependencies<\/span>><\/span>\r\n        <dependency<\/span>><\/span>\r\n            <groupId<\/span>><\/span>org.springframework.boot<\/groupId<\/span>><\/span>\r\n            <artifactId<\/span>><\/span>spring-boot-starter-web<\/artifactId<\/span>><\/span>\r\n        <\/dependency<\/span>><\/span>\r\n        <dependency<\/span>><\/span>\r\n            <groupId<\/span>><\/span>org.springframework.boot<\/groupId<\/span>><\/span>\r\n            <artifactId<\/span>><\/span>spring-boot-starter-data-redis<\/artifactId<\/span>><\/span>\r\n        <\/dependency<\/span>><\/span>\r\n        <dependency<\/span>><\/span>\r\n            <groupId<\/span>><\/span>org.springframework.session<\/groupId<\/span>><\/span>\r\n            <artifactId<\/span>><\/span>spring-session<\/artifactId<\/span>><\/span>\r\n        <\/dependency<\/span>><\/span>\r\n        <dependency<\/span>><\/span>\r\n            <groupId<\/span>><\/span>org.springframework.boot<\/groupId<\/span>><\/span>\r\n            <artifactId<\/span>><\/span>spring-boot-starter-test<\/artifactId<\/span>><\/span>\r\n            <scope<\/span>><\/span>test<\/scope<\/span>><\/span>\r\n        <\/dependency<\/span>><\/span>\r\n    <\/dependencies<\/span>><\/span>\r\n    <build<\/span>><\/span>\r\n        <plugins<\/span>><\/span>\r\n            <plugin<\/span>><\/span>\r\n                <groupId<\/span>><\/span>org.springframework.boot<\/groupId<\/span>><\/span>\r\n                <artifactId<\/span>><\/span>spring-boot-maven-plugin<\/artifactId<\/span>><\/span>\r\n            <\/plugin<\/span>><\/span>\r\n            <plugin<\/span>><\/span>\r\n                <groupId<\/span>><\/span>com.spotify<\/groupId<\/span>><\/span>\r\n                <artifactId<\/span>><\/span>docker-maven-plugin<\/artifactId<\/span>><\/span>\r\n                <version<\/span>><\/span>0.4.13<\/version<\/span>><\/span>\r\n                <configuration<\/span>><\/span>\r\n                    <imageName<\/span>><\/span>registry.cn-hangzhou.aliyuncs.com\/denverdino\/spring-boot-session-redis<\/imageName<\/span>><\/span>\r\n                    <baseImage<\/span>><\/span>openjdk:8-jre<\/baseImage<\/span>><\/span>\r\n                    <entryPoint<\/span>><\/span>[\"java\", \"-jar\", \"\/$<\/span>{project.build.finalName}<\/span>.jar\"]<\/entryPoint<\/span>><\/span>\r\n                    <resources<\/span>><\/span>\r\n                       <resource<\/span>><\/span>\r\n                         <targetPath<\/span>><\/span>\/<\/targetPath<\/span>><\/span>\r\n                         <directory<\/span>><\/span>$<\/span>{project.build.directory}<\/span><\/directory<\/span>><\/span>\r\n                         <include<\/span>><\/span>$<\/span>{project.build.finalName}<\/span>.jar<\/include<\/span>><\/span>\r\n                       <\/resource<\/span>><\/span>\r\n                    <\/resources<\/span>><\/span>\r\n                <\/configuration<\/span>><\/span>\r\n            <\/plugin<\/span>><\/span>\r\n        <\/plugins<\/span>><\/span>\r\n    <\/build<\/span>><\/span>\r\n<\/project<\/span>><\/span>\r\n<\/span><\/pre>\n

    \u5176\u4e2d\u5b83\u9664\u4e86\u58f0\u660e\u4e86\u5bf9Spring Boot\u6846\u67b6\u7684\u652f\u6301\uff0c\u8fd8\u6dfb\u52a0\u4e86\u6765\u81eaSpotify\u7684docker-maven-plugin<\/code>\u6784\u5efa\u5e94\u7528\u7684Docker\u955c\u50cf<\/p>\n

    \u6211\u4eec\u53ef\u4ee5\u6765\u7528maven\u547d\u4ee4\u6765\u6784\u5efaSpring Boot\u793a\u4f8b\u5e94\u7528(\u53c2\u6570\u662f\u4e3a\u4e86\u8df3\u8fc7\u5355\u5143\u6d4b\u8bd5)<\/p>\n

    class=\"hljs stylus\" data-language=\"\">mvn package -Dmaven.test<\/span>.skip<\/span>=true\r\n<\/pre>\n

    \u4e5f\u53ef\u4ee5\u5229\u7528maven\u547d\u4ee4\u6784\u5efa\u793a\u4f8b\u5e94\u7528\u7684Docker\u955c\u50cf<\/p>\n

    class=\"hljs armasm\" data-language=\"\">mvn <\/span>package docker:build <\/span>-Dmaven.test.skip<\/span>=true<\/span>\r\n<\/pre>\n

    \u6ce8\uff1a\u5173\u4e8e\u201cdocker-maven-plugin\u201d\u63d2\u4ef6\u7684\u66f4\u591a\u4fe1\u606f\uff0c\u53ef\u4ee5\u53c2\u8003\u5bb9\u5668\u5316Spring Boot\u5e94\u7528\u4e00\u6587<\/p>\n

    \u6784\u5efa\u955c\u50cf\u5b8c\u6210\uff0c\u53ef\u4ee5\u4f7f\u7528\u5982\u4e0bdocker-compose.yml\u6a21\u677f\u6765\u5728\u672c\u5730\u90e8\u7f72\u548c\u6d4b\u8bd5\u5e94\u7528\u3002\u5176\u4e2dweb\u670d\u52a1\u4f1a\u542f\u52a8Spring Boot\u6d4b\u8bd5\u5e94\u7528\uff0c\u5e76\u5229\u7528\u5bb9\u5668\u94fe\u63a5\u901a\u8fc7\u201credis\u201d\u522b\u540d\u6765\u8bbf\u95eeredis\u670d\u52a1\u4e2d\u7684Redis\u5bb9\u5668<\/p>\n

    class=\"hljs vim\" data-language=\"\">web:<\/span>\r\n  image: registry.cn<\/span>-hangzhou.aliyuncs.com<\/span>\/denverdino\/spring-boot-session-redis\r\n  ports:<\/span>\r\n    - 8080<\/span>:8080<\/span>\r\n  links:<\/span>\r\n    - redi<\/span>s:redis<\/span>\r\nredi<\/span>s:<\/span>\r\n  image: redi<\/span>s:3<\/span>\r\n<\/pre>\n

    \u6267\u884cdocker-compose up \u547d\u4ee4\u4e4b\u540e\uff0c\u6211\u4eec\u5c31\u4f1a\u770b\u5230\u201credis\u201d\u5bb9\u5668\u548c\u201cweb\u201d\u5e94\u7528\u5bb9\u5668\u76f8\u7ee7\u542f\u52a8<\/p>\n

    \u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u6d4f\u89c8\u5668\u6765\u8bbf\u95eehttp:\/\/localhost:8080\/\u6d4b\u8bd5\u5e94\u7528\u3002\u5982\u679c\u4f1a\u8bdd\u4e0d\u5b58\u5728\u6216\u4f1a\u8bdd\u8d85\u65f6\uff085\u79d2\u949f\uff09\uff0c\u5e94\u7528\u4f1a\u751f\u6210\u4e00\u4e2aUUID\u4fdd\u5b58\u5728\u4f1a\u8bdd\u4e2d\u5e76\u8fd4\u56de\uff1b\u5982\u679c\u4f1a\u8bdd\u5b58\u5728\uff0c\u5219\u4f1a\u76f4\u63a5\u8fd4\u56de\u4f1a\u8bdd\u4e2d\u4fdd\u5b58\u7684UUID\u3002<\/p>\n

    \u5229\u7528\u5bb9\u5668\u670d\u52a1\u6765\u90e8\u7f72\u5206\u5e03\u5f0f\u4f1a\u8bdd\u7ba1\u7406\u5e94\u7528<\/strong><\/div>\n

    \u963f\u91cc\u4e91\u5bb9\u5668\u670d\u52a1\u63d0\u4f9b\u4e86\u5bf9\u5206\u5e03\u5f0f\u7684Docker\u5e94\u7528\u7684\u90e8\u7f72\u548c\u7ba1\u7406\u80fd\u529b\u3002\u6211\u4eec\u53ef\u4ee5\u7b80\u5355\u5730\u6269\u5c55\u4e4b\u524d\u7684Docker Compose\u6a21\u677f\u6765\u5728\u4e91\u7aef\u90e8\u7f72\u5e94\u7528\u3002<\/p>\n

    class=\"hljs vim\" data-language=\"\">web:<\/span>\r\n  image: registry.cn<\/span>-hangzhou.aliyuncs.com<\/span>\/denverdino\/spring-boot-session-redis\r\n  labels:<\/span>\r\n    aliyun.scale: \"3\"<\/span>\r\n    aliyun.routing.port_8080: spring-boot\r\n  links:<\/span>\r\n    - redi<\/span>s:redis<\/span>\r\nredi<\/span>s:<\/span>\r\n  image: redi<\/span>s:3<\/span>\r\n<\/pre>\n

    \u6ce8:<\/p>\n

      \n
    1. \u901a\u8fc7aliyun.xxx\u6807\u7b7e\u58f0\u660e\u4e86\uff0cweb\u5e94\u7528\u75313\u4e2a\u5bb9\u5668\u7ec4\u6210\u5e94\u7528\u96c6\u7fa4\uff0c\u5e76\u53ef\u4ee5\u901a\u8fc7\u865a\u62df\u57df\u540d\u201cspring-boot\u201d\u8fdb\u884c\u8bbf\u95ee<\/li>\n
    2. \u901a\u8fc7\u8def\u7531\u670d\u52a1\u6765\u8bbf\u95ee\u5e94\u7528\u662f\u65e0\u9700\u4f7f\u7528ports\u5bf9\u5bb9\u5668\u7aef\u53e3\u8fdb\u884c\u5bbf\u4e3b\u673a\u7aef\u53e3\u6620\u5c04\u7684\u90e8\u7f72\u4e4b\u540e\uff0cweb\u670d\u52a1\u5728\u63a7\u5236\u53f0\u7684\u622a\u56fe\u5982\u4e0b\uff0c\u53ef\u4ee5\u76f4\u63a5\u70b9\u51fb\u8bbf\u95ee\u7aef\u70b9\u6765\u9a8c\u8bc1\u5e94\u7528\u3002<\/li>\n<\/ol>\n

      \"14808300491575\"<\/p>\n

      \u603b\u7ed3<\/strong><\/div>\n

      \u5728\u4e91\u539f\u751f\u5e94\u7528\u4e2d\uff0c\u5206\u5e03\u5f0f\u4f1a\u8bdd\u7ba1\u7406\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u5e94\u7528\u6a21\u5f0f\u3002\u672c\u6587\u5229\u7528Docker\u548c\u963f\u91cc\u4e91\u5bb9\u5668\u670d\u52a1\u5728\u672c\u5730\u548c\u4e91\u7aef\u8fdb\u884c\u4e86\u793a\u4f8b\u5e94\u7528\u7684\u90e8\u7f72\u548c\u9a8c\u8bc1\u3002<\/p>\n

      \u5982\u679c\u5927\u5bb6\u6709\u5174\u8da3\uff0c\u8fd8\u53ef\u4ee5\u5c06\u5bb9\u5668\u6a21\u677f\u4e2d\u7684Redis\u955c\u50cf\u66ff\u6362\u6210\u963f\u91cc\u4e91\u63d0\u4f9b\u7684Redis\u670d\u52a1\uff0c\u8fd9\u6837\u53ef\u4ee5\u5728\u751f\u4ea7\u7cfb\u7edf\u4e2d\u63d0\u4f9b\u66f4\u597d\u7684\u53ef\u7528\u6027\u548c\u548c\u53ef\u4f38\u7f29\u6027\u3002\u53ef\u4ee5\u53c2\u8003\u5728\u963f\u91cc\u4e91\u5bb9\u5668\u670d\u52a1\u4e2d\u4f7f\u7528RDS<\/p>\n

      \n

      \u539f\u6587\u6765\u81ea\uff1ahttps:\/\/yq.aliyun.com\/articles\/65272?utm_campaign=wenzhang&utm_medium=article&utm_source=QQ-qun&utm_content=m_8036<\/a><\/p>\n

      \u672c\u6587\u5730\u5740\uff1ahttp:\/\/gulass.cn\/docker-cloud-native.html<\/a>\u7f16\u8f91\uff1a\u9ad8\u519b\uff0c\u5ba1\u6838\u5458\uff1a\u82cf\u897f\u4e91<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

      \u5bfc\u8bfb \u524d\u6587\u8c08\u5230\u4e86\u4e91\u539f\u751f\u5e94\u7528\u5728\u90e8\u7f72\u67b6\u6784\u4e2d\u9700\u8981\u8003\u8651\u7684\u91cd\u8981\u95ee\u9898\u3002\u6587\u672c\u5c06\u4ecb\u7ecd\u4e00\u4e2a\u5e38\u89c1\u7684\u5e94\u7528\u67b6\u6784\u6a21\u5f0f\u6765\u63d0\u5347\u5e94\u7528\u7684\u53ef\u7528\u6027\u548c […]<\/p>\n","protected":false},"author":63,"featured_media":42963,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-42959","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/42959","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/users\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/comments?post=42959"}],"version-history":[{"count":10,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/42959\/revisions"}],"predecessor-version":[{"id":266788,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/42959\/revisions\/266788"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media\/42963"}],"wp:attachment":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media?parent=42959"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/categories?post=42959"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/tags?post=42959"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}