{"id":2932,"date":"2025-05-29T18:00:21","date_gmt":"2025-05-29T10:00:21","guid":{"rendered":"https:\/\/www.wunen.com\/index.php\/2025\/05\/29\/%e6%96%87%e5%ad%97%e6%a0%bc%e6%96%97%e6%b8%b8%e6%88%8f\/"},"modified":"2025-05-29T18:00:21","modified_gmt":"2025-05-29T10:00:21","slug":"%e6%96%87%e5%ad%97%e6%a0%bc%e6%96%97%e6%b8%b8%e6%88%8f","status":"publish","type":"post","link":"http:\/\/www.wunen.com\/index.php\/2025\/05\/29\/%e6%96%87%e5%ad%97%e6%a0%bc%e6%96%97%e6%b8%b8%e6%88%8f\/","title":{"rendered":"\u6587\u5b57\u683c\u6597\u6e38\u620f"},"content":{"rendered":"<div class=\"article_content clearfix\" id=\"article_content\">\n <link href=\"https:\/\/csdnimg.cn\/release\/blogv2\/dist\/mdeditor\/css\/editerView\/kdoc_html_views-1a98987dfd.css\" rel=\"stylesheet\"\/>\n <link href=\"https:\/\/csdnimg.cn\/release\/blogv2\/dist\/mdeditor\/css\/editerView\/ck_htmledit_views-704d5b9767.css\" rel=\"stylesheet\"\/>\n<div class=\"htmledit_views atom-one-light\" id=\"content_views\">\n<p id=\"main-toc\">\n   <strong><br \/>\n    \u76ee\u5f55<br \/>\n   <\/strong>\n  <\/p>\n<p id=\"-toc\" style=\"margin-left:0px;\">\n<p id=\"1%E3%80%81%E6%96%87%E5%AD%97%E6%A0%BC%E6%96%97%E6%B8%B8%E6%88%8F-toc\" style=\"margin-left:0px;\">\n   <a href=\"#1%E3%80%81%E6%96%87%E5%AD%97%E6%A0%BC%E6%96%97%E6%B8%B8%E6%88%8F\" rel=\"nofollow\"><br \/>\n    1\u3001\u6587\u5b57\u683c\u6597\u6e38\u620f<br \/>\n   <\/a>\n  <\/p>\n<p id=\"2%E3%80%81%E6%96%87%E5%AD%97%E6%A0%BC%E6%96%97%E6%B8%B8%E6%88%8F%E8%BF%9B%E9%98%B6-toc\" style=\"margin-left:0px;\">\n   <a href=\"#2%E3%80%81%E6%96%87%E5%AD%97%E6%A0%BC%E6%96%97%E6%B8%B8%E6%88%8F%E8%BF%9B%E9%98%B6\" rel=\"nofollow\"><br \/>\n    2\u3001\u6587\u5b57\u683c\u6597\u6e38\u620f\u8fdb\u9636<br \/>\n   <\/a>\n  <\/p>\n<p id=\"3%E3%80%81%E5%AF%B9%E8%B1%A1%E6%95%B0%E7%BB%84%EF%BC%88%E5%95%86%E5%93%81%EF%BC%89-toc\" style=\"margin-left:0px;\">\n   <a href=\"#3%E3%80%81%E5%AF%B9%E8%B1%A1%E6%95%B0%E7%BB%84%EF%BC%88%E5%95%86%E5%93%81%EF%BC%89\" rel=\"nofollow\"><br \/>\n    3\u3001\u5bf9\u8c61\u6570\u7ec4\uff08\u5546\u54c1\uff09<br \/>\n   <\/a>\n  <\/p>\n<p id=\"4%E3%80%81%E5%A4%8D%E6%9D%82%E7%9A%84%E5%AF%B9%E8%B1%A1%E6%95%B0%E7%BB%84%E6%93%8D%E4%BD%9C-toc\" style=\"margin-left:0px;\">\n   <a href=\"#4%E3%80%81%E5%A4%8D%E6%9D%82%E7%9A%84%E5%AF%B9%E8%B1%A1%E6%95%B0%E7%BB%84%E6%93%8D%E4%BD%9C\" rel=\"nofollow\"><br \/>\n    4\u3001\u590d\u6742\u7684\u5bf9\u8c61\u6570\u7ec4\u64cd\u4f5c<br \/>\n   <\/a>\n  <\/p>\n<hr id=\"hr-toc\"\/>\n<h2 id=\"1%E3%80%81%E6%96%87%E5%AD%97%E6%A0%BC%E6%96%97%E6%B8%B8%E6%88%8F\">\n   1\u3001\u6587\u5b57\u683c\u6597\u6e38\u620f<br \/>\n  <\/h2>\n<p>\n   \u9700\u6c42:\n  <\/p>\n<p>\n   \u683c\u6597\u6e38\u620f\uff0c\u6bcf\u4e2a\u6e38\u620f\u89d2\u8272\u7684\u59d3\u540d\uff0c\u8840\u91cf\uff0c\u90fd\u4e0d\u76f8\u540c\uff0c\u5728\u9009\u5b9a\u4eba\u7269\u7684\u65f6\u5019\uff08new\u5bf9\u8c61\u7684\u65f6\u5019\uff09\uff0c\u8fd9\u4e9b\u4fe1\u606f\u5c31\u5e94\u8be5\u88ab\u786e\u5b9a\u4e0b\u6765\u3002\n  <\/p>\n<blockquote>\n<p>\n    \u4e3e\u4f8b\uff1a\n   <\/p>\n<p>\n    \u7a0b\u5e8f\u8fd0\u884c\u4e4b\u540e\u7ed3\u679c\u4e3a\uff1a\n   <\/p>\n<p>\n    \u59d3\u540d\u4e3a:\u4e54\u5cf0 \u8840\u91cf\u4e3a:100\n   <\/p>\n<p>\n    \u59d3\u540d\u4e3a:\u9e20\u6469\u667a \u8840\u91cf\u4e3a:100\n   <\/p>\n<p>\n    \u4e54\u5cf0\u4e3e\u8d77\u62f3\u5934\u6253\u4e86\u9e20\u6469\u667a\u4e00\u4e0b\uff0c\u9020\u6210\u4e86XX\u70b9\u4f24\u5bb3\uff0c\u9e20\u6469\u667a\u8fd8\u5269\u4e0bXXX\u70b9\u8840\u3002\n   <\/p>\n<p>\n    \u9e20\u6469\u667a\u4e3e\u8d77\u62f3\u5934\u6253\u4e86\u9e20\u6469\u667a\u4e00\u4e0b\uff0c\u9020\u6210\u4e86XX\u70b9\u4f24\u5bb3\uff0c\u4e54\u5cf0\u8fd8\u5269\u4e0bXXX\u70b9\u8840\u3002\n   <\/p>\n<p>\n    \u4e54\u5cf0\u4e3e\u8d77\u62f3\u5934\u6253\u4e86\u9e20\u6469\u667a\u4e00\u4e0b\uff0c\u9020\u6210\u4e86XX\u70b9\u4f24\u5bb3\uff0c\u9e20\u6469\u667a\u8fd8\u5269\u4e0bXXX\u70b9\u8840\u3002\n   <\/p>\n<p>\n    \u9e20\u6469\u667a\u4e3e\u8d77\u62f3\u5934\u6253\u4e86\u9e20\u6469\u667a\u4e00\u4e0b\uff0c\u9020\u6210\u4e86XX\u70b9\u4f24\u5bb3\uff0c\u4e54\u5cf0\u8fd8\u5269\u4e0bXXX\u70b9\u8840\u3002\n   <\/p>\n<p>\n    \u4e54\u5cf0K.O.\u4e86\u9e20\u6469\u667a\n   <\/p>\n<\/blockquote>\n<p>\n   \u4ee3\u7801\u793a\u4f8b\n  <\/p>\n<pre><code class=\"language-java\">public class GameTest {\n    public static void main(String[] args) {\n        \/\/1.\u521b\u5efa\u7b2c\u4e00\u4e2a\u89d2\u8272\n        Role r1 = new Role(\"\u4e54\u5cf0\",100);\n        \/\/2.\u521b\u5efa\u7b2c\u4e8c\u4e2a\u89d2\u8272\n        Role r2 = new Role(\"\u9e20\u6469\u667a\",100);\n\n        \/\/3.\u5f00\u59cb\u683c\u6597 \u56de\u5408\u5236\u6e38\u620f\n        while(true){\n            \/\/r1\u5f00\u59cb\u653b\u51fbr2\n            r1.attack(r2);\n            \/\/\u5224\u65adr2\u7684\u5269\u4f59\u8840\u91cf\n            if(r2.getBlood() == 0){\n                System.out.println(r1.getName() + \" K.O\u4e86\" + r2.getName());\n                break;\n            }\n\n            \/\/r2\u5f00\u59cb\u653b\u51fbr1\n            r2.attack(r1);\n            if(r1.getBlood() == 0){\n                System.out.println(r2.getName() + \" K.O\u4e86\" + r1.getName());\n                break;\n            }\n\n\n        }\n    }\n}\n\n\n\npublic class Role {\n    private String name;\n    private int blood;\n\n    public Role() {\n    }\n\n    public Role(String name, int blood) {\n        this.name = name;\n        this.blood = blood;\n    }\n\n    public String getName() {\n        return name;\n    }\n\n    public void setName(String name) {\n        this.name = name;\n    }\n\n    public int getBlood() {\n        return blood;\n    }\n\n    public void setBlood(int blood) {\n        this.blood = blood;\n    }\n\n\n    \/\/\u5b9a\u4e49\u4e00\u4e2a\u65b9\u6cd5\u7528\u4e8e\u653b\u51fb\u522b\u4eba\n    \/\/\u601d\u8003\uff1a\u8c01\u653b\u51fb\u8c01\uff1f\n    \/\/Role r1 = new Role\uff08\uff09\uff1b\n    \/\/Role r2 = new Role\uff08\uff09\uff1b\n    \/\/r1.\u653b\u51fb(r2);\n    \/\/\u65b9\u6cd5\u7684\u8c03\u7528\u8005\u53bb\u653b\u51fb\u53c2\u6570\n    public void attack(Role role) {\n        \/\/\u8ba1\u7b97\u9020\u6210\u7684\u4f24\u5bb3 1 ~ 20\n        Random r = new Random();\n        int hurt = r.nextInt(20) + 1;\n\n        \/\/\u5269\u4f59\u8840\u91cf\n        int remainBoold = role.getBlood() - hurt;\n        \/\/\u5bf9\u5269\u4f59\u8840\u91cf\u505a\u4e00\u4e2a\u9a8c\u8bc1\uff0c\u5982\u679c\u4e3a\u8d1f\u6570\u4e86\uff0c\u5c31\u4fee\u6539\u4e3a0\n        remainBoold = remainBoold &lt; 0 ? 0 : remainBoold;\n        \/\/\u4fee\u6539\u4e00\u4e0b\u6328\u63cd\u7684\u4eba\u7684\u8840\u91cf\n        role.setBlood(remainBoold);\n\n        \/\/this\u8868\u793a\u65b9\u6cd5\u7684\u8c03\u7528\u8005\n        System.out.println(this.getName() + \"\u4e3e\u8d77\u62f3\u5934\uff0c\u6253\u4e86\" + role.getName() + \"\u4e00\u4e0b\uff0c\" +\n                \"\u9020\u6210\u4e86\" + hurt + \"\u70b9\u4f24\u5bb3\uff0c\" + role.getName() + \"\u8fd8\u5269\u4e0b\u4e86\" + remainBoold + \"\u70b9\u8840\");\n    }\n\n}<\/code><\/pre>\n<h2 id=\"2%E3%80%81%E6%96%87%E5%AD%97%E6%A0%BC%E6%96%97%E6%B8%B8%E6%88%8F%E8%BF%9B%E9%98%B6\">\n   2\u3001\u6587\u5b57\u683c\u6597\u6e38\u620f\u8fdb\u9636<br \/>\n  <\/h2>\n<p>\n   \u5728\u4e0a\u4e00\u4e2a\u7684\u57fa\u7840\u4e0a\uff0c\u770b\u5230\u4eba\u7269\u7684\u6027\u522b\u548c\u957f\u76f8\uff0c\u6253\u6597\u7684\u65f6\u5019\u770b\u5230\u6b66\u529f\u62db\u5f0f\u3002\n  <\/p>\n<blockquote>\n<p>\n    \u4e3e\u4f8b\uff1a\n   <\/p>\n<p>\n    \u7a0b\u5e8f\u8fd0\u884c\u4e4b\u540e\u7ed3\u679c\u4e3a\uff1a\n   <\/p>\n<p>\n    \u59d3\u540d\u4e3a:\u4e54\u5cf0 \u8840\u91cf\u4e3a:100 \u6027\u522b\u4e3a:\u7537 \u957f\u76f8\u4e3a:\u6c14\u5b87\u8f69\u6602\n   <\/p>\n<p>\n    \u59d3\u540d\u4e3a:\u9e20\u6469\u667a \u8840\u91cf\u4e3a:100 \u6027\u522b\u4e3a:\u7537 \u957f\u76f8\u4e3a:\u6c14\u5b87\u8f69\u6602\n   <\/p>\n<p>\n    \u4e54\u5cf0\u4f7f\u51fa\u4e86\u4e00\u62db\u3010\u80cc\u5fc3\u9489\u3011\uff0c\u8f6c\u5230\u5bf9\u65b9\u7684\u8eab\u540e\uff0c\u4e00\u638c\u5411\u9e20\u6469\u667a\u80cc\u5fc3\u7684\u7075\u53f0\u7a74\u62cd\u53bb\u3002\u7ed9\u9e20\u6469\u667a\u9020\u6210\u4e00\u5904\u7600\u4f24\u3002\n   <\/p>\n<p>\n    \u9e20\u6469\u667a\u4f7f\u51fa\u4e86\u4e00\u62db\u3010\u6e38\u7a7a\u63a2\u722a\u3011\uff0c\u98de\u8d77\u8eab\u5f62\u81ea\u534a\u7a7a\u4e2d\u53d8\u638c\u4e3a\u6293\u9501\u5411\u4e54\u5cf0\u3002\u7ed3\u679c\u4e54\u5cf0\u9000\u4e86\u534a\u6b65\uff0c\u6beb\u53d1\u65e0\u635f\u3002\n   <\/p>\n<p>\n    \u3002\u3002\u3002\u3002\n   <\/p>\n<p>\n    \u4e54\u5cf0K.O.\u4e86\u9e20\u6469\u667a\n   <\/p>\n<\/blockquote>\n<p>\n   \u5206\u6790\uff1a\n  <\/p>\n<p>\n   \u957f\u76f8\u662f\u63d0\u524d\u5b9a\u4e49\u597d\u7684\uff0c\u63d0\u524d\u653e\u5728\u4e00\u4e2a\u6570\u7ec4\u5f53\u4e2d\uff0c\u7a0b\u5e8f\u8fd0\u884c\u4e4b\u540e\uff0c\u4ece\u6570\u7ec4\u4e2d\u968f\u673a\u83b7\u53d6\u3002\n  <\/p>\n<pre><code class=\"language-java\">\/\/\u7537\u751f\u957f\u76f8\u6570\u7ec4\nString[] boyfaces = {\"\u98ce\u6d41\u4fca\u96c5\", \"\u6c14\u5b87\u8f69\u6602\", \"\u76f8\u8c8c\u82f1\u4fca\", \"\u4e94\u5b98\u7aef\u6b63\", \"\u76f8\u8c8c\u5e73\u5e73\", \"\u4e00\u584c\u7cca\u6d82\", \"\u9762\u76ee\u72f0\u72de\"};\n\/\/\u5973\u751f\u957f\u76f8\u6570\u7ec4\nString[] girlfaces = {\"\u7f8e\u5942\u7edd\u4f26\", \"\u6c89\u9c7c\u843d\u96c1\", \"\u5a77\u5a77\u7389\u7acb\", \"\u8eab\u6750\u5a07\u597d\", \"\u76f8\u8c8c\u5e73\u5e73\", \"\u76f8\u8c8c\u7b80\u964b\", \"\u60e8\u4e0d\u5fcd\u7779\"};<\/code><\/pre>\n<p>\n   \u6b66\u529f\u62db\u5f0f\u4e5f\u662f\u63d0\u524d\u5b9a\u4e49\u597d\u7684\uff0c\u63d0\u524d\u653e\u5728\u4e00\u4e2a\u6570\u7ec4\u5f53\u4e2d\uff0c\u7a0b\u5e8f\u8fd0\u884c\u4e4b\u540e\uff0c\u4ece\u6570\u7ec4\u968f\u673a\u83b7\u53d6\n  <\/p>\n<pre><code class=\"language-java\">\/\/attack \u653b\u51fb\u63cf\u8ff0\uff1a\nString[] attacks_desc = {\n    \"%s\u4f7f\u51fa\u4e86\u4e00\u62db\u3010\u80cc\u5fc3\u9489\u3011\uff0c\u8f6c\u5230\u5bf9\u65b9\u7684\u8eab\u540e\uff0c\u4e00\u638c\u5411%s\u80cc\u5fc3\u7684\u7075\u53f0\u7a74\u62cd\u53bb\u3002\",\n    \"%s\u4f7f\u51fa\u4e86\u4e00\u62db\u3010\u6e38\u7a7a\u63a2\u722a\u3011\uff0c\u98de\u8d77\u8eab\u5f62\u81ea\u534a\u7a7a\u4e2d\u53d8\u638c\u4e3a\u6293\u9501\u5411%s\u3002\",\n    \"%s\u5927\u559d\u4e00\u58f0\uff0c\u8eab\u5f62\u4e0b\u4f0f\uff0c\u4e00\u62db\u3010\u5288\u96f7\u5760\u5730\u3011\uff0c\u6376\u5411%s\u53cc\u817f\u3002\",\n    \"%s\u8fd0\u6c14\u4e8e\u638c\uff0c\u4e00\u77ac\u95f4\u638c\u5fc3\u53d8\u5f97\u8840\u7ea2\uff0c\u4e00\u5f0f\u3010\u638c\u5fc3\u96f7\u3011\uff0c\u63a8\u5411%s\u3002\",\n    \"%s\u9634\u624b\u7ffb\u8d77\u9633\u624b\u8ddf\u8fdb\uff0c\u4e00\u62db\u3010\u6ca1\u906e\u62e6\u3011\uff0c\u7ed3\u7ed3\u5b9e\u5b9e\u7684\u6376\u5411%s\u3002\",\n    \"%s\u4e0a\u6b65\u62a2\u8eab\uff0c\u62db\u4e2d\u5957\u62db\uff0c\u4e00\u62db\u3010\u5288\u6302\u8fde\u73af\u3011\uff0c\u8fde\u73af\u653b\u5411%s\u3002\"<\/code><\/pre>\n<p>\n   \u53d7\u4f24\u7684\u63d0\u524d\u4e5f\u662f\u63d0\u524d\u5b9a\u4e49\u597d\u7684\uff0c\u53ea\u4e0d\u8fc7\u4e0d\u662f\u968f\u673a\u4e86\uff0c\u6839\u636e\u5269\u4f59\u8840\u91cf\u83b7\u53d6\u4e0d\u540c\u7684\u63cf\u8ff0\n  <\/p>\n<pre><code class=\"language-java\">\/\/injured \u53d7\u4f24\u63cf\u8ff0\uff1a\nString[] injureds_desc = {\n    \"\u7ed3\u679c%s\u9000\u4e86\u534a\u6b65\uff0c\u6beb\u53d1\u65e0\u635f\",\n    \"\u7ed3\u679c\u7ed9%s\u9020\u6210\u4e00\u5904\u7600\u4f24\",\n    \"\u7ed3\u679c\u4e00\u51fb\u547d\u4e2d\uff0c%s\u75db\u5f97\u5f2f\u4e0b\u8170\",\n    \"\u7ed3\u679c%s\u75db\u82e6\u5730\u95f7\u54fc\u4e86\u4e00\u58f0\uff0c\u663e\u7136\u53d7\u4e86\u70b9\u5185\u4f24\",\n    \"\u7ed3\u679c%s\u6447\u6447\u6643\u6643\uff0c\u4e00\u8de4\u6454\u5012\u5728\u5730\",\n    \"\u7ed3\u679c%s\u8138\u8272\u4e00\u4e0b\u53d8\u5f97\u60e8\u767d\uff0c\u8fde\u9000\u4e86\u597d\u51e0\u6b65\",\n    \"\u7ed3\u679c\u300e\u8f70\u300f\u7684\u4e00\u58f0\uff0c%s\u53e3\u4e2d\u9c9c\u8840\u72c2\u55b7\u800c\u51fa\",\n    \"\u7ed3\u679c%s\u4e00\u58f0\u60e8\u53eb\uff0c\u50cf\u6ee9\u8f6f\u6ce5\u822c\u584c\u4e86\u4e0b\u53bb\"<\/code><\/pre>\n<p>\n   \u5176\u4e2d\u8f93\u51fa\u8bed\u53e5\u8ddf\u4ee5\u524d\u4e0d\u4e00\u6837\u4e86\uff0c\u7528\u7684\u662fSystem.out.printf\uff08\uff09\uff1b\u8be5\u8f93\u51fa\u8bed\u53e5\u652f\u6301%s\u5360\u4f4d\u7b26\n  <\/p>\n<pre><code class=\"language-java\">public class Test {\n \u00a0 \u00a0public static void main(String[] args) {\n \u00a0 \u00a0 \u00a0 \u00a0\/\/\u4e24\u90e8\u5206\u53c2\u6570\uff1a\n \u00a0 \u00a0 \u00a0 \u00a0\/\/\u7b2c\u4e00\u90e8\u5206\u53c2\u6570\uff1a\u8981\u8f93\u51fa\u7684\u5185\u5bb9%s\uff08\u5360\u4f4d\uff09\n \u00a0 \u00a0 \u00a0 \u00a0\/\/\u7b2c\u4e8c\u90e8\u5206\u53c2\u6570\uff1a\u586b\u5145\u7684\u6570\u636e \u00a0 \u00a0\n \u00a0 \u00a0 \u00a0 \u00a0System.out.printf(\"\u4f60\u597d\u554a%s\",\"\u5f20\u4e09\");\/\/\u7528\u5f20\u4e09\u586b\u5145\u7b2c\u4e00\u4e2a%s \u00a0 \u00a0 \u00a0 \u00a0            \n        System.out.println();\/\/\u6362\u884c\n \u00a0 \u00a0 \u00a0 \u00a0System.out.printf(\"%s\u4f60\u597d\u554a%s\",\"\u5f20\u4e09\",\"\u674e\u56db\");\/\/\u7528\u5f20\u4e09\u586b\u5145\u7b2c\u4e00\u4e2a%s\uff0c\u674e\u56db\u586b\u5145\u7b2c\u4e8c\u4e2a%s \u00a0      \n     }\n}<\/code><\/pre>\n<p>\n   \u6700\u7ec8\u4ee3\u7801\u793a\u4f8b\n  <\/p>\n<pre><code class=\"language-java\">public class Role {\n    private String name;\n    private int blood;\n    private char gender;\n    private String face;\/\/\u957f\u76f8\u662f\u968f\u673a\u7684\n\n    String[] boyfaces = {\"\u98ce\u6d41\u4fca\u96c5\", \"\u6c14\u5b87\u8f69\u6602\", \"\u76f8\u8c8c\u82f1\u4fca\", \"\u4e94\u5b98\u7aef\u6b63\", \"\u76f8\u8c8c\u5e73\u5e73\", \"\u4e00\u584c\u7cca\u6d82\", \"\u9762\u76ee\u72f0\u72de\"};\n    String[] girlfaces = {\"\u7f8e\u5942\u7edd\u4f26\", \"\u6c89\u9c7c\u843d\u96c1\", \"\u5a77\u5a77\u7389\u7acb\", \"\u8eab\u6750\u5a07\u597d\", \"\u76f8\u8c8c\u5e73\u5e73\", \"\u76f8\u8c8c\u7b80\u964b\", \"\u60e8\u4e0d\u5fcd\u7779\"};\n\n    \/\/attack \u653b\u51fb\u63cf\u8ff0\uff1a\n    String[] attacks_desc = {\n            \"%s\u4f7f\u51fa\u4e86\u4e00\u62db\u3010\u80cc\u5fc3\u9489\u3011\uff0c\u8f6c\u5230\u5bf9\u65b9\u7684\u8eab\u540e\uff0c\u4e00\u638c\u5411%s\u80cc\u5fc3\u7684\u7075\u53f0\u7a74\u62cd\u53bb\u3002\",\n            \"%s\u4f7f\u51fa\u4e86\u4e00\u62db\u3010\u6e38\u7a7a\u63a2\u722a\u3011\uff0c\u98de\u8d77\u8eab\u5f62\u81ea\u534a\u7a7a\u4e2d\u53d8\u638c\u4e3a\u6293\u9501\u5411%s\u3002\",\n            \"%s\u5927\u559d\u4e00\u58f0\uff0c\u8eab\u5f62\u4e0b\u4f0f\uff0c\u4e00\u62db\u3010\u5288\u96f7\u5760\u5730\u3011\uff0c\u6376\u5411%s\u53cc\u817f\u3002\",\n            \"%s\u8fd0\u6c14\u4e8e\u638c\uff0c\u4e00\u77ac\u95f4\u638c\u5fc3\u53d8\u5f97\u8840\u7ea2\uff0c\u4e00\u5f0f\u3010\u638c\u5fc3\u96f7\u3011\uff0c\u63a8\u5411%s\u3002\",\n            \"%s\u9634\u624b\u7ffb\u8d77\u9633\u624b\u8ddf\u8fdb\uff0c\u4e00\u62db\u3010\u6ca1\u906e\u62e6\u3011\uff0c\u7ed3\u7ed3\u5b9e\u5b9e\u7684\u6376\u5411%s\u3002\",\n            \"%s\u4e0a\u6b65\u62a2\u8eab\uff0c\u62db\u4e2d\u5957\u62db\uff0c\u4e00\u62db\u3010\u5288\u6302\u8fde\u73af\u3011\uff0c\u8fde\u73af\u653b\u5411%s\u3002\"\n    };\n\n    \/\/injured \u53d7\u4f24\u63cf\u8ff0\uff1a\n    String[] injureds_desc = {\n            \"\u7ed3\u679c%s\u9000\u4e86\u534a\u6b65\uff0c\u6beb\u53d1\u65e0\u635f\",\n            \"\u7ed3\u679c\u7ed9%s\u9020\u6210\u4e00\u5904\u7600\u4f24\",\n            \"\u7ed3\u679c\u4e00\u51fb\u547d\u4e2d\uff0c%s\u75db\u5f97\u5f2f\u4e0b\u8170\",\n            \"\u7ed3\u679c%s\u75db\u82e6\u5730\u95f7\u54fc\u4e86\u4e00\u58f0\uff0c\u663e\u7136\u53d7\u4e86\u70b9\u5185\u4f24\",\n            \"\u7ed3\u679c%s\u6447\u6447\u6643\u6643\uff0c\u4e00\u8de4\u6454\u5012\u5728\u5730\",\n            \"\u7ed3\u679c%s\u8138\u8272\u4e00\u4e0b\u53d8\u5f97\u60e8\u767d\uff0c\u8fde\u9000\u4e86\u597d\u51e0\u6b65\",\n            \"\u7ed3\u679c\u300e\u8f70\u300f\u7684\u4e00\u58f0\uff0c%s\u53e3\u4e2d\u9c9c\u8840\u72c2\u55b7\u800c\u51fa\",\n            \"\u7ed3\u679c%s\u4e00\u58f0\u60e8\u53eb\uff0c\u50cf\u6ee9\u8f6f\u6ce5\u822c\u584c\u4e86\u4e0b\u53bb\"\n    };\n\n    public Role() {\n    }\n\n    public Role(String name, int blood, char gender) {\n        this.name = name;\n        this.blood = blood;\n        this.gender = gender;\n        \/\/\u968f\u673a\u957f\u76f8\n        setFace(gender);\n    }\n\n\n    public char getGender() {\n        return gender;\n    }\n\n    public void setGender(char gender) {\n        this.gender = gender;\n    }\n\n    public String getFace() {\n        return face;\n    }\n\n    public void setFace(char gender) {\n        Random r = new Random();\n        \/\/\u957f\u76f8\u662f\u968f\u673a\u7684\n        if (gender == '\u7537') {\n            \/\/\u4eceboyfaces\u91cc\u9762\u968f\u673a\u957f\u76f8\n            int index = r.nextInt(boyfaces.length);\n            this.face = boyfaces[index];\n        } else if (gender == '\u5973') {\n            \/\/\u4ecegirlfaces\u91cc\u9762\u968f\u673a\u957f\u76f8\n            int index = r.nextInt(girlfaces.length);\n            this.face = girlfaces[index];\n        } else {\n            this.face = \"\u9762\u76ee\u72f0\u72de\";\n        }\n\n\n    }\n\n\n    public String getName() {\n        return name;\n    }\n\n    public void setName(String name) {\n        this.name = name;\n    }\n\n    public int getBlood() {\n        return blood;\n    }\n\n    public void setBlood(int blood) {\n        this.blood = blood;\n    }\n\n\n    \/\/\u5b9a\u4e49\u4e00\u4e2a\u65b9\u6cd5\u7528\u4e8e\u653b\u51fb\u522b\u4eba\n    \/\/\u601d\u8003\uff1a\u8c01\u653b\u51fb\u8c01\uff1f\n    \/\/Role r1 = new Role\uff08\uff09\uff1b\n    \/\/Role r2 = new Role\uff08\uff09\uff1b\n    \/\/r1.\u653b\u51fb(r2);\n    \/\/\u65b9\u6cd5\u7684\u8c03\u7528\u8005\u53bb\u653b\u51fb\u53c2\u6570\n    public void attack(Role role) {\n        Random r = new Random();\n        int index = r.nextInt(attacks_desc.length);\n        String KungFu = attacks_desc[index];\n\n        \/\/\u8f93\u51fa\u4e00\u4e2a\u653b\u51fb\u7684\u6548\u679c\n        System.out.printf(KungFu, this.getName(), role.getName());\n        System.out.println();\n\n        \/\/\u8ba1\u7b97\u9020\u6210\u7684\u4f24\u5bb3 1 ~ 20\n        int hurt = r.nextInt(20) + 1;\n\n        \/\/\u5269\u4f59\u8840\u91cf\n        int remainBoold = role.getBlood() - hurt;\n        \/\/\u5bf9\u5269\u4f59\u8840\u91cf\u505a\u4e00\u4e2a\u9a8c\u8bc1\uff0c\u5982\u679c\u4e3a\u8d1f\u6570\u4e86\uff0c\u5c31\u4fee\u6539\u4e3a0\n        remainBoold = remainBoold &lt; 0 ? 0 : remainBoold;\n        \/\/\u4fee\u6539\u4e00\u4e0b\u6328\u63cd\u7684\u4eba\u7684\u8840\u91cf\n        role.setBlood(remainBoold);\n\n        \/\/\u53d7\u4f24\u7684\u63cf\u8ff0\n        \/\/\u8840\u91cf&gt; 90 0\u7d22\u5f15\u7684\u63cf\u8ff0\n        \/\/80 ~  90  1\u7d22\u5f15\u7684\u63cf\u8ff0\n        \/\/70 ~  80  2\u7d22\u5f15\u7684\u63cf\u8ff0\n        \/\/60 ~  70  3\u7d22\u5f15\u7684\u63cf\u8ff0\n        \/\/40 ~  60  4\u7d22\u5f15\u7684\u63cf\u8ff0\n        \/\/20 ~  40  5\u7d22\u5f15\u7684\u63cf\u8ff0\n        \/\/10 ~  20  6\u7d22\u5f15\u7684\u63cf\u8ff0\n        \/\/\u5c0f\u4e8e10\u7684   7\u7d22\u5f15\u7684\u63cf\u8ff0\n        if (remainBoold &gt; 90) {\n            System.out.printf(injureds_desc[0], role.getName());\n        }else if(remainBoold &gt; 80 &amp;&amp; remainBoold &lt;= 90){\n            System.out.printf(injureds_desc[1], role.getName());\n        }else if(remainBoold &gt; 70 &amp;&amp; remainBoold &lt;= 80){\n            System.out.printf(injureds_desc[2], role.getName());\n        }else if(remainBoold &gt; 60 &amp;&amp; remainBoold &lt;= 70){\n            System.out.printf(injureds_desc[3], role.getName());\n        }else if(remainBoold &gt; 40 &amp;&amp; remainBoold &lt;= 60){\n            System.out.printf(injureds_desc[4], role.getName());\n        }else if(remainBoold &gt; 20 &amp;&amp; remainBoold &lt;= 40){\n            System.out.printf(injureds_desc[5], role.getName());\n        }else if(remainBoold &gt; 10 &amp;&amp; remainBoold &lt;= 20){\n            System.out.printf(injureds_desc[6], role.getName());\n        }else{\n            System.out.printf(injureds_desc[7], role.getName());\n        }\n        System.out.println();\n\n\n    }\n\n\n    public void showRoleInfo() {\n        System.out.println(\"\u59d3\u540d\u4e3a\uff1a\" + getName());\n        System.out.println(\"\u8840\u91cf\u4e3a\uff1a\" + getBlood());\n        System.out.println(\"\u6027\u522b\u4e3a\uff1a\" + getGender());\n        System.out.println(\"\u957f\u76f8\u4e3a\uff1a\" + getFace());\n    }\n\n}\n\n\n\n\npublic class GameTest {\n    public static void main(String[] args) {\n        \/\/1.\u521b\u5efa\u7b2c\u4e00\u4e2a\u89d2\u8272\n        Role r1 = new Role(\"\u4e54\u5cf0\",100,'\u7537');\n        \/\/2.\u521b\u5efa\u7b2c\u4e8c\u4e2a\u89d2\u8272\n        Role r2 = new Role(\"\u9e20\u6469\u667a\",100,'\u7537');\n\n        \/\/\u5c55\u793a\u4e00\u4e0b\u89d2\u8272\u7684\u4fe1\u606f\n        r1.showRoleInfo();\n        r2.showRoleInfo();\n\n        \/\/3.\u5f00\u59cb\u683c\u6597 \u56de\u5408\u5236\u6e38\u620f\n        while(true){\n            \/\/r1\u5f00\u59cb\u653b\u51fbr2\n            r1.attack(r2);\n            \/\/\u5224\u65adr2\u7684\u5269\u4f59\u8840\u91cf\n            if(r2.getBlood() == 0){\n                System.out.println(r1.getName() + \" K.O\u4e86\" + r2.getName());\n                break;\n            }\n\n            \/\/r2\u5f00\u59cb\u653b\u51fbr1\n            r2.attack(r1);\n            if(r1.getBlood() == 0){\n                System.out.println(r2.getName() + \" K.O\u4e86\" + r1.getName());\n                break;\n            }\n        }\n    }\n}\n<\/code><\/pre>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u76ee\u5f55 1\u3001\u6587\u5b57\u683c\u6597\u6e38\u620f 2\u3001\u6587\u5b57\u683c\u6597\u6e38\u620f\u8fdb\u9636 3\u3001\u5bf9\u8c61\u6570\u7ec4\uff08\u5546\u54c1\uff09 4\u3001\u590d\u6742\u7684\u5bf9\u8c61\u6570\u7ec4\u64cd\u4f5c 1\u3001\u6587\u5b57\u683c\u6597\u6e38\u620f  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":215,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[],"class_list":["post-2932","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-32"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u6587\u5b57\u683c\u6597\u6e38\u620f - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51<\/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.wunen.com\/index.php\/2025\/05\/29\/\u6587\u5b57\u683c\u6597\u6e38\u620f\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6587\u5b57\u683c\u6597\u6e38\u620f - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\" \/>\n<meta property=\"og:description\" content=\"\u76ee\u5f55 1\u3001\u6587\u5b57\u683c\u6597\u6e38\u620f 2\u3001\u6587\u5b57\u683c\u6597\u6e38\u620f\u8fdb\u9636 3\u3001\u5bf9\u8c61\u6570\u7ec4\uff08\u5546\u54c1\uff09 4\u3001\u590d\u6742\u7684\u5bf9\u8c61\u6570\u7ec4\u64cd\u4f5c 1\u3001\u6587\u5b57\u683c\u6597\u6e38\u620f [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wunen.com\/index.php\/2025\/05\/29\/\u6587\u5b57\u683c\u6597\u6e38\u620f\/\" \/>\n<meta property=\"og:site_name\" content=\"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-29T10:00:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"260\" \/>\n\t<meta property=\"og:image:height\" content=\"180\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin@wunen\" \/>\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@wunen\" \/>\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\":\"Article\",\"@id\":\"https:\/\/www.wunen.com\/index.php\/2025\/05\/29\/%e6%96%87%e5%ad%97%e6%a0%bc%e6%96%97%e6%b8%b8%e6%88%8f\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.wunen.com\/index.php\/2025\/05\/29\/%e6%96%87%e5%ad%97%e6%a0%bc%e6%96%97%e6%b8%b8%e6%88%8f\/\"},\"author\":{\"name\":\"admin@wunen\",\"@id\":\"https:\/\/www.wunen.com\/#\/schema\/person\/d5f7a6cf545656a9c90d507e64452db8\"},\"headline\":\"\u6587\u5b57\u683c\u6597\u6e38\u620f\",\"datePublished\":\"2025-05-29T10:00:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.wunen.com\/index.php\/2025\/05\/29\/%e6%96%87%e5%ad%97%e6%a0%bc%e6%96%97%e6%b8%b8%e6%88%8f\/\"},\"wordCount\":17,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.wunen.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.wunen.com\/index.php\/2025\/05\/29\/%e6%96%87%e5%ad%97%e6%a0%bc%e6%96%97%e6%b8%b8%e6%88%8f\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg\",\"articleSection\":[\"\u5bf9\u6218\u683c\u6597\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.wunen.com\/index.php\/2025\/05\/29\/%e6%96%87%e5%ad%97%e6%a0%bc%e6%96%97%e6%b8%b8%e6%88%8f\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wunen.com\/index.php\/2025\/05\/29\/%e6%96%87%e5%ad%97%e6%a0%bc%e6%96%97%e6%b8%b8%e6%88%8f\/\",\"url\":\"https:\/\/www.wunen.com\/index.php\/2025\/05\/29\/%e6%96%87%e5%ad%97%e6%a0%bc%e6%96%97%e6%b8%b8%e6%88%8f\/\",\"name\":\"\u6587\u5b57\u683c\u6597\u6e38\u620f - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\",\"isPartOf\":{\"@id\":\"https:\/\/www.wunen.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.wunen.com\/index.php\/2025\/05\/29\/%e6%96%87%e5%ad%97%e6%a0%bc%e6%96%97%e6%b8%b8%e6%88%8f\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.wunen.com\/index.php\/2025\/05\/29\/%e6%96%87%e5%ad%97%e6%a0%bc%e6%96%97%e6%b8%b8%e6%88%8f\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg\",\"datePublished\":\"2025-05-29T10:00:21+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.wunen.com\/index.php\/2025\/05\/29\/%e6%96%87%e5%ad%97%e6%a0%bc%e6%96%97%e6%b8%b8%e6%88%8f\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wunen.com\/index.php\/2025\/05\/29\/%e6%96%87%e5%ad%97%e6%a0%bc%e6%96%97%e6%b8%b8%e6%88%8f\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wunen.com\/index.php\/2025\/05\/29\/%e6%96%87%e5%ad%97%e6%a0%bc%e6%96%97%e6%b8%b8%e6%88%8f\/#primaryimage\",\"url\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg\",\"contentUrl\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg\",\"width\":260,\"height\":180},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wunen.com\/index.php\/2025\/05\/29\/%e6%96%87%e5%ad%97%e6%a0%bc%e6%96%97%e6%b8%b8%e6%88%8f\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wunen.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u6587\u5b57\u683c\u6597\u6e38\u620f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wunen.com\/#website\",\"url\":\"https:\/\/www.wunen.com\/\",\"name\":\"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\",\"description\":\"\u8f6f\u4ef6\u8d44\u8baf\u6765\u7269\u5ae9\",\"publisher\":{\"@id\":\"https:\/\/www.wunen.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wunen.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.wunen.com\/#organization\",\"name\":\"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\",\"url\":\"https:\/\/www.wunen.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wunen.com\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/cropped-\u7269\u5ae9-1.png\",\"contentUrl\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/cropped-\u7269\u5ae9-1.png\",\"width\":1024,\"height\":1024,\"caption\":\"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\"},\"image\":{\"@id\":\"https:\/\/www.wunen.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wunen.com\/#\/schema\/person\/d5f7a6cf545656a9c90d507e64452db8\",\"name\":\"admin@wunen\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wunen.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d90ec1e3faf77c4d4e66e40c29b85ff6401161e0502f401dae2f0e25b38ce25e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d90ec1e3faf77c4d4e66e40c29b85ff6401161e0502f401dae2f0e25b38ce25e?s=96&d=mm&r=g\",\"caption\":\"admin@wunen\"},\"sameAs\":[\"http:\/\/www.wunen.com\"],\"url\":\"http:\/\/www.wunen.com\/index.php\/author\/adminwunen\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u6587\u5b57\u683c\u6597\u6e38\u620f - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","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.wunen.com\/index.php\/2025\/05\/29\/\u6587\u5b57\u683c\u6597\u6e38\u620f\/","og_locale":"zh_CN","og_type":"article","og_title":"\u6587\u5b57\u683c\u6597\u6e38\u620f - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","og_description":"\u76ee\u5f55 1\u3001\u6587\u5b57\u683c\u6597\u6e38\u620f 2\u3001\u6587\u5b57\u683c\u6597\u6e38\u620f\u8fdb\u9636 3\u3001\u5bf9\u8c61\u6570\u7ec4\uff08\u5546\u54c1\uff09 4\u3001\u590d\u6742\u7684\u5bf9\u8c61\u6570\u7ec4\u64cd\u4f5c 1\u3001\u6587\u5b57\u683c\u6597\u6e38\u620f [&hellip;]","og_url":"https:\/\/www.wunen.com\/index.php\/2025\/05\/29\/\u6587\u5b57\u683c\u6597\u6e38\u620f\/","og_site_name":"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","article_published_time":"2025-05-29T10:00:21+00:00","og_image":[{"width":260,"height":180,"url":"https:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg","type":"image\/jpeg"}],"author":"admin@wunen","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin@wunen","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.wunen.com\/index.php\/2025\/05\/29\/%e6%96%87%e5%ad%97%e6%a0%bc%e6%96%97%e6%b8%b8%e6%88%8f\/#article","isPartOf":{"@id":"https:\/\/www.wunen.com\/index.php\/2025\/05\/29\/%e6%96%87%e5%ad%97%e6%a0%bc%e6%96%97%e6%b8%b8%e6%88%8f\/"},"author":{"name":"admin@wunen","@id":"https:\/\/www.wunen.com\/#\/schema\/person\/d5f7a6cf545656a9c90d507e64452db8"},"headline":"\u6587\u5b57\u683c\u6597\u6e38\u620f","datePublished":"2025-05-29T10:00:21+00:00","mainEntityOfPage":{"@id":"https:\/\/www.wunen.com\/index.php\/2025\/05\/29\/%e6%96%87%e5%ad%97%e6%a0%bc%e6%96%97%e6%b8%b8%e6%88%8f\/"},"wordCount":17,"commentCount":0,"publisher":{"@id":"https:\/\/www.wunen.com\/#organization"},"image":{"@id":"https:\/\/www.wunen.com\/index.php\/2025\/05\/29\/%e6%96%87%e5%ad%97%e6%a0%bc%e6%96%97%e6%b8%b8%e6%88%8f\/#primaryimage"},"thumbnailUrl":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg","articleSection":["\u5bf9\u6218\u683c\u6597"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.wunen.com\/index.php\/2025\/05\/29\/%e6%96%87%e5%ad%97%e6%a0%bc%e6%96%97%e6%b8%b8%e6%88%8f\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.wunen.com\/index.php\/2025\/05\/29\/%e6%96%87%e5%ad%97%e6%a0%bc%e6%96%97%e6%b8%b8%e6%88%8f\/","url":"https:\/\/www.wunen.com\/index.php\/2025\/05\/29\/%e6%96%87%e5%ad%97%e6%a0%bc%e6%96%97%e6%b8%b8%e6%88%8f\/","name":"\u6587\u5b57\u683c\u6597\u6e38\u620f - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","isPartOf":{"@id":"https:\/\/www.wunen.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wunen.com\/index.php\/2025\/05\/29\/%e6%96%87%e5%ad%97%e6%a0%bc%e6%96%97%e6%b8%b8%e6%88%8f\/#primaryimage"},"image":{"@id":"https:\/\/www.wunen.com\/index.php\/2025\/05\/29\/%e6%96%87%e5%ad%97%e6%a0%bc%e6%96%97%e6%b8%b8%e6%88%8f\/#primaryimage"},"thumbnailUrl":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg","datePublished":"2025-05-29T10:00:21+00:00","breadcrumb":{"@id":"https:\/\/www.wunen.com\/index.php\/2025\/05\/29\/%e6%96%87%e5%ad%97%e6%a0%bc%e6%96%97%e6%b8%b8%e6%88%8f\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wunen.com\/index.php\/2025\/05\/29\/%e6%96%87%e5%ad%97%e6%a0%bc%e6%96%97%e6%b8%b8%e6%88%8f\/"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wunen.com\/index.php\/2025\/05\/29\/%e6%96%87%e5%ad%97%e6%a0%bc%e6%96%97%e6%b8%b8%e6%88%8f\/#primaryimage","url":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg","contentUrl":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg","width":260,"height":180},{"@type":"BreadcrumbList","@id":"https:\/\/www.wunen.com\/index.php\/2025\/05\/29\/%e6%96%87%e5%ad%97%e6%a0%bc%e6%96%97%e6%b8%b8%e6%88%8f\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wunen.com\/"},{"@type":"ListItem","position":2,"name":"\u6587\u5b57\u683c\u6597\u6e38\u620f"}]},{"@type":"WebSite","@id":"https:\/\/www.wunen.com\/#website","url":"https:\/\/www.wunen.com\/","name":"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","description":"\u8f6f\u4ef6\u8d44\u8baf\u6765\u7269\u5ae9","publisher":{"@id":"https:\/\/www.wunen.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wunen.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Organization","@id":"https:\/\/www.wunen.com\/#organization","name":"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","url":"https:\/\/www.wunen.com\/","logo":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wunen.com\/#\/schema\/logo\/image\/","url":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/cropped-\u7269\u5ae9-1.png","contentUrl":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/cropped-\u7269\u5ae9-1.png","width":1024,"height":1024,"caption":"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51"},"image":{"@id":"https:\/\/www.wunen.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.wunen.com\/#\/schema\/person\/d5f7a6cf545656a9c90d507e64452db8","name":"admin@wunen","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wunen.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d90ec1e3faf77c4d4e66e40c29b85ff6401161e0502f401dae2f0e25b38ce25e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d90ec1e3faf77c4d4e66e40c29b85ff6401161e0502f401dae2f0e25b38ce25e?s=96&d=mm&r=g","caption":"admin@wunen"},"sameAs":["http:\/\/www.wunen.com"],"url":"http:\/\/www.wunen.com\/index.php\/author\/adminwunen\/"}]}},"_links":{"self":[{"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/posts\/2932","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/comments?post=2932"}],"version-history":[{"count":0,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/posts\/2932\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/media\/215"}],"wp:attachment":[{"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/media?parent=2932"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/categories?post=2932"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/tags?post=2932"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}