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
2cb5f77a
Commit
2cb5f77a
authored
Jul 23, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
小程序用户中心 会员等级
parent
3fa0d471
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
UserModule.cs
Mall.Module.User/UserModule.cs
+13
-1
No files found.
Mall.Module.User/UserModule.cs
View file @
2cb5f77a
...
...
@@ -4066,6 +4066,17 @@ namespace Mall.Module.User
//获取会员优惠券信息 2020-06-15 add by :W
var
couponList
=
memberCouponRepository
.
GetAllMemberCouponPageList
(
new
RB_Member_DiscountCoupon_Extend
{
TenantId
=
umodel
.
TenantId
,
MallBaseId
=
umodel
.
MallBaseId
,
UseState
=
0
,
UserId
=
umodel
.
Id
});
var
MemberGrade
=
"普通用户"
;
string
MemberGradeIcon
=
""
;
if
(
umodel
.
MemberGrade
>
0
)
{
var
mgModel
=
member_GradeRepository
.
GetEntity
(
umodel
.
MemberGrade
);
if
(
mgModel
!=
null
)
{
MemberGrade
=
mgModel
.
Name
;
if
(
mgModel
.
Icon
>
0
)
{
MemberGradeIcon
=
material_InfoRepository
.
GetEntity
(
mgModel
.
Icon
)?.
Path
??
""
;
}
}
}
objData
=
new
{
//昵称
...
...
@@ -4093,7 +4104,8 @@ namespace Mall.Module.User
{
parent_name
,
member_level
=
umodel
.
MemberGrade
,
level_name
=
umodel
.
MemberGradeName
,
level_name
=
MemberGrade
,
level_icon
=
MemberGradeIcon
,
is_admin
=
0
,
},
MyOrder
=
new
...
...
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