{"id":376392,"date":"2023-04-03T00:09:20","date_gmt":"2023-04-02T16:09:20","guid":{"rendered":"https:\/\/www.idc.net\/help\/376392\/"},"modified":"2023-04-03T00:09:20","modified_gmt":"2023-04-02T16:09:20","slug":"%e7%bc%96%e7%a0%81%e4%b9%8b%e9%81%93%ef%bc%9a%e5%8f%96%e4%b8%aa%e5%a5%bd%e5%90%8d%e5%ad%97%e5%be%88%e9%87%8d%e8%a6%81","status":"publish","type":"post","link":"https:\/\/idc.net\/help\/376392\/","title":{"rendered":"\u7f16\u7801\u4e4b\u9053\uff1a\u53d6\u4e2a\u597d\u540d\u5b57\u5f88\u91cd\u8981"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<blockquote>\n<p>\u4ee3\u7801\u5c31\u662f<span><a target=\"_blank\" href=\"http:\/\/www.codeceo.com\/\" rel=\"nofollow noopener\">\u7a0b\u5e8f\u5458<\/a><\/span>\u7684\u5b69\u5b50\uff0c\u7ed9\u201c\u5b69\u5b50\u201d\u53d6\u4e2a\u597d\u542c\u7684\u540d\u5b57\u5f88\u91cd\u8981\uff01<\/p>\n<\/blockquote>\n<p>\u6211\u4eec\u5728\u9879\u76ee\u5f00\u53d1\u4e2d\uff0c\u63a5\u89e6\u5230\u7684\u53d8\u91cf\u3001\u51fd\u6570\u3001\u7c7b\u591a\u6570\u90fd\u662f\u9879\u76ee\u81ea\u5df1\u5b9a\u4e49\u7684\uff0c\u5f80\u5f80\u90fd\u662f\u4e3a\u4e86\u89e3\u51b3\u4e00\u4e9b\u7279\u5b9a\u7684\u9886\u57df\u7684\u95ee\u9898\uff0c\u5f15\u5165\u4e86\u5404\u79cd\u5404\u6837\u7684\u6982\u5ff5\uff0c\u4ee3\u7801\u91cc\u9762\u7684\u540d\u5b57 \u5c31\u5bf9\u5e94\u7740\u95ee\u9898\u9886\u57df\u6216\u65b9\u6848\u9886\u57df\u7684\u8fd9\u4e9b\u6982\u5ff5\uff0c\u6240\u4ee5\uff0c\u5bf9\u4e8e\u4e00\u4e2a\u547d\u540d\u826f\u597d\uff0c\u4ee3\u7801\u89c4\u8303\uff0c\u8bbe\u8ba1\u7b80\u6d01\u7684\u7cfb\u7edf\uff0c\u8981\u60f3\u975e\u5e38\u5feb\u7684\u7406\u89e3\u4e00\u4e2a\u7cfb\u7edf\uff0c\u6700\u76f4\u63a5\u7684\u65b9\u5f0f\u5c31\u662f RTFC(Read The Fucking Code)\u3002\u5bf9\u4e8e\u4e00\u4e2a\u4e0d\u65ad\u6f14\u8fdb\u7684\u7cfb\u7edf\uff0c\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u81f3\u5173\u91cd\u8981\uff0c\u9996\u8981\u8981\u89e3\u51b3\u7684\u95ee\u9898\u5c31\u662f\u540d\u5b57\uff0c\u53d8\u91cf\u540d\u3001\u51fd\u6570\u540d\u3001\u7c7b\u540d\u7b49\u90fd\u9700\u8981\u4ed4\u7ec6\u659f\u914c\uff0c\u8ba4\u771f\u5bf9\u5f85\uff0c\u4e00\u4e2a\u80fd\u591f\u7b80 \u6d01\uff0c\u80fd\u591f\u6e05\u6670\u8868\u8fbe\u6982\u5ff5\u548c\u610f\u56fe\u7684\u540d\u5b57\u5c31\u663e\u5f97\u5c24\u4e3a\u91cd\u8981\u3002<\/p>\n<p style=\"text-align: center\"><img decoding=\"async\" src=\"http:\/\/s2.\/wyfs02\/M02\/74\/22\/wKiom1YVw6qyMFvlAAJ2rKIYeHw343.jpg\" class=\"aligncenter\"><\/p>\n<p>\u9605\u8bfb\u300a\u4ee3\u7801\u6574\u6d01\u4e4b\u9053\u300b\u8fd9\u672c\u4e66\u540e\u53d1\u73b0\u5176\u4e2d\u8bf4\u7684\u5185\u5bb9\u5728\u6211\u4eec\u81ea\u5df1\u9879\u76ee\u4e2d\u6bd4\u6bd4\u7686\u662f\uff0c\u968f\u4fbf\u62ff\u51fa\u4e00\u5757\u4ee3\u7801\u90fd\u53ef\u4ee5\u5f53\u505a\u53cd\u9762\u6559\u6750\u7ed9\u5927\u5bb6\u8bb2\u534a\u5929\u3002\u957f\u65f6\u95f4\u79ef\u7d2f\uff0c\u5bfc\u81f4\u4ee3\u7801 \u53d1\u9709\u53d8\u8d28\uff0c\u53d6\u540d\u4e5f\u662f\u6beb\u65e0\u7ae0\u6cd5\uff0c\u4fe1\u624b\u62c8\u6765\u3002\u9605\u8bfb\u8fd9\u6837\u7684\u4ee3\u7801\uff0c\u649e\u5357\u5899\u7684\u5fc3\u90fd\u6709\u4e86\u3002\u4e0b\u9762\u7ed3\u5408\u81ea\u5df1\u9879\u76ee\u4e2d\u7684\u95ee\u9898\u548c\u300a\u4ee3\u7801\u6574\u6d01\u4e4b\u9053\u300b\u8c08\u8c08\u5173\u4e8e\u547d\u540d\u76f8\u5173\u7684\u539f\u5219\u3002<\/p>\n<p><strong>1. \u539f\u5219\uff1a\u540d\u526f\u5176\u5b9e<\/strong><\/p>\n<ul>\n<li>\n<p>\u9009\u540d\u5b57\u662f\u4ef6\u4e25\u8083\u7684\u4e8b\u60c5\uff0c\u9009\u4e2a\u597d\u540d\u5b57\u5f88\u91cd\u8981\u3002<\/p>\n<\/li>\n<li>\n<p>\u5982\u679c\u540d\u5b57\u9700\u8981\u6ce8\u91ca\u6765\u8865\u5145\uff0c\u90a3\u5c31\u4e0d\u662f\u4e2a\u597d\u540d\u5b57\u3002<\/p>\n<\/li>\n<li>\n<p>\u6700\u91cd\u8981\u7684\u662f\u8981\u540d\u526f\u5176\u5b9e\uff0c\u540d\u5b57\u80fd\u8868\u8fbe\u51fa\u6982\u5ff5\u548c\u610f\u56fe\u3002<\/p>\n<\/li>\n<\/ul>\n<p><strong>BAD:<\/strong><\/p>\n<p>int t = currentTime.elapse(e); \/\/ \u6d88\u901d\u7684\u65f6\u95f4\uff0c\u4ee5\u6beb\u79d2\u8ba1<br \/> ...<br \/> if (t &gt; timeout_value)<br \/> {<br \/> &nbsp;&nbsp; Zebra::logger-&gt;debug(\"---\u4e00\u6b21\u5faa\u73af\u7528\u65f6 %u \u6beb\u79d2-----\", t);<br \/> }<\/p>\n<p><strong>GOOD:<\/strong><\/p>\n<p>int elapsed_ms = currentTime.elapse(e);<br \/> ...<br \/> if (elapsed_ms &gt; timeout_value)<br \/> {<br \/> &nbsp;&nbsp; Zebra::logger-&gt;debug(\"-----\u4e00\u6b21\u5faa\u73af\u7528\u65f6 %u \u6beb\u79d2---\", elapsed_ms);<br \/> }<\/p>\n<p><strong>2. \u539f\u5219\uff1a\u907f\u514d\u8bef\u5bfc<\/strong><\/p>\n<ul>\n<li>\n<p>\u5fc5\u987b\u907f\u514d\u7559\u4e0b\u63a9\u85cf\u4ee3\u7801\u672c\u610f\u7684\u9519\u8bef\u7ebf\u7d22<\/p>\n<\/li>\n<li>\n<p>\u907f\u514d\u4f7f\u7528\u4e0e\u672c\u610f\u76f8\u6096\u7684\u8bcd<\/p>\n<\/li>\n<li>\n<p>\u63d0\u9632\u4f7f\u7528\u4e0d\u540c\u4e4b\u5904\u8f83\u5c0f\u7684\u540d\u79f0<\/p>\n<\/li>\n<li>\n<p>\u62fc\u5199\u524d\u540e\u4e0d\u4e00\u81f4\u5c31\u662f\u8bef\u5bfc<\/p>\n<\/li>\n<\/ul>\n<p><strong>BAD:<\/strong><\/p>\n<p>std::vector&lt;int&gt; account_list; \/\/ _list\u5c31\u662f\u4e00\u4e2a\u8bef\u5bfc\uff0c accounts\u4f1a\u66f4\u597d<\/p>\n<p>bool sendToZoneServer(); \/\/ \u548c\u4e0b\u9762\u7684\u51fd\u6570\u5dee\u522b\u5f88\u5c0f<br \/> bool sendToZoneServers(); \/\/ sendToAllZoneServers\u4f1a\u597d\u70b9<\/p>\n<p>3. \u539f\u5219:\u505a\u6709\u610f\u4e49\u7684\u533a\u5206<\/p>\n<ul>\n<li>\n<p>\u4ee3\u7801\u662f\u5199\u7ed9\u4eba\u770b\u7684\uff0c\u4ec5\u4ec5\u662f\u6ee1\u8db3\u7f16\u8bd1\u5668\u7684\u8981\u6c42\uff0c\u5c31\u4f1a\u5f15\u8d77\u6df7\u4e71<\/p>\n<\/li>\n<li>\n<p>\u4ee5\u6570\u5b57\u7cfb\u5217\u547d\u540d(a1\uff0ca2\uff0c\u2026)\uff0c\u7eaf\u5c5e\u8bef\u5bfc<\/p>\n<\/li>\n<li>\n<p>\u65e0\u610f\u4e49\u7684\u5e9f\u8bdd: a\uff0c an\uff0c the\uff0c Info\uff0c Data<\/p>\n<\/li>\n<\/ul>\n<p><strong>BAD:<\/strong><\/p>\n<p>void copy(char a1[], char a2[]) {<br \/> &nbsp; for (size_t i = 0; a1[i] != '\/0'; i++)<br \/> &nbsp;&nbsp;&nbsp;&nbsp; a2[i] = a1[i];<br \/> }<\/p>\n<p><strong>GOOD:<\/strong><\/p>\n<p>void copy(char source[], char dest[]) {<br \/> &nbsp; for (size_t i = 0; source[i] != '\/0'; i++)<br \/> &nbsp;&nbsp;&nbsp;&nbsp; dest[i] = source[i];<br \/> }<\/p>\n<p>4. \u539f\u5219:\u4f7f\u7528\u53ef\u8bfb\u7684\u540d\u5b57<\/p>\n<ul>\n<li>\n<p>\u907f\u514d\u8fc7\u5ea6\u4f7f\u7528\u7f29\u5199<\/p>\n<\/li>\n<li>\n<p>\u53ef\u8bfb\u7684\u540d\u5b57\u4ea4\u6d41\u65b9\u4fbf<\/p>\n<\/li>\n<\/ul>\n<p>\u731c\u4e00\u731c\u4e0b\u9762\u7684\u7c7b\u662f\u5e72\u4ec0\u4e48\u7684\uff1f\u548c\u522b\u4eba\u600e\u4e48\u8bf4\u8fd9\u51e0\u4e2a\u7c7b\uff1f<\/p>\n<p>\u6839\u636e\u8fd9\u4e9b\u7b80\u76f4\u53d8\u6001\u7684\u7f29\u5199\uff0c\u5982\u679c\u6ca1\u6709\u6ce8\u91ca\u57fa\u672c\u4e0a\u5f88\u96be\u77e5\u9053\u662f\u5e72\u4ec0\u4e48\u7684\uff0c\u5f53\u4f60\u548c\u522b\u4eba\u4ea4\u6d41\u7684\u65f6\u5019\uff0c\u4f60\u5c31\u4e0d\u5f97\u4e0d\u4e00\u4e2a\u4e00\u4e2a\u5b57\u6bcd\u6765\u5ff5\u201cX-L-Q-Y\u201d\u3001\u201cL- T-Q Manager\u201d\uff0c\u9b3c\u77e5\u9053\u4f60\u8bf4\u7684\u662f\u4ec0\u4e48\uff1fPS. XLQY-XianLvQiYuan\uff08\u4ed9\u5c65\u5947\u7f18\uff09\uff0c LTQ-LiaoTianQun\uff08\u804a\u5929\u7fa4\uff09\uff0c\u6709\u8fd9\u6837\u7684\u540d\u5b57\u4e5f\u662f\u9189\u4e86\u3002<\/p>\n<p><strong>BAD:<\/strong><\/p>\n<p>class XLQY;<br \/> class FCNV;<br \/> class LTQManager;<\/p>\n<p>5. \u539f\u5219:\u4f7f\u7528\u53ef\u641c\u7d22\u7684\u540d\u5b57<\/p>\n<ul>\n<li>\n<p>\u907f\u514d\u4f7f\u7528<span><a target=\"_blank\" href=\"http:\/\/www.codeceo.com\/article\/magic-javascript-ui.html\" rel=\"nofollow noopener\">Magic<\/a><\/span> Number<\/p>\n<\/li>\n<li>\n<p>\u907f\u514d\u4f7f\u7528\u5355\u5b57\u6bcd\uff0c\u6216\u51fa\u73b0\u9891\u7387\u6781\u9ad8\u7684\u77ed\u5b57\u6bcd\u7ec4\u5408(\u6ce8\u610f\u5ea6\u7684\u628a\u63e1)<\/p>\n<\/li>\n<\/ul>\n<p><strong>BAD:<\/strong><\/p>\n<p>if (obj-&gt;base-&gt;id == 4661) \/\/ 4661\u662f\u5565\u73a9\u610f?<br \/> {<br \/> &nbsp;&nbsp; usetype = Cmd::XXXXXXX;<br \/> }<\/p>\n<p>int e; \/\/ \u600e\u4e48\u67e5\u627e?<br \/> XXXX:iterator it; \/\/ \u53d8\u91cf\u4f5c\u7528\u7684\u8303\u56f4\u6bd4\u8f83\u5927\u7684\u65f6\u5019\uff0c\u4e5f\u4e0d\u89c1\u5f97\u662f\u4e2a\u597d\u540d\u5b57<\/p>\n<p><strong>GOOD:<\/strong><\/p>\n<p>#define OJBECT_FEEDBACK_CARD 4661<\/p>\n<p>if (OJBECT_FEEDBACK_CARD == obj-&gt;base-&gt;id)<br \/> {<br \/> &nbsp;&nbsp; usetype = Cmd::XXXXXXX;<br \/> }<\/p>\n<p><strong>6. \u539f\u5219:\u907f\u514d\u4f7f\u7528\u7f16\u7801<\/strong><\/p>\n<ul>\n<li>\n<p>\u5308\u7259\u5229\u6807\u8bb0\u6cd5\uff1a<\/p>\n<ul>\n<li>\n<p>Windows API\u65f6\u4ee3\u7559\u4e0b\u7684\u73a9\u610f<\/p>\n<\/li>\n<li>\n<p>\u5f62\u5982\uff1awdXX\uff0c dwXXX\uff0c strXXX<\/p>\n<\/li>\n<li>\n<p>\u7c7b\u578b\u53d8\u6362\u5bfc\u81f4\u540d\u4e0d\u526f\u5b9e\uff0c\u5c31\u6709\u53ef\u80fd\u51fa\u73b0\u660e\u660e\u662f\u4e2aDWORD\uff0c\u53d8\u91cf\u540d\u5374\u662fqwNum\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>PS.\u5308\u7259\u5229\u547d\u540d\u5bf9\u4e8e\u6211\u4eec\u8fd9\u4e9b\u5728Linux\u4e0b\u6478\u722c\u6eda\u6253\u7684\u597d\u591a\u5e74\u7684\u6765\u8bf4\uff0c\u770b\u7740\u771f\u5fc3\u522b\u626d\u3002<\/p>\n<ul>\n<li>\n<p>\u6210\u5458\u524d\u7f00\uff1a<\/p>\n<ul>\n<li>\n<p>\u5f62\u5982\uff1am_name\uff0c m_xxx<\/p>\n<\/li>\n<li>\n<p>\u57fa\u672c\u4e0a\u90fd\u65e0\u89c6\uff0c\u4e3a\u4f55\u8981\u591a\u6b21\u4e00\u4e3e<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>PS.\u8bf4\u5230\u8fd9\u4e00\u70b9\uff0c\u53ef\u80fd\u6709\u4e9b\u540c\u5b66\u6709\u4e0d\u540c\u610f\u89c1\u4e86\uff0c\u201c\u6211\u8fd9\u6837\u5199\u662f\u4e3a\u4e86\u533a\u5206\u6210\u5458\u53d8\u91cf\u548c\u4e34\u65f6\u53d8\u91cf\u554a\uff01\u201d\uff0c\u597d\u50cf\u8fd9\u6837\u5199\u4e5f\u6ca1\u4ec0\u4e48\u5927\u4e0d\u4e86\uff0c\u9075\u5faa\u4ee3\u7801\u89c4\u8303\u5373\u53ef\u3002\u5982 Google\u7684C++\u4ee3\u7801\u89c4\u8303\uff0c\u79c1\u6709\u53d8\u91cf\u5f62\u5982\uff1axxx_\uff0c\u52a0\u540e\u7f00_\uff0c\u5176\u76ee\u7684\u9664\u4e86\u8ba9\u4f60\u77e5\u9053\u8fd9\u8d27\u662f\u4e2a\u79c1\u6709\u53d8\u91cf\uff0c\u8fd8\u6709\u4e00\u70b9\u5c31\u662f\u9632\u6b62\u6709\u4e9b\u4eba\u56fe\u7701\u4e8b\u628a\u5e26\u79c1\u6709\u53d8\u91cf\u76f4\u63a5 public\u6389\uff0c\u56e0\u4e3a\u8c01\u4e5f\u4e0d\u559c\u6b22\u5728\u4ee3\u7801\u91cc\u9762\u770b\u5230\u5927\u91cf\u8fd9\u4e9b\u5e26\u628a\u7684\u73a9\u610f\u3002<\/p>\n<ul>\n<li>\n<p>\u63a5\u53e3\u548c\u5b9e\u73b0\uff1a<\/p>\n<ul>\n<li>\n<p>\u63a5\u53e3\u540d\u5f62\u5982\uff1aIXXX\uff0c I-\u63a5\u53e3\u4fee\u9970\u524d\u7f00<\/p>\n<\/li>\n<li>\n<p>\u7c7b\u540d\u5f62\u5982\uff1aCXXX\uff0c C-\u7c7b\u4fee\u9970\u524d\u7f00<\/p>\n<\/li>\n<li>\n<p>\u8fd9\u4e9b\u4fee\u9970\u591a\u6570\u65f6\u5019\u90fd\u662f\u5e9f\u8bdd<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><strong>7. \u539f\u5219:\u540d\u5b57\u5c3d\u91cf\u6765\u81ea\u89e3\u51b3\u65b9\u6848\u9886\u57df\u6216\u95ee\u9898\u9886\u57df<\/strong><\/p>\n<ul>\n<li>\n<p>\u4f7f\u7528\u89e3\u51b3\u65b9\u6848\u9886\u57df\u540d\u79f0\uff1a<\/p>\n<\/li>\n<\/ul>\n<p>\u5199\u4ee3\u7801\u7684\u540c\u5b66\u591a\u6570\u90fd\u662f\u90fd\u51fa\u81eaCS\uff0c\u672f\u8bed\u3001\u7b97\u6cd5\u540d\u3001\u6a21\u5f0f\u540d\u3001\u6570\u5b66\u672f\u8bed\u5c3d\u7ba1\u7528\u3002\u5982AccountVisitor\uff1aVisitor\u6a21\u5f0f\u5b9e\u73b0\u7684Account\u7c7b\u3002<\/p>\n<ul>\n<li>\n<p>\u4f7f\u7528\u95ee\u9898\u9886\u57df\u7684\u540d\u79f0<\/p>\n<\/li>\n<\/ul>\n<p>\u6211\u4eec\u4ee3\u7801\u91cc\u9762\u591a\u6570\u90fd\u662f\u8fd9\u4e9b\u540d\u79f0\uff0c\u4e0d\u660e\u767d\u627e\u7b56\u5212\u95ee\u95ee\uff0c\u57fa\u672c\u4e0a\u90fd\u662f\u529f\u80fd\u76f8\u5173\u7684\u540d\u79f0\u3002<\/p>\n<p><strong>8. \u539f\u5219:\u9002\u5f53\u4f7f\u7528\u6709\u610f\u4e49\u7684\u8bed\u5883<\/strong><\/p>\n<ul>\n<li>\n<p>\u826f\u597d\u547d\u540d\u7684\u7c7b\u3001\u51fd\u6570\u3001\u540d\u79f0\u7a7a\u95f4\u6765\u653e\u7f6e\u540d\u79f0\uff0c\u7ed9\u8bfb\u8005\u63d0\u4f9b\u8bed\u5883<\/p>\n<\/li>\n<li>\n<p>\u53ea\u6709\u4e24\u4e09\u4e2a\u53d8\u91cf\uff0c\u7ed9\u540d\u79f0\u524d\u52a0\u524d\u7f00<\/p>\n<\/li>\n<li>\n<p>\u4e8b\u4e0d\u8fc7\u4e09\uff0c\u53d8\u91cf\u8d85\u8fc7\u4e09\u4e2a\u8003\u8651\u5c01\u88c5\u6210\u6982\u5ff5\uff0c\u6dfb\u52a0struct\u6216class<\/p>\n<\/li>\n<\/ul>\n<p><strong>BAD:<\/strong><\/p>\n<p>\/\/ \u770b\u7740\u6574\u9f50?\u4f7f\u7528\u65b9\u4fbf?<br \/> DWORD love_ensure_type_;&nbsp; \/\/\u5f53\u524d\u7684\u7231\u60c5\u4fdd\u9669\u7c7b\u578b<br \/> DWORD love_ensure_ret_; \/\/\u8d2d\u4e70\u7231\u60c5\u4fdd\u9669\u56de\u5e94\u6807\u793a<br \/> DWORD love_ensure_total_; \/\/\u73b0\u5728\u5df2\u7ecf\u76d6\u7ae0\u6570\u76ee<br \/> DWORD love_ensure_..._;&nbsp; \/\/...<br \/> DWORD love_ensure_..._;&nbsp; \/\/...<\/p>\n<p><strong>\u6700\u540e\uff1a\u6211\u4eec\u7684C++\u547d\u540d\u89c4\u8303<\/strong><\/p>\n<ul>\n<li>\n<p><strong>\u6587\u4ef6\u540d\uff1a<\/strong><\/p>\n<ul>\n<li>\n<p>\u9996\u5b57\u6bcd\u5927\u5199\uff0c\u591a\u4e2a\u8bcd\u7ec4\u5408\u8d77\u6765<\/p>\n<\/li>\n<li>\n<p>\u5982:&nbsp;SceneUser.h Sept.h<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u7c7b\u540d\/\u540d\u79f0\u7a7a\u95f4\u540d\uff1a<\/strong><\/p>\n<ul>\n<li>\n<p>\u9996\u5b57\u6bcd\u5927\u5199\uff0c\u591a\u4e2a\u8bcd\u7ec4\u5408\u8d77\u6765<\/p>\n<\/li>\n<li>\n<p>\u4f7f\u7528\u540d\u8bcd\u6216\u540d\u8bcd\u8bcd\u7ec4<\/p>\n<\/li>\n<li>\n<p>\u907f\u514d\u4f7f\u7528C\u524d\u7f00\uff0c\u5982:CSept<\/p>\n<\/li>\n<li>\n<p>\u5982:&nbsp;SceneUser SeptWar<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u51fd\u6570\u540d\uff1a<\/strong><\/p>\n<ul>\n<li>\n<p>\u9996\u5b57\u6bcd\u5c0f\u5199<\/p>\n<\/li>\n<li>\n<p>\u4f7f\u7528\u52a8\u8bcd\u6216\u52a8\u8bcd\u8bcd\u7ec4<\/p>\n<\/li>\n<li>\n<p>\u907f\u514d\u4f7f\u7528\u5b64\u7acb\u7684\u5168\u5c40\u51fd\u6570\uff0c\u53ef\u4ee5\u5c01\u88c5\u5728\u7c7b\u6216\u540d\u79f0\u7a7a\u95f4\u91cc\u9762<\/p>\n<\/li>\n<li>\n<p>get\uff0c set\uff0c is\u524d\u7f00\u7684\u4f7f\u7528<\/p>\n<\/li>\n<li>\n<p>\u5982:&nbsp;fuckYou()\uff0c levelup()<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u53d8\u91cf\u540d\uff1a<\/strong><\/p>\n<ul>\n<li>\n<p>\u5168\u90e8\u5b57\u6bcd\u5c0f\u5199\uff0c\u591a\u4e2a\u8bcd\u4ee5\u4e0b\u5212\u7ebf\u5206\u9694<\/p>\n<\/li>\n<li>\n<p>\u79c1\u6709\u6210\u5458\u53d8\u91cf\u52a0\u540e\u7f00_\uff0c\u516c\u6709\u53d8\u91cf\u4e0d\u7528<\/p>\n<\/li>\n<li>\n<p>\u907f\u514d\u4f7f\u7528\u5b64\u7acb\u7684\u5168\u5c40\u53d8\u91cf\uff0c\u53ef\u4ee5\u5c01\u88c5\u5728\u7c7b\u6216\u540d\u79f0\u7a7a\u95f4\u91cc\u9762<\/p>\n<\/li>\n<li>\n<p>\u5982:&nbsp;quest_id\uff0c questid_<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u53d6\u540d\u662f\u4e00\u4ef6\u4e25\u8083\u7684\u4e8b\u60c5\uff0c\u6211\u4eec\u9700\u8981\u8ba4\u771f\u5bf9\u5f85\uff0c\u540d\u5b57\u4ee3\u8868\u7740\u4e00\u4e2a\u4e2a\u6982\u5ff5\uff0c\u540d\u5b57\u4ee3\u8868\u7740\u4f60\u60f3\u8868\u8fbe\u7684\u610f\u56fe\uff0c\u597d\u540d\u5b57\u662f\u53ef\u8bfb\u4ee3\u7801\u7684\u9996\u8981\u6761\u4ef6\uff1a<\/p>\n<ul>\n<li>\n<p>\u5199\u4e0b\u4efb\u4f55\u4e00\u884c\u4ee3\u7801\u7684\u65f6\u5019\uff0c\u5fc3\u91cc\u90fd\u8981\u60f3\u7740\u81ea\u5df1\u7684\u4ee3\u7801\u662f\u7ed9\u522b\u4eba\u770b\u7684\u3002<\/p>\n<\/li>\n<li>\n<p>\u4e3a\u51fd\u6570\u3001\u53d8\u91cf\u3001\u7c7b\u53d6\u4e2a\u597d\u540d\u5b57\uff0c\u9075\u5faa\u89c4\u8303\u548c\u539f\u5219\u3002<\/p>\n<\/li>\n<li>\n<p>\u89c1\u5230\u4e0d\u7b26\u5408\u89c4\u8303\u548c\u539f\u5219\u7684\u540d\u5b57\uff0c\u786e\u6beb\u4e0d\u7559\u60c5\u7684\u5e72\u6389\u5b83\uff0c\u7279\u522b\u662f\u529f\u80fd\u6027\u7684\u4ee3\u7801\u3002<\/p>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; &nbsp; \u4ee3\u7801\u5c31\u662f\u7a0b\u5e8f\u5458\u7684\u5b69\u5b50\uff0c\u7ed9\u201c\u5b69\u5b50\u201d\u53d6\u4e2a\u597d\u542c\u7684\u540d\u5b57\u5f88\u91cd\u8981\uff01 \u6211\u4eec\u5728\u9879\u76ee\u5f00\u53d1\u4e2d\uff0c\u63a5\u89e6\u5230\u7684 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":376393,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[61],"tags":[],"class_list":["post-376392","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-website"],"_links":{"self":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/376392","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/comments?post=376392"}],"version-history":[{"count":0,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/376392\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/media\/376393"}],"wp:attachment":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/media?parent=376392"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/categories?post=376392"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/tags?post=376392"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}