From 5a1e20abe9239447e064e4edb0137afb7421cb5d Mon Sep 17 00:00:00 2001 From: yedongfu Date: Fri, 25 Jun 2021 19:56:21 +0800 Subject: [PATCH] update readme --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 297fd97..6471485 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,8 @@ DTM 是一款跨语言的分布式事务管理方案,在各类微服务架构 ### 使用 ``` go +const DtmServer = "http://localhost:8080/api/dtmsvr" +const startBusi = "http://localhost:8081/api/busi_saga" gid := common.GenGid() // 生成事务id req := &gin.H{"amount": 30} // 微服务的负荷 // 生成dtm的saga对象