mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-25 10:42:59 +08:00
szx-1194 获取用户信息用http添加日志修改
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user