Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mall.oytour.com
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄奎
mall.oytour.com
Commits
9cc39396
Commit
9cc39396
authored
Dec 16, 2024
by
吴春
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/Kui2/mall.oytour.com
parents
16fc4a6c
a173a682
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
MemberUserModule.cs
Mall.Module.User/MemberUserModule.cs
+8
-8
MemberUserController.cs
Mall.WebApi/Controllers/User/MemberUserController.cs
+0
-1
No files found.
Mall.Module.User/MemberUserModule.cs
View file @
9cc39396
...
@@ -40,17 +40,17 @@ namespace Mall.Module.User
...
@@ -40,17 +40,17 @@ namespace Mall.Module.User
/// <returns></returns>
/// <returns></returns>
public
bool
SetMemberUserNameAndPhoto
(
RB_Member_User_Extend
extModel
)
public
bool
SetMemberUserNameAndPhoto
(
RB_Member_User_Extend
extModel
)
{
{
Dictionary
<
string
,
object
>
fileds
=
new
Dictionary
<
string
,
object
>()
// 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
},
// { 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 member_UserRepository.Update(fileds, new WhereHelper(nameof(RB_Member_User_Extend.Id), extModel.Id));
return
true
;
}
}
public
bool
SetMemberUserPhoneNum
(
RB_Member_User_Extend
extModel
)
public
bool
SetMemberUserPhoneNum
(
RB_Member_User_Extend
extModel
)
{
{
Dictionary
<
string
,
object
>
fileds
=
new
Dictionary
<
string
,
object
>()
Dictionary
<
string
,
object
>
fileds
=
new
Dictionary
<
string
,
object
>()
...
...
Mall.WebApi/Controllers/User/MemberUserController.cs
View file @
9cc39396
...
@@ -67,7 +67,6 @@ namespace Mall.WebApi.Controllers.User
...
@@ -67,7 +67,6 @@ namespace Mall.WebApi.Controllers.User
return
ApiResult
.
Failed
(
"获取用户信息失败"
);
return
ApiResult
.
Failed
(
"获取用户信息失败"
);
}
}
}
}
}
}
/// <summary>
/// <summary>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment