Commit 9cc39396 authored by 吴春's avatar 吴春
parents 16fc4a6c a173a682
......@@ -40,17 +40,17 @@ namespace Mall.Module.User
/// <returns></returns>
public bool SetMemberUserNameAndPhoto(RB_Member_User_Extend extModel)
{
Dictionary<string, object> fileds = new Dictionary<string, object>()
{
{ nameof(RB_Member_User_Extend.Name),extModel.AliasName},
{ nameof(RB_Member_User_Extend.Photo),extModel.Photo},
};
return member_UserRepository.Update(fileds, new WhereHelper(nameof(RB_Member_User_Extend.Id), extModel.Id));
// HK 2024-12-16 注释,没有开通微信 获取昵称和头像接口
//Dictionary<string, object> fileds = new Dictionary<string, object>()
//{
// { nameof(RB_Member_User_Extend.Name),extModel.AliasName},
// { nameof(RB_Member_User_Extend.Photo),extModel.Photo},
//};
//return member_UserRepository.Update(fileds, new WhereHelper(nameof(RB_Member_User_Extend.Id), extModel.Id));
return true;
}
public bool SetMemberUserPhoneNum(RB_Member_User_Extend extModel)
{
Dictionary<string, object> fileds = new Dictionary<string, object>()
......
......@@ -67,7 +67,6 @@ namespace Mall.WebApi.Controllers.User
return ApiResult.Failed("获取用户信息失败");
}
}
}
/// <summary>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment