|
|
@@ -9,6 +9,7 @@ import org.springframework.beans.BeanUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
+import org.springframework.transaction.annotation.Transactional;
|
|
|
import shop.alien.entity.second.LifeUserLog;
|
|
|
import shop.alien.entity.second.SecondRiskControlRecord;
|
|
|
import shop.alien.entity.store.LifeUser;
|
|
|
@@ -144,6 +145,7 @@ public class LifeUserService extends ServiceImpl<LifeUserGatewayMapper, LifeUser
|
|
|
/**
|
|
|
* 用户登录log存放(加入mac地址)
|
|
|
*/
|
|
|
+ @Transactional
|
|
|
public void addLifeUserLogInfo(LifeUser user, String macIp) {
|
|
|
try {
|
|
|
LifeUserLog lifeUserLog = new LifeUserLog();
|