mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-10 11:26:50 +08:00
szx-1194 获取用户信息用http添加日志修改
This commit is contained in:
@@ -1284,10 +1284,11 @@ public class CourseManageApi extends ApiBaseController{
|
||||
* 保存邮箱日志到boe_thread_log表
|
||||
* @param email 获取到的邮箱地址
|
||||
*/
|
||||
private void saveEmailLog(String email) {
|
||||
// 如果email为null或空,不记录日志
|
||||
@Transactional
|
||||
public void saveEmailLog(String email) {
|
||||
// 如果email为null或空,写入占位并记录日志
|
||||
if (StringUtils.isBlank(email)) {
|
||||
log.warn("邮箱地址为空,跳过日志记录");
|
||||
log.warn("邮箱地址为空,使用占位值记录日志");
|
||||
email = "null";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user