测试
This commit is contained in:
parent
47aefb5e00
commit
9ffd7226f9
|
@ -45,7 +45,9 @@ func (l *UserGetProfileLogic) UserGetProfile(req *types.QueryProfileRequest, use
|
||||||
return resp.SetStatus(basic.CodeDbSqlErr, err) // 返回数据库创建错误
|
return resp.SetStatus(basic.CodeDbSqlErr, err) // 返回数据库创建错误
|
||||||
}
|
}
|
||||||
|
|
||||||
profileBase["email"] = *user.Email
|
if bmap, ok := profileBase["base"].(map[string]any); ok {
|
||||||
|
bmap["email"] = *user.Email
|
||||||
|
}
|
||||||
|
|
||||||
return resp.SetStatus(basic.CodeOK, profileBase)
|
return resp.SetStatus(basic.CodeOK, profileBase)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user