{"id":110746,"date":"2026-09-29T10:40:52","date_gmt":"2026-09-29T02:40:52","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/110746.html"},"modified":"2026-09-29T10:40:52","modified_gmt":"2026-09-29T02:40:52","slug":"%e4%bd%bf%e7%94%a8-elixir%e3%80%81phoenix-%e4%b8%8e-absinthe-%e6%90%ad%e5%bb%ba-graphql-%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%9a%e7%8e%af%e5%a2%83%e5%87%86%e5%a4%87%e4%b8%8e%e9%a1%b9%e7%9b%ae%e5%88%9d","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/110746.html","title":{"rendered":"\u4f7f\u7528 Elixir\u3001Phoenix \u4e0e Absinthe \u642d\u5efa GraphQL \u670d\u52a1\u5668\uff1a\u73af\u5883\u51c6\u5907\u4e0e\u9879\u76ee\u521d\u59cb\u5316\u5b9e\u6218"},"content":{"rendered":"<h3 class=\"gcb-project-title\">\u3010\u514d\u8d39\u4e0b\u8f7d\u94fe\u63a5\u3011howtographql<\/h3>\n<p class=\"gcb-project-desc\">The Fullstack Tutorial for GraphQL<\/p>\n<p>    <span class=\"gcb-project-addr-label\">\u9879\u76ee\u5730\u5740&#xff1a;<\/span><br \/>\n    <span class=\"gcb-project-addr-link\">https:\/\/gitcode.com\/gh_mirrors\/ho\/howtographql<\/span> <\/p>\n<p>  <span class=\"gcb-project-btn\"> <span class=\"gcb-project-btn-main\">\u70b9\u51fb\u67e5\u770b<\/span> <span class=\"gcb-project-btn-sub\">\u514d\u8d39\u4e0b\u8f7d<\/span> <\/span> <\/p>\n<p>\u672c\u6307\u5357\u662f howtographql \u6559\u7a0b Elixir \u540e\u7aef\u8def\u7ebf\u4e2d\u300cGetting Started\u300d\u7ae0\u8282\u7684\u5b8c\u6574\u5b9e\u6218\u8bb2\u89e3\u3002\u4f60\u5c06\u57fa\u4e8e Elixir\u3001Phoenix \u4e0e Absinthe \u642d\u5efa\u4e00\u4e2a\u540d\u4e3a Community \u7684\u7c7b Hacker News \u5e94\u7528&#xff08;\u4ee5\u7528\u6237\u63d0\u4ea4\u4e0e\u6295\u7968\u4e3a\u6838\u5fc3\u7684\u5185\u5bb9\u793e\u533a&#xff09;&#xff0c;\u5e76\u5b8c\u6210 GraphQL \u670d\u52a1\u5668\u5f00\u53d1\u524d\u7684\u5168\u90e8\u51c6\u5907\u5de5\u4f5c&#xff1a;\u73af\u5883\u4f9d\u8d56\u5b89\u88c5\u3001Phoenix \u9879\u76ee\u751f\u6210\u3001Absinthe \u4f9d\u8d56\u5f15\u5165\u3001\u6570\u636e\u8868\u4e0e\u79cd\u5b50\u6570\u636e\u521d\u59cb\u5316\u3002\u5b66\u5b8c\u672c\u7ae0&#xff0c;\u4f60\u4fbf\u62e5\u6709\u4e86\u4e00\u4e2a\u53ef\u8fd0\u884c\u3001\u53ef\u7ee7\u7eed\u5f00\u53d1 GraphQL Schema \u4e0e Resolver \u7684\u5b8c\u6574\u9879\u76ee\u9aa8\u67b6\u3002<\/p>\n<h3>\u7ae0\u8282\u5b9a\u4f4d&#xff1a;Community \u5e94\u7528\u4e0e Elixir \u6280\u672f\u6808<\/h3>\n<p>\u6559\u7a0b\u91c7\u7528\u7684\u6280\u672f\u7ec4\u5408\u662f Elixir&#xff08;\u51fd\u6570\u5f0f\u7f16\u7a0b\u8bed\u8a00&#xff09;\u4e0e Phoenix&#xff08;Elixir \u7684 Web \u6846\u67b6&#xff09;&#xff0c;\u5e76\u4ee5 Absinthe \u4f5c\u4e3a GraphQL \u7684 Elixir \u5b9e\u73b0\u6765\u63a5\u6536\u5e76\u6267\u884c\u7ecf Phoenix \u63d0\u4ea4\u7684 GraphQL \u67e5\u8be2\u3002Elixir \u8fd0\u884c\u5728 Erlang VM&#xff08;BEAM&#xff09;\u4e4b\u4e0a&#xff0c;\u4ee5\u4f4e\u5ef6\u8fdf\u3001\u5206\u5e03\u5f0f\u4e0e\u5bb9\u9519\u80fd\u529b\u8457\u79f0&#xff1b;\u5176\u51fd\u6570\u5f0f\u98ce\u683c\u4e0e GraphQL \u7684\u5b57\u6bb5\u89e3\u6790\u6a21\u578b\u5929\u7136\u5951\u5408&#xff0c;\u5e76\u53d1\u6a21\u578b\u4e5f\u8ba9\u8ba2\u9605&#xff08;subscriptions&#xff09;\u8fd9\u7c7b\u80fd\u529b\u5b9e\u73b0\u8d77\u6765\u975e\u5e38\u987a\u624b\u3002\u8fd9\u4e9b\u80cc\u666f\u5728\u6559\u7a0b\u7684 0-introduction.md \u4e2d\u6709\u8be6\u7ec6\u9610\u8ff0&#xff0c;\u4f60\u53ef\u4ee5\u5728\u672c\u4ed3\u5e93\u4e2d\u7ee7\u7eed\u9605\u8bfb\u3002<\/p>\n<p>\u672c\u6559\u7a0b\u5728\u5f53\u524d\u4ed3\u5e93\u4e2d\u7684\u4f4d\u7f6e\u4e3a content\/backend\/graphql-elixir\/&#xff0c;\u914d\u5957\u7ae0\u8282\u8fd8\u5305\u62ec Schema \u5b9a\u4e49\u4e0e\u67e5\u8be2&#xff08;2-queries.md&#xff09;\u3001\u53d8\u66f4&#xff08;3-mutations.md&#xff09;\u4e0e\u603b\u7ed3&#xff08;4-summary.md&#xff09;&#xff1b;\u7ad9\u70b9\u6570\u636e\u4e2d\u4e5f\u5c06\u8be5\u6559\u7a0b\u767b\u8bb0\u4e3a\u6807\u9898 graphql-elixir \u7684\u540e\u7aef\u8def\u7ebf\u6559\u7a0b&#xff08;\u89c1 src\/data\/stacks.ts&#xff09;\u3002<\/p>\n<h3>\u7b2c\u4e00\u6b65&#xff1a;\u5b89\u88c5\u4f9d\u8d56<\/h3>\n<p>\u5f00\u59cb\u521b\u5efa\u9879\u76ee\u4e4b\u524d&#xff0c;\u9700\u8981\u5148\u5728\u4f60\u7684\u673a\u5668\u4e0a\u88c5\u597d\u4ee5\u4e0b\u4e09\u6837\u4e1c\u897f&#xff1a;<\/p>\n<ul>\n<li>Elixir \u4e0e Erlang&#xff1a;Elixir \u7f16\u8bd1\u5e76\u8fd0\u884c\u5728 Erlang VM \u4e0a&#xff0c;\u56e0\u6b64\u4e24\u8005\u5fc5\u987b\u540c\u65f6\u5b89\u88c5&#xff0c;\u5177\u4f53\u5b89\u88c5\u65b9\u5f0f\u4ee5 Elixir \u5b98\u65b9\u5b89\u88c5\u6307\u5357\u4e3a\u51c6&#xff08;\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u5404\u6709\u5bf9\u5e94\u65b9\u6848&#xff09;\u3002<\/li>\n<li>Postgres&#xff1a;\u672c\u6559\u7a0b\u4f7f\u7528 Postgres \u4f5c\u4e3a\u5e94\u7528\u7684\u6570\u636e\u5e93\u3002OS X \u7528\u6237\u53ef\u4ee5\u6267\u884c brew install postgres \u5feb\u901f\u5b89\u88c5&#xff0c;\u5176\u4ed6\u64cd\u4f5c\u7cfb\u7edf\u53ef\u53c2\u8003 Postgres \u5b98\u65b9\u7684\u8be6\u7ec6\u5b89\u88c5\u6307\u5357\u3002<\/li>\n<\/ul>\n<p>\u4e0e\u4e00\u4e9b\u81ea\u5e26\u5168\u5957\u811a\u624b\u67b6\u7684\u6846\u67b6\u4e0d\u540c&#xff0c;Phoenix \u5de5\u4f5c\u5728\u666e\u901a Elixir \u5e94\u7528\u7684\u6807\u51c6\u76ee\u5f55\u7ed3\u6784\u4e4b\u5185&#xff0c;\u4f46\u5b83\u63d0\u4f9b\u4e86\u81ea\u5df1\u7684\u751f\u6210\u5668&#xff0c;\u7528\u6765\u5f80\u9879\u76ee\u91cc\u6dfb\u52a0\u57fa\u7840 Phoenix \u4ee3\u7801&#xff0c;\u65b9\u4fbf\u4f60\u5feb\u901f\u8d77\u6b65\u3002<\/p>\n<h4>\u5b89\u88c5 Phoenix \u9879\u76ee\u751f\u6210\u5668<\/h4>\n<p>\u5148\u901a\u8fc7 mix \u5b89\u88c5 Hex \u5305\u7ba1\u7406\u5668\u3001rebar \u6784\u5efa\u5de5\u5177\u4ee5\u53ca phx_new \u751f\u6210\u5668\u5f52\u6863&#xff1a;<\/p>\n<p>mix local.hex &#8211;force &amp;&amp; \\\\<br \/>\nmix local.rebar &#8211;force &amp;&amp; \\\\<br \/>\nmix archive.install hex phx_new<\/p>\n<p>\u9010\u6761\u8bf4\u660e\u8fd9\u4e09\u6761\u547d\u4ee4\u7684\u4f5c\u7528&#xff1a;<\/p>\n<ul>\n<li>mix local.hex &#8211;force&#xff1a;\u5b89\u88c5&#xff08;\u6216\u66f4\u65b0&#xff09;Hex\u2014\u2014Elixir \u7684\u5305\u7ba1\u7406\u5668&#xff0c;\u540e\u7eed mix deps.get \u62c9\u53d6\u4f9d\u8d56\u90fd\u8981\u4f9d\u8d56\u5b83&#xff1b;&#8211;force \u8df3\u8fc7\u4ea4\u4e92\u5f0f\u786e\u8ba4\u3002<\/li>\n<li>mix local.rebar &#8211;force&#xff1a;\u5b89\u88c5 rebar\u2014\u2014Erlang \u751f\u6001\u7684\u6784\u5efa\u5de5\u5177&#xff0c;\u90e8\u5206\u4f9d\u8d56\u5728\u7f16\u8bd1\u65f6\u4f1a\u7528\u5230\u3002<\/li>\n<li>mix archive.install hex phx_new&#xff1a;\u4ece Hex \u5b89\u88c5 phx_new \u5f52\u6863\u3002\u5b83\u662f\u4e00\u4e2a\u751f\u6210\u5668\u5f52\u6863\u6587\u4ef6&#xff0c;\u5b89\u88c5\u540e\u5373\u53ef\u5728\u4efb\u610f\u76ee\u5f55\u901a\u8fc7 mix phx.new \u751f\u6210\u65b0\u7684 Phoenix \u9879\u76ee\u3002<\/li>\n<\/ul>\n<h3>\u7b2c\u4e8c\u6b65&#xff1a;\u751f\u6210 Phoenix \u5e94\u7528<\/h3>\n<p>\u4f60\u8981\u6784\u5efa\u7684\u5e94\u7528\u540d\u53eb Community&#xff0c;\u53ef\u4ee5\u628a\u5b83\u7406\u89e3\u6210\u4e00\u4e2a\u8ff7\u4f60\u7248\u7684 Hacker News\u3001Slashdot \u4e4b\u7c7b\u57fa\u4e8e\u7528\u6237\u63d0\u4ea4\u4e0e\u6295\u7968\u6765\u5c55\u793a\u5185\u5bb9\u7684\u7ad9\u70b9\u3002<\/p>\n<p>\u4f7f\u7528 phx.new \u751f\u6210\u5668\u521b\u5efa\u9879\u76ee&#xff08;\u63d0\u793a\u65f6\u8f93\u5165 y \u786e\u8ba4&#xff09;&#xff1a;<\/p>\n<p>mix phx.new community &#8211;no-assets &#8211;no-html<\/p>\n<p>\u8fd9\u91cc\u4e24\u4e2a\u6807\u5fd7\u4f4d\u503c\u5f97\u8bf4\u660e&#xff1a;<\/p>\n<ul>\n<li>&#8211;no-assets&#xff1a;\u8df3\u8fc7 assets&#xff08;JavaScript\/CSS&#xff09;\u811a\u624b\u67b6\u3002\u7531\u4e8e\u6211\u4eec\u8981\u505a\u7684\u662f\u4e00\u4e2a\u7eaf GraphQL API \u540e\u7aef&#xff0c;\u4e0d\u9700\u8981\u6d4f\u89c8\u5668\u7aef\u8d44\u6e90\u3002<\/li>\n<li>&#8211;no-html&#xff1a;\u8df3\u8fc7 HTML \u89c6\u56fe\u4e0e\u6a21\u677f\u3002\u540c\u6837\u662f\u56e0\u4e3a\u540e\u7aef\u53ea\u5bf9\u5916\u66b4\u9732 JSON \u5f62\u5f0f\u7684 GraphQL \u63a5\u53e3\u3002<\/li>\n<\/ul>\n<p>\u5f53\u751f\u6210\u5668\u8be2\u95ee\u662f\u5426\u83b7\u53d6\u5e76\u5b89\u88c5\u4f9d\u8d56\u65f6\u56de\u7b54 y&#xff0c;\u7136\u540e cd \u8fdb\u5165\u751f\u6210\u7684 community \u5e94\u7528\u76ee\u5f55\u7ee7\u7eed\u540e\u7eed\u64cd\u4f5c\u3002<\/p>\n<h3>\u7b2c\u4e09\u6b65&#xff1a;\u4e3a GraphQL \u6dfb\u52a0 Absinthe \u4f9d\u8d56<\/h3>\n<p>\u8981\u8ba9\u5e94\u7528\u652f\u6301 GraphQL&#xff0c;\u8fd8\u9700\u8981\u5728 mix.exs \u6587\u4ef6\u4e2d\u8ffd\u52a0\u4e24\u4e2a\u4f9d\u8d56&#xff0c;\u5b83\u4eec\u4f4d\u4e8e defp deps do \u51fd\u6570\u5185\u90e8\u7684\u4f9d\u8d56\u5217\u8868\u91cc&#xff1a;<\/p>\n<p>{:absinthe, &#034;~&gt; 1.6&#034;},<br \/>\n{:absinthe_plug, &#034;~&gt; 1.5&#034;}<\/p>\n<p>\u8fd9\u4e24\u4e2a\u4f9d\u8d56\u7684\u5206\u5de5\u5982\u4e0b&#xff1a;<\/p>\n<ul>\n<li>absinthe&#xff1a;Elixir \u751f\u6001\u7684 GraphQL \u5b9e\u73b0&#xff0c;\u63d0\u4f9b\u5b8c\u6574\u7684 Schema DSL\u3001\u7c7b\u578b\u7cfb\u7edf\u3001\u7f16\u8bd1\u671f\u7c7b\u578b\u68c0\u67e5\u4e0e Resolver \u673a\u5236&#xff0c;\u662f\u540e\u7eed\u7ae0\u8282\u7f16\u5199 Schema \u4e0e\u67e5\u8be2\u89e3\u6790\u7684\u6838\u5fc3\u5e93\u3002<\/li>\n<li>absinthe_plug&#xff1a;\u628a Absinthe \u63a5\u5165 Phoenix\/Plug HTTP \u5c42\u7684\u6865\u6881&#xff0c;\u63d0\u4f9b Absinthe.Plug&#xff08;\u5904\u7406 GraphQL \u8bf7\u6c42&#xff09;\u4e0e Absinthe.Plug.GraphiQL&#xff08;\u63d0\u4f9b\u6d4f\u89c8\u5668\u5185\u7684 GraphiQL \u8c03\u8bd5\u754c\u9762&#xff09;\u7b49\u6a21\u5757\u3002<\/li>\n<\/ul>\n<p>\u7248\u672c\u7ea6\u675f\u91c7\u7528 Elixir \u5e38\u89c1\u7684 ~&gt; \u8bed\u4e49&#xff1a;~&gt; 1.6 \u8868\u793a\u5141\u8bb8 &gt;&#061; 1.6.0 \u4e14 &lt; 2.0.0 \u7684\u7248\u672c&#xff1b;~&gt; 1.5 \u540c\u7406&#xff0c;\u4fdd\u8bc1\u8865\u4e01\u7248\u672c\u53ef\u81ea\u52a8\u5347\u7ea7\u4f46\u4e0d\u4f1a\u8de8\u5927\u7248\u672c\u3002<\/p>\n<p>\u8ffd\u52a0\u5b8c\u6210\u540e\u8fd0\u884c&#xff1a;<\/p>\n<p>mix deps.get<\/p>\n<p>\u8fd9\u4e00\u6b65\u4f1a\u4f9d\u636e mix.exs \u4ece Hex \u62c9\u53d6\u5e76\u9501\u5b9a\u6240\u6709\u4f9d\u8d56&#xff08;\u5305\u62ec\u521a\u52a0\u5165\u7684 absinthe \u53ca\u5176\u4f20\u9012\u4f9d\u8d56&#xff09;\u3002<\/p>\n<h3>\u7b2c\u56db\u6b65&#xff1a;\u751f\u6210\u6570\u636e\u5e93\u8868\u4e0e\u79cd\u5b50\u6570\u636e<\/h3>\n<p>\u4e3a\u4e86\u8ba9\u540e\u7eed\u7ae0\u8282&#xff08;\u67e5\u8be2\u4e0e\u53d8\u66f4&#xff09;\u53ef\u4ee5\u76f4\u63a5\u5728\u5df2\u6709\u6570\u636e\u4e0a\u5f00\u53d1\u8c03\u8bd5&#xff0c;\u73b0\u5728\u5c31\u628a\u6570\u636e\u5e93\u8868\u7ed3\u6784\u548c\u521d\u59cb\u6570\u636e\u51c6\u5907\u597d\u3002<\/p>\n<h4>\u7528 phx.gen.context \u751f\u6210 News Context \u4e0e Link \u8868<\/h4>\n<p>mix phx.gen.context News Link links url:string description:text<\/p>\n<p>\u8fd9\u6761\u751f\u6210\u5668\u547d\u4ee4\u7684\u53c2\u6570\u542b\u4e49&#xff1a;<\/p>\n<ul>\n<li>News&#xff1a;Context \u6a21\u5757\u540d&#xff0c;\u751f\u6210 Community.News \u6a21\u5757&#xff0c;\u4f5c\u4e3a\u4e1a\u52a1\u9886\u57df\u7684\u6570\u636e\u8bbf\u95ee\u5165\u53e3\u3002<\/li>\n<li>Link&#xff1a;Schema \u6a21\u5757\u540d&#xff0c;\u751f\u6210 Community.News.Link \u7ed3\u6784\u4f53&#xff0c;\u6620\u5c04\u5230\u6570\u636e\u8868\u3002<\/li>\n<li>links&#xff1a;\u6570\u636e\u5e93\u8868\u540d&#xff08;\u590d\u6570\u5f62\u5f0f&#xff09;\u3002<\/li>\n<li>url:string\u3001description:text&#xff1a;\u5b9a\u4e49\u8868\u5b57\u6bb5\u53ca\u5176 Ecto \u7c7b\u578b&#xff0c;\u5176\u4e2d url \u7528\u5b57\u7b26\u4e32\u3001description \u7528\u6587\u672c\u7c7b\u578b\u3002<\/li>\n<\/ul>\n<p>\u751f\u6210\u5668\u4f1a\u4ea7\u51fa Context \u6a21\u5757\u3001Schema \u6a21\u5757\u4ee5\u53ca\u5bf9\u5e94\u7684\u6570\u636e\u5e93\u8fc1\u79fb\u6587\u4ef6\u3002\u4ece\u540e\u7eed\u7ae0\u8282\u53ef\u4ee5\u770b\u5230\u8fd9\u4e9b\u4ea7\u7269\u7684\u5b9e\u9645\u7528\u6cd5&#xff1a;\u5728 2-queries.md \u4e2d&#xff0c;\u67e5\u8be2\u89e3\u6790\u5668\u76f4\u63a5\u8c03\u7528 News.list_links() \u83b7\u53d6\u5168\u90e8\u94fe\u63a5&#xff1b;\u5728 3-mutations.md \u4e2d&#xff0c;\u53d8\u66f4\u89e3\u6790\u5668\u901a\u8fc7 News.create_link(args) \u5199\u5165\u65b0\u94fe\u63a5\u3002\u4e5f\u5c31\u662f\u8bf4&#xff0c;Resolver \u53ea\u8d1f\u8d23 GraphQL \u5c42\u9762\u7684\u53c2\u6570\u4e0e\u7ed3\u679c\u8f6c\u6362&#xff0c;\u6570\u636e\u5e93\u8bbf\u95ee\u5168\u90e8\u59d4\u6258\u7ed9 Community.News \u4e2d\u7684\u8fd9\u4e9b\u51fd\u6570\u2014\u2014\u8fd9\u79cd\u95f4\u63a5\u5c42\u5728\u5e94\u7528\u6210\u957f\u3001\u5176\u4ed6\u6a21\u5757\u4e5f\u9700\u8981\u521b\u5efa\u94fe\u63a5\u65f6\u4f1a\u975e\u5e38\u6709\u7528\u3002<\/p>\n<h4>\u5199\u5165\u79cd\u5b50\u6570\u636e<\/h4>\n<p>\u5411 priv\/repo\/seeds.exs \u6587\u4ef6\u4e2d\u52a0\u5165\u4ee5\u4e0b\u5185\u5bb9&#xff0c;\u8ba9\u6570\u636e\u5e93\u91cc\u6709\u4e00\u4e9b\u57fa\u7840\u94fe\u63a5\u6570\u636e&#xff1a;<\/p>\n<p>alias Community.News.Link<br \/>\nalias Community.Repo<\/p>\n<p>%Link{url: &#034;http:\/\/graphql.org\/&#034;, description: &#034;The Best Query Language&#034;} |&gt; Repo.insert!<br \/>\n%Link{url: &#034;http:\/\/dev.apollodata.com\/&#034;, description: &#034;Awesome GraphQL Client&#034;} |&gt; Repo.insert!<\/p>\n<p>\u8fd9\u91cc\u5148\u7528 alias \u5f15\u5165 Community.News.Link&#xff08;\u7531\u4e0a\u4e00\u6b65\u751f\u6210\u5668\u521b\u5efa&#xff09;\u4e0e Community.Repo&#xff0c;\u7136\u540e\u6784\u9020\u4e24\u4e2a Link \u7ed3\u6784\u4f53&#xff0c;\u901a\u8fc7\u7ba1\u9053\u8fd0\u7b97\u7b26 |&gt; \u4ea4\u7ed9 Repo.insert! \u5199\u5165\u6570\u636e\u5e93\u3002insert! \u7684\u611f\u53f9\u53f7\u8868\u793a\u5931\u8d25\u65f6\u76f4\u63a5\u629b\u5f02\u5e38&#xff0c;\u9002\u5408\u79cd\u5b50\u6570\u636e\u8fd9\u79cd&#034;\u5fc5\u987b\u6210\u529f&#034;\u7684\u573a\u666f\u3002<\/p>\n<h4>\u521d\u59cb\u5316\u6570\u636e\u5e93<\/h4>\n<p>\u8fd0\u884c&#xff1a;<\/p>\n<p>mix ecto.setup<\/p>\n<p>ecto.setup \u4f1a\u4f9d\u6b21\u5b8c\u6210&#xff1a;\u521b\u5efa\u6570\u636e\u5e93\u3001\u8fd0\u884c\u6240\u6709\u8fc1\u79fb&#xff08;\u6b64\u65f6 links \u8868\u968f\u4e4b\u5efa\u7acb&#xff09;\u3001\u6267\u884c seeds.exs \u79cd\u5b50\u6570\u636e\u3002\u6267\u884c\u5b8c\u6210\u540e&#xff0c;\u6570\u636e\u8868\u5df2\u521b\u5efa\u3001\u8fc1\u79fb\u5df2\u8fd0\u884c&#xff0c;\u5e94\u7528\u7684\u6570\u636e\u5c42\u5c31\u7eea\u3002<\/p>\n<p>\u5982\u679c\u4e4b\u540e\u4efb\u4f55\u65f6\u5019\u60f3\u6e05\u7a7a\u4e00\u5207\u91cd\u65b0\u6765\u8fc7&#xff0c;\u53ea\u9700\u8fd0\u884c&#xff1a;<\/p>\n<p>mix ecto.reset<\/p>\n<p>\u8be5\u547d\u4ee4\u4f1a\u5220\u9664\u5e76\u91cd\u5efa\u6570\u636e\u5e93\u3001\u91cd\u65b0\u8dd1\u8fc1\u79fb\u4e0e\u79cd\u5b50&#xff0c;\u8ba9\u73af\u5883\u56de\u5230\u521d\u59cb\u72b6\u6001\u3002<\/p>\n<h4>\u6392\u67e5 Postgres \u8fde\u63a5\u95ee\u9898<\/h4>\n<p>\u5982\u679c\u6267\u884c\u4e0a\u8ff0\u547d\u4ee4\u65f6\u9047\u5230 Postgres \u8fde\u63a5\u9519\u8bef&#xff0c;\u4f18\u5148\u68c0\u67e5\u5f00\u53d1\u73af\u5883\u914d\u7f6e config\/dev.exs \u4e2d\u7684\u6570\u636e\u5e93\u51ed\u636e\u2014\u2014\u5305\u62ec\u7528\u6237\u540d\u3001\u5bc6\u7801\u3001\u4e3b\u673a\u540d\u3001\u7aef\u53e3\u4e0e\u6570\u636e\u5e93\u540d\u7b49\u8bbe\u7f6e\u3002\u9ed8\u8ba4\u914d\u7f6e\u901a\u5e38\u5047\u5b9a\u672c\u673a postgres \u7528\u6237\u53ef\u514d\u5bc6\u8fde\u63a5&#xff0c;\u5982\u679c\u4f60\u7684\u672c\u5730 Postgres \u8bbe\u7f6e\u4e86\u5bc6\u7801\u6216\u4f7f\u7528\u4e86\u4e0d\u540c\u8d26\u53f7&#xff0c;\u9700\u8981\u5728\u8fd9\u91cc\u540c\u6b65\u4fee\u6539\u3002<\/p>\n<h3>\u5b8c\u6210\u521d\u59cb\u5316&#xff1a;\u63a5\u4e0b\u6765\u505a\u4ec0\u4e48<\/h3>\n<p>\u5230\u8fd9\u4e00\u6b65&#xff0c;\u4f60\u7684\u5f00\u53d1\u73af\u5883\u5df2\u5168\u90e8\u5c31\u7eea&#xff1a;<\/p>\n<ul>\n<li>Phoenix \u5e94\u7528 community \u5df2\u751f\u6210\u5e76\u5b89\u88c5\u4f9d\u8d56&#xff1b;<\/li>\n<li>Absinthe \u4e0e Absinthe.Plug \u5df2\u63a5\u5165\u9879\u76ee&#xff1b;<\/li>\n<li>links \u8868\u5df2\u901a\u8fc7\u8fc1\u79fb\u521b\u5efa&#xff0c;\u4e14\u5199\u5165\u4e86\u4e24\u6761\u79cd\u5b50\u94fe\u63a5\u3002<\/li>\n<\/ul>\n<p>\u63a5\u4e0b\u6765\u7684\u5f00\u53d1\u4e3b\u7ebf\u5728\u540e\u7eed\u7ae0\u8282\u4e2d\u5c55\u5f00&#xff1a;\u5148\u5b9a\u4e49 GraphQL Schema&#xff08;\u5728 lib\/community_web\/schema.ex \u4e2d\u5efa\u7acb :link \u5bf9\u8c61\u4e0e all_links \u6839\u67e5\u8be2\u5b57\u6bb5&#xff0c;\u6ce8\u610f Absinthe \u7684\u86c7\u5f62\u547d\u540d\u4f1a\u81ea\u52a8\u9002\u914d GraphQL \u7684\u9a7c\u5cf0\u5199\u6cd5&#xff09;&#xff0c;\u518d\u7f16\u5199\u5bf9\u5e94\u7684 Resolver \u51fd\u6570&#xff0c;\u5e76\u901a\u8fc7 iex -S mix phx.server \u542f\u52a8\u670d\u52a1\u5668\u3001\u5728 GraphiQL \u754c\u9762&#xff08;\/graphiql \u8def\u7531&#xff09;\u4e2d\u6d4b\u8bd5\u67e5\u8be2&#xff1b;\u968f\u540e\u5b9e\u73b0 create_link \u53d8\u66f4&#xff0c;\u8ba9\u5ba2\u6237\u7aef\u80fd\u591f\u63d0\u4ea4\u65b0\u94fe\u63a5\u3002\u76f8\u5173\u5b8c\u6574\u4ee3\u7801\u793a\u4f8b\u4e0e\u6d4b\u8bd5\u6b65\u9aa4&#xff0c;\u53ef\u4ee5\u7ee7\u7eed\u9605\u8bfb\u4ed3\u5e93\u4e2d\u7684 2-queries.md \u4e0e 3-mutations.md\u3002<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" class=\"gcb-icon-like\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260929024050-6abb2532dfc16.svg\" alt=\"\" width=\"16\" height=\"16\" \/> <span class=\"gcb-like-text\">\u8d5e<\/span>  <\/p>\n<p>   <span class=\"gcb-share-text\">\u5206\u4eab<\/span>  <\/p>\n<h3 class=\"gcb-project-title\">\u3010\u514d\u8d39\u4e0b\u8f7d\u94fe\u63a5\u3011howtographql<\/h3>\n<p class=\"gcb-project-desc\">The Fullstack Tutorial for GraphQL<\/p>\n<p>    <span class=\"gcb-project-addr-label\">\u9879\u76ee\u5730\u5740&#xff1a;<\/span><br \/>\n    <span class=\"gcb-project-addr-link\">https:\/\/gitcode.com\/gh_mirrors\/ho\/howtographql<\/span> <\/p>\n<p>  <span class=\"gcb-project-btn\"> <span class=\"gcb-project-btn-main\">\u70b9\u51fb\u67e5\u770b<\/span> <span class=\"gcb-project-btn-sub\">\u514d\u8d39\u4e0b\u8f7d<\/span> <\/span> <\/p>\n<h4 class=\"gcb-related-title\">\u76f8\u5173\u63a8\u8350<\/h4>\n<ul class=\"gcb-related-list\">\n<li class=\"gcb-related-item\">\n<h5 class=\"gcb-related-item-title\">\u4f7f\u7528 Elixir \u4e0e Absinthe \u6784\u5efa GraphQL \u670d\u52a1\u5668&#xff1a;HowToGraphQL \u5165\u95e8\u5bfc\u8bfb\u4e0e Schema \u9a71\u52a8\u5f00\u53d1\u89e3\u6790<\/h5>\n<p class=\"gcb-related-item-desc\">\u4f7f\u7528 Elixir \u4e0e Absinthe \u6784\u5efa GraphQL \u670d\u52a1\u5668&#xff1a;HowToGraphQL \u5165\u95e8\u5bfc\u8bfb\u4e0e Schema \u9a71\u52a8\u5f00\u53d1\u89e3\u6790 \u672c\u7bc7\u6280\u672f\u6307\u5357\u662f How<\/p>\n<\/li>\n<li class=\"gcb-related-item\">\n<h5 class=\"gcb-related-item-title\"> JHipster\u73af\u5883\u642d\u5efa\u4e0e\u9879\u76ee\u521d\u59cb\u5316\u5b9e\u6218\u6307\u5357 <\/h5>\n<p class=\"gcb-related-item-desc\">JHipster\u73af\u5883\u642d\u5efa\u4e0e\u9879\u76ee\u521d\u59cb\u5316\u5b9e\u6218\u6307\u5357 \u672c\u6587\u662f\u4e00\u4efd\u5168\u9762\u7684JHipster\u5168\u6808\u5f00\u53d1\u5e73\u53f0\u73af\u5883\u642d\u5efa\u4e0e\u9879\u76ee\u521d\u59cb\u5316\u5b9e\u6218\u6307\u5357\u3002\u8be6\u7ec6\u4ecb\u7ecd\u4e86JHipster\u7684\u7cfb\u7edf\u73af\u5883\u8981\u6c42<\/p>\n<p>     <span class=\"gcb-tag\">\u4ee3\u7801\u751f\u6210<\/span><br \/>\n     <span class=\"gcb-tag\">\u5f00\u53d1\u5de5\u5177<\/span><br \/>\n     <span class=\"gcb-tag\">\u540e\u7aef<\/span><br \/>\n     <span class=\"gcb-tag\">\u524d\u7aef<\/span>\n      <\/li>\n<li class=\"gcb-related-item\">\n<h5 class=\"gcb-related-item-title\"> Daytona\u4f7f\u7528\u5f00\u59cb&#xff1a;\u73af\u5883\u521d\u59cb\u5316\u4e0e\u51c6\u5907\u8fc7\u7a0b<\/h5>\n<p class=\"gcb-related-item-desc\">Daytona\u4f7f\u7528\u5f00\u59cb&#xff1a;\u73af\u5883\u521d\u59cb\u5316\u4e0e\u51c6\u5907\u8fc7\u7a0b \u6982\u8ff0 Daytona\u662f\u4e00\u4e2a\u4e13\u4e3aAI\u4ee3\u7801\u6267\u884c\u8bbe\u8ba1\u7684\u5f00\u53d1\u73af\u5883\u7ba1\u7406\u5668&#xff0c;\u63d0\u4f9b\u5b89\u5168\u3001\u9694\u79bb\u7684\u8fd0\u884c\u73af\u5883\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecdDayto<\/p>\n<\/li>\n<\/ul>\n<p>  <span class=\"gcb-prev-next-label\">\u4e0a\u4e00\u7bc7&#xff1a;<\/span><br \/>\n  Bebas Neue\u5b57\u4f53\u5b8c\u5168\u6307\u5357&#xff1a;2025\u5e74\u514d\u8d39\u5f00\u6e90\u6807\u9898\u5b57\u4f53\u7684\u7ec8\u6781\u89e3\u51b3\u65b9\u6848 <\/p>\n<p>  <span class=\"gcb-prev-next-label\">\u4e0b\u4e00\u7bc7&#xff1a;<\/span><br \/>\n  EPPlus\u5b8c\u6574\u6307\u5357&#xff1a;.NET\u5f00\u53d1\u8005\u7684Excel\u81ea\u52a8\u5316\u89e3\u51b3\u65b9\u6848 <\/p>\n<p>\u521b\u4f5c\u58f0\u660e\uff1a\u672c\u6587\u90e8\u5206\u5185\u5bb9\u7531AI\u8f85\u52a9\u751f\u6210\uff08AIGC\uff09\uff0c\u4ec5\u4f9b\u53c2\u8003<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3010\u514d\u8d39\u4e0b\u8f7d\u94fe\u63a5\u3011howtographql The Fullstack Tutorial for GraphQL \u9879\u76ee\u5730\u5740&#xff1a; https:\/\/gitcode.com\/gh_mirrors\/ho\/howtographql \u70b9\u51fb\u67e5\u770b \u514d\u8d39\u4e0b\u8f7d  \u672c\u6307\u5357\u662f howtographql \u6559\u7a0b Elixir \u540e\u7aef\u8def\u7ebf\u4e2d\u300cGetting Started\u300d\u7ae0\u8282\u7684\u5b8c\u6574\u5b9e\u6218\u8bb2\u89e3\u3002\u4f60\u5c06\u57fa\u4e8e Elixir\u3001Phoenix \u4e0e Absinthe \u642d\u5efa\u4e00\u4e2a\u540d\u4e3a Community \u7684\u7c7b Ha<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"topic":[],"class_list":["post-110746","post","type-post","status-publish","format-standard","hentry","category-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4f7f\u7528 Elixir\u3001Phoenix \u4e0e Absinthe \u642d\u5efa GraphQL \u670d\u52a1\u5668\uff1a\u73af\u5883\u51c6\u5907\u4e0e\u9879\u76ee\u521d\u59cb\u5316\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/110746.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4f7f\u7528 Elixir\u3001Phoenix \u4e0e Absinthe \u642d\u5efa GraphQL \u670d\u52a1\u5668\uff1a\u73af\u5883\u51c6\u5907\u4e0e\u9879\u76ee\u521d\u59cb\u5316\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u3010\u514d\u8d39\u4e0b\u8f7d\u94fe\u63a5\u3011howtographql The Fullstack Tutorial for GraphQL \u9879\u76ee\u5730\u5740&#xff1a; https:\/\/gitcode.com\/gh_mirrors\/ho\/howtographql \u70b9\u51fb\u67e5\u770b \u514d\u8d39\u4e0b\u8f7d \u672c\u6307\u5357\u662f howtographql \u6559\u7a0b Elixir \u540e\u7aef\u8def\u7ebf\u4e2d\u300cGetting Started\u300d\u7ae0\u8282\u7684\u5b8c\u6574\u5b9e\u6218\u8bb2\u89e3\u3002\u4f60\u5c06\u57fa\u4e8e Elixir\u3001Phoenix \u4e0e Absinthe \u642d\u5efa\u4e00\u4e2a\u540d\u4e3a Community \u7684\u7c7b Ha\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/110746.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-29T02:40:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260929024050-6abb2532dfc16.svg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/110746.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/110746.html\",\"name\":\"\u4f7f\u7528 Elixir\u3001Phoenix \u4e0e Absinthe \u642d\u5efa GraphQL \u670d\u52a1\u5668\uff1a\u73af\u5883\u51c6\u5907\u4e0e\u9879\u76ee\u521d\u59cb\u5316\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-29T02:40:52+00:00\",\"dateModified\":\"2026-09-29T02:40:52+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/110746.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/110746.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/110746.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4f7f\u7528 Elixir\u3001Phoenix \u4e0e Absinthe \u642d\u5efa GraphQL \u670d\u52a1\u5668\uff1a\u73af\u5883\u51c6\u5907\u4e0e\u9879\u76ee\u521d\u59cb\u5316\u5b9e\u6218\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u4f7f\u7528 Elixir\u3001Phoenix \u4e0e Absinthe \u642d\u5efa GraphQL \u670d\u52a1\u5668\uff1a\u73af\u5883\u51c6\u5907\u4e0e\u9879\u76ee\u521d\u59cb\u5316\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/110746.html","og_locale":"zh_CN","og_type":"article","og_title":"\u4f7f\u7528 Elixir\u3001Phoenix \u4e0e Absinthe \u642d\u5efa GraphQL \u670d\u52a1\u5668\uff1a\u73af\u5883\u51c6\u5907\u4e0e\u9879\u76ee\u521d\u59cb\u5316\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u3010\u514d\u8d39\u4e0b\u8f7d\u94fe\u63a5\u3011howtographql The Fullstack Tutorial for GraphQL \u9879\u76ee\u5730\u5740&#xff1a; https:\/\/gitcode.com\/gh_mirrors\/ho\/howtographql \u70b9\u51fb\u67e5\u770b \u514d\u8d39\u4e0b\u8f7d \u672c\u6307\u5357\u662f howtographql \u6559\u7a0b Elixir \u540e\u7aef\u8def\u7ebf\u4e2d\u300cGetting Started\u300d\u7ae0\u8282\u7684\u5b8c\u6574\u5b9e\u6218\u8bb2\u89e3\u3002\u4f60\u5c06\u57fa\u4e8e Elixir\u3001Phoenix \u4e0e Absinthe \u642d\u5efa\u4e00\u4e2a\u540d\u4e3a Community \u7684\u7c7b Ha","og_url":"https:\/\/www.wsisp.com\/helps\/110746.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-29T02:40:52+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260929024050-6abb2532dfc16.svg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/110746.html","url":"https:\/\/www.wsisp.com\/helps\/110746.html","name":"\u4f7f\u7528 Elixir\u3001Phoenix \u4e0e Absinthe \u642d\u5efa GraphQL \u670d\u52a1\u5668\uff1a\u73af\u5883\u51c6\u5907\u4e0e\u9879\u76ee\u521d\u59cb\u5316\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-29T02:40:52+00:00","dateModified":"2026-09-29T02:40:52+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/110746.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/110746.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/110746.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u4f7f\u7528 Elixir\u3001Phoenix \u4e0e Absinthe \u642d\u5efa GraphQL \u670d\u52a1\u5668\uff1a\u73af\u5883\u51c6\u5907\u4e0e\u9879\u76ee\u521d\u59cb\u5316\u5b9e\u6218"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/110746","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=110746"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/110746\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=110746"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=110746"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=110746"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=110746"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}