{"id":108424,"date":"2026-09-21T18:41:45","date_gmt":"2026-09-21T10:41:45","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/108424.html"},"modified":"2026-09-21T18:41:45","modified_gmt":"2026-09-21T10:41:45","slug":"%e5%88%86%e5%b8%83%e5%bc%8f%e4%ba%8b%e5%8a%a1%e5%8f%8a%e5%85%b6%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/108424.html","title":{"rendered":"\u5206\u5e03\u5f0f\u4e8b\u52a1\u53ca\u5176\u89e3\u51b3\u65b9\u6848"},"content":{"rendered":"<h2>1.\u5206\u5e03\u5f0f\u4e8b\u52a1\u4ecb\u7ecd<\/h2>\n<p>\u5728\u5206\u5e03\u5f0f\u7cfb\u7edf\u4e2d&#xff0c;\u5982\u679c\u4e00\u4e2a\u4e1a\u52a1\u9700\u8981\u591a\u4e2a\u670d\u52a1\u5408\u4f5c\u5b8c\u6210&#xff0c;\u800c\u4e14\u6bcf\u4e00\u4e2a\u670d\u52a1\u90fd\u6709\u4e8b\u52a1&#xff0c;\u591a\u4e2a\u4e8b\u52a1\u5fc5\u987b\u540c\u65f6\u6210\u529f\u6216\u5931\u8d25&#xff0c;\u8fd9\u6837\u7684\u4e8b\u52a1\u5c31\u662f\u5206\u5e03\u5f0f\u4e8b\u52a1\u3002\u5176\u4e2d\u7684\u6bcf\u4e2a\u670d\u52a1\u7684\u4e8b\u52a1\u5c31\u662f\u4e00\u4e2a\u5206\u652f\u4e8b\u52a1\u3002\u6574\u4e2a\u4e1a\u52a1\u79f0\u4e3a\u5168\u5c40\u4e8b\u52a1\u3002<br \/>\n\u4ee5\u5546\u573a\u4e0b\u5355\u4e1a\u52a1\u4e3a\u4f8b&#xff08;\u5fae\u670d\u52a1\u7cfb\u7edf&#xff09;&#xff1a;<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260921104140-6ab109e43b7a8.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n\u4e0b\u5355\u4e1a\u52a1\u6d89\u53ca\u7684\u521b\u5efa\u8ba2\u5355\u3001\u6e05\u7406\u8d2d\u7269\u8f66\u3001\u6263\u51cf\u5546\u54c1\u5e93\u5b583\u4e2a\u5206\u652f\u4e8b\u52a1\u5fc5\u987b\u540c\u65f6\u6210\u529f\u6216\u5931\u8d25&#xff0c;\u4e0d\u7136\u5c31\u4f1a\u51fa\u73b0\u7c7b\u4f3c\u6ca1\u5e93\u5b58\u4f46\u80fd\u4e0b\u5355\u7684\u4e0d\u5408\u7406\u60c5\u51b5\u3002<\/p>\n<h2>2.\u5206\u5e03\u5f0f\u4e8b\u52a1\u89e3\u51b3\u601d\u8def<\/h2>\n<p>\u89e3\u51b3\u5206\u5e03\u5f0f\u4e8b\u52a1&#xff0c;\u5404\u4e2a\u5b50\u4e8b\u52a1\u4e4b\u95f4\u5fc5\u987b\u80fd\u611f\u77e5\u5230\u5f7c\u6b64\u7684\u4e8b\u52a1\u72b6\u6001&#xff0c;\u624d\u80fd\u4fdd\u8bc1\u72b6\u6001\u4e00\u81f4\u3002<br \/>\n\u53ef\u4ee5\u5f15\u5165\u4e00\u4e2a\u4e8b\u52a1\u534f\u8c03\u8005&#xff0c;\u8ba9\u5404\u4e2a\u4e8b\u52a1\u611f\u77e5\u5230\u5f7c\u6b64\u7684\u4e8b\u52a1\u72b6\u6001\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260921104141-6ab109e567de8.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h2>3.\u8ba4\u8bc6Seata<\/h2>\n<p>\u57fa\u4e8e\u4e0a\u8ff0\u601d\u8def&#xff0c;\u963f\u91cc\u5df4\u5df4\u5f00\u6e90Seata\u7528\u4e8e\u89e3\u51b3\u5206\u5e03\u5f0f\u4e8b\u52a1\u95ee\u9898\u3002<br \/>\nSeata\u4e8b\u52a1\u7ba1\u7406\u4e2d\u6709\u4e09\u4e2a\u91cd\u8981\u7684\u89d2\u8272&#xff1a;<br \/>\n\u2022 TC (Transaction Coordinator)- \u4e8b\u52a1\u534f\u8c03\u8005&#xff1a;\u7ef4\u62a4\u5168\u5c40\u548c\u5206\u652f\u4e8b\u52a1\u7684\u72b6\u6001&#xff0c;\u534f\u8c03\u5168\u5c40\u4e8b\u52a1\u63d0\u4ea4\u6216\u56de\u6eda&#xff0c;\u4e00\u4e2a\u72ec\u7acb\u7684\u5fae\u670d\u52a1&#xff0c;\u9700\u8981\u5355\u72ec\u90e8\u7f72\u3002<br \/>\n\u2022TM(Transaction Manager)- \u4e8b\u52a1\u7ba1\u7406\u5668&#xff1a;\u5b9a\u4e49\u5168\u5c40\u4e8b\u52a1\u7684\u8303\u56f4\u3001\u5f00\u59cb\u5168\u5c40\u4e8b\u52a1\u3001\u63d0\u4ea4\u6216\u56de\u6eda\u5168\u5c40\u4e8b\u52a1\u3002<br \/>\n\u2022 RM(Resource Manager)- \u8d44\u6e90\u7ba1\u7406\u5668&#xff1a;\u7ba1\u7406\u5206\u652f\u4e8b\u52a1&#xff0c;\u4e0eTC\u4ea4\u8c08\u4ee5\u6ce8\u518c\u5206\u652f\u4e8b\u52a1\u548c\u62a5\u544a\u5206\u652f\u4e8b\u52a1\u7684\u72b6\u6001\u3002<\/p>\n<p>TM\u548cRM\u53ef\u4ee5\u7406\u89e3\u4e3aSeata\u7684\u5ba2\u6237\u7aef\u90e8\u5206&#xff0c;\u5f15\u5165\u5230\u53c2\u4e0e\u4e8b\u52a1\u7684\u5fae\u670d\u52a1\u4f9d\u8d56\u4e2d\u5373\u53ef\u3002\u5c06\u6765TM\u548cRM\u5c31\u4f1a\u534f\u52a9\u5fae\u670d\u52a1&#xff0c;\u5b9e\u73b0\u672c\u5730\u5206\u652f\u4e8b\u52a1\u4e0eTC\u4e4b\u95f4\u4ea4\u4e92&#xff0c;\u5b9e\u73b0\u4e8b\u52a1\u7684\u63d0\u4ea4\u6216\u56de\u6eda\u3002<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260921104142-6ab109e65b1aa.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h2>4.\u90e8\u7f72TC\u670d\u52a1<\/h2>\n<li>\u5148\u5efa\u8868&#xff0c;\u5c06\u8d44\u6e90\u91cc\u9762\u7684seata-tc.sql\u5728\u6570\u636e\u5e93\u91cc\u9762\u6267\u884c<\/li>\n<li>\u914d\u7f6e\u6587\u4ef6\u7528\u8d44\u6e90\u91cc\u9762\u7684application.yml\u5373\u53ef<\/li>\n<li>\u5c06\u6574\u4e2aseata\u6587\u4ef6\u5939\u89e3\u538b\u5230\u670d\u52a1\u5668\u6839\u76ee\u5f55&#xff0c;\u4f7f\u7528docker\u90e8\u7f72<\/li>\n<p><span class=\"token function\">docker<\/span> run <span class=\"token parameter variable\">&#8211;name<\/span> seata <span class=\"token punctuation\">\\\\<\/span><br \/>\n<span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">8099<\/span>:8099 <span class=\"token punctuation\">\\\\<\/span><br \/>\n<span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">7099<\/span>:7099 <span class=\"token punctuation\">\\\\<\/span><br \/>\n<span class=\"token parameter variable\">-e<\/span> <span class=\"token assign-left variable\">SEATA_IP<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token number\">192.168<\/span>.150.101 <span class=\"token punctuation\">\\\\<\/span><br \/>\n<span class=\"token parameter variable\">-v<\/span> .\/seata:\/seata-server\/resources <span class=\"token punctuation\">\\\\<\/span><br \/>\n<span class=\"token parameter variable\">&#8211;privileged<\/span><span class=\"token operator\">&#061;<\/span>true <span class=\"token punctuation\">\\\\<\/span><br \/>\n<span class=\"token parameter variable\">&#8211;network<\/span> hm-net <span class=\"token punctuation\">\\\\<\/span><br \/>\n<span class=\"token parameter variable\">-d<\/span> <span class=\"token punctuation\">\\\\<\/span><br \/>\nseataio\/seata-server:1.5.2<\/p>\n<h2>5.\u5fae\u670d\u52a1\u96c6\u6210Seata<\/h2>\n<h3>5.1\u5f15\u5165\u4f9d\u8d56<\/h3>\n<p>\u4e3a\u4e86\u65b9\u4fbf\u5404\u4e2a\u5fae\u670d\u52a1\u96c6\u6210seata&#xff0c;\u53ef\u4ee5\u628aseata\u914d\u7f6e\u5171\u4eab\u5230nacos&#xff0c;\u56e0\u6b64trade-service\u6a21\u5757\u4e0d\u4ec5\u4ec5\u8981\u5f15\u5165seata\u4f9d\u8d56&#xff0c;\u8fd8\u8981\u5f15\u5165nacos\u4f9d\u8d56:<\/p>\n<p><span class=\"token comment\">&lt;!&#8211;\u7edf\u4e00\u914d\u7f6e\u7ba1\u7406&#8211;&gt;<\/span><br \/>\n  <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>dependency<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n      <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>groupId<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>com.alibaba.cloud<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>groupId<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n      <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>artifactId<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>spring-cloud-starter-alibaba-nacos-config<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>artifactId<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n  <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>dependency<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n  <span class=\"token comment\">&lt;!&#8211;\u8bfb\u53d6bootstrap\u6587\u4ef6&#8211;&gt;<\/span><br \/>\n  <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>dependency<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n      <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>groupId<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>org.springframework.cloud<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>groupId<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n      <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>artifactId<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>spring-cloud-starter-bootstrap<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>artifactId<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n  <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>dependency<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n  <span class=\"token comment\">&lt;!&#8211;seata&#8211;&gt;<\/span><br \/>\n  <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>dependency<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n      <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>groupId<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>com.alibaba.cloud<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>groupId<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n      <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>artifactId<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>spring-cloud-starter-alibaba-seata<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>artifactId<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n  <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>dependency<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><\/p>\n<h3>5.2\u6539\u9020\u914d\u7f6e<\/h3>\n<p>\u914d\u7f6e\u8bfb\u53d6\u987a\u5e8f&#xff1a;bootstrap \u5148\u8bfb&#xff0c;\u7528\u6765\u8fde Nacos&#xff1b;Nacos \u8fdc\u7a0b\u914d\u7f6e&#xff08;\u542b\u5171\u4eab&#xff09;\u5728\u4e2d\u95f4&#xff1b;\u6700\u540e\u8bfb\u672c\u5730 application.yml&#xff1b;\u672c\u5730\u914d\u7f6e\u53ef\u8986\u76d6\u8fdc\u7a0b\u540c\u540d\u914d\u7f6e\u3002<\/p>\n<h4>nacos<\/h4>\n<p>\u5728nacos\u4e0a\u6dfb\u52a0\u4e00\u4e2a\u5171\u4eab\u7684seata\u914d\u7f6e&#xff0c;\u547d\u540d\u4e3ashared-seata.yaml<\/p>\n<p><span class=\"token key atrule\">seata<\/span><span class=\"token punctuation\">:<\/span><br \/>\n  <span class=\"token key atrule\">registry<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token comment\"># TC\u670d\u52a1\u6ce8\u518c\u4e2d\u5fc3\u7684\u914d\u7f6e&#xff0c;\u5fae\u670d\u52a1\u6839\u636e\u8fd9\u4e9b\u4fe1\u606f\u53bb\u6ce8\u518c\u4e2d\u5fc3\u83b7\u53d6tc\u670d\u52a1\u5730\u5740<\/span><br \/>\n    <span class=\"token key atrule\">type<\/span><span class=\"token punctuation\">:<\/span> nacos <span class=\"token comment\"># \u6ce8\u518c\u4e2d\u5fc3\u7c7b\u578b nacos<\/span><br \/>\n    <span class=\"token key atrule\">nacos<\/span><span class=\"token punctuation\">:<\/span><br \/>\n      <span class=\"token key atrule\">server-addr<\/span><span class=\"token punctuation\">:<\/span> 192.168.150.101<span class=\"token punctuation\">:<\/span><span class=\"token number\">8848<\/span> <span class=\"token comment\"># nacos\u5730\u5740<\/span><br \/>\n      <span class=\"token key atrule\">namespace<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;&#034;<\/span> <span class=\"token comment\"># namespace&#xff0c;\u9ed8\u8ba4\u4e3a\u7a7a<\/span><br \/>\n      <span class=\"token key atrule\">group<\/span><span class=\"token punctuation\">:<\/span> DEFAULT_GROUP <span class=\"token comment\"># \u5206\u7ec4&#xff0c;\u9ed8\u8ba4\u662fDEFAULT_GROUP<\/span><br \/>\n      <span class=\"token key atrule\">application<\/span><span class=\"token punctuation\">:<\/span> seata<span class=\"token punctuation\">&#8211;<\/span>server <span class=\"token comment\"># seata\u670d\u52a1\u540d\u79f0<\/span><br \/>\n      <span class=\"token key atrule\">username<\/span><span class=\"token punctuation\">:<\/span> nacos<br \/>\n      <span class=\"token key atrule\">password<\/span><span class=\"token punctuation\">:<\/span> nacos<br \/>\n  <span class=\"token key atrule\">tx-service-group<\/span><span class=\"token punctuation\">:<\/span> hmall <span class=\"token comment\"># \u4e8b\u52a1\u7ec4\u540d\u79f0<\/span><br \/>\n  <span class=\"token key atrule\">service<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token key atrule\">vgroup-mapping<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token comment\"># \u4e8b\u52a1\u7ec4\u4e0etc\u96c6\u7fa4\u7684\u6620\u5c04\u5173\u7cfb<\/span><br \/>\n      <span class=\"token key atrule\">hmall<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;default&#034;<\/span><\/p>\n<h4>bootstrap.yml<\/h4>\n<p>\u6539\u9020trade-service\u6a21\u5757&#xff0c;\u6dfb\u52a0bootstrap.yaml<\/p>\n<p><span class=\"token key atrule\">spring<\/span><span class=\"token punctuation\">:<\/span><br \/>\n  <span class=\"token key atrule\">application<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token key atrule\">name<\/span><span class=\"token punctuation\">:<\/span> trade<span class=\"token punctuation\">&#8211;<\/span>service <span class=\"token comment\"># \u670d\u52a1\u540d\u79f0<\/span><br \/>\n  <span class=\"token key atrule\">profiles<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token key atrule\">active<\/span><span class=\"token punctuation\">:<\/span> dev<br \/>\n  <span class=\"token key atrule\">cloud<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token key atrule\">nacos<\/span><span class=\"token punctuation\">:<\/span><br \/>\n      <span class=\"token key atrule\">server-addr<\/span><span class=\"token punctuation\">:<\/span> 192.168.150.101 <span class=\"token comment\"># nacos\u5730\u5740<\/span><br \/>\n      <span class=\"token key atrule\">config<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token key atrule\">file-extension<\/span><span class=\"token punctuation\">:<\/span> yaml <span class=\"token comment\"># \u6587\u4ef6\u540e\u7f00\u540d<\/span><br \/>\n        <span class=\"token key atrule\">shared-configs<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token comment\"># \u5171\u4eab\u914d\u7f6e<\/span><br \/>\n          <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">dataId<\/span><span class=\"token punctuation\">:<\/span> shared<span class=\"token punctuation\">&#8211;<\/span>jdbc.yaml <span class=\"token comment\"># \u5171\u4eabmybatis\u914d\u7f6e<\/span><br \/>\n          <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">dataId<\/span><span class=\"token punctuation\">:<\/span> shared<span class=\"token punctuation\">&#8211;<\/span>log.yaml <span class=\"token comment\"># \u5171\u4eab\u65e5\u5fd7\u914d\u7f6e<\/span><br \/>\n          <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">dataId<\/span><span class=\"token punctuation\">:<\/span> shared<span class=\"token punctuation\">&#8211;<\/span>swagger.yaml <span class=\"token comment\"># \u5171\u4eab\u65e5\u5fd7\u914d\u7f6e<\/span><br \/>\n          <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">dataId<\/span><span class=\"token punctuation\">:<\/span> shared<span class=\"token punctuation\">&#8211;<\/span>seata.yaml <span class=\"token comment\"># \u5171\u4eabseata\u914d\u7f6e<\/span><\/p>\n<h3>5.3\u6dfb\u52a0\u6570\u636e\u5e93\u8868<\/h3>\n<p>seata\u7684\u5ba2\u6237\u7aef\u5728\u89e3\u51b3\u5206\u5e03\u5f0f\u4e8b\u52a1\u7684\u65f6\u5019\u9700\u8981\u8bb0\u5f55\u4e00\u4e9b\u4e2d\u95f4\u6570\u636e&#xff0c;\u4fdd\u5b58\u5728\u6570\u636e\u5e93\u4e2d\u3002\u56e0\u6b64\u8981\u5148\u51c6\u5907\u4e00\u4e2aundo_log\u8868\u3002<\/p>\n<p><span class=\"token comment\">&#8212; for AT mode you must to init this sql for you business database. the seata server not need it.<\/span><br \/>\n<span class=\"token keyword\">CREATE<\/span> <span class=\"token keyword\">TABLE<\/span> <span class=\"token keyword\">IF<\/span> <span class=\"token operator\">NOT<\/span> <span class=\"token keyword\">EXISTS<\/span> <span class=\"token identifier\"><span class=\"token punctuation\">&#096;<\/span>undo_log<span class=\"token punctuation\">&#096;<\/span><\/span><br \/>\n<span class=\"token punctuation\">(<\/span><br \/>\n    <span class=\"token identifier\"><span class=\"token punctuation\">&#096;<\/span>branch_id<span class=\"token punctuation\">&#096;<\/span><\/span>     <span class=\"token keyword\">BIGINT<\/span>       <span class=\"token operator\">NOT<\/span> <span class=\"token boolean\">NULL<\/span> <span class=\"token keyword\">COMMENT<\/span> <span class=\"token string\">&#039;branch transaction id&#039;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token identifier\"><span class=\"token punctuation\">&#096;<\/span>xid<span class=\"token punctuation\">&#096;<\/span><\/span>           <span class=\"token keyword\">VARCHAR<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">128<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">NOT<\/span> <span class=\"token boolean\">NULL<\/span> <span class=\"token keyword\">COMMENT<\/span> <span class=\"token string\">&#039;global transaction id&#039;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token identifier\"><span class=\"token punctuation\">&#096;<\/span>context<span class=\"token punctuation\">&#096;<\/span><\/span>       <span class=\"token keyword\">VARCHAR<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">128<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">NOT<\/span> <span class=\"token boolean\">NULL<\/span> <span class=\"token keyword\">COMMENT<\/span> <span class=\"token string\">&#039;undo_log context,such as serialization&#039;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token identifier\"><span class=\"token punctuation\">&#096;<\/span>rollback_info<span class=\"token punctuation\">&#096;<\/span><\/span> <span class=\"token keyword\">LONGBLOB<\/span>     <span class=\"token operator\">NOT<\/span> <span class=\"token boolean\">NULL<\/span> <span class=\"token keyword\">COMMENT<\/span> <span class=\"token string\">&#039;rollback info&#039;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token identifier\"><span class=\"token punctuation\">&#096;<\/span>log_status<span class=\"token punctuation\">&#096;<\/span><\/span>    <span class=\"token keyword\">INT<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">11<\/span><span class=\"token punctuation\">)<\/span>      <span class=\"token operator\">NOT<\/span> <span class=\"token boolean\">NULL<\/span> <span class=\"token keyword\">COMMENT<\/span> <span class=\"token string\">&#039;0:normal status,1:defense status&#039;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token identifier\"><span class=\"token punctuation\">&#096;<\/span>log_created<span class=\"token punctuation\">&#096;<\/span><\/span>   <span class=\"token keyword\">DATETIME<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">6<\/span><span class=\"token punctuation\">)<\/span>  <span class=\"token operator\">NOT<\/span> <span class=\"token boolean\">NULL<\/span> <span class=\"token keyword\">COMMENT<\/span> <span class=\"token string\">&#039;create datetime&#039;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token identifier\"><span class=\"token punctuation\">&#096;<\/span>log_modified<span class=\"token punctuation\">&#096;<\/span><\/span>  <span class=\"token keyword\">DATETIME<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">6<\/span><span class=\"token punctuation\">)<\/span>  <span class=\"token operator\">NOT<\/span> <span class=\"token boolean\">NULL<\/span> <span class=\"token keyword\">COMMENT<\/span> <span class=\"token string\">&#039;modify datetime&#039;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token keyword\">UNIQUE<\/span> <span class=\"token keyword\">KEY<\/span> <span class=\"token identifier\"><span class=\"token punctuation\">&#096;<\/span>ux_undo_log<span class=\"token punctuation\">&#096;<\/span><\/span> <span class=\"token punctuation\">(<\/span><span class=\"token identifier\"><span class=\"token punctuation\">&#096;<\/span>xid<span class=\"token punctuation\">&#096;<\/span><\/span><span class=\"token punctuation\">,<\/span> <span class=\"token identifier\"><span class=\"token punctuation\">&#096;<\/span>branch_id<span class=\"token punctuation\">&#096;<\/span><\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">)<\/span> <span class=\"token keyword\">ENGINE<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token keyword\">InnoDB<\/span><br \/>\n  <span class=\"token keyword\">AUTO_INCREMENT<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">1<\/span><br \/>\n  <span class=\"token keyword\">DEFAULT<\/span> <span class=\"token keyword\">CHARSET<\/span> <span class=\"token operator\">&#061;<\/span> utf8mb4 <span class=\"token keyword\">COMMENT<\/span> <span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#039;AT transaction mode undo table&#039;<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<h3>5.4\u4fee\u6539\u5206\u5e03\u5f0f\u4e8b\u52a1\u6ce8\u89e3<\/h3>\n<p>\u5c06\u4e0b\u5355\u4e1a\u52a1\u65b9\u6cd5\u4e0a\u7684&#064;Transactional\u6ce8\u89e3\u6539\u4e3aSeata\u63d0\u4f9b\u7684&#064;GlobalTransactional\u3002<br \/>\n&#064;GlobalTransactional\u6ce8\u89e3\u5c31\u662f\u5728\u6807\u8bb0\u4e8b\u52a1\u7684\u8d77\u70b9&#xff0c;\u5c06\u6765TM\u5c31\u4f1a\u57fa\u4e8e\u8fd9\u4e2a\u65b9\u6cd5\u5224\u65ad\u5168\u5c40\u4e8b\u52a1\u8303\u56f4&#xff0c;\u521d\u59cb\u5316\u5168\u5c40\u4e8b\u52a1\u3002<\/p>\n<h2>6.Seata\u7684XA\u6a21\u5f0f<\/h2>\n<p>\u5b9e\u73b0\u524d\u63d0&#xff1a;<br \/>\n\u914d\u7f6e\u6587\u4ef6\u6dfb\u52a0\u914d\u7f6e<\/p>\n<p><span class=\"token key atrule\">seata<\/span><span class=\"token punctuation\">:<\/span><br \/>\n  <span class=\"token key atrule\">data-source-proxy-mode<\/span><span class=\"token punctuation\">:<\/span> XA<\/p>\n<p>\u4e00\u9636\u6bb5&#xff1a;<\/p>\n<ul>\n<li>\u4e8b\u52a1\u534f\u8c03\u8005\u901a\u77e5\u6bcf\u4e2a\u4e8b\u52a1\u53c2\u4e0e\u8005\u6267\u884c\u672c\u5730\u4e8b\u52a1<\/li>\n<li>\u672c\u5730\u4e8b\u52a1\u6267\u884c\u5b8c\u6210\u540e\u62a5\u544a\u4e8b\u52a1\u6267\u884c\u72b6\u6001\u7ed9\u4e8b\u52a1\u534f\u8c03\u8005&#xff0c;\u6b64\u65f6\u4e8b\u52a1\u4e0d\u63d0\u4ea4&#xff0c;\u7ee7\u7eed\u6301\u6709\u6570\u636e\u5e93\u9501<\/li>\n<\/ul>\n<p>\u4e8c\u9636\u6bb5&#xff1a;<\/p>\n<ul>\n<li>\u4e8b\u52a1\u534f\u8c03\u8005\u57fa\u4e8e\u4e00\u9636\u6bb5\u7684\u62a5\u544a\u6765\u5224\u65ad\u4e0b\u4e00\u6b65\u64cd\u4f5c<\/li>\n<li>\u5982\u679c\u4e00\u9636\u6bb5\u90fd\u6210\u529f&#xff0c;\u5219\u901a\u77e5\u6240\u6709\u4e8b\u52a1\u53c2\u4e0e\u8005&#xff0c;\u63d0\u4ea4\u4e8b\u52a1<\/li>\n<li>\u5982\u679c\u4e00\u9636\u6bb5\u4efb\u610f\u4e00\u4e2a\u53c2\u4e0e\u8005\u5931\u8d25&#xff0c;\u5219\u901a\u77e5\u6240\u6709\u4e8b\u52a1\u53c2\u4e0e\u8005\u56de\u6eda\u4e8b\u52a1<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260921104142-6ab109e6ea98a.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/li>\n<\/ul>\n<h2>7.seata\u7684AT\u6a21\u5f0f<\/h2>\n<p>\u5b9e\u73b0\u524d\u63d0&#xff1a;<br \/>\n\u5b8c\u62105.3\u6570\u636e\u5e93\u6dfb\u52a0undo_log\u8868&#xff0c;\u914d\u7f6e\u6587\u4ef6\u53ef\u4ee5\u4e0d\u6dfb\u52a0\u914d\u7f6e&#xff08;seata\u9ed8\u8ba4\u5c31\u662fAT\u6a21\u5f0f&#xff09;<\/p>\n<p>\u9636\u6bb5\u4e00RM\u7684\u5de5\u4f5c&#xff1a;<\/p>\n<ul>\n<li>\u6ce8\u518c\u5206\u652f\u4e8b\u52a1<\/li>\n<li>\u8bb0\u5f55undo-log&#xff08;\u6570\u636e\u5feb\u7167&#xff09;<\/li>\n<li>\u6267\u884c\u4e1a\u52a1sql\u5e76\u63d0\u4ea4<\/li>\n<li>\u62a5\u544a\u4e8b\u52a1\u72b6\u6001<br \/>\n\u9636\u6bb5\u4e8c\u63d0\u4ea4\u65f6RM\u7684\u5de5\u4f5c&#xff1a;<\/li>\n<li>\u5220\u9664undo-log\u5373\u53ef<br \/>\n\u9636\u6bb5\u4e8c\u56de\u6eda\u65f6RM\u7684\u5de5\u4f5c&#xff1a;<\/li>\n<li>\u6839\u636eundo-log\u6062\u590d\u6570\u636e\u5230\u66f4\u65b0\u524d<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260921104143-6ab109e7aac58.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/li>\n<\/ul>\n<h2>8.XA\u548cAT\u6a21\u5f0f\u7684\u533a\u522b<\/h2>\n<ul>\n<li>XA\u6a21\u5f0f\u4e00\u9636\u6bb5\u4e0d\u63d0\u4ea4\u4e8b\u52a1&#xff0c;\u9501\u5b9a\u8d44\u6e90&#xff1b;AT\u6a21\u5f0f\u4e00\u9636\u6bb5\u76f4\u63a5\u63d0\u4ea4&#xff0c;\u4e0d\u9501\u5b9a\u8d44\u6e90\u3002<\/li>\n<li>XA\u6a21\u5f0f\u4f9d\u8d56\u6570\u636e\u5e93\u673a\u5236\u5b9e\u73b0\u56de\u6eda&#xff1b;AT\u6a21\u5f0f\u5229\u7528\u6570\u636e\u5feb\u7167\u5b9e\u73b0\u6570\u636e\u56de\u6eda\u3002<\/li>\n<li>XA\u6a21\u5f0f\u5f3a\u4e00\u81f4&#xff1b;AT\u6a21\u5f0f\u6700\u7ec8\u4e00\u81f4<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>1.\u5206\u5e03\u5f0f\u4e8b\u52a1\u4ecb\u7ecd<br \/>\n\u5728\u5206\u5e03\u5f0f\u7cfb\u7edf\u4e2d&#xff0c;\u5982\u679c\u4e00\u4e2a\u4e1a\u52a1\u9700\u8981\u591a\u4e2a\u670d\u52a1\u5408\u4f5c\u5b8c\u6210&#xff0c;\u800c\u4e14\u6bcf\u4e00\u4e2a\u670d\u52a1\u90fd\u6709\u4e8b\u52a1&#xff0c;\u591a\u4e2a\u4e8b\u52a1\u5fc5\u987b\u540c\u65f6\u6210\u529f\u6216\u5931\u8d25&#xff0c;\u8fd9\u6837\u7684\u4e8b\u52a1\u5c31\u662f\u5206\u5e03\u5f0f\u4e8b\u52a1\u3002\u5176\u4e2d\u7684\u6bcf\u4e2a\u670d\u52a1\u7684\u4e8b\u52a1\u5c31\u662f\u4e00\u4e2a\u5206\u652f\u4e8b\u52a1\u3002\u6574\u4e2a\u4e1a\u52a1\u79f0\u4e3a\u5168\u5c40\u4e8b\u52a1\u3002<br \/>\n\u4ee5\u5546\u573a\u4e0b\u5355\u4e1a\u52a1\u4e3a\u4f8b&#xff08;\u5fae\u670d\u52a1\u7cfb\u7edf&#xff09;&#xff1a;\u4e0b\u5355\u4e1a\u52a1\u6d89\u53ca\u7684\u521b\u5efa\u8ba2\u5355\u3001\u6e05\u7406\u8d2d\u7269\u8f66\u3001\u6263\u51cf\u5546\u54c1\u5e93\u5b583\u4e2a\u5206\u652f\u4e8b\u52a1\u5fc5\u987b\u540c\u65f6\u6210\u529f\u6216\u5931\u8d25&#xff0c;\u4e0d\u7136\u5c31\u4f1a\u51fa\u73b0\u7c7b\u4f3c\u6ca1\u5e93\u5b58\u4f46\u80fd\u4e0b\u5355\u7684\u4e0d\u5408\u7406\u60c5\u51b5\u3002<\/p>\n","protected":false},"author":2,"featured_media":108419,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[11653,99,98,963,664,1348],"topic":[],"class_list":["post-108424","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-11653","tag-java","tag-spring-boot","tag-spring-cloud","tag-664","tag-1348"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5206\u5e03\u5f0f\u4e8b\u52a1\u53ca\u5176\u89e3\u51b3\u65b9\u6848 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/108424.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5206\u5e03\u5f0f\u4e8b\u52a1\u53ca\u5176\u89e3\u51b3\u65b9\u6848 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"1.\u5206\u5e03\u5f0f\u4e8b\u52a1\u4ecb\u7ecd \u5728\u5206\u5e03\u5f0f\u7cfb\u7edf\u4e2d&#xff0c;\u5982\u679c\u4e00\u4e2a\u4e1a\u52a1\u9700\u8981\u591a\u4e2a\u670d\u52a1\u5408\u4f5c\u5b8c\u6210&#xff0c;\u800c\u4e14\u6bcf\u4e00\u4e2a\u670d\u52a1\u90fd\u6709\u4e8b\u52a1&#xff0c;\u591a\u4e2a\u4e8b\u52a1\u5fc5\u987b\u540c\u65f6\u6210\u529f\u6216\u5931\u8d25&#xff0c;\u8fd9\u6837\u7684\u4e8b\u52a1\u5c31\u662f\u5206\u5e03\u5f0f\u4e8b\u52a1\u3002\u5176\u4e2d\u7684\u6bcf\u4e2a\u670d\u52a1\u7684\u4e8b\u52a1\u5c31\u662f\u4e00\u4e2a\u5206\u652f\u4e8b\u52a1\u3002\u6574\u4e2a\u4e1a\u52a1\u79f0\u4e3a\u5168\u5c40\u4e8b\u52a1\u3002 \u4ee5\u5546\u573a\u4e0b\u5355\u4e1a\u52a1\u4e3a\u4f8b&#xff08;\u5fae\u670d\u52a1\u7cfb\u7edf&#xff09;&#xff1a;\u4e0b\u5355\u4e1a\u52a1\u6d89\u53ca\u7684\u521b\u5efa\u8ba2\u5355\u3001\u6e05\u7406\u8d2d\u7269\u8f66\u3001\u6263\u51cf\u5546\u54c1\u5e93\u5b583\u4e2a\u5206\u652f\u4e8b\u52a1\u5fc5\u987b\u540c\u65f6\u6210\u529f\u6216\u5931\u8d25&#xff0c;\u4e0d\u7136\u5c31\u4f1a\u51fa\u73b0\u7c7b\u4f3c\u6ca1\u5e93\u5b58\u4f46\u80fd\u4e0b\u5355\u7684\u4e0d\u5408\u7406\u60c5\u51b5\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/108424.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-21T10:41:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260921104140-6ab109e43b7a8.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/108424.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/108424.html\",\"name\":\"\u5206\u5e03\u5f0f\u4e8b\u52a1\u53ca\u5176\u89e3\u51b3\u65b9\u6848 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-21T10:41:45+00:00\",\"dateModified\":\"2026-09-21T10:41:45+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/108424.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/108424.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/108424.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5206\u5e03\u5f0f\u4e8b\u52a1\u53ca\u5176\u89e3\u51b3\u65b9\u6848\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5206\u5e03\u5f0f\u4e8b\u52a1\u53ca\u5176\u89e3\u51b3\u65b9\u6848 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","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.wsisp.com\/helps\/108424.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5206\u5e03\u5f0f\u4e8b\u52a1\u53ca\u5176\u89e3\u51b3\u65b9\u6848 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"1.\u5206\u5e03\u5f0f\u4e8b\u52a1\u4ecb\u7ecd \u5728\u5206\u5e03\u5f0f\u7cfb\u7edf\u4e2d&#xff0c;\u5982\u679c\u4e00\u4e2a\u4e1a\u52a1\u9700\u8981\u591a\u4e2a\u670d\u52a1\u5408\u4f5c\u5b8c\u6210&#xff0c;\u800c\u4e14\u6bcf\u4e00\u4e2a\u670d\u52a1\u90fd\u6709\u4e8b\u52a1&#xff0c;\u591a\u4e2a\u4e8b\u52a1\u5fc5\u987b\u540c\u65f6\u6210\u529f\u6216\u5931\u8d25&#xff0c;\u8fd9\u6837\u7684\u4e8b\u52a1\u5c31\u662f\u5206\u5e03\u5f0f\u4e8b\u52a1\u3002\u5176\u4e2d\u7684\u6bcf\u4e2a\u670d\u52a1\u7684\u4e8b\u52a1\u5c31\u662f\u4e00\u4e2a\u5206\u652f\u4e8b\u52a1\u3002\u6574\u4e2a\u4e1a\u52a1\u79f0\u4e3a\u5168\u5c40\u4e8b\u52a1\u3002 \u4ee5\u5546\u573a\u4e0b\u5355\u4e1a\u52a1\u4e3a\u4f8b&#xff08;\u5fae\u670d\u52a1\u7cfb\u7edf&#xff09;&#xff1a;\u4e0b\u5355\u4e1a\u52a1\u6d89\u53ca\u7684\u521b\u5efa\u8ba2\u5355\u3001\u6e05\u7406\u8d2d\u7269\u8f66\u3001\u6263\u51cf\u5546\u54c1\u5e93\u5b583\u4e2a\u5206\u652f\u4e8b\u52a1\u5fc5\u987b\u540c\u65f6\u6210\u529f\u6216\u5931\u8d25&#xff0c;\u4e0d\u7136\u5c31\u4f1a\u51fa\u73b0\u7c7b\u4f3c\u6ca1\u5e93\u5b58\u4f46\u80fd\u4e0b\u5355\u7684\u4e0d\u5408\u7406\u60c5\u51b5\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/108424.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-21T10:41:45+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260921104140-6ab109e43b7a8.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/108424.html","url":"https:\/\/www.wsisp.com\/helps\/108424.html","name":"\u5206\u5e03\u5f0f\u4e8b\u52a1\u53ca\u5176\u89e3\u51b3\u65b9\u6848 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-21T10:41:45+00:00","dateModified":"2026-09-21T10:41:45+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/108424.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/108424.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/108424.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5206\u5e03\u5f0f\u4e8b\u52a1\u53ca\u5176\u89e3\u51b3\u65b9\u6848"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/108424","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=108424"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/108424\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/108419"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=108424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=108424"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=108424"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=108424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}