|
@@ -86,7 +86,7 @@ public class IMChatLoginServiceProcessor implements LoginCmdProcessor {
|
|
|
//开启redis事务
|
|
|
transaction = jedis.multi();
|
|
|
//开启sql事务,关闭自动提交,改为手动提交
|
|
|
- TransactionKit.beginTransation();
|
|
|
+// TransactionKit.beginTransation();
|
|
|
//获取token
|
|
|
String token = loginReqBody.getToken();
|
|
|
User user = null;
|
|
@@ -96,7 +96,7 @@ public class IMChatLoginServiceProcessor implements LoginCmdProcessor {
|
|
|
loginRespBody = this.disposeLoginData(user);
|
|
|
// int a = 4/0;
|
|
|
//提交sql事务,关闭手动提交,开启自动提交
|
|
|
- TransactionKit.commit();
|
|
|
+// TransactionKit.commit();
|
|
|
//提交redis事务
|
|
|
transaction.exec();
|
|
|
}else{
|