{"id":10008415,"date":"2024-03-01T11:19:41","date_gmt":"2024-03-01T03:19:41","guid":{"rendered":"https:\/\/blog.itmax.cn\/?p=10008415"},"modified":"2024-03-01T11:19:41","modified_gmt":"2024-03-01T03:19:41","slug":"spring-boot-liteflow-%e8%a7%84%e5%88%99%e5%bc%95%e6%93%8e%ef%bc%8c%e5%a4%aa%e9%a6%99%e4%ba%86%ef%bc%81","status":"publish","type":"post","link":"https:\/\/itmax.cn\/?p=10008415","title":{"rendered":"Spring Boot + liteflow \u89c4\u5219\u5f15\u64ce\uff0c\u592a\u9999\u4e86\uff01"},"content":{"rendered":"<p>\u4f5c\u8005\uff1a\u8c6b\u5dde\u7267\/<br \/>\u94fe\u63a5\uff1a<a target=\"_blank\" href=\"https:\/\/link.segmentfault.com\/?enc=i0PMXWovZDKj8wobPR183Q%3D%3D.34zxRjaOqKj1qeAI5Z6a%2BYEPG5WwJssb6k16s6SlIIyRiSpAnI5AffxYbPaFmnmG\" rel=\"noopener noreferrer\">https:\/\/juejin.cn\/post\/7296771770098745344<\/a><\/p>\n<h2>1\u3001\u524d\u8a00<\/h2>\n<p>\u5728\u65e5\u5e38\u7684\u5f00\u53d1\u8fc7\u7a0b\u4e2d\uff0c\u7ecf\u5e38\u4f1a\u9047\u5230\u4e00\u4e9b\u4e32\u884c\u6216\u8005\u5e76\u884c\u7684\u4e1a\u52a1\u6d41\u7a0b\u95ee\u9898\uff0c\u800c\u4e1a\u52a1\u4e4b\u95f4\u4e0d\u5fc5\u5b58\u5728\u76f8\u5173\u6027\u3002<\/p>\n<p>\u5728\u8fd9\u6837\u7684\u573a\u666f\u4e0b\uff0c\u4f7f\u7528\u7b56\u7565\u548c\u6a21\u677f\u6a21\u5f0f\u7684\u7ed3\u5408\u53ef\u4ee5\u5f88\u597d\u7684\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0c\u4f46\u662f\u4f7f\u7528\u7f16\u7801\u7684\u65b9\u5f0f\u4f1a\u4f7f\u5f97\u6587\u4ef6\u592a\u591a,\u5728\u4e1a\u52a1\u7684\u90e8\u5206\u73af\u8282\u53ef\u4ee5\u8fd9\u6837\u64cd\u4f5c\uff0c\u5728\u9879\u76ee\u89d2\u5ea6\u5c31\u65e0\u6cd5\u4e00\u773c\u6d1e\u7a7f\u5176\u4e2d\u7684\u73af\u8282\u548c\u903b\u8f91\u3002\u5728\u672c\u6587\u4e2d\uff0c\u5c06\u5f15\u5165\u89c4\u5219\u5f15\u64ce\u4ece\u5168\u5c40\u89d2\u5ea6\u6765\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0c\u8fd9\u5c31\u662f\u4eca\u5929\u8981\u4ecb\u7ecd\u7684\u4e3b\u89d2 <code>liteflow<\/code>\u3002<\/p>\n<h2>2\u3001liteflow \u89c4\u5219\u5f15\u64ce<\/h2>\n<p><code>liteflow<\/code> \u662f\u4e00\u4e2a\u8f7b\u5de7\u800c\u4e14\u5f3a\u5927\u7684\u89c4\u5219\u5f15\u64ce\uff0c\u80fd\u591f\u5b9e\u73b0\u5f00\u7bb1\u5373\u7528\uff0c\u53ef\u4ee5\u5728\u77ed\u65f6\u95f4\u5185\u5c31\u53ef\u4ee5\u5b8c\u6210\u590d\u6742\u7684\u89c4\u5219\u7f16\u6392\uff0c\u4e0b\u56fe\u662f <code>liteflow<\/code> \u7684\u6574\u4f53\u67b6\u6784\u3002liteflow \u652f\u6301\u8f83\u591a\u7684\u89c4\u5219\u6587\u4ef6\u683c\u5f0f\uff0c\u6bd4\u5982 xml\/json\/yaml\uff0c \u5bf9\u4e8e\u89c4\u5219\u6587\u4ef6\u7684\u5b58\u50a8\u65b9\u5f0f\u53ef\u4ee5\u6709sql\/zk\/nacos\/apollo \u7b49\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"723\" height=\"746\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVdbBlG\" alt=\"\" title=\"\"><\/p>\n<p><code>liteflow<\/code> \u7684\u4f7f\u7528\u662f\u4ece\u83b7\u53d6\u4e0a\u4e0b\u6587\u5f00\u59cb\u7684\uff0c\u901a\u8fc7\u6570\u636e\u4e0a\u4e0b\u6587\u6765\u89e3\u6790\u5bf9\u5e94\u7684\u89c4\u5219\u6587\u4ef6\uff0c\u901a\u8fc7 liteflow \u6267\u884c\u5668\u6765\u6267\u884c\u5bf9\u5e94\u7684\u94fe\u8def\uff0c\u6bcf\u4e2a\u94fe\u8def\u4e0a\u90fd\u6709\u9700\u8981\u6267\u884c\u7684\u4e1a\u52a1 node\uff08\u5373\u8282\u70b9\u7ec4\u4ef6\uff0c\u53ef\u4ee5\u652f\u6301\u591a\u79cd\u8bed\u8a00\u811a\u672c\uff0c groovy\/js\/python\/lua\u7b49\uff09, \u5404\u4e2a\u4e1a\u52a1node \u4e4b\u95f4\u662f\u72ec\u7acb\u7684\u3002<\/p>\n<p><code>liteflow<\/code> \u5bf9\u5e94\u7684\u5b98\u65b9\u7f51\u5740\u548c\u4f9d\u8d56\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<pre><code class=\"xml\"># liteflow \u89c4\u5219\u5f15\u64ce\u5b98\u65b9\u7f51\u5740\nhttps:\/\/liteflow.yomahub.com\n# springboot \u96c6\u6210 liteflow\n&lt;dependency&gt;\n    &lt;groupId&gt;com.yomahub&lt;\/groupId&gt;\n    &lt;artifactId&gt;liteflow-spring-boot-starter&lt;\/artifactId&gt;\n    &lt;version&gt;2.10.6&lt;\/version&gt;\n&lt;\/dependency&gt;<\/code><\/pre>\n<p><code>liteflow<\/code> \u53ef\u4ee5\u652f\u6301\u5982\u4e0b\u6240\u793a\u7684\u590d\u6742\u6d41\u7a0b<\/p>\n<p><img decoding=\"async\" width=\"548\" height=\"189\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVdbBlH\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u6b64\u5916\uff0cliteflow \u53ef\u4ee5\u652f\u6301\u70ed\u90e8\u7f72\uff0c\u53ef\u4ee5\u5b9e\u65f6\u66ff\u6362\u6216\u8005\u589e\u52a0\u8282\u70b9\uff0c\u5373\u4fee\u6539\u89c4\u5219\u6587\u4ef6\u540e\u53ef\u4ee5\u5b9e\u65f6\u751f\u6548\u3002 <img decoding=\"async\" width=\"566\" height=\"536\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVdbBlI\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<h2>3\u3001liteflow \u7684\u4f7f\u7528\u65b9\u6cd5<\/h2>\n<h4>3.1 \u7ec4\u4ef6<\/h4>\n<p><code>liteflow<\/code> \u7684\u7ec4\u4ef6\u5728\u89c4\u5219\u6587\u4ef6\u4e2d\u5373\u5bf9\u5e94\u7684\u8282\u70b9\uff0c\u7ec4\u4ef6\u5bf9\u5e94\u7684\u79cd\u7c7b\u6709\u5f88\u591a\uff0c\u5177\u4f53\u7684\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<ul>\n<li>\u666e\u901a\u7ec4\u4ef6<\/li>\n<\/ul>\n<p>\u666e\u901a\u7ec4\u4ef6\u9700\u8981\u96c6\u6210\u7684\u662f <code>NodeComponent<\/code>, \u53ef\u4ee5\u7528\u5728 when \u548c then \u903b\u8f91\u4e2d\uff0c\u5177\u4f53\u7684\u4e1a\u52a1\u9700\u8981\u5728 process \u4e2d\u53bb\u6267\u884c\u3002\u540c\u65f6\u5728 node \u8282\u70b9\u4e2d\uff0c\u53ef\u4ee5\u8986\u76d6 iaAccess \u65b9\u6cd5\uff0c\u8868\u793a\u662f\u5426\u8fdb\u5165\u8be5\u8282\u70b9\u6267\u884c\u4e1a\u52a1\u903b\u8f91\uff0cisContinueOnError \u5224\u65ad\u5728\u51fa\u9519\u7684\u60c5\u51b5\u4e0b\u662f\u5426\u7ee7\u7eed\u6267\u884c\u4e0b\u4e00\u4e2a\u7ec4\u4ef6\uff0c\u9ed8\u8ba4\u4e3a false\u3002 isEnd \u65b9\u6cd5\u8868\u793a\u662f\u5426\u7ec8\u6b62\u6d41\u7a0b\uff0c\u9ed8\u8ba4\u4e3atrue\u3002<\/p>\n<ul>\n<li>\u9009\u62e9\u7ec4\u4ef6<\/li>\n<\/ul>\n<p>\u9009\u62e9\u7ec4\u4ef6\u662f\u901a\u8fc7\u4e1a\u52a1\u903b\u8f91\u6765\u5224\u65ad\u63a5\u4e0b\u6765\u7684\u52a8\u4f5c\u8981\u6267\u884c\u54ea\u4e00\u4e2a\u8282\u70b9\uff0c\u7c7b\u4f3c\u4e8e Java\u4e2d\u7684 switch , \u5728\u4ee3\u7801\u4e2d\u5219\u9700\u8981\u7ee7\u627f <code>NodeSwitchComponent<\/code> \u5b9e\u73b0 processWitch \u65b9\u6cd5\u6765\u5904\u7406\u4e1a\u52a1\u3002<\/p>\n<pre><code class=\"css\"># flow \u89c4\u5219\u8868\u8fbe\u5f0f \u9009\u62e9\u7ec4\u4ef6\nSWITCH(a).to(b, c);\n# processWitch \u8868\u8fbe\u5f0f\u9700\u8981\u8fd4\u56de\u7684\u662f b \u6216\u8005 c \u5b57\u7b26\u4e32\u6765\u6267\u884c\u76f8\u5e94\u7684\u4e1a\u52a1\u903b\u8f91\n# flow \u89c4\u5219\u8868\u8fbe\u5f0f \u6761\u4ef6\u7ec4\u4ef6\nIF(x, a, b);<\/code><\/pre>\n<ul>\n<li>\u6761\u4ef6\u7ec4\u4ef6<\/li>\n<\/ul>\n<p>\u6761\u4ef6\u7ec4\u4ef6\u79f0\u4e4b\u4e3a if \u7ec4\u4ef6\uff0c\u8fd4\u56de\u7684\u7ed3\u679c\u662f true \u6216\u8005 false,  \u4ee3\u7801\u9700\u8981\u96c6\u6210 <code>NodeIfComponent <\/code> \u91cd\u5199 processIf \u65b9\u6cd5\uff0c\u8fd4\u56de\u5bf9\u5e94\u7684\u4e1a\u52a1\u8282\u70b9\uff0c\u8fd9\u4e2a\u548c\u9009\u62e9\u7ec4\u4ef6\u7c7b\u4f3c\u3002<\/p>\n<p>\u5728\u5b98\u65b9\u6587\u6863\u4e2d\uff0c\u8fd8\u6709\u6b21\u6570\u5faa\u73af\u7ec4\u4ef6\uff0c\u6761\u4ef6\u5faa\u73af\u7ec4\u4ef6\uff0c\u5faa\u73af\u8fed\u4ee3\u7ec4\u4ef6\uff0c\u548c\u9000\u51fa\u5faa\u73af\u7ec4\u4ef6\uff0c\u4f5c\u8005\u8ba4\u4e3a\u5176\u5e94\u7528\u573a\u666f\u6bd4\u8f83\u590d\u6742\uff0c\u53ef\u4ee5\u4f7f\u7528\u7b80\u5355\u7684\u666e\u901a\u7ec4\u4ef6\u6765\u66ff\u4ee3\uff0c\u6bd5\u7adf\u662f\u8f7b\u91cf\u7ea7\u7684\u89c4\u5219\u5f15\u64ce\uff0c\u4e3b\u8981\u4f5c\u7528\u5c31\u662f\u4e3a\u4e86\u7f16\u6392\u6d41\u7a0b\u987a\u5e8f\uff0c\u590d\u6742\u7684\u573a\u666f\u5c31\u5347\u7ea7\u4f7f\u7528\u5de5\u4f5c\u6d41\u4e86\uff0c\u6240\u4ee5\u8fd9\u91cc\u53ea\u4ecb\u7ecd\u4ee5\u4e0a\u4e09\u79cd\u7ec4\u4ef6\u3002<\/p>\n<h4>3.2 EL \u89c4\u5219\u6587\u4ef6<\/h4>\n<p>\u89c4\u5219\u6587\u4ef6\u7684\u7f16\u5199\u548c\u7ec4\u4ef6\u7684\u4f7f\u7528\u662f\u5bf9\u5e94\u7684\uff0c\u8fd9\u91cc\u4f7f\u7528xml \u7684\u5f62\u5f0f\u6765\u7f16\u5199\u3002<\/p>\n<pre><code class=\"ini\"># \u6587\u4ef6\u7f16\u6392\uff0c then \u4ee3\u8868\u4e32\u884c\u6267\u884c  when \u8868\u793a\u5e76\u884c\u6267\u884c\n# \u4e32\u884c\u7f16\u6392\u793a\u4f8b\nTHEN(a, b, c, d);\n# \u5e76\u884c\u7f16\u6392\u793a\u4f8b\nWHEN(a, b, c);\n# \u4e32\u884c\u548c\u5e76\u884c\u5d4c\u5957\u7ed3\u5408\nTHEN( a, WHEN(b, c, d), e);\n# \u9009\u62e9\u7f16\u6392\u793a\u4f8b\nSWITCH(a).to(b, c, d);\n# \u6761\u4ef6\u7f16\u6392\u793a\u4f8b\nTHEN(IF(x, a),b );<\/code><\/pre>\n<h4>3.3 \u6570\u636e\u4e0a\u4e0b\u6587<\/h4>\n<p>\u5728 <code>liteflow<\/code> \u4e2d\uff0c\u6570\u636e\u4e0a\u4e0b\u6587\u7684\u6982\u5ff5\u975e\u5e38\u91cd\u8981\uff0c\u4e0a\u4e0b\u6587\u5bf9\u8c61\u8d77\u5230\u53c2\u6570\u4f20\u9012\u7684\u4f5c\u7528\uff0c\u56e0\u4e3a\u4e0d\u540c\u4e1a\u52a1\u9700\u8981\u7684\u8f93\u5165\u8f93\u51fa\u53c2\u6570\u662f\u4e0d\u540c\u7684\uff0c\u6240\u4ee5\u4e0a\u4e0b\u6587\u975e\u5e38\u7684\u91cd\u8981\u3002<\/p>\n<pre><code class=\"ini\"># \u6267\u884c\u6d41\u7a0b\u65f6\uff0c\u9700\u8981\u4f20\u9012el\u6587\u4ef6\uff0c\u521d\u59cb\u5316\u53c2\u6570\u4ee5\u53ca\u4e0a\u4e0b\u6587\u5bf9\u8c61\uff0c\u8fd9\u91cc\u7684\u4e0a\u4e0b\u6587\u53ef\u4ee5\u8bbe\u7f6e\u591a\u4e2a\nLiteflowResponse response = flowExecutor.execute2Resp(&quot;chain1&quot;, \u6d41\u7a0b\u521d\u59cb\u53c2\u6570, CustomContext.class);<\/code><\/pre>\n<p>\u56e0\u4e3a\u4e0a\u4e0b\u6587\u4f20\u5165\u7684\u662f\u4e00\u4e2a class \u7c7b\u578b\u53c2\u6570\uff0c\u6d41\u7a0b\u53c2\u6570\u662f\u53ef\u4ee5\u4f20\u5165\u53c2\u6570\u7684\uff0c\u4e00\u822c\u60c5\u51b5\u4e0b\u662f\u5728\u7b2c\u4e00\u4e2a\u8282\u70b9\u4e2d\uff0c\u5c06\u4f20\u5165\u53c2\u6570\u8bbe\u7f6e\u5230\u4e0a\u4e0b\u6587\u5bf9\u8c61\u4e2d\u3002<\/p>\n<p>Spring Boot \u57fa\u7840\u5c31\u4e0d\u4ecb\u7ecd\u4e86\uff0c\u63a8\u8350\u770b\u8fd9\u4e2a\u5b9e\u6218\u9879\u76ee\uff1a<\/p>\n<blockquote><p><a target=\"_blank\" href=\"https:\/\/link.segmentfault.com\/?enc=F6EuRQmwoA2rkYsYs6a9WQ%3D%3D.CUyQqLelegyTXHjtFbEsH0flWRpEeOD1BmnQPrgJUgfA4hx5NTmMuZmj3IzV%2B44f4rDg3MZ8AQiJdBEb2Bv%2B9g%3D%3D\" rel=\"noopener noreferrer\">https:\/\/github.com\/javastacks\/spring-boot-best-practice<\/a><\/p><\/blockquote>\n<h4>3.4 \u53c2\u6570\u914d\u7f6e<\/h4>\n<p>\u5728 <code>liteflow<\/code> \u4e2d\uff0c\u9700\u8981\u914d\u7f6e\u7684\u5185\u5bb9\u6709\u89c4\u5219\u6587\u4ef6\u5730\u5740\uff0c\u8282\u70b9\u91cd\u8bd5\uff08\u6267\u884c\u62a5\u9519\u65f6\u53ef\u4ee5\u8fdb\u884c\u91cd\u8bd5\uff0c\u7c7b\u4f3c\u4e8e spring-retry\uff09, \u6d41\u7a0b\u5e76\u884c\u6267\u884c\u7ebf\u7a0b\u6c60\u53c2\u6570\u914d\u7f6e\uff0c\u6d41\u7a0b\u7684\u8bf7\u6c42ID\u914d\u7f6e\u3002<\/p>\n<pre><code class=\"yaml\">liteflow:\n  # \u89c4\u5219\u6587\u4ef6 \u5931\u8d25\u91cd\u8bd5\u6b21\u6570 \u6253\u5370\u6267\u884c\u65e5\u5fd7 \u76d1\u63a7\u65e5\u5fd7\n  ruleSource : liteflow\/*.el.xml\n  retry-count: 0\n  print-execution-log: true\n  monitor:\n    enable-log: true\n    period: 300000\n  request-id-generator-class: com.platform.orderserver.config.AppRequestIdGenerator\n  # \u4e0a\u4e0b\u6587\u7684\u6700\u5927\u6570\u91cf\u69fd\n  slot-size : 10240\n  # \u7ebf\u7a0b\u6570\uff0c\u9ed8\u8ba4\u4e3a64\n  main-executor-works: 64\n  # \u5f02\u6b65\u7ebf\u7a0b\u6700\u957f\u7b49\u5f85\u65f6\u95f4 \u79d2\n  when-max-wait-seconds: 15\n  # when \u8282\u70b9\u5168\u5c40\u5f02\u6b65\u7ebf\u7a0b\u6c60\u6700\u5927\u7ebf\u7a0b\u6570\n  when-max-workers: 16\n  # when \u8282\u70b9\u5168\u5c40\u5f02\u6b65\u7ebf\u7a0b\u6c60\u961f\u5217\u6570\n  when-queue-limit: 5120\n  # \u5728\u542f\u52a8\u7684\u65f6\u5019\u5c31\u89e3\u6790\u89c4\u5219\n  parse-on-start: true\n  enable: true<\/code><\/pre>\n<h2>4\u3001\u4e1a\u52a1\u5b9e\u8df5<\/h2>\n<p>\u4e4b\u524d\u4ecb\u7ecd\u4e86 <code>liteflow<\/code> \u7684\u4e00\u4e9b\u6982\u5ff5\uff0c\u5728\u8fd9\u91cc\u7ed3\u5408\u4e00\u4e9b\u4e1a\u52a1\u573a\u666f\u6765\u8fdb\u884c\u6f14\u793a:<\/p>\n<pre><code class=\"xml\"># \u4e3b\u8981\u4f7f\u7528\u7535\u5546\u573a\u666f\u7684\u5e94\u7528\uff0c\u8ba2\u5355\u5b8c\u6210\u540e\uff0c\u8fdb\u884c\u79ef\u5206\u7684\u53d1\u653e\uff0c\u6d88\u606f\u53d1\u9001\uff0c\u540c\u65f6\u5e76\u884c\u53d1\u9001\u77ed\u4fe1\u548c\u90ae\u4ef6\u3002\n&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;\n&lt;flow&gt;\n    &lt;chain name=&quot;test_flow&quot;&gt;\n        THEN(\n           prepareTrade, grantScore, sendMq, WHEN(sendEmail, sendPhone)\n        );\n    &lt;\/chain&gt;\n&lt;\/flow&gt;<\/code><\/pre>\n<p>\u5728\u8ba2\u5355\u5b8c\u6210\u4e4b\u540e\u5f02\u6b65\u6267\u884c\uff0c\u4f20\u9012\u53c2\u6570\u5e76\u6267\u884c\u76f8\u5e94\u7684\u89c4\u5219\u6d41\u7a0b\u3002<\/p>\n<p><img decoding=\"async\" width=\"723\" height=\"305\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVdbBlJ\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u5728\u6b63\u5f0f\u5904\u7406\u4e1a\u52a1\u6d41\u7a0b\u4e4b\u524d\uff0c\u9700\u8981\u5148\u8fdb\u884c\u6570\u636e\u7684\u9884\u5904\u7406\uff0c\u5c06\u6d41\u7a0b\u5165\u53c2\u8f6c\u8f6c\u6362\u6210\u4e0a\u4e0b\u6587\u5bf9\u8c61\uff0c\u65b9\u4fbf\u53c2\u6570\u7684\u4f20\u9012\u548c\u8bbe\u7f6e\u3002<\/p>\n<p><img decoding=\"async\" width=\"723\" height=\"445\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVdbBlK\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u5728\u5177\u4f53\u7684\u4e1a\u52a1\u5904\u7406\u73af\u8282\uff0c\u4ee5\u79ef\u5206\u53d1\u653e\u4e3a\u4f8b\uff0c\u53ef\u4ee5\u83b7\u53d6\u4e0a\u4e0b\u6587\u5bf9\u8c61\u8fdb\u884c\u4e1a\u52a1\u64cd\u4f5c\uff0c\u540c\u65f6\u4e5f\u53ef\u4ee5\u91cd\u5199 isAccess \u65b9\u6cd5\uff0c\u6765\u5224\u65ad\u662f\u5426\u5904\u7406\u8be5\u8282\u70b9\u3002<\/p>\n<p><img decoding=\"async\" width=\"723\" height=\"359\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVdbBlL\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u5982\u4e0a\u56fe\u6240\u793a\uff0c\u5177\u4f53\u7684\u4e1a\u52a1\u6d41\u7a0b\u90fd\u53ef\u4ee5\u62bd\u8c61\u6210\u4e00\u4e2a node \u8282\u70b9\uff0c\u5b58\u653e\u5728 test_flow.el.xml \u4e2d\u8fdb\u884c\u6267\u884c\uff0c\u5176\u5b83\u7684\u4ee3\u7801\u90fd\u548c\u79ef\u5206\u53d1\u653e\u7c7b\u4f3c\uff0c\u8fd9\u91cc\u5c31\u4e0d\u518d\u8d58\u8ff0\uff0c\u53ef\u4ee5\u53c2\u89c1\u4ee3\u7801\u3002<\/p>\n<h2>5\u3001\u603b\u7ed3<\/h2>\n<p><code>liteflow<\/code> \u4e2d\u7684\u7edd\u5927\u90e8\u5206\u662f\u5728\u542f\u52a8\u65f6\u5b8c\u6210\u7684\uff0c\u5305\u62ec\u89c4\u5219\u89e3\u6790\u3001\u6ce8\u518c\u7ec4\u4ef6\u4ee5\u53ca\u7ec4\u88c5\u4fe1\u606f\uff0c\u5176\u6267\u884c\u6027\u80fd\u5f88\u9ad8\uff0c\u540c\u65f6\u4e5f\u53ef\u4ee5\u6253\u5370\u6bcf\u4e2a\u4e1a\u52a1\u73af\u8282\u7684\u8017\u65f6\u4ee5\u53ca\u7edf\u8ba1\u4fe1\u606f\u3002<\/p>\n<p>\u5728\u672c\u6587\u4e2d\uff0c\u4ecb\u7ecd\u4e86 <code>liteflow<\/code> \u7684\u57fa\u672c\u6982\u5ff5\uff0c\u4ee5\u53ca\u5177\u4f53\u7684\u4f7f\u7528\u65b9\u6cd5\uff0c\u5177\u4f53\u7684\u4ee3\u7801\u5df2\u7ecf\u4e0a\u4f20\u5230 github\uff1a<a target=\"_blank\" href=\"https:\/\/link.segmentfault.com\/?enc=l2%2BGslSMO9vDg5qtS8nuuw%3D%3D.vAtPIaK0S3lpOPHNvPK7UgxotX%2BoIcMh4TbfR%2F%2BPRqhjMxoSqgIAO7hE3uemq7ay\" rel=\"noopener noreferrer\">https:\/\/github.com\/thedestiny\/springboot-auth\/<\/a><\/p>\n<p><strong>\u66f4\u591a\u6587\u7ae0\u63a8\u8350\uff1a<\/strong><\/p>\n<p>1.<a target=\"_blank\" href=\"https:\/\/link.segmentfault.com\/?enc=a5FCVgdFh%2F6Mjr5c6VF13w%3D%3D.JMs1DgecnXZ%2FivaGzA9KT1MdV1Ue28sG21Xbj30JnUQtYDU29dyxnC1U7aaYSWDa\" rel=\"noopener noreferrer\">Spring Boot 3.x \u6559\u7a0b\uff0c\u592a\u5168\u4e86\uff01<\/a><\/p>\n<p>2.<a target=\"_blank\" href=\"https:\/\/link.segmentfault.com\/?enc=6REomR0n7ED5F2BXT2pkUg%3D%3D.7sWRpZW0XZh6SyQQdfpm4LQ5VW0Y2QtY6P6peb4CmHs%3D\" rel=\"noopener noreferrer\">2,000+ \u9053 Java\u9762\u8bd5\u9898\u53ca\u7b54\u6848\u6574\u7406(2024\u6700\u65b0\u7248)<\/a><\/p>\n<p>3.<a target=\"_blank\" href=\"https:\/\/link.segmentfault.com\/?enc=g3OjWBysg1KjC1TYhXurLg%3D%3D.AhC1pxAgZjMc%2BziN3%2BDQb3tztYrWhwy0a4vrXc%2Ftsz%2FkDc0MeLOYsC0SvmKdbdGpK4Kul5AQbXPCY6UJD1alsw%3D%3D\" rel=\"noopener noreferrer\">\u514d\u8d39\u83b7\u53d6 IDEA \u6fc0\u6d3b\u7801\u7684 7 \u79cd\u65b9\u5f0f\uff082024\u6700\u65b0\u7248\uff09<\/a><\/p>\n<p>\u89c9\u5f97\u4e0d\u9519\uff0c\u522b\u5fd8\u4e86\u968f\u624b\u70b9\u8d5e+\u8f6c\u53d1\u54e6\uff01<\/p>\n<p><a href=\"https:\/\/segmentfault.com\/a\/1190000044671844\">https:\/\/segmentfault.com\/a\/1190000044671844<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f5c\u8005\uff1a\u8c6b\u5dde\u7267\/\u94fe\u63a5\uff1ahttps:\/\/juejin.cn\/post\/7296771770098745344 1\u3001 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-10008415","post","type-post","status-publish","format-standard","hentry","category-share"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10008415","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10008415"}],"version-history":[{"count":0,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10008415\/revisions"}],"wp:attachment":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10008415"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10008415"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10008415"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}