Skip to content

Commit

Permalink
Merge branch 'master' into SpringCloudSupportEdition
Browse files Browse the repository at this point in the history
  • Loading branch information
skyesx authored Sep 9, 2018
2 parents e8ef19c + 8d4972e commit 1a536d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Starter里包含了若干默认的组件实现:基于mysql的分布式事务日
* 这个方法也可以不调用,框架用默认的业务代码及自动生成的ID号,但这样做的缺点是全局事务ID无法直接关联到具体业务
* 不过这个可以通过自定义BusinessCodeGenerator及TrxIdGenerator来产生关联
*/
transaction.startEasyTrans(BUSINESS_CODE, String.valueOf(id));
transaction.startEasyTrans(BUSINESS_CODE, id);
/**
* 调用远程服务扣除所需的钱,这个远程服务实现了TCC接口,
Expand Down

0 comments on commit 1a536d7

Please sign in to comment.