TASK:AiDA

This commit is contained in:
shahaibo
2024-12-11 14:21:29 +08:00
parent 5dd1e10b61
commit 2ac54a50ec
5 changed files with 47 additions and 2 deletions

View File

@@ -1503,6 +1503,16 @@ public class AccountServiceImpl extends ServiceImpl<AccountMapper, Account> impl
}
}
public static void main(String[] args) {
List<String> a = new ArrayList<>();
a.add("1023316923@qq.com");
a.add("Malinyuquan@gmail.com");
if (a.contains("malinyuquan@gmail.com")) {
log.info("aaaaaaaaaaaaaaaaaaaaa");
}
}
private static final String QUERY_PAID_CUSTOMER_EMAIL = "SELECT distinct c.email " +
"FROM `pmr_wc_order_stats` o " +
"inner join `pmr_wc_customer_lookup` c " +
@@ -2400,8 +2410,21 @@ public class AccountServiceImpl extends ServiceImpl<AccountMapper, Account> impl
response.setAvatar(minioUtil.getPreSignedUrl(avatar, CommonConstant.MINIO_IMAGE_EXPIRE_TIME));
response.setFolloweeCount(portfolioService.getFolloweeCount(account.getId()));
response.setFollowerCount(portfolioService.getFollowerCount(account.getId()));
response.setSystemUser(1);
//判断是否常用ip 不是则发邮件提示
// calculateExceptionIp(RequestInfoUtil.getIpAddress(request), account);
return response;
}
@Override
public AccountLoginVO bindGoogle(String credential) {
return null;
}
@Override
public AccountLoginVO bindWeChat(String code) {
return null;
}
}

View File

@@ -1562,8 +1562,8 @@ public class DesignServiceImpl extends ServiceImpl<DesignMapper, Design> impleme
@Override
@Transactional(rollbackFor = Exception.class)
public Boolean receiveDesignResults(JSONObject responseJSONObject) {
String requestId = "UUID.randomUUID().toString()";
// String requestId = responseJSONObject.getString("requestId");
// String requestId = "UUID.randomUUID().toString()";
String requestId = responseJSONObject.getString("requestId");
Map<String, Object> context;
synchronized (designContext) {
log.info(designContext.toString());