提交 dc45d91a 编写于 作者: pengcheng.zhou's avatar pengcheng.zhou

测试json插入

上级 eec620cc
流水线 #33687 已失败 于阶段
in 0 second
......@@ -43,6 +43,8 @@ import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
import org.springframework.stereotype.Service;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
@Service
public class LoginV1ServiceImpl implements LoginV1Service {
......@@ -134,12 +136,12 @@ public class LoginV1ServiceImpl implements LoginV1Service {
result = processLoginV1(baseRequest, accountInfoEntity.getId(), AccountTypeEnum.LOGIN_ONE_CLICK.getCode(), queryMobileEntity);
// 记录继续一键登录日志
JSONObject param = new JSONObject();
Map<String, String> param = new HashMap();
param.put("req", JSONObject.toJSONString(req));
param.put("queryMobileEntity", JSONObject.toJSONString(queryMobileEntity));
param.put("accountInfoEntity", JSONObject.toJSONString(accountInfoEntity));
param.put("baseRequest", JSONObject.toJSONString(baseRequest));
poolTaskExecutor.execute(() -> insertLog(userId, queryMobileEntity.getMobile(), deviceToken, param.toJSONString()));
poolTaskExecutor.execute(() -> insertLog(userId, queryMobileEntity.getMobile(), deviceToken, param.toString()));
} else {
// 第一次点"一键登录"接口,需要比对上次登录的手机号与这次是否一样
if (userId == null) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册