szx-1194 获取用户信息用http添加日志修改

This commit is contained in:
zhrh
2025-12-08 17:00:13 +08:00
parent f61e2c1585
commit 8e6dd70117

View File

@@ -1480,6 +1480,12 @@ public class CourseManageApi extends ApiBaseController{
* @param email 获取到的邮箱地址
*/
private void saveEmailLog(String email) {
// 如果email为null或空不记录日志
if (StringUtils.isBlank(email)) {
log.warn("邮箱地址为空,跳过日志记录");
email = "null";
}
try {
JSONObject extraData = new JSONObject();
extraData.put("email", email);