{"id":438188,"date":"2021-04-17T12:49:14","date_gmt":"2021-04-17T04:49:14","guid":{"rendered":"http:\/\/4563.org\/?p=438188"},"modified":"2021-04-19T17:08:57","modified_gmt":"2021-04-19T09:08:57","slug":"2021-%e5%b9%b4%e4%ba%86%ef%bc%8c%e6%98%af%e8%af%a5%e4%ba%86%e8%a7%a3%e4%b8%8b-midway-js-%e4%ba%86%ef%bc%8c%e6%88%91%e8%bf%99%e5%87%a0%e8%a1%8c%e4%bb%a3%e7%a0%81%e7%bb%99%e4%bd%a0%e7%9c%8b%e7%9c%8b","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=438188","title":{"rendered":"2021 \u5e74\u4e86\uff0c\u662f\u8be5\u4e86\u89e3\u4e0b Midway.js \u4e86\uff0c\u6211\u8fd9\u51e0\u884c\u4ee3\u7801\u7ed9\u4f60\u770b\u770b"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  2021 \u5e74\u4e86\uff0c\u662f\u8be5\u4e86\u89e3\u4e0b Midway.js \u4e86\uff0c\u6211\u8fd9\u51e0\u884c\u4ee3\u7801\u7ed9\u4f60\u770b\u770b               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : verncake <\/span>  <span><i><\/i> 0<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>2021 \u5e74\u4e86\uff0c\u662f\u8be5\u4e86\u89e3\u4e0b Midway.js \u4e86\uff0c\u6211\u8fd9\u51e0\u884c\u4ee3\u7801\u7ed9\u4f60\u770b\u770b<\/p>\n<h1>FSD Service<\/h1>\n<p> <\/p>\n<p> <img decoding=\"async\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2021\/04\/20210419_607d487a259fc.png\" alt=\"2021 \u5e74\u4e86\uff0c\u662f\u8be5\u4e86\u89e3\u4e0b Midway.js \u4e86\uff0c\u6211\u8fd9\u51e0\u884c\u4ee3\u7801\u7ed9\u4f60\u770b\u770b\" \/> <\/p>\n<p> FSD (Full Stack Develop) Service &#8211; Midway.js \u7684\u6700\u4f73\u5b9e\u8df5<\/p>\n<p> <img decoding=\"async\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2021\/04\/20210419_607d487aab466.svg\" alt=\"2021 \u5e74\u4e86\uff0c\u662f\u8be5\u4e86\u89e3\u4e0b Midway.js \u4e86\uff0c\u6211\u8fd9\u51e0\u884c\u4ee3\u7801\u7ed9\u4f60\u770b\u770b\" \/> <img decoding=\"async\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2021\/04\/20210419_607d487ae8f89.svg\" alt=\"2021 \u5e74\u4e86\uff0c\u662f\u8be5\u4e86\u89e3\u4e0b Midway.js \u4e86\uff0c\u6211\u8fd9\u51e0\u884c\u4ee3\u7801\u7ed9\u4f60\u770b\u770b\" \/> <img decoding=\"async\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2021\/04\/20210419_607d487b9820e.svg\" alt=\"2021 \u5e74\u4e86\uff0c\u662f\u8be5\u4e86\u89e3\u4e0b Midway.js \u4e86\uff0c\u6211\u8fd9\u51e0\u884c\u4ee3\u7801\u7ed9\u4f60\u770b\u770b\" \/> <img decoding=\"async\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2021\/04\/20210419_607d4883a0122.svg\" alt=\"2021 \u5e74\u4e86\uff0c\u662f\u8be5\u4e86\u89e3\u4e0b Midway.js \u4e86\uff0c\u6211\u8fd9\u51e0\u884c\u4ee3\u7801\u7ed9\u4f60\u770b\u770b\" \/> <img decoding=\"async\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2021\/04\/20210419_607d4883e9bda.svg\" alt=\"2021 \u5e74\u4e86\uff0c\u662f\u8be5\u4e86\u89e3\u4e0b Midway.js \u4e86\uff0c\u6211\u8fd9\u51e0\u884c\u4ee3\u7801\u7ed9\u4f60\u770b\u770b\" \/> <img decoding=\"async\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2021\/04\/20210419_607d4887c690d.svg\" alt=\"2021 \u5e74\u4e86\uff0c\u662f\u8be5\u4e86\u89e3\u4e0b Midway.js \u4e86\uff0c\u6211\u8fd9\u51e0\u884c\u4ee3\u7801\u7ed9\u4f60\u770b\u770b\" \/> <img decoding=\"async\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2021\/04\/20210419_607d488bad283.svg\" alt=\"2021 \u5e74\u4e86\uff0c\u662f\u8be5\u4e86\u89e3\u4e0b Midway.js \u4e86\uff0c\u6211\u8fd9\u51e0\u884c\u4ee3\u7801\u7ed9\u4f60\u770b\u770b\" \/> <\/p>\n<p><img decoding=\"async\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2021\/04\/20210419_607d488bcd758.svg\" alt=\"2021 \u5e74\u4e86\uff0c\u662f\u8be5\u4e86\u89e3\u4e0b Midway.js \u4e86\uff0c\u6211\u8fd9\u51e0\u884c\u4ee3\u7801\u7ed9\u4f60\u770b\u770b\" \/><\/p>\n<p>\u62d3\u5c55\u9605\u8bfb:<\/p>\n<ul>\n<li>\u914d\u5957\u7684\u524d\u7aef\u5de5\u7a0b\u8bf7\u79fb\u6b65 https:\/\/github.com\/fsd-nodejs\/pc \u67e5\u770b\u8fd9\u4e2a\u9879\u76ee<\/li>\n<li>\u5168\u6808\u5f00\u53d1\u6587\u6863\u4ee5\u53ca\u89c4\u8303 https:\/\/github.com\/fsd-nodejs\/document \u67e5\u770b\u8fd9\u4e2a\u9879\u76ee<\/li>\n<li>midway2.x \u6df1\u5ea6\u8eba\u5751\u8bb0(\u6301\u7eed\u66f4\u65b0) <\/li>\n<li>\u4ee3\u7801\u63d0\u793a \u597d\u73a9\u7684\u4ee3\u7801\u63d0\u793a by waitingsong (\u8003\u8651\u5230\uff0c\u6bcf\u4e2a\u4eba\u5bf9\u4e8e\u81ea\u5b9a\u4e49\u4ee3\u7801\u63d0\u793a\u7684\u8981\u6c42\u4e0d\u4e00\u6837\uff0c\u5c31\u4e0d\u5408\u5e76\u5230\u53c2\u8003\u4e86\uff0c\u8fd9\u4e2a PR \u63a8\u8350\u7ed9\u5927\u5bb6)<\/li>\n<\/ul>\n<h2>\u9879\u76ee\u5bfc\u89c8 &amp; TODO<\/h2>\n<p>\u5728\u8fd9\u4e2a\u9879\u76ee\u4e2d\uff0c\u4f60\u4f1a\u770b\u5230\u4ee5\u4e0b\u57fa\u4e8e Midway \u7684\u5b9e\u8df5\u6848\u4f8b (\u4e0a\u5c42\u4f7f\u7528 Egg.js )<\/p>\n<p>\u6211\u4eec\u6b63\u5728\u505a\u4ee5\u4e0b\u5de5\u7a0b\u5b9e\u8df5\u4f8b\u5b50\uff0c\u5927\u5bb6\u4f60\u9047\u5230\u4ec0\u4e48\u95ee\u9898\uff0c\u6216\u8005\u5e0c\u671b\u8ffd\u52a0\u4ec0\u4e48\u529f\u80fd\uff0c\u6216\u8005\u5b66\u4e60\u5185\u90e8\u5b9e\u73b0\u3002 \u53ef\u4ee5\u5173\u6ce8\u6211\u4eec\u7684\u4ed3\u5e93(\u70b9\u8d5e\uff0c\u5206\u4eab&#8230;\u4e09\u8fde)\u5728 issue \u7559\u8a00\uff0c\u6211\u4eec\u4f1a\u5f81\u96c6\u4f60\u7684\u610f\u89c1\uff0c\u5e26\u6765\u6700\u5e72\u8d27\u7684\u6848\u4f8b\u3002<\/p>\n<p>\u5e2e\u4f60\u626b\u6e05\u5b66\u4e60\u969c\u788d\uff0c\u8ba9\u4f60\u7528\u8d77 Midway \u6765\u66f4\u52a0\u5f97\u5fc3\u5e94\u624b\uff0c\u63d0\u5347\u80fd\u6548\uff0c\u627e\u56de\u7f16\u7801\u7684\u4e50\u8da3\u3002<\/p>\n<h3>\u6846\u67b6\u7279\u6027\u53ca\u80fd\u529b\u5e94\u7528<\/h3>\n<ul>\n<li>\u4e2d\u95f4\u4ef6<\/li>\n<li>\u4f9d\u8d56\u6ce8\u5165<\/li>\n<li>\u53c2\u6570\u6821\u9a8c\u548c\u8f6c\u6362 \uff08 DTO \u5c42\uff09<\/li>\n<li>\u6d4b\u8bd5 \uff08 Controller &amp; Service \u5355\u5143\u6d4b\u8bd5\uff09<\/li>\n<li>Swagger<\/li>\n<li>Database<\/li>\n<\/ul>\n<h3>\u529f\u80fd<\/h3>\n<blockquote>\n<p><strong>\u57fa\u7840<\/strong><\/p>\n<\/blockquote>\n<ul>\n<li>Admin \u767b\u5f55<\/li>\n<li>\u666e\u901a\u7528\u6237\u767b\u5f55-\u8d26\u6237\u5bc6\u7801<\/li>\n<li>OAuth 2.0<\/li>\n<li>\u65e5\u5fd7\u76d1\u63a7<\/li>\n<li>\u672c\u5730\u4e0a\u4f20\u6587\u4ef6\u670d\u52a1<\/li>\n<li>\u9274\u6743\u4e2d\u95f4\u4ef6<\/li>\n<li>\u63a5\u53e3\u54cd\u5e94\u7edf\u8ba1\u4e2d\u95f4\u4ef6<\/li>\n<li>\u7edf\u4e00\u9519\u8bef\u5904\u7406<\/li>\n<li>SnowFlake \u96ea\u82b1\u7b97\u6cd5\u751f\u6210\u5206\u5e03\u5f0f ID <\/li>\n<\/ul>\n<blockquote>\n<p><strong>\u8d85\u7ea7\u7ba1\u7406<\/strong><\/p>\n<\/blockquote>\n<ul>\n<li>\u6743\u9650<\/li>\n<li>\u89d2\u8272<\/li>\n<li>\u7ba1\u7406\u5458<\/li>\n<li>\u83dc\u5355<\/li>\n<li>\u65e5\u5fd7(\u64cd\u4f5c\u65e5\u5fd7\uff0c\u8bb0\u5f55\u7ba1\u7406\u7528\u6237\u7684\u5b9e\u9645\u64cd\u4f5c)<\/li>\n<\/ul>\n<h2>\u5feb\u901f\u5f00\u59cb<\/h2>\n<p>see Midway docs for more detail.<\/p>\n<h3>Development<\/h3>\n<p>\u5148\u5c06 database \u76ee\u5f55\u4e0b\u5230 sql \u6587\u4ef6\u8fc1\u79fb\u5230\u6570\u636e\u5e93\uff0c\u4fee\u6539\u9ed8\u8ba4\u7684 config \u914d\u7f6e\u6587\u4ef6(\u9700\u8981 Redis \u548c MySQL \u670d\u52a1\u53ef\u4ee5\u6b63\u5e38\u8bbf\u95ee)<\/p>\n<pre><code>$ npm i $ npm run dev $ open http:\/\/localhost:7001\/ <\/code><\/pre>\n<h3>Deploy<\/h3>\n<pre><code>$ npm start $ npm stop <\/code><\/pre>\n<h3>npm scripts<\/h3>\n<ul>\n<li>Use <code>npm run lint<\/code> to check code style.<\/li>\n<li>Use <code>npm test<\/code> to run unit test.<\/li>\n<\/ul>\n<h2>Redis<\/h2>\n<ul>\n<li>\u4f7f\u7528 Redis \u4f5c\u4e3a\u7528\u6237\u767b\u5f55\u51ed\u8bc1\u5b58\u53d6\u7684\u5730\u65b9<\/li>\n<li>RTS \u6536\u96c6\u7edf\u8ba1\u6570\u636e (\u5f00\u53d1\u4e2d)<\/li>\n<\/ul>\n<h3>Redis \u5212\u5206<\/h3>\n<p>\u5efa\u8bae\u4f7f\u7528 Redis \u7684\u65f6\u5019\uff0c\u5bf9\u6240\u6709 key \u505a\u597d\u547d\u540d\u7a7a\u95f4\u5212\u5206\uff0c\u4fbf\u4e8e\u7ba1\u7406\u3002\u53ef\u628a scope \u5199\u5230\u5bf9\u7167\u8868\u4e2d\u3002<\/p>\n<p>\u501f\u52a9 jwt \u63d2\u4ef6\u505a\u7b7e\u540d\u6821\u9a8c\uff0c\u7ba1\u7406\u5458\u7684 token \u4e2d\u4f1a\u5305\u542b id \u5b57\u6bb5\u3002<\/p>\n<p>\u6240\u6709 admin \u76f8\u5173\u7684\u7f13\u5b58\u6570\u636e\u90fd\u653e\u5728 <code>admin:xxxx<\/code> \u4e0b\u9762\u3002<\/p>\n<ul>\n<li><code>admin:accessToken:${id}<\/code> \u7f13\u5b58\u7ba1\u7406\u5458 Token \u4fe1\u606f<\/li>\n<li><code>admin:userinfo:${id}<\/code> \u7f13\u5b58\u7ba1\u7406\u5458\u57fa\u672c\u4fe1\u606f<\/li>\n<\/ul>\n<h2>\u6570\u636e\u5e93<\/h2>\n<p>\u6240\u6709\u5b9e\u4f53\u8868\u5747\u6709 deleted_at \u5b57\u6bb5(\u76ee\u524d\u57fa\u7840\u6a21\u5757\u4e0d\u4f7f\u7528\u8f6f\u5220\u9664)\uff0c\u7528\u4e8e\u8f6f\u5220\u9664\u3002<\/p>\n<p>\u5982\u679c\u8981\u5173\u95ed\u8f6f\u5220\u9664\uff0c\u5c06 deletedAt \u5b57\u6bb5\u6ce8\u91ca\u5373\u53ef<\/p>\n<p>\u8fdb\u884c\u8f6f\u5220\u9664\u7684\u65f6\u5019\uff0c\u5173\u7cfb\u8868\u7684\u6570\u636e\u4e0d\u505a\u6539\u52a8\u3002<\/p>\n<p>\u540e\u671f\u6839\u636e\u9700\u8981\uff0c\u7528\u811a\u672c\u5b9a\u671f\u6e05\u7406\u8f6f\u5220\u9664\u7684\u6570\u636e\u3002<\/p>\n<p>\u4ee5\u4e0b\u6a21\u5757\u672a\u4f7f\u7528\u8f6f\u5220\u9664\uff1a<\/p>\n<ul>\n<li>\u6743\u9650\u7ba1\u7406<\/li>\n<li>\u89d2\u8272\u7ba1\u7406<\/li>\n<li>\u83dc\u5355\u7ba1\u7406<\/li>\n<li>\u7ba1\u7406\u5458\u7ba1\u7406<\/li>\n<\/ul>\n<h3>\u67e5\u8be2\u6ce8\u610f\u4e8b\u9879<\/h3>\n<p>\u4e1a\u52a1\u8f6f\u5220\u9664\u5355\u72ec\u5199\u4e00\u4e2a BaseModel\uff0c\u5176\u4ed6\u5b9e\u4f53\u7ee7\u627f\u8be5 Model \u5373\u53ef<\/p>\n<ul>\n<li>\u5b9e\u4f53\u67e5\u8be2\uff0c\u7ee7\u627f <code>BaseModel<\/code> \u7684\u5b9e\u4f53\u4f1a\u81ea\u5e26\u8f6f\u5220\u9664\u5224\u65ad\uff0c\u4f8b\u5b50\u67e5\u770b<code>src\/app\/model\/base.ts<\/code><\/li>\n<li> \u5728\u505a\u5173\u7cfb\u67e5\u8be2\u7684\u65f6\u5019\uff0c\u5173\u7cfb\u8868\u9700\u8981\u624b\u52a8\u52a0\u8f6f\u5220\u9664\u5224\u65ad IS NULL\uff0c\u5982\u4e0b:\n<pre><code>  \/**    * \u6839\u636e\u83dc\u5355 id \u83b7\u53d6\u6570\u636e    * @param id \u83dc\u5355 id    *\/   async getAdminMenuById(id: string) {     const row = await this.adminMenuModel       .createQueryBuilder()       .select()       .leftJoinAndSelect(         'AdminMenuModel.roles',         'role',         'role.deletedAt IS NULL'       )       .where({ id: id })       .getOne();     return row;   } <\/code><\/pre>\n<\/li>\n<\/ul>\n<h2>\u63a5\u53e3\u54cd\u5e94\u7edf\u8ba1\u4e2d\u95f4\u4ef6(\u8bbe\u8ba1)<\/h2>\n<p>\u505a\u63a5\u53e3\u54cd\u5e94\u6570\u636e\u7edf\u8ba1\u7684\u51fa\u53d1\u70b9\uff0c\u6709\u4e24\u70b9\uff08\u5373\u4f7f\u6709\u7c7b\u4f3c\u7684\u7b2c\u4e09\u65b9\u5305\uff0c\u4f46\u8fd8\u662f\u81ea\u5df1\u5b9e\u73b0\u4ee5\u4e0b\uff09:<\/p>\n<ul>\n<li>\u5e2e\u52a9\u6392\u67e5\u7ebf\u4e0a\u63a5\u53e3\u54cd\u5e94\u95ee\u9898<\/li>\n<li>\u76d1\u63a7\u7cfb\u7edf\u5b9e\u65f6\u72b6\u6001<\/li>\n<\/ul>\n<p>\u867d\u7136\u6846\u67b6\u672c\u8eab\u5df2\u7ecf\u6709\u65e5\u5fd7\u529f\u80fd\uff0c\u4f46\u662f\u5f88\u591a\u573a\u666f\u4e0b\uff0c\u6211\u4eec\u53ef\u80fd\u9700\u8981\u770b\u4e0b\u5404\u4e2a\u63a5\u53e3\u670d\u52a1\u7684\u54cd\u5e94\u72b6\u6001<\/p>\n<p>\u662f\u5728\u6b63\u5e38\u670d\u52a1\uff0c\u8fd8\u662f\u5df2\u7ecf\u51fa\u73b0\u95ee\u9898\u3002\u5728\u6709\u76d1\u63a7\u7684\u5e2e\u52a9\u4e0b\uff0c\u53ef\u4ee5\u5feb\u901f\u5e2e\u6211\u4eec\u5b9a\u4f4d\u65e5\u5fd7\u6392\u67e5\u95ee\u9898\u3002<\/p>\n<p>\u662f\u5bf9\u5e94\u7edf\u8ba1\u5b9e\u65f6\u6570\u636e\u800c\u8a00\uff0c\u8fd9\u91cc\u6211\u4eec\u4f1a\u4f7f\u7528 RTS \u7684\u6280\u672f\u65b9\u6848\uff0c\u4f1a\u7528\u5230 RabbitMQ \u548c Redis <\/p>\n<p>RabbitMQ \u4f5c\u7528\u5728\u4e8e\u628a\u7edf\u8ba1\u7684\u8ba1\u7b97\u5f02\u6b65\u5316\uff0c\u4ece\u800c\u4e0d\u5f71\u54cd\u6b63\u5e38\u7684\u4e1a\u52a1\u8bf7\u6c42\u5904\u7406<\/p>\n<p>\uff08\u6d88\u8d39\u8005\u7684\u903b\u8f91\u4ee3\u7801\uff0c\u9700\u8981\u5199\u5728\u5355\u72ec\u4e00\u4e2a\u5de5\u7a0b\uff0c\u72ec\u7acb\u90e8\u7f72\uff09<\/p>\n<p>\u5927\u81f4\u6d41\u7a0b\u5982\u4e0b\uff0c\u624b\u7ed8\u7684\uff0c\u5de5\u5177\u7b80\u964b\uff0c\u59d1\u4e14\u770b\u4e00\u4e0b\u3002 <img decoding=\"async\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2021\/04\/20210419_607d488d4fa66.jpg\" alt=\"2021 \u5e74\u4e86\uff0c\u662f\u8be5\u4e86\u89e3\u4e0b Midway.js \u4e86\uff0c\u6211\u8fd9\u51e0\u884c\u4ee3\u7801\u7ed9\u4f60\u770b\u770b\" \/><\/p>\n<h2>\u7b54\u7591<\/h2>\n<p>\u7fa4\u91cc\u4f1a\u6709\u70ed\u5fc3\u7684\u670b\u53cb\uff0c\u4e5f\u4f1a\u6709\u65b0\u7248\u672c\u53d1\u5e03\u63a8\u9001\u3002\u9489\u9489\u626b\u7801\u52a0\u5165\u7b54\u7591\u7fa4<\/p>\n<p>\u4e8c\u7fa4<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2021\/04\/O1CN01SRJO0P1YaqxhtPU2X_6000000003076-2-tps-305-391.png\" alt=\"2021 \u5e74\u4e86\uff0c\u662f\u8be5\u4e86\u89e3\u4e0b Midway.js \u4e86\uff0c\u6211\u8fd9\u51e0\u884c\u4ee3\u7801\u7ed9\u4f60\u770b\u770b\" \/><\/p>\n<p>\u4e00\u7fa4\uff08\u5df2\u6ee1\uff09<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2021\/04\/O1CN01ofEEAL2AEpJHbpse5_6000000008172-2-tps-311-401.png\" alt=\"2021 \u5e74\u4e86\uff0c\u662f\u8be5\u4e86\u89e3\u4e0b Midway.js \u4e86\uff0c\u6211\u8fd9\u51e0\u884c\u4ee3\u7801\u7ed9\u4f60\u770b\u770b\" \/><\/p>\n<h2>License<\/h2>\n<p>\u6211\u4eec\u7684\u4ee3\u7801\u4f7f\u7528 MIT \u534f\u8bae\uff0c\u8bf7\u653e\u5fc3\u4f7f\u7528\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2021\/04\/20210419_607d489f1ffd6.svg\" alt=\"2021 \u5e74\u4e86\uff0c\u662f\u8be5\u4e86\u89e3\u4e0b Midway.js \u4e86\uff0c\u6211\u8fd9\u51e0\u884c\u4ee3\u7801\u7ed9\u4f60\u770b\u770b\" \/><\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>17<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5749430\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dream4ever <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u770b\u5b8c\u4e4b\u540e\u5c31\u4e00\u4e2a\u611f\u89c9\uff1a\u4e71\u7cdf\u7cdf\uff0c\u6ca1\u770b\u5230\u91cd\u70b9\u2026\u2026                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5749431\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : imzcg2 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u5c31\u662f\u4f20\u8bf4\u4e2d\u7684\u4e00\u4e2a js \u4e00\u4e2a\u524d\u540e\u7aef\u5168\u7ad9\u9879\u76ee\u5417                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5749432\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : constructor <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5f88\u68d2\u7684\u6846\u67b6\uff0c\u52a0\u6cb9\uff01                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5749433\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : pigspy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8ddf nestjs \u6709\u5565\u533a\u522b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5749434\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : uptonking <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             node \u7684\u540e\u7aef\u6846\u67b6\u6211\u8fd8\u662f\u9009 nestjs\uff0cnestjs \u8d21\u732e\u8005\u591a\u4e14\u751f\u6001\u4e30\u5bcc\uff0cmidway \u9664\u4e86\u963f\u91cc\u7684\u4eba\u4f1a\u7528\u5176\u4ed6\u5f88\u5c11\u4eba\u7528\u4e86\uff0c\u641e\u4e0d\u597d\u54ea\u5929\u6ca1\u6709 kpi \u5c31\u88ab\u4e22\u8fdb\u5783\u573e\u6876\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5749435\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : blindpirate <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             https:\/\/github.com\/apache\/incubator-weex \u534a\u5e74\u6ca1\u66f4\u65b0\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5749436\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : WildCat <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7528\u53ee\u53ee\u7fa4\u804a\u6280\u672f                                                             <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5749437\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : yamedie <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             eggjs \u8fd8\u5728\u66f4\u65b0\u5417\uff1f cnodejs.org \u5173\u7ad9\u5feb\u4e00\u5e74\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5749438\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : verncake <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @blindpirate \u77ed\u671f\u80fd\u89e3\u51b3\u4e1a\u52a1\u529f\u80fd\u5f00\u53d1\u6548\u7387\u95ee\u9898\uff0c\u4f46\u957f\u671f\u7684\u7ef4\u62a4\u6210\u672c\u76f8\u5f53\u9ad8\uff0c\u4e5f\u7b97\u662f\u63d0\u5347\u4eba\u6548\u7684\u4e00\u79cd\u5c1d\u8bd5\uff0c\u521b\u4e1a\u9879\u76ee\u5feb\u901f\u8bd5\u9519\u7528\u4e5f\u8fd8\u4e0d\u9519\uff0cweex \u5e94\u8be5\u6682\u65f6\u505c\u66f4\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5749439\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : verncake <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @uptonking Midway.js \u771f\u4e0d\u662f KPI \u9879\u76ee\uff0c\u73b0\u6709\u4e13\u95e8\u7684 team \u7ef4\u62a4\uff0c\u4e3b\u672a\u6765 Serverless \u65b9\u5411                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5749440\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : verncake <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @dream4ever \u8fd9\u662f\u4e2a\u5b9e\u8df5\u9879\u76ee\uff0c\u6846\u67b6\u76f8\u5173\u7684\u79fb\u6b65 midwayjs.org                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5749441\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : verncake <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @imzcg2 \u4e00\u4e2a JavaScript \u5f00\u53d1\uff0c\u6253\u901a\u524d\u540e\u7aef                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5749442\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : verncake <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @yamedie eggjs \u6838\u5fc3\u5e93\u57fa\u672c\u5f88\u7a33\u5b9a\uff0c\u6682\u65f6\u6ca1\u4ec0\u4e48\u66f4\u65b0                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5749443\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : verncake <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8be5\u6587\u7ae0\u5bf9\u5e94\u7684\u9879\u76ee\u5730\u5740 https:\/\/github.com\/fsd-nodejs\/service-mw2                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5749444\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ericgui <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @WildCat \u5bf9\uff0c\u8fd9\u4e2a\u6700\u6076\u5fc3\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5749445\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ericgui <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @verncake \u4f60\u4eec\u5bf9\u4efb\u4f55\u9879\u76ee\u90fd\u6ca1\u6709\u4e00\u4e2a\u957f\u671f\u627f\u8bfa\uff0c\u90fd\u662f\u77ed\u671f\u67d0\u4eba\u5347\u804c\u7684\u5de5\u5177\uff0c\u90a3\u4e9b\u5f53\u521d\u88ab\u4f60\u4eec\u5ffd\u60a0\u5165\u5751 weex \u7684\u4e0d\u88ab\u5751\u6b7b\u4e86\u4e48\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5749446\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : verncake <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @ericgui \u6280\u672f\u662f\u5728\u4e0d\u505c\u7684\u53d1\u5c55\u7684\uff0c\u6846\u67b6\u4e5f\u5728\u8fed\u4ee3\uff0c\u73b0\u5728\u770b\u6765\uff0c\u8de8\u7aef\u65b9\u6848\uff0cFlutter \u66f4\u4f18\u79c0                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>2021 \u5e74\u4e86\uff0c\u662f\u8be5\u4e86\u89e3\u4e0b Mid&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/438188"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=438188"}],"version-history":[{"count":1,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/438188\/revisions"}],"predecessor-version":[{"id":438191,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/438188\/revisions\/438191"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=438188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=438188"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=438188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}