{"id":2123,"date":"2026-05-26T07:05:25","date_gmt":"2026-05-26T07:05:25","guid":{"rendered":"https:\/\/www.vpascode.com\/cn\/docs\/uncategorized\/plantuml-sequence-diagram-syntax-guide\/"},"modified":"2026-05-26T07:05:25","modified_gmt":"2026-05-26T07:05:25","slug":"plantuml-sequence-diagram-syntax-guide","status":"publish","type":"ld_docs","link":"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/plantuml-sequence-diagram-syntax-guide\/","title":{"rendered":"PlantUML \u987a\u5e8f\u56fe\u8bed\u6cd5\u6307\u5357"},"content":{"rendered":"<h2>\u4ec0\u4e48\u662f\u987a\u5e8f\u56fe\uff1f<\/h2>\n<p>\u4e00\u4e2a<strong>\u987a\u5e8f\u56fe<\/strong>\u662f\u4e00\u79cd\u884c\u4e3a<strong>UML \u56fe<\/strong>\u8be6\u7ec6\u63cf\u8ff0\u4e86\u8f6f\u4ef6\u64cd\u4f5c\u968f\u65f6\u95f4\u8fdb\u884c\u7684\u65b9\u5f0f\u3002\u4f5c\u4e3a\u7edf\u4e00\u5efa\u6a21\u8bed\u8a00\uff08UML\uff09\u89c4\u8303\u7684\u6838\u5fc3\u6807\u51c6\uff0c\u5b83\u7cbe\u786e\u5730\u5efa\u6a21\u4e86\u5bf9\u8c61\u3001\u8fdb\u7a0b\u6216\u5fae\u670d\u52a1\u4e4b\u95f4\u4ea4\u6362\u6d88\u606f\u7684\u65f6\u5e8f\u987a\u5e8f\u3002\u901a\u8fc7\u5c06\u751f\u547d\u7ebf\u5782\u76f4\u6392\u5217\uff0c\u5c06\u987a\u5e8f\u4ea4\u4e92\u6c34\u5e73\u6392\u5217\uff0c\u8fd9\u79cd\u7279\u5b9a\u7684<strong>UML \u56fe\u7c7b\u578b<\/strong>\u4f7f\u8f6f\u4ef6\u5de5\u7a0b\u5e08\u548c\u7cfb\u7edf\u67b6\u6784\u5e08\u80fd\u591f\u5728\u7f16\u5199\u751f\u4ea7\u4ee3\u7801\u4e4b\u524d\uff0c\u6e05\u6670\u5730\u53ef\u89c6\u5316\u590d\u6742\u7684 API \u8c03\u7528\u5e8f\u5217\u3001\u7f51\u7edc\u6570\u636e\u63e1\u624b\u4ee5\u53ca\u6570\u636e\u5e93\u4e8b\u52a1\u8fb9\u754c\u3002<\/p>\n<p>\u4f7f\u7528<strong>VPasCode<\/strong>\u60a8\u65e0\u9700\u82b1\u8d39\u6570\u5c0f\u65f6\u6765\u5bf9\u9f50\u5e73\u884c\u7bad\u5934\u3001\u62c9\u4f38\u6d88\u606f\u7ebf\u6216\u79fb\u52a8\u8fb9\u754c\u6846\u4ee5\u817e\u51fa\u65b0\u6b65\u9aa4\u7684\u7a7a\u95f4\u3002\u6211\u4eec\u7684\u5e03\u5c40\u5f15\u64ce\u4f1a\u968f\u7740\u60a8\u8f93\u5165\u7eaf\u6587\u672c\u58f0\u660e\u5f0f\u811a\u672c\uff0c\u52a8\u6001\u8ba1\u7b97\u6574\u4e2a\u65f6\u95f4\u8f74\u7f51\u683c\u3002<\/p>\n<h2>\u6838\u5fc3\u8bed\u6cd5\u6307\u5357\uff1a\u5143\u7d20\u4e0e\u6784\u9020<\/h2>\n<p>\u8981\u5728 PlantUML \u4e2d\u8bbe\u8ba1\u51fa\u53ef\u6267\u884c\u4e14\u7b26\u5408\u6807\u51c6\u7684 UML \u987a\u5e8f\u56fe\uff0c\u60a8\u9700\u8981\u638c\u63e1\u7ec4\u4ef6\u58f0\u660e\u3001\u6d88\u606f\u7bad\u5934\u6837\u5f0f\u3001\u751f\u547d\u7ebf\u4ee5\u53ca\u903b\u8f91\u63a7\u5236\u7ed3\u6784\u3002<\/p>\n<h3>1. \u58f0\u660e UML \u53c2\u4e0e\u8005\u548c\u5f62\u72b6<\/h3>\n<p>\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u6b64 UML \u56fe\u4e2d\u7684\u7ec4\u4ef6\u7ee7\u627f\u6807\u51c6\u7684\u65b9\u5f62\u6846\u5f62\u72b6\u3002\u7136\u800c\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u7279\u5b9a\u7684 UML \u5173\u952e\u5b57\u66f4\u6539\u5b9e\u4f53\u7684\u89c6\u89c9\u539f\u578b\uff0c\u4ece\u800c\u4e3a\u8bfb\u8005\u63d0\u4f9b\u5173\u4e8e\u7cfb\u7edf\u8fb9\u754c\u7684\u5373\u65f6\u67b6\u6784\u4e0a\u4e0b\u6587\u3002<\/p>\n<div class=\"vpascode-viewer-container vpascode-fancy-active\">\n<div class=\"vpascode-header\">\n<span class=\"vpascode-lang-label\">Plantuml<\/span><br \/>\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:IqmkoIzISCx9JCqhuULAoY_DIqaigbHGSWpmL71FB4ajJwnKKaWiXh5vkPBpyqgAydCKd25qJceHBrTAOabYKc9nge9IG7vnINfHQd2W3rYNYnC0\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 8px;\" viewbox=\"0 0 24 24\" width=\"14\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg><br \/>\n<span>\u5728 VPasCode \u4e2d\u7f16\u8f91 Plantuml<\/span><br \/>\n<\/a>\n<\/div>\n<div class=\"vpascode-code-wrapper\">\n            <div class=\"vpascode-viewer-container vpascode-fancy-active\">\r\n                                <div class=\"vpascode-header\">\r\n                    <span class=\"vpascode-lang-label\">Plantuml<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:IqmkoIzIUBfkqREExSzNh-VbIielpKj9BAfKK78Cy5HuldVYqzRDIWg9nL0cBrToVbv9KNwEmhE-vKyxjZsTkOANAoMn934fiJXLGIaWlxWalIWrED07hCV52G00\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 8px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Plantuml in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n                                <div class=\"vpascode-code-wrapper\">\r\n                    <pre class=\"lang-plantuml\"><code class=\"language-plantuml\" data-language=\"plantuml\" class=\"language-plantuml\">actor \u5ba2\u6237\u7aef\r\nboundary \"API \u7f51\u5173\" as \u7f51\u5173\r\ncontrol \u63a7\u5236\u5668\r\ndatabase \"PostgreSQL\" as DB<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:IqmkoIzIUBfkqREExSzNh-VbIielpKj9BAfKK78Cy5HuldVYqzRDIWg9nL0cBrToVbv9KNwEmhE-vKyxjZsTkOANAoMn934fiJXLGIaWlxWalIWrED07hCV52G00\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 6px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Plantuml in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n            <\/div>\r\n            \n<\/p><\/div>\n<div class=\"vpascode-actions\">\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:IqmkoIzISCx9JCqhuULAoY_DIqaigbHGSWpmL71FB4ajJwnKKaWiXh5vkPBpyqgAydCKd25qJceHBrTAOabYKc9nge9IG7vnINfHQd2W3rYNYnC0\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 6px;\" viewbox=\"0 0 24 24\" width=\"14\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg><br \/>\n<span>\u5728 VPasCode \u4e2d\u7f16\u8f91 Plantuml<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"KAQHVeB\"><img fetchpriority=\"high\" alt=\"\" class=\"alignnone size-full wp-image-559\" decoding=\"async\" fetchpriority=\"high\" height=\"171\" sizes=\"(max-width: 327px) 100vw, 327px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18f8637e3aa.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18f8637e3aa.png 327w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18f8637e3aa-300x157.png 300w\" width=\"327\"\/><\/p>\n<h3>2. \u6d88\u606f\u7bad\u5934\u4e0e\u540c\u6b65\u6027<\/h3>\n<p>\u7bad\u5934\u7ebf\u548c\u7bad\u5934\u5934\u7684\u6837\u5f0f\u6839\u636e UML \u56fe\u6807\u51c6\uff0c\u786e\u7acb\u4e86\u5728\u60a8\u7684\u57fa\u7840\u8bbe\u65bd\u7ba1\u9053\u4e2d\u53d1\u751f\u7684\u7cbe\u786e\u901a\u4fe1\u534f\u8bae\uff1a<\/p>\n<ul>\n<li><strong>\u540c\u6b65\u8bf7\u6c42\uff08\u963b\u585e\uff09\uff1a<\/strong>\u7531\u5b9e\u7ebf\u548c\u5b9e\u5fc3\u7bad\u5934\u5934\u8868\u793a\u3002\u53d1\u9001\u65b9\u7b49\u5f85\u54cd\u5e94\uff1a<code>A -&gt; B<\/code><\/li>\n<li><strong>\u5f02\u6b65\u6d88\u606f\uff08\u975e\u963b\u585e\uff09\uff1a<\/strong>\u7531\u5b9e\u7ebf\u548c\u7a7a\u5fc3\u7ec6\u7bad\u5934\u5934\u8868\u793a\u3002\u53d1\u9001\u65b9\u4f20\u9012\u6570\u636e\u5e76\u7acb\u5373\u7ee7\u7eed\uff1a<code>A -&gt;&gt; B<\/code><\/li>\n<li><strong>\u54cd\u5e94 \/ \u8fd4\u56de\u503c\uff1a<\/strong>\u7531\u865a\u7ebf\u548c\u7a7a\u5fc3\u7bad\u5934\u5934\u8868\u793a\uff1a<code>B --&gt; A<\/code><\/li>\n<\/ul>\n<h3>3. \u7ba1\u7406\u751f\u547d\u7ebf\uff08\u6fc0\u6d3b\u548c\u505c\u7528\uff09<\/h3>\n<p>\u4e3a\u4e86\u907f\u514d\u4f60\u7684\u7ec4\u4ef6\u770b\u8d77\u6765\u50cf\u6241\u5e73\u7684\u6761\u5f62\uff0c\u4f60\u5e94\u8be5\u660e\u786e\u5c55\u793a\u8fdb\u7a0b\u6b63\u5728\u79ef\u6781\u6d88\u8017CPU\u7ebf\u7a0b\u6216\u5185\u5b58\u5bb9\u91cf\u7684\u65f6\u523b\u3002\u4f7f\u7528<code>activate<\/code> \u548c <code>deactivate<\/code> \u6807\u8bb0\uff0c\u6216\u8005\u4f7f\u7528\u7b80\u5199\u5185\u8054\u9012\u589e\u8bed\u6cd5\uff08<code>++<\/code> \/ <code>--<\/code>):<\/p>\n<div class=\"vpascode-viewer-container vpascode-fancy-active\">\n<div class=\"vpascode-header\">\n<span class=\"vpascode-lang-label\">Plantuml<\/span><br \/>\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:SqyiIIrFh5JGjLDmpiyhAShFoKajKj3MLh1IK2eeoazEBIuEIApCJSqhqT1KukL2KgCBrE8EqwqBKb-KMb9QbATGb9gScbbGeWG0\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 8px;\" viewbox=\"0 0 24 24\" width=\"14\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg><br \/>\n<span>\u5728VPasCode\u4e2d\u7f16\u8f91Plantuml<\/span><br \/>\n<\/a>\n<\/div>\n<div class=\"vpascode-code-wrapper\">\n            <div class=\"vpascode-viewer-container vpascode-fancy-active\">\r\n                                <div class=\"vpascode-header\">\r\n                    <span class=\"vpascode-lang-label\">Plantuml<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:SqyiIIrFh5JGjLDmpiyhAShFoKajKj3MLh1IK2eeoazEBIuEIApCJSqhqT1KukL2KgCBrE8EqwqBKlzY_vIdi-SzcxBjMUyw9G00\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 8px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Plantuml in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n                                <div class=\"vpascode-code-wrapper\">\r\n                    <pre class=\"lang-plantuml\"><code class=\"language-plantuml\" data-language=\"plantuml\" class=\"language-plantuml\">Gateway -&gt; Controller ++ : \"processPayment()\"\r\nController --&gt; Gateway -- : \"\u8fd4\u56de\u6536\u636e\"<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:SqyiIIrFh5JGjLDmpiyhAShFoKajKj3MLh1IK2eeoazEBIuEIApCJSqhqT1KukL2KgCBrE8EqwqBKlzY_vIdi-SzcxBjMUyw9G00\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 6px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Plantuml in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n            <\/div>\r\n            \n<\/p><\/div>\n<div class=\"vpascode-actions\">\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:SqyiIIrFh5JGjLDmpiyhAShFoKajKj3MLh1IK2eeoazEBIuEIApCJSqhqT1KukL2KgCBrE8EqwqBKb-KMb9QbATGb9gScbbGeWG0\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 6px;\" viewbox=\"0 0 24 24\" width=\"14\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg><br \/>\n<span>\u5728VPasCode\u4e2d\u7f16\u8f91Plantuml<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"gzStGhj\"><img alt=\"\" class=\"alignnone size-full wp-image-560\" decoding=\"async\" height=\"140\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18f8700563f.png\" width=\"235\"\/><\/p>\n<h3>4. \u903b\u8f91\u5757\uff1a\u9009\u62e9\u3001\u5faa\u73af\u548c\u5e76\u884c<\/h3>\n<p>\u590d\u6742\u7684\u4e1a\u52a1\u903b\u8f91\uff08\u4f8b\u5982if\/else\u5206\u652f\u3001\u6570\u636e\u5e93\u91cd\u8bd5\u6216\u5e76\u884c\u6267\u884c\u7ebf\u7a0b\uff09\u5fc5\u987b\u5305\u88f9\u5728UML\u56fe\u89c4\u8303\u4e2d\u79f0\u4e3a\u7ec4\u5408\u7247\u6bb5\u7684\u7ed3\u6784\u5316\u5168\u5c40\u6846\u67b6\u8fb9\u754c\u5185\uff1a<\/p>\n<ul>\n<li><strong>\u6761\u4ef6\u903b\u8f91\uff08alt \/ else\uff09\uff1a<\/strong> \u6a21\u578b\u6761\u4ef6\u5206\u652f\u3002\n<div class=\"vpascode-viewer-container vpascode-fancy-active\">\n<div class=\"vpascode-header\">\n<span class=\"vpascode-lang-label\">Plantuml<\/span><br \/>\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:NSmn2e0m44JHNl0EWxqNi13q11PU82GZ1a8MTpTuVRNrz--7uh0M8ysELX2bfknPQj_XRS4uOyM4OLE9PCAT_OJoQZGV-ex5Y2FaqfGm3yu_t4-L6rGLVU-97whf0G00\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 8px;\" viewbox=\"0 0 24 24\" width=\"14\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg><br \/>\n<span>\u5728VPasCode\u4e2d\u7f16\u8f91Plantuml<\/span><br \/>\n<\/a>\n<\/div>\n<div class=\"vpascode-code-wrapper\">\n            <div class=\"vpascode-viewer-container vpascode-fancy-active\">\r\n                                <div class=\"vpascode-header\">\r\n                    <span class=\"vpascode-lang-label\">Plantuml<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:IymfKNZMCU5fr_ndSnS-sRsDbqi121mLTEqKd1Ii59IUxrx-VFVQ5-ktFzlOfCJBbPfJdAhmTCd65rkMFk_QzgoX4LtziwxPJzjtlPmoyyNwzKzsBtw-e16aAoy50000\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 8px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Plantuml in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n                                <div class=\"vpascode-code-wrapper\">\r\n                    <pre class=\"lang-plantuml\"><code class=\"language-plantuml\" data-language=\"plantuml\" class=\"language-plantuml\">alt \u6210\u529f\u6761\u4ef6\r\n    A -&gt; B : \"\u7ee7\u7eed\u8bf7\u6c42\"\r\nelse \u5931\u8d25\u72b6\u6001\r\n    A -&gt; B : \"\u629b\u51fa\u9519\u8bef\u4ee3\u7801\"\r\nend<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:IymfKNZMCU5fr_ndSnS-sRsDbqi121mLTEqKd1Ii59IUxrx-VFVQ5-ktFzlOfCJBbPfJdAhmTCd65rkMFk_QzgoX4LtziwxPJzjtlPmoyyNwzKzsBtw-e16aAoy50000\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 6px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Plantuml in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n            <\/div>\r\n            \n<\/p><\/div>\n<div class=\"vpascode-actions\">\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:NSmn2e0m44JHNl0EWxqNi13q11PU82GZ1a8MTpTuVRNrz--7uh0M8ysELX2bfknPQj_XRS4uOyM4OLE9PCAT_OJoQZGV-ex5Y2FaqfGm3yu_t4-L6rGLVU-97whf0G00\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 6px;\" viewbox=\"0 0 24 24\" width=\"14\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg><br \/>\n<span>\u5728VPasCode\u4e2d\u7f16\u8f91Plantuml<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"IiQjPoY\"><img alt=\"\" class=\"alignnone size-full wp-image-561\" decoding=\"async\" height=\"186\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18f87e19b90.png\" width=\"223\"\/><\/p>\n<\/li>\n<li><strong>\u91cd\u590d\u5faa\u73af\uff08loop\uff09\uff1a<\/strong> \u6a21\u578b\u8fed\u4ee3\u3001\u91cd\u8bd5\u6216\u961f\u5217\u5904\u7406\u5757\uff0c\u76f4\u5230\u6ee1\u8db3\u6761\u4ef6\u4e3a\u6b62\u3002\n<div class=\"vpascode-viewer-container vpascode-fancy-active\">\n<div class=\"vpascode-header\">\n<span class=\"vpascode-lang-label\">Plantuml<\/span><br \/>\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:oydFBr0epIl9p54eB4qjJLN8B5P8pIqegUJbKW22yFoYxDGY1LqxXK2mh9M2abjgINA6GbvgHOb2LdwI4YzNQbuA0000\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 8px;\" viewbox=\"0 0 24 24\" width=\"14\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg><br \/>\n<span>\u5728VPasCode\u4e2d\u7f16\u8f91Plantuml<\/span><br \/>\n<\/a>\n<\/div>\n<div class=\"vpascode-code-wrapper\">\n            <div class=\"vpascode-viewer-container vpascode-fancy-active\">\r\n                                <div class=\"vpascode-header\">\r\n                    <span class=\"vpascode-lang-label\">Plantuml<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:0Ki0jFziRszm8EURjEM8iEcOd-M8b-IukkUfkWqA820W85TlScjbSY0jFY1HTMLrPI0w82BeZhVbZvRak8lak83akAhakxlbYg4Y3GfbRcG0\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 8px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Plantuml in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n                                <div class=\"vpascode-code-wrapper\">\r\n                    <pre class=\"lang-plantuml\"><code class=\"language-plantuml\" data-language=\"plantuml\" class=\"language-plantuml\">loop \u76f4\u5230\u961f\u5217\u4e3a\u7a7a\r\n    Worker -&gt; Queue : \"\u83b7\u53d6\u4e0b\u4e00\u4e2a\u4efb\u52a1\"\r\nend<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:0Ki0jFziRszm8EURjEM8iEcOd-M8b-IukkUfkWqA820W85TlScjbSY0jFY1HTMLrPI0w82BeZhVbZvRak8lak83akAhakxlbYg4Y3GfbRcG0\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 6px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Plantuml in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n            <\/div>\r\n            \n<\/p><\/div>\n<div class=\"vpascode-actions\">\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:oydFBr0epIl9p54eB4qjJLN8B5P8pIqegUJbKW22yFoYxDGY1LqxXK2mh9M2abjgINA6GbvgHOb2LdwI4YzNQbuA0000\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 6px;\" viewbox=\"0 0 24 24\" width=\"14\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg><br \/>\n<span>\u5728VPasCode\u4e2d\u7f16\u8f91Plantuml<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"xTCUEgP\"><img loading=\"lazy\" alt=\"\" class=\"alignnone size-full wp-image-562\" decoding=\"async\" height=\"142\" loading=\"lazy\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18f88daf040.png\" width=\"237\"\/><\/p>\n<\/li>\n<li><strong>\u5e76\u884c\u6267\u884c\uff08par\uff09\uff1a<\/strong> \u6a21\u578b\u5c06\u72ec\u7acb\u7ebf\u7a0b\u4e0a\u540c\u65f6\u6267\u884c\u7684\u64cd\u4f5c\u5206\u79bb\u5f00\u6765\u3002\n<div class=\"vpascode-viewer-container vpascode-fancy-active\">\n<div class=\"vpascode-header\">\n<span class=\"vpascode-lang-label\">Plantuml<\/span><br \/>\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:JOmx2iD030LxW-_mS9yBf0ZaKwPAYjHYBGU1zeCa6tpxUBkyRc3cDJAyre96HggiQ5OJkxEF0uvTSRhWMRzljaqIuupfOnACC3gG2kaUadmQ1rRdl-Xnw_AzvYo1j7hKpDRl5r76J46zAVCF\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 8px;\" viewbox=\"0 0 24 24\" width=\"14\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg><br \/>\n<span>\u5728VPasCode\u4e2d\u7f16\u8f91Plantuml<\/span><br \/>\n<\/a>\n<\/div>\n<div class=\"vpascode-code-wrapper\">\n            <div class=\"vpascode-viewer-container vpascode-fancy-active\">\r\n                                <div class=\"vpascode-header\">\r\n                    <span class=\"vpascode-lang-label\">Plantuml<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:AqWiKdYwSzkBXJqlzay0axEVh-ZcvL800aS5NJk5PzENFjq__TcStgTT2nMi59IUjiryshhqnVwzBtQiUjhHzcpU12LUhjISubHaFLCtFEjTztJNP926P_qJdknQydJTecSTsrziRNasRIP46gGjBmK0\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 8px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Plantuml in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n                                <div class=\"vpascode-code-wrapper\">\r\n                    <pre class=\"lang-plantuml\"><code class=\"language-plantuml\" data-language=\"plantuml\" class=\"language-plantuml\">par \u5e76\u884c\u8fd0\u884c\u8fdb\u7a0b\r\n    A -&gt; \u65e5\u5fd7\u670d\u52a1 : \"\u5199\u5165\u8ffd\u8e2a\u5206\u6790\"\r\nelse\r\n    A -&gt; \u6570\u636e\u5e93 : \"\u63d0\u4ea4\u5ba2\u6237\u8d44\u6599\u6570\u636e\"\r\nend<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:AqWiKdYwSzkBXJqlzay0axEVh-ZcvL800aS5NJk5PzENFjq__TcStgTT2nMi59IUjiryshhqnVwzBtQiUjhHzcpU12LUhjISubHaFLCtFEjTztJNP926P_qJdknQydJTecSTsrziRNasRIP46gGjBmK0\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 6px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Plantuml in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n            <\/div>\r\n            \n<\/p><\/div>\n<div class=\"vpascode-actions\">\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:JOmx2iD030LxW-_mS9yBf0ZaKwPAYjHYBGU1zeCa6tpxUBkyRc3cDJAyre96HggiQ5OJkxEF0uvTSRhWMRzljaqIuupfOnACC3gG2kaUadmQ1rRdl-Xnw_AzvYo1j7hKpDRl5r76J46zAVCF\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 6px;\" viewbox=\"0 0 24 24\" width=\"14\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg><br \/>\n<span>\u5728VPasCode\u4e2d\u7f16\u8f91Plantuml<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"xCknQAJ\"><img loading=\"lazy\" alt=\"\" class=\"alignnone size-full wp-image-563\" decoding=\"async\" height=\"174\" loading=\"lazy\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18fd43b0677.png\" width=\"295\"\/><\/p>\n<\/li>\n<\/ul>\n<h2>\u6e05\u6670\u5e8f\u5217\u7684\u6700\u4f73\u5b9e\u8df5<\/h2>\n<ul>\n<li><strong>\u4f7f\u7528\u5206\u9694\u7b26\u5bf9\u6d88\u606f\u8fdb\u884c\u5206\u7ec4\uff1a<\/strong> \u4f7f\u7528\u53cc\u7b49\u53f7 (&#8220;<code>== \u60a8\u7684\u9636\u6bb5 ==<\/code>) \u5c06\u5e9e\u5927\u7684\u4ece\u8ba4\u8bc1\u5230\u7ed3\u8d26\u7684\u6d41\u7a0b\u5206\u89e3\u4e3a\u4e0d\u540c\u7684\u903b\u8f91\u91cc\u7a0b\u7891\u3002<\/li>\n<li><strong>\u4f7f\u7528\u81ea\u52a8\u7f16\u53f7\uff1a<\/strong> \u5c06 <code>autonumber<\/code> \u6307\u4ee4\u76f4\u63a5\u653e\u5728 <code>@startuml<\/code>\u3002\u8fd9\u4f1a\u5f3a\u5236\u5de5\u4f5c\u533a\u5728\u6bcf\u4e2a\u7bad\u5934\u4e0a\u6807\u8bb0\u6b65\u9aa4\u7f16\u53f7\uff0c\u4f7f\u4ee3\u7801\u5ba1\u67e5\u53d8\u5f97\u5bb9\u6613\u5f97\u591a\u3002<\/li>\n<li><strong>\u4fdd\u6301\u54cd\u5e94\u7b80\u6d01\uff1a<\/strong> \u907f\u514d\u5728\u8fd4\u56de\u7bad\u5934\uff08<code>--&gt;<\/code>\uff09\u4e0a\u5199\u5927\u6bb5\u63cf\u8ff0\u6027\u8bed\u53e5\u3002\u76f8\u53cd\uff0c\u53ea\u9700\u6807\u6ce8\u8fd4\u56de\u7684\u539f\u59cb\u6570\u636e\u5bf9\u8c61\u6216HTTP\u72b6\u6001\u7801\uff08\u4f8b\u5982\uff0c<code>\"201 \u5df2\u521b\u5efa\u4ee4\u724c\"<\/code>).<\/li>\n<\/ul>\n<h2>\u73b0\u5b9e\u4e16\u754c\u4e2d\u7684PlantUML\u5e8f\u5217\u56fe\u793a\u4f8b<\/h2>\n<h3>\u793a\u4f8b1\uff1a\u5fae\u670d\u52a1\u8ba4\u8bc1\u5faa\u73af\uff08Alt\u5757\u4e0e\u751f\u547d\u7ebf\uff09<\/h3>\n<p>\u6b64\u6a21\u677f\u5904\u7406\u4e00\u4e2a\u6807\u51c6\u7684\u5b89\u5168\u6d41\u7a0b\uff0c\u5ba2\u6237\u7aef\u5411\u7f51\u5173\u8fdb\u884c\u8ba4\u8bc1\uff0c\u5c55\u793a\u4e86\u663e\u5f0f\u7684\u751f\u547d\u5468\u671f\u7ebf\u4ee5\u53ca\u5728\u6807\u51c6UML\u56fe\u683c\u5f0f\u5185\u7684\u66ff\u4ee3\u6761\u4ef6\u7ed3\u679c\u6846\u67b6\u3002<\/p>\n<div class=\"vpascode-viewer-container vpascode-fancy-active\">\n<div class=\"vpascode-header\">\n<span class=\"vpascode-lang-label\">Plantuml<\/span><br \/>\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:TP5FImCn4CNl2_aEGxmefNGhdZn8YugeXHPtIy_PpTWDpIObVrRqqplJxg47pIN3p8_tNYQBc5H8kRUYK3bvb_i60zLjyW6saUl6PwTL-0QvmmQMnwC45VaMHUjT2jw2NERKGOLXC2sUnzGGXIXO0gOFZCDa0lSWgzpq9i5ZG8qk6MMZ50MFcMAPCxPPLpNCXlcCOdMIfPHDSBKo-owz14G7LMvRZF4pMrZvlN6Y03edYUdeI3gtPGdhTxX-szLG-mEw6pc2R4dSAI617-WqLKygTerNGHE6Dk9ekJ7k0AzkKDReo-n_czwLSzWwJkw3-K7zZsNL-Izu3e5MNNiL4riwpM_LI3zW1fLmtEHbWpU_891-xHS0\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 8px;\" viewbox=\"0 0 24 24\" width=\"14\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg><br \/>\n<span>\u5728VPasCode\u4e2d\u7f16\u8f91Plantuml<\/span><br \/>\n<\/a>\n<\/div>\n<div class=\"vpascode-code-wrapper\">\n            <div class=\"vpascode-viewer-container vpascode-fancy-active\">\r\n                                <div class=\"vpascode-header\">\r\n                    <span class=\"vpascode-lang-label\">Plantuml<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:TL5FIm917BqFp7VuCLqA4TVer27i55IWaE1vpI4btMITzTmVeaty1oabA2Oi948A7SfSiY-pCxjzYsPo3nrgJiFllTzxRzuaAamtcLKgOgHRxComIbbgOiHRbzwy6PnVWzyP2_iDes3vxdVhG38qonSTEIMWLs2tNCP8D9-u_Geac3h1x4Bq6xmsMg4MosE4qKe3eZkA3v48R0CHhRQtSFZDisXC2KOAKBZS20cfv54QOjLuJERA4oMZ5nci7HPEycpFfDG0l-VoZwwmsxmsn0Za-LcFXZvIOrFJ87a0w_kPjESw_crzWuH4PITvOJALP_uYXdUUEmb6Op7ub3nQhD3GBrKmJc6LLTm_YgxzjzsM5WVHduYcBGPN_pizB7rdyTNf1REPR47UbPcHKq_CKVsO5Qewes5vlmUgwuGaoj_w1W00\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 8px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Plantuml in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n                                <div class=\"vpascode-code-wrapper\">\r\n                    <pre class=\"lang-plantuml\"><code class=\"language-plantuml\" data-language=\"plantuml\" class=\"language-plantuml\">@startuml\r\nautonumber\r\n\u53c2\u4e0e\u8005 \u7528\u6237\r\n\u8fb9\u754c \"Web\u5e94\u7528\" as App\r\n\u63a7\u5236 \"\u8ba4\u8bc1\u670d\u52a1\" as Auth\r\n\r\n\u7528\u6237 -&gt; App ++ : \"\u63d0\u4ea4\u51ed\u636e\"\r\nApp -&gt; Auth ++ : \"POST \/v1\/auth\"\r\n\r\nalt #LightGreen \u767b\u5f55\u6210\u529f\r\n    Auth --&gt; App : \"200 OK (JWT\u4ee4\u724c)\"\r\n    App --&gt; \u7528\u6237 : \"\u6e32\u67d3\u4eea\u8868\u677f\"\r\nelse #LightPink \u51ed\u636e\u65e0\u6548\r\n    Auth --&gt; App : \"401 \u672a\u6388\u6743\"\r\n    App --&gt; \u7528\u6237 : \"\u663e\u793a\u9519\u8bef\u63d0\u793a\"\r\nend\r\n\r\ndeactivate Auth\r\ndeactivate App\r\n@enduml<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:TL5FIm917BqFp7VuCLqA4TVer27i55IWaE1vpI4btMITzTmVeaty1oabA2Oi948A7SfSiY-pCxjzYsPo3nrgJiFllTzxRzuaAamtcLKgOgHRxComIbbgOiHRbzwy6PnVWzyP2_iDes3vxdVhG38qonSTEIMWLs2tNCP8D9-u_Geac3h1x4Bq6xmsMg4MosE4qKe3eZkA3v48R0CHhRQtSFZDisXC2KOAKBZS20cfv54QOjLuJERA4oMZ5nci7HPEycpFfDG0l-VoZwwmsxmsn0Za-LcFXZvIOrFJ87a0w_kPjESw_crzWuH4PITvOJALP_uYXdUUEmb6Op7ub3nQhD3GBrKmJc6LLTm_YgxzjzsM5WVHduYcBGPN_pizB7rdyTNf1REPR47UbPcHKq_CKVsO5Qewes5vlmUgwuGaoj_w1W00\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 6px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Plantuml in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n            <\/div>\r\n            \n<\/p><\/div>\n<div class=\"vpascode-actions\">\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:TP5FImCn4CNl2_aEGxmefNGhdZn8YugeXHPtIy_PpTWDpIObVrRqqplJxg47pIN3p8_tNYQBc5H8kRUYK3bvb_i60zLjyW6saUl6PwTL-0QvmmQMnwC45VaMHUjT2jw2NERKGOLXC2sUnzGGXIXO0gOFZCDa0lSWgzpq9i5ZG8qk6MMZ50MFcMAPCxPPLpNCXlcCOdMIfPHDSBKo-owz14G7LMvRZF4pMrZvlN6Y03edYUdeI3gtPGdhTxX-szLG-mEw6pc2R4dSAI617-WqLKygTerNGHE6Dk9ekJ7k0AzkKDReo-n_czwLSzWwJkw3-K7zZsNL-Izu3e5MNNiL4riwpM_LI3zW1fLmtEHbWpU_891-xHS0\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 6px;\" viewbox=\"0 0 24 24\" width=\"14\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg><br \/>\n<span>\u5728VPasCode\u4e2d\u7f16\u8f91Plantuml<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"PVLiNCs\"><img loading=\"lazy\" alt=\"\" class=\"alignnone size-full wp-image-564\" decoding=\"async\" height=\"392\" loading=\"lazy\" sizes=\"auto, (max-width: 455px) 100vw, 455px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18fd5649b30.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18fd5649b30.png 455w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18fd5649b30-300x258.png 300w\" width=\"455\"\/><\/p>\n<p><strong>\u8bed\u6cd5\u5206\u89e3\uff1a<\/strong> \u8be5 <code>\u81ea\u52a8\u7f16\u53f7<\/code> \u6807\u7b7e\u81ea\u52a8\u7ba1\u74061\u52305\u7684\u7f16\u53f7\u3002\u8be5 <code>\u66ff\u4ee3<\/code> \u548c <code>\u5426\u5219<\/code> \u5757\u4f1a\u9644\u52a0\u81ea\u5b9a\u4e49\u7684\u5341\u516d\u8fdb\u5236\u989c\u8272\u6807\u5fd7\uff08\u4f8b\u5982\uff0c<code>#LightGreen<\/code>\uff09\u4ee5\u7acb\u5373\u5728\u6210\u529f\u4e0e\u5931\u8d25\u7684\u6267\u884c\u8def\u5f84\u4e4b\u95f4\u6dfb\u52a0\u89c6\u89c9\u7a81\u51fa\u663e\u793a\u3002\u8be5 <code>++<\/code> \u6807\u8bb0\u786e\u4fdd\u5728\u7f51\u7edc\u8c03\u7528\u5757\u671f\u95f4\u751f\u547d\u7ebf\u4fdd\u6301\u6d3b\u8dc3\u3002<\/p>\n<h3>\u793a\u4f8b2\uff1a\u9ad8\u7ea7\u8ba2\u5355\u5904\u7406\uff08\u5faa\u73af\u3001\u5e76\u884c\u548c\u5206\u9694\u7b26\uff09<\/h3>\n<p>\u6b64\u4f01\u4e1a\u67b6\u6784\u84dd\u56fe\u6a21\u62df\u4e86\u4e00\u4e2a\u5f3a\u5927\u7684\u7ed3\u8d26\u7cfb\u7edf\uff0c\u8be5\u7cfb\u7edf\u5c06\u4efb\u52a1\u5206\u914d\u7ed9\u5e76\u884c\u5de5\u4f5c\u7ebf\u7a0b\uff0c\u6267\u884c\u6570\u636e\u5e93\u5199\u5165\uff0c\u5e76\u4f9d\u8d56\u5916\u90e8\u7cfb\u7edf\u540c\u6b65\u5faa\u73af\u3002<\/p>\n<div class=\"vpascode-viewer-container vpascode-fancy-active\">\n<div class=\"vpascode-header\">\n<span class=\"vpascode-lang-label\">Plantuml<\/span><br \/>\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:PL9HQzim47ut-3ySVbWsIg3htW8fJHpA2gFr5dTz7B9qYKLaoPoaZkpNxoHxfM5waT3TVTzttzsT3u9274nPY1YSZKE7L1QTYrO9EaDLzoXFBWROD0yL29_kib0YY4vuXEg959A7tJO7TzkoaCu6SWQg5qSd9FWUCMAEvjTxy7qWFKwnwLaMPR5UGzCdxCyhQ4bOBsJGpi8tL4U6-ocCPlhqirwN1Sk1vIqJmzKLh9YKT41eq2fjZv3LLMN1uILdvUHbIii1UDX1xUn1qu2gkk2-MK4ZpWFQ01zWuyzMmdqq1srC_dl7F0cVsUjUq16XZZwuWGasKdApWR7dj4iL_oWsCVIEz9zPnIY8sKaOWmQsGfwEb2o3fn4fT-xB0lZC2hAjiu0cTaRx7XQvmL-D4HBL0l0LiufKfJ0P-YhOfdaWQ3nU8Bwv-JogbCTB4gA7u63H2AqM_oEbmRFdIRrnReGV6EYS9l0yGklW2xHwG0yyj4SCltanu5ve4-cIDrsfYLJuw88-Q3bDUfy6y89TxzofUcEQZBo5skZa8bSoRIGBNzksWPlhQ_YuZrAYzv-uw8whUD7_0W00\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 8px;\" viewbox=\"0 0 24 24\" width=\"14\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg><br \/>\n<span>\u5728VPasCode\u4e2d\u7f16\u8f91Plantuml<\/span><br \/>\n<\/a>\n<\/div>\n<div class=\"vpascode-code-wrapper\">\n            <div class=\"vpascode-viewer-container vpascode-fancy-active\">\r\n                                <div class=\"vpascode-header\">\r\n                    <span class=\"vpascode-lang-label\">Plantuml<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:PP9HRz9G68Rlc_G_dFI6YuLapZiJbgcxS5TYNEAbET0JH-nQKbeJxvYJsKrWB8mDMJV2f5uOB6XcGM3pp_HyRQ_u2vwsR1cnDwV9ztxly_OzNIjeMDNqROddiAufihwT8IhFPHHT5h7w7WdUfEvVVNkStX0GBY1syfo8DPp11O84txwabGOq1b2nwRWUITQVy5nMaJLLaP10XvPxRGRDDZLEe-aBdUZallzBJStbIJIBNtcEvr8f53GTi7y_c4rRxhWBpJ04cBtWUzdlxw1KYkTO59HSPJYqj8GUCTJU5rgow4s9TZzwjRquci1pJ91akaYU38NnP6ET3dzv7Tktky82SeKXuRZlJfhkg4gd7-27HNzQVgTydnf7dPDX_olqRgXz2SOmZ6aCcUDSiOYEVHaOgWQSxqRWF5OH_UCm0ArLwU40wXLM6SyXzinfKMctdtbuH4UxAF5S5OdwEYtXB14Jo1r_TYUE46-916Urt3kiaTkwYLGW2uvthS7P5PmCl0C7YZlkQ8mIORWePU9_j_1gYIo6gIL5oIFl-iYRcD0e1IqJJXqmYxJR2ZvL_7xZ8VGw2yJmOBnqJduJ55jUswArCgls5SbiASfRuSuuBciLFPLoHDQY-_fxJCykdcrkfj7Ayl9iQe1HemVjsNIVRQsnDVRt_WC0\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 8px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Plantuml in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n                                <div class=\"vpascode-code-wrapper\">\r\n                    <pre class=\"lang-plantuml\"><code class=\"language-plantuml\" data-language=\"plantuml\" class=\"language-plantuml\">@startuml\r\nautonumber\r\nboundary \"\u7ed3\u8d26API\" as API\r\ndatabase \"\u8ba2\u5355\u6570\u636e\u5e93\" as DB\r\ncontrol \"\u5de5\u4f5c\u961f\u5217\" as Queue\r\nboundary \"Stripe\" as Stripe\r\n\r\n== \u9636\u6bb51\uff1a\u4ea4\u6613\u8d26\u672c\u9a8c\u8bc1 ==\r\nAPI -&gt; DB ++ : \"\u5199\u5165\u5f85\u5904\u7406\u8ba2\u5355\"\r\nDB --&gt; API -- : \"\u8ba2\u5355ID\u5df2\u786e\u8ba4\"\r\n\r\n== \u9636\u6bb52\uff1a\u652f\u4ed8\u4e0e\u5f02\u6b65\u5c65\u884c ==\r\nAPI -&gt; Stripe ++ : \"\u6263\u6b3e\u5ba2\u6237\u8d26\u6237\"\r\nStripe --&gt; API -- : \"\u652f\u4ed8\u5df2\u6388\u6743\"\r\n\r\npar \u5e76\u884c\u540e\u53f0\u64cd\u4f5c\r\n    API -&gt; Queue ++ : \"\u53d1\u5e03 'Order_Placed' \u4e8b\u4ef6\"\r\n    deactivate Queue\r\nelse\r\n    API -&gt; DB ++ : \"\u66f4\u65b0\u72b6\u6001\u4e3a '\u5df2\u652f\u4ed8'\"\r\n    deactivate DB\r\nend\r\n\r\nloop \u7f51\u7edc\u6545\u969c\u65f6\u6700\u591a\u91cd\u8bd53\u6b21\r\n    API -&gt; API : \"Ping\u901a\u77e5\u540c\u6b65Webhook\"\r\nend\r\n\r\nAPI --&gt; Client : \"\u8fd4\u56deHTTP 200\uff08\u6210\u529f\uff09\"\r\n@enduml<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:PP9HRz9G68Rlc_G_dFI6YuLapZiJbgcxS5TYNEAbET0JH-nQKbeJxvYJsKrWB8mDMJV2f5uOB6XcGM3pp_HyRQ_u2vwsR1cnDwV9ztxly_OzNIjeMDNqROddiAufihwT8IhFPHHT5h7w7WdUfEvVVNkStX0GBY1syfo8DPp11O84txwabGOq1b2nwRWUITQVy5nMaJLLaP10XvPxRGRDDZLEe-aBdUZallzBJStbIJIBNtcEvr8f53GTi7y_c4rRxhWBpJ04cBtWUzdlxw1KYkTO59HSPJYqj8GUCTJU5rgow4s9TZzwjRquci1pJ91akaYU38NnP6ET3dzv7Tktky82SeKXuRZlJfhkg4gd7-27HNzQVgTydnf7dPDX_olqRgXz2SOmZ6aCcUDSiOYEVHaOgWQSxqRWF5OH_UCm0ArLwU40wXLM6SyXzinfKMctdtbuH4UxAF5S5OdwEYtXB14Jo1r_TYUE46-916Urt3kiaTkwYLGW2uvthS7P5PmCl0C7YZlkQ8mIORWePU9_j_1gYIo6gIL5oIFl-iYRcD0e1IqJJXqmYxJR2ZvL_7xZ8VGw2yJmOBnqJduJ55jUswArCgls5SbiASfRuSuuBciLFPLoHDQY-_fxJCykdcrkfj7Ayl9iQe1HemVjsNIVRQsnDVRt_WC0\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 6px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Plantuml in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n            <\/div>\r\n            \n<\/p><\/div>\n<div class=\"vpascode-actions\">\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:PL9HQzim47ut-3ySVbWsIg3htW8fJHpA2gFr5dTz7B9qYKLaoPoaZkpNxoHxfM5waT3TVTzttzsT3u9274nPY1YSZKE7L1QTYrO9EaDLzoXFBWROD0yL29_kib0YY4vuXEg959A7tJO7TzkoaCu6SWQg5qSd9FWUCMAEvjTxy7qWFKwnwLaMPR5UGzCdxCyhQ4bOBsJGpi8tL4U6-ocCPlhqirwN1Sk1vIqJmzKLh9YKT41eq2fjZv3LLMN1uILdvUHbIii1UDX1xUn1qu2gkk2-MK4ZpWFQ01zWuyzMmdqq1srC_dl7F0cVsUjUq16XZZwuWGasKdApWR7dj4iL_oWsCVIEz9zPnIY8sKaOWmQsGfwEb2o3fn4fT-xB0lZC2hAjiu0cTaRx7XQvmL-D4HBL0l0LiufKfJ0P-YhOfdaWQ3nU8Bwv-JogbCTB4gA7u63H2AqM_oEbmRFdIRrnReGV6EYS9l0yGklW2xHwG0yyj4SCltanu5ve4-cIDrsfYLJuw88-Q3bDUfy6y89TxzofUcEQZBo5skZa8bSoRIGBNzksWPlhQ_YuZrAYzv-uw8whUD7_0W00\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 6px;\" viewbox=\"0 0 24 24\" width=\"14\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg><br \/>\n<span>\u5728VPasCode\u4e2d\u7f16\u8f91Plantuml<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"tlfOsjb\"><img loading=\"lazy\" alt=\"\" class=\"alignnone size-full wp-image-565\" decoding=\"async\" height=\"605\" loading=\"lazy\" sizes=\"auto, (max-width: 601px) 100vw, 601px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18fd66d33a0.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18fd66d33a0.png 601w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18fd66d33a0-298x300.png 298w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18fd66d33a0-150x150.png 150w\" width=\"601\"\/><\/p>\n<p><strong>\u8bed\u6cd5\u5206\u89e3\uff1a<\/strong> \u8be5 <code>==<\/code> \u5206\u9694\u7b26\u5c06\u5e03\u5c40\u5212\u5206\u4e3a\u4e0d\u540c\u7684\u64cd\u4f5c\u9636\u6bb5\u3002\u8be5 <code>par<\/code> \u5757\u5c06\u6d88\u606f\u7bad\u5934\u8def\u5f84\u6e05\u6670\u5730\u5206\u53c9\u4e3a\u4e24\u6761\u72ec\u7acb\u7684\u6c34\u5e73\u8def\u5f84\uff0c\u8bf4\u660e\u4e8b\u4ef6\u53d1\u5e03\u548c\u6570\u636e\u5e93\u72b6\u6001\u66f4\u65b0\u540c\u65f6\u53d1\u751f\u4e14\u4e92\u4e0d\u963b\u585e\u3002\u81ea\u6307\u5411\u7bad\u5934\uff08<code>API -&gt; API<\/code>\uff09\u5b8c\u7f8e\u5730\u6620\u5c04\u4e86\u672c\u5730\u5185\u90e8\u5b9e\u4f8b\u51fd\u6570\u5faa\u73af\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ec0\u4e48\u662f\u987a\u5e8f\u56fe\uff1f \u4e00\u4e2a\u987a\u5e8f\u56fe\u662f\u4e00\u79cd\u884c\u4e3aUML \u56fe\u8be6\u7ec6\u63cf\u8ff0\u4e86\u8f6f\u4ef6\u64cd\u4f5c\u968f\u65f6\u95f4\u8fdb\u884c\u7684\u65b9\u5f0f&#8230;<\/p>\n","protected":false},"author":4,"featured_media":0,"parent":0,"menu_order":3,"template":"","meta":{"inline_featured_image":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}}},"ld_collection":[14],"class_list":["post-2123","ld_docs","type-ld_docs","status-publish","hentry","ld_collection-vpascode-docs"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>PlantUML Sequence Diagram | VPasCode Text to Diagram Guide<\/title>\n<meta name=\"description\" content=\"Model API calls and system interactions with PlantUML sequence diagrams in VPasCode, your free diagram-as-code tool.\" \/>\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.vpascode.com\/cn\/docs\/vpascode-docs\/plantuml-sequence-diagram-syntax-guide\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PlantUML Sequence Diagram | VPasCode Text to Diagram Guide\" \/>\n<meta property=\"og:description\" content=\"Model API calls and system interactions with PlantUML sequence diagrams in VPasCode, your free diagram-as-code tool.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/plantuml-sequence-diagram-syntax-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"VPasCode\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18f8637e3aa.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/docs\\\/vpascode-docs\\\/plantuml-sequence-diagram-syntax-guide\\\/\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/docs\\\/vpascode-docs\\\/plantuml-sequence-diagram-syntax-guide\\\/\",\"name\":\"PlantUML Sequence Diagram | VPasCode Text to Diagram Guide\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/docs\\\/vpascode-docs\\\/plantuml-sequence-diagram-syntax-guide\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/docs\\\/vpascode-docs\\\/plantuml-sequence-diagram-syntax-guide\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.vpascode.com\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/img_6a18f8637e3aa.png\",\"datePublished\":\"2026-05-26T07:05:25+00:00\",\"description\":\"Model API calls and system interactions with PlantUML sequence diagrams in VPasCode, your free diagram-as-code tool.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/docs\\\/vpascode-docs\\\/plantuml-sequence-diagram-syntax-guide\\\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/docs\\\/vpascode-docs\\\/plantuml-sequence-diagram-syntax-guide\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/docs\\\/vpascode-docs\\\/plantuml-sequence-diagram-syntax-guide\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/img_6a18f8637e3aa.png\",\"contentUrl\":\"https:\\\/\\\/www.vpascode.com\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/img_6a18f8637e3aa.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/docs\\\/vpascode-docs\\\/plantuml-sequence-diagram-syntax-guide\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Lean Docs\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/docs\\\/%ld_collection%\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"PlantUML \u987a\u5e8f\u56fe\u8bed\u6cd5\u6307\u5357\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/#website\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/\",\"name\":\"VPasCode\",\"description\":\"by Visual Paradigm\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/#organization\",\"name\":\"VPasCode\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/wp-content\\\/uploads\\\/sites\\\/3\\\/2026\\\/06\\\/cropped-vp-online-logo-v1.png\",\"contentUrl\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/wp-content\\\/uploads\\\/sites\\\/3\\\/2026\\\/06\\\/cropped-vp-online-logo-v1.png\",\"width\":128,\"height\":138,\"caption\":\"VPasCode\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PlantUML Sequence Diagram | VPasCode Text to Diagram Guide","description":"Model API calls and system interactions with PlantUML sequence diagrams in VPasCode, your free diagram-as-code tool.","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.vpascode.com\/cn\/docs\/vpascode-docs\/plantuml-sequence-diagram-syntax-guide\/","og_locale":"zh_CN","og_type":"article","og_title":"PlantUML Sequence Diagram | VPasCode Text to Diagram Guide","og_description":"Model API calls and system interactions with PlantUML sequence diagrams in VPasCode, your free diagram-as-code tool.","og_url":"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/plantuml-sequence-diagram-syntax-guide\/","og_site_name":"VPasCode","og_image":[{"url":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18f8637e3aa.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"5 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/plantuml-sequence-diagram-syntax-guide\/","url":"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/plantuml-sequence-diagram-syntax-guide\/","name":"PlantUML Sequence Diagram | VPasCode Text to Diagram Guide","isPartOf":{"@id":"https:\/\/www.vpascode.com\/cn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/plantuml-sequence-diagram-syntax-guide\/#primaryimage"},"image":{"@id":"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/plantuml-sequence-diagram-syntax-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18f8637e3aa.png","datePublished":"2026-05-26T07:05:25+00:00","description":"Model API calls and system interactions with PlantUML sequence diagrams in VPasCode, your free diagram-as-code tool.","breadcrumb":{"@id":"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/plantuml-sequence-diagram-syntax-guide\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/plantuml-sequence-diagram-syntax-guide\/"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/plantuml-sequence-diagram-syntax-guide\/#primaryimage","url":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18f8637e3aa.png","contentUrl":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18f8637e3aa.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/plantuml-sequence-diagram-syntax-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vpascode.com\/cn\/"},{"@type":"ListItem","position":2,"name":"Lean Docs","item":"https:\/\/www.vpascode.com\/cn\/docs\/%ld_collection%\/"},{"@type":"ListItem","position":3,"name":"PlantUML \u987a\u5e8f\u56fe\u8bed\u6cd5\u6307\u5357"}]},{"@type":"WebSite","@id":"https:\/\/www.vpascode.com\/cn\/#website","url":"https:\/\/www.vpascode.com\/cn\/","name":"VPasCode","description":"by Visual Paradigm","publisher":{"@id":"https:\/\/www.vpascode.com\/cn\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.vpascode.com\/cn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Organization","@id":"https:\/\/www.vpascode.com\/cn\/#organization","name":"VPasCode","url":"https:\/\/www.vpascode.com\/cn\/","logo":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.vpascode.com\/cn\/#\/schema\/logo\/image\/","url":"https:\/\/www.vpascode.com\/cn\/wp-content\/uploads\/sites\/3\/2026\/06\/cropped-vp-online-logo-v1.png","contentUrl":"https:\/\/www.vpascode.com\/cn\/wp-content\/uploads\/sites\/3\/2026\/06\/cropped-vp-online-logo-v1.png","width":128,"height":138,"caption":"VPasCode"},"image":{"@id":"https:\/\/www.vpascode.com\/cn\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.vpascode.com\/cn\/wp-json\/wp\/v2\/ld_docs\/2123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vpascode.com\/cn\/wp-json\/wp\/v2\/ld_docs"}],"about":[{"href":"https:\/\/www.vpascode.com\/cn\/wp-json\/wp\/v2\/types\/ld_docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.vpascode.com\/cn\/wp-json\/wp\/v2\/users\/4"}],"wp:attachment":[{"href":"https:\/\/www.vpascode.com\/cn\/wp-json\/wp\/v2\/media?parent=2123"}],"wp:term":[{"taxonomy":"ld_collection","embeddable":true,"href":"https:\/\/www.vpascode.com\/cn\/wp-json\/wp\/v2\/ld_collection?post=2123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}