{"id":261,"date":"2022-04-14T14:23:33","date_gmt":"2022-04-14T06:23:33","guid":{"rendered":"https:\/\/www.anger.ltd\/?p=261"},"modified":"2022-04-14T15:04:32","modified_gmt":"2022-04-14T07:04:32","slug":"%e6%9b%b4%e6%8d%a2mongdb%e6%95%b0%e6%8d%ae%e5%88%86%e7%89%87%e9%9b%86%e7%be%a4%e5%9c%b0%e5%9d%80","status":"publish","type":"post","link":"https:\/\/www.anger.ltd\/index.php\/2022\/04\/14\/%e6%9b%b4%e6%8d%a2mongdb%e6%95%b0%e6%8d%ae%e5%88%86%e7%89%87%e9%9b%86%e7%be%a4%e5%9c%b0%e5%9d%80\/","title":{"rendered":"\u66f4\u6362MongDB\u6570\u636e\u5206\u7247\u96c6\u7fa4\u5730\u5740"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">\u5199\u5728\u524d\u9762<\/h3>\n\n\n\n<p>\u516c\u53f8\u5728\u4e91\u7aef\u73af\u5883\u81ea\u5efa\u4e86MongoDB\u5206\u7247\u96c6\u7fa4\uff0c\u914d\u7f6e\u7684\u65f6\u5019\u6ca1\u8003\u8651\u7f51\u7edc\u6d41\u91cf\u7b49\u539f\u56e0\uff0c\u914d\u7f6e\u4e2d\u5199\u7684\u90fd\u662f\u670d\u52a1\u5668\u516c\u7f51\u5730\u5740\uff0c\u5bfc\u81f4\u6240\u6709\u6570\u636e\u90fd\u4ece\u516c\u7f51\u8d70\uff0c\u901f\u5ea6\u4e0d\u5982\u5185\u7f51\u5feb\uff0c\u6240\u4ee5\u60f3\u5c06\u6240\u6709\u670d\u52a1\u5668\u5730\u5740\u90fd\u6362\u6210\u5185\u7f51\uff0c\u5e76\u4e14\u516c\u7f51\u53ef\u4ee5\u901a\u8fc7MongS\u8bbf\u95ee\u96c6\u7fa4\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> \u8fd9\u5957\u65b9\u6cd5\u53ef\u80fd\u4e0d\u9002\u7528\u6240\u6709\u73af\u5883\uff0c\u66ff\u6362\u8fc7\u7a0b\u4e2d\u53ef\u80fd\u4f1a\u51fa\u73b0\u65e0\u6cd5\u8fde\u63a5\u6570\u636e\u5e93\u7684\u60c5\u51b5\uff0c\u53ef\u4ee5\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u884c\u66f4\u6539\uff0c\u672c\u6587\u53ef\u505a\u53c2\u8003\uff0c\u9700\u8981\u63d0\u524d\u914d\u7f6e\u597d\u4e00\u53f0\u7528\u4e8e\u52a0\u5165\u96c6\u7fa4\u90fd\u670d\u52a1\u5668\uff0c\u5e76\u5b89\u88c5\u597d\u548c\u65e7\u670d\u52a1\u540c\u6837\u7248\u672c\u7684MongoDB\u3002\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u4fee\u6539Config<\/h4>\n\n\n\n<p>\u9996\u5148\u627e\u5230Config\u7684Master\u8282\u70b9\uff0c\u7136\u540e\u767b\u9646\u670d\u52a1\u5668\u5c06Config\u914d\u7f6e\u6587\u4ef6\u548ckey\u6587\u4ef6\u590d\u5236\u5230\u65b0\u670d\u52a1\u5668\uff0c\u6216\u8005\u4e4b\u524d\u6ca1\u6709\u521b\u5efaConfig\u8282\u70b9\u5230\u670d\u52a1\u5668\uff0c\u7136\u540e\u542f\u52a8\u65b0\u7684Config\u8282\u70b9<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#\u5728\u65b0\u8282\u70b9\u521b\u5efa\u914d\u7f6e\u6587\u4ef6\u3001\u6570\u636e\u3001\u65e5\u5fd7\u5b58\u653e\u7684\u6587\u4ef6\u5939\nmkdir -p \/data\/mongodb\/{conf,log,data}\n#\u5728\u65b0\u8282\u70b9\u521b\u5efa\u6570\u636e\u5b58\u653e\u76ee\u5f55\nmkdir -p \/data\/mongodb\/data\/config\n#\u4ece\u65e7\u8282\u70b9\u590d\u5236\u6587\u4ef6\u5230\u65b0\u8282\u70b9\nscp config.conf root@newconfig:\/data\/mongodb\/conf\/\nscp keyfile root@newconfig:\/data\/mongodb\/conf\n#\u542f\u52a8\u65b0\u8282\u70b9\nmongod -f \/data\/mongodb\/conf\/config.conf<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>#\u914d\u7f6e\u6587\u4ef6\u5185\u5bb9\ndbpath=\/data\/mongodb\/data\/config\nlogpath=\/data\/mongodb\/log\/config.log\nport=27018\nlogappend=true\nfork=true\n#\u590d\u5236\u96c6\u540d\u79f0\nreplSet=configs\n#\u7f6e\u53c2\u6570\u4e3atrue\nconfigsvr=true\n#\u5141\u8bb8\u4efb\u610f\u673a\u5668\u8fde\u63a5\nbind_ip=0.0.0.0\nauth=true\noplogSize=100\nkeyFile=\/data\/mongodb\/conf\/keyfile<\/code><\/pre>\n\n\n\n<p>\u63a5\u4e0b\u6765\u5728config\u7684Master\u8282\u70b9\u767b\u9646\u6570\u636e\u5e93\uff0c\u66f4\u6539master\u4e3a\u65b0\u8282\u70b9<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#\u5728Master\u8282\u70b9\u767b\u9646\nmongo --port 27018 -u root -p password --authenticationDatabase admin\n#\u5148\u5c06\u65b0\u8282\u70b9\u52a0\u5165\u5230config\u4e2d\nrs.add(\"192.168.0.186:27018\")\n#\u7136\u540e\u67e5\u770bconfig\u72b6\u6001\uff0c\u5f53\u65b0\u8282\u70b9\u53d8\u4e3aSECONDARY\u72b6\u6001\u4ee5\u540e\uff0c\u5c31\u53ef\u4ee5\u8fdb\u884c\u5207\u6362\u4e86\nrs.status()\n#\u66f4\u6539\u65b0\u8282\u70b9\u53d8\u4e3aPRIMARY\uff0c\u5148\u67e5\u770b\u5f53\u524dPRIMARY\u7684priority\u503c\nrs.config()\n#\u7136\u540e\u4fee\u6539\u65b0\u8282\u70b9\u7684priority\u503c\uff0c\u8981\u6bd4\u5f53\u524dPRIMARY\u7684\u503c\u9ad8\uff0c\u5047\u8bbe\u5f53\u524dPRIMARY\u7684priority\u503c\u4e3a2\nconfig=rs.config()\n#\u4fee\u6539\u4e3a3\u6bd4Master\u5927\u5c31\u53ef\u4ee5\nconfig.members&#91;3].priority=3 \n#\u52a0\u8f7d\u65b0\u914d\u7f6e\nrs.reconfig(config)\n#\u6570\u7ec4\u4e2d\u7684\u7d22\u5f15\u4e3a\u65b0\u8282\u70b9\u5728\u6570\u7ec4\u4e2d\u7684\u4f4d\u7f6e\uff0c\u5047\u5982\u539f\u6765\u67093\u4e2aconfig\u8282\u70b9\uff0c\u90a3\u4e48\u65b0\u52a0\u5165\u7684\u8282\u70b9\u5c31\u662f\u7b2c\u56db\u4e2a\uff0c\u90a3\u4e48\n#\u4ed6\u7684\u6570\u7ec4\u4e0b\u6807\uff08\u7d22\u5f15\uff09\u5c31\u662f3\uff08\u4ece0\u5f00\u59cb\u8ba1\u7b97\uff09\uff0c\u65b0\u8282\u70b9priority\u503c\u4e3a3\uff0c\u6bd4\u5f53\u524dPRIMARY\u5927\uff0c\u4f1a\u88ab\u9009\u4e3aPRI#MARY\n#\u67e5\u770b\u65b0\u8282\u70b9\u662f\u5426\u53d8\u4e3a\u4e86PRIMARY\nrs.status()<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>#\u72b6\u6001\u8bf4\u660e\/\u89e3\u91ca\nSTARTUP\uff1a\u521a\u52a0\u5165\u5230\u590d\u5236\u96c6\u4e2d\uff0c\u914d\u7f6e\u8fd8\u672a\u52a0\u8f7d\nSTARTUP2\uff1a\u914d\u7f6e\u5df2\u52a0\u8f7d\u5b8c\uff0c\u521d\u59cb\u5316\u72b6\u6001\nRECOVERING\uff1a\u6b63\u5728\u6062\u590d\uff0c\u4e0d\u9002\u7528\u8bfb\nARBITER: \u4ef2\u88c1\u8005\nDOWN\uff1a\u8282\u70b9\u4e0d\u53ef\u5230\u8fbe\nUNKNOWN\uff1a\u672a\u83b7\u53d6\u5176\u4ed6\u8282\u70b9\u72b6\u6001\u800c\u4e0d\u77e5\u662f\u4ec0\u4e48\u72b6\u6001\uff0c\u4e00\u822c\u53d1\u751f\u5728\u53ea\u6709\u4e24\u4e2a\u6210\u5458\u7684\u67b6\u6784\nREMOVED\uff1a\u79fb\u9664\u590d\u5236\u96c6\nROLLBACK\uff1a\u6570\u636e\u56de\u6eda\uff0c\u5728\u56de\u6eda\u7ed3\u675f\u65f6\uff0c\u8f6c\u79fb\u5230RECOVERING\u6216SECONDARY\u72b6\u6001\nFATAL\uff1a\u51fa\u9519\u3002\u67e5\u770b\u65e5\u5fd7grep \u201creplSet FATAL\u201d\u627e\u51fa\u9519\u539f\u56e0\uff0c\u91cd\u65b0\u505a\u540c\u6b65\nPRIMARY\uff1a\u4e3b\u8282\u70b9\nSECONDARY\uff1a\u5907\u4efd\u8282\u70b9<\/code><\/pre>\n\n\n\n<p>\u5982\u679c\u65b0\u8282\u70b9\u5df2\u7ecf\u53d8\u4e3aMaster\uff0c\u90a3\u4e48\u5c31\u53ef\u4ee5\u767b\u9646\u65b0\u8282\u70b9\u8fdb\u884c\u914d\u7f6e\u4e86<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#\u9996\u5148\u5728\u65b0\u8282\u70b9\u767b\u9646\nmongo --port 27018 -u root -p password --authenticationDatabase admin\n#\u67e5\u770b\u5f53\u524d\u5404\u4e2a\u8282\u70b9\u4fe1\u606f\nrs.status()\n#\u63a5\u7740\u79fb\u9664\u6240\u6709\u914d\u7f6e\u4e3a\u516c\u7f51\u5730\u5740\u7684\u8282\u70b9\nrs.remove(\"oldconfigIP:27018\")\n#\u6240\u6709\u8282\u70b9\u90fd\u79fb\u9664\u5b8c\u6210\u540e\uff0c\u5f53\u524dconfig\u4fe1\u606f\u4e2d\u53ea\u6709\u65b0\u8282\u70b9\u4e00\u4e2a\uff0c\u518d\u5c06\u6240\u6709\u65e7\u8282\u70b9\u6539\u4e3a\u5185\u7f51\u5730\u5740\u518d\u52a0\u8fdb\u6765\nrs.add(\"\u65e7\u8282\u70b9\u5185\u7f51IP:27018\")\n#\u6240\u6709\u8282\u70b9\u52a0\u5165\u5b8c\u6210\u4ee5\u540e\uff0c\u5f53\u6240\u6709\u8282\u70b9\u72b6\u6001\u53d8\u4e3aSECONDARY\uff0c\u90a3\u4e48\u5730\u5740\u66ff\u6362\u5b8c\u6210\uff0c\u5982\u679c\u4e0d\u9700\u8981\u67094\u4e2aconfig\u8282#\u70b9\u53ef\u4ee5\u6309\u7167\u4e4b\u524d\u5230\u65b9\u6cd5\u66f4\u6362Master\u4ee5\u540e\uff0c\u5c06\u65b0\u8282\u70b9\u79fb\u9664<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u4fee\u6539\u526f\u672c\u96c6<\/h4>\n\n\n\n<p>Config\u4fee\u6539\u5b8c\u6210\u4ee5\u540e\uff0c\u63a5\u4e0b\u6765\u5c31\u8981\u4fee\u6539\u526f\u672c\u96c6\u4fe1\u606f\u4e86\uff0c\u65b9\u6cd5\u548c\u4fee\u6539Config\u8bbf\u95ee\u4e00\u81f4\uff0c\u5982\u679c\u6709\u591a\u4e2a\u526f\u672c\u96c6\u90a3\u4e48\u90fd\u8981\u4fee\u6539\u4e00\u904d\uff0c\u8fd9\u91cc\u53ea\u5c55\u793a\u4fee\u6539\u5176\u4e2d\u4e00\u4e2a\u526f\u672c\u96c6<\/p>\n\n\n\n<p>\u8fd8\u662f\u5148\u767b\u9646\u526f\u672c\u96c6\u7684Master\uff0c\u7136\u540e\u590d\u5236\u6587\u4ef6\u5230\u65b0\u8282\u70b9<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#\u521b\u5efa\u6570\u636e\u5b58\u50a8\u76ee\u5f55\nmkdir -p \/data\/mongodb\/data\/shard\n#\u590d\u5236\u914d\u7f6e\u6587\u4ef6\nscp shard.conf root@newshard:\/data\/mongodb\/conf\/\n#\u56e0\u4e3akey\u6587\u4ef6\u6211\u4eec\u4e4b\u524d\u5df2\u7ecf\u590d\u5236\u5b8c\u4e86\uff0c\u8fd9\u91cc\u4e0d\u518d\u9700\u8981\u590d\u5236key\u6587\u4ef6\uff0c\u5230\u65b0\u8282\u70b9\u542f\u52a8\u526f\u672c\u96c6\u5373\u53ef\nmongod -f \/data\/mongodb\/conf\/shard.conf<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>#\u914d\u7f6e\u6587\u4ef6\u5185\u5bb9\ndbpath=\/data\/mongodb\/data\/shard \nlogpath=\/data\/mongodb\/log\/shard.log \nport=27001 \nlogappend=true\nfork=true\nshardsvr=true\nreplSet=shard \nbind_ip=0.0.0.0\nauth=true\noplogSize=100\nkeyFile=\/data\/mongodb\/conf\/keyfile<\/code><\/pre>\n\n\n\n<p>\u5728shard\u7684\u526f\u672c\u96c6Master\u8282\u70b9\u767b\u9646\u6570\u636e\u5e93\uff0c\u5e76\u4fee\u6539\u914d\u7f6e\u4fe1\u606f<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#\u767b\u9646\u6570\u636e\u5e93\nmongo --port 27001 -u root -p password --authenticationDatabase admin\n#\u5c06\u65b0\u8282\u70b9\u52a0\u5165\u526f\u672c\u96c6\nrs.add(\"192.168.0.186:27001\")\n#\u7136\u540e\u67e5\u770b\u526f\u672c\u96c6\u72b6\u6001\uff0c\u5f53\u65b0\u8282\u70b9\u53d8\u4e3aSECONDARY\u72b6\u6001\uff0c\u5c31\u53ef\u4ee5\u8fdb\u884cMaster\u7684\u5207\u6362\u4e86\uff0c\u67e5\u770b\u5f53\u524dMater\u7684pri#ority\u503c\uff0c\u5047\u8bbe\u8fd9\u91cc\u4e3a2\nconfig=rs.config()\n#\u4fee\u6539\u65b0\u8282\u70b9priority\u503c\u4e3a3\uff0c\u7d22\u5f15\uff08\u4e0b\u6807\uff09\u503c\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u586b\u5199\nconfig.members&#91;3].priority=3\n#\u52a0\u8f7d\u65b0\u914d\u7f6e\nrs.reconfig(config)\n#\u67e5\u770b\u526f\u672c\u96c6\u72b6\u6001\uff0c\u65b0\u8282\u70b9\u662f\u5426\u53d8\u4e3aPRIMARY\nrs.status()\n#\u5f53\u65b0\u8282\u70b9\u53d8\u4e3aPRIMARY\u540e\u767b\u9646\u65b0\u8282\u70b9\u5e76\u4fee\u6539\u526f\u672c\u96c6\u914d\u7f6e<\/code><\/pre>\n\n\n\n<p>\u767b\u9646\u65b0\u8282\u70b9\uff0c\u7136\u540e\u4fee\u6539\u4fe1\u606f<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#\u767b\u9646\nmongo --port 27001 -u root -p password --authenticationDatabase admin\n#\u79fb\u9664\u6240\u6709\u5730\u5740\u662f\u516c\u7f51\u5730\u5740\u7684\u65e7\u526f\u672c\u96c6\nrs.remove(\"oldshardIP:27001\")\n#\u6240\u6709\u65e7\u5373\u8282\u70b9\u90fd\u79fb\u9664\u540e\uff0c\u5c31\u53ef\u4ee5\u5c06\u65e7\u8282\u70b9\u5730\u5740\u66ff\u6362\u4e3a\u5185\u7f51\u5730\u5740\u518d\u52a0\u5165\u526f\u672c\u96c6\u4e86\nrs.add(\"newIP:27001\")\n#\u5982\u679c\u4e4b\u524d\u6709\u4ef2\u88c1\u8005\uff0c\u4e5f\u53ef\u4ee5\u6dfb\u52a0\u56de\u6765\nrs.addArb(\"newArbIP:27001\")\n#\u6240\u6709\u4fe1\u606f\u66f4\u6539\u5b8c\u6210\u4ee5\u540e\u67e5\u770b\u9644\u8fd1\u72b6\u6001\uff0c\u5982\u679c\u8282\u70b9\u53d8\u4e3aSECONDARY\u6216ARBITER\u540e\uff0c\u526f\u672c\u96c6\u4fe1\u606f\u5c31\u5df2\u7ecf\u4fee\u6539\u5b8c\u6210\n#\u5982\u679c\u4e0d\u9700\u8981\u526f\u672c\u96c6\u67094\u4e2a\u8282\u70b9\uff0c\u53ef\u4ee5\u66f4\u6539Master\u4ee5\u540e\u5c06\u65b0\u8282\u70b9\u79fb\u9664<\/code><\/pre>\n\n\n\n<p>\u8fd9\u6837Congfig\u548c\u526f\u672c\u96c6\u90fd\u5df2\u7ecf\u5c06\u4fe1\u606f\u66ff\u6362\u5b8c\u6210\u4e86\u63a5\u4e0b\u6765\u65b0\u5efa\u4e00\u4e2aMongs\uff08\u8def\u7531\uff09\u8282\u70b9\u5373\u53ef<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u914d\u7f6e\u65b0Mongos<\/h4>\n\n\n\n<p>\u53ef\u4ee5\u4ece\u65e7Mongs\u590d\u5236\u6587\u4ef6\u8fc7\u6765\uff0c\u4e5f\u53ef\u4ee5\u81ea\u5df1\u5199\u4e00\u4e2a\u65b0\u7684\u914d\u7f6e\u6587\u4ef6<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#\u914d\u7f6e\u6587\u4ef6\u5185\u5bb9\nlogpath=\/data\/mongodb\/log\/mongos.log\nlogappend = true\nport = 28017\nfork = true\n#\u6240\u6709config\u8282\u70b9\u5730\u5740\nconfigdb = configs\/192.168.0.186:27018,192.168.0.135:27018,192.168.0.61:27018\nmaxConns=20000\nbind_ip=0.0.0.0\nkeyFile=\/data\/mongodb\/conf\/keyfile<\/code><\/pre>\n\n\n\n<p>\u63a5\u7740\u542f\u52a8Mongs<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#\u542f\u52a8mongs\nmongs -f \/data\/mongodb\/conf\/mongos.conf<\/code><\/pre>\n\n\n\n<p>\u7136\u540e\u914d\u7f6e\u526f\u672c\u96c6\u4fe1\u606f<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#\u767b\u9646mongs\nmongo --port 28017 -u root -p password --authenticationDatabase admin\n#\u6dfb\u52a0\u526f\u672c\u96c6\u4fe1\u606f\nsh.addShard(\"shard1\/192.168.0.13:27001,192.168.0.186:27001,192.168.0.147:27001\")\n#\u5f00\u542f\u6570\u636e\u5e93\u5206\u7247\nsh.enableSharding(\"testdb\")\n#\u5bf9\u526f\u672c\u96c6\u4e0b\u5bf9\u96c6\u5408\u8fdb\u884c\u5206\u7247,user\u96c6\u5408\u4e2d\u7684_id\u5b57\u6bb5\u6267\u884chash\u5206\u7247\u7b56\u7565\nsh.shardCollection(\"test.user\",{\"_id\":\"hashed\"})<\/code><\/pre>\n\n\n\n<p>\u5230\u6b21\u4e3a\u6b62\u4ececonfig\u3001\u526f\u672c\u96c6\u5230mongs\u5230\u4fe1\u606f\u90fd\u5df2\u7ecf\u4fee\u6539\u5b8c\u6210\uff0c\u7528\u6237\u53ea\u9700\u8981\u8fde\u63a5\u65b0\u8282\u70b9\u90fdIP:28017\u5c31\u53ef\u4ee5\u767b\u9646\u6570\u636e\u4e86<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mongodb:\/\/root:password@mongsIP:28017\/?authSource=admin<\/code><\/pre>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-accent-1-color\">\u66f4\u6362\u8fc7\u7a0b\u4e2d\u4e4b\u524d\u7684\u8fde\u63a5\u53ef\u80fd\u4f1a\u5931\u6548\uff0c\u4e00\u5b9a\u8981\u614e\u91cd\uff0c\u4e0d\u8981\u5728\u751f\u4ea7\u73af\u5883\u8f7b\u6613\u5c1d\u8bd5\uff0c\u5982\u679c\u8981\u4fee\u6539\u7684\u8bdd\u90a3\u4e48\u5728\u4fee\u6539\u4e4b\u524d\u505a\u597d\u51c6\u5907\u5de5\u4f5c\uff0c\u6700\u540e\u518d\u4fee\u6539mongs\uff0c\u56e0\u4e3a\u65e7mongs\u91cc\u7684\u4fe1\u606f\u8fd8\u662f\u53ef\u7528\u7684\uff0c\u4e00\u822c\u4e0d\u4f1a\u5f71\u54cd\uff0c\u6240\u6709\u4fe1\u606f\u90fd\u4fee\u6539\u5b8c\u6210\u4ee5\u540e\uff0c\u66f4\u6539\u65b0mongs\u4e4b\u540e\u4fee\u6539\u7a0b\u5e8f\u5185\u8fde\u63a5\u5730\u5740\u4e3a\u65b0\u5730\u5740\u5c31\u53ef\u4ee5<\/mark><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5199\u5728\u524d\u9762 \u516c\u53f8\u5728\u4e91\u7aef\u73af\u5883\u81ea\u5efa\u4e86MongoDB\u5206\u7247\u96c6\u7fa4\uff0c\u914d\u7f6e\u7684\u65f6\u5019\u6ca1\u8003\u8651\u7f51\u7edc\u6d41\u91cf\u7b49\u539f\u56e0\uff0c\u914d\u7f6e\u4e2d\u5199\u7684\u90fd\u662f\u670d\u52a1\u5668\u516c\u7f51\u5730\u5740\uff0c\u5bfc\u81f4\u6240\u6709\u6570\u636e\u90fd\u4ece\u516c\u7f51\u8d70\uff0c\u901f\u5ea6\u4e0d\u5982\u5185\u7f51\u5feb\uff0c\u6240\u4ee5\u60f3\u5c06\u6240\u6709\u670d\u52a1\u5668\u5730\u5740\u90fd\u6362\u6210\u5185\u7f51\uff0c\u5e76\u4e14\u516c\u7f51\u53ef\u4ee5\u901a\u8fc7Mo &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-261","post","type-post","status-publish","format-standard","hentry","category-3"],"_links":{"self":[{"href":"https:\/\/www.anger.ltd\/index.php\/wp-json\/wp\/v2\/posts\/261","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.anger.ltd\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.anger.ltd\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.anger.ltd\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.anger.ltd\/index.php\/wp-json\/wp\/v2\/comments?post=261"}],"version-history":[{"count":1,"href":"https:\/\/www.anger.ltd\/index.php\/wp-json\/wp\/v2\/posts\/261\/revisions"}],"predecessor-version":[{"id":262,"href":"https:\/\/www.anger.ltd\/index.php\/wp-json\/wp\/v2\/posts\/261\/revisions\/262"}],"wp:attachment":[{"href":"https:\/\/www.anger.ltd\/index.php\/wp-json\/wp\/v2\/media?parent=261"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.anger.ltd\/index.php\/wp-json\/wp\/v2\/categories?post=261"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.anger.ltd\/index.php\/wp-json\/wp\/v2\/tags?post=261"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}