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
b7a590e9
Commit
b7a590e9
authored
Mar 08, 2021
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
3600d27c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
AppletUserInfo.cs
Mall.Common/API/AppletUserInfo.cs
+5
-0
AppletLoginController.cs
Mall.WebApi/Controllers/User/AppletLoginController.cs
+2
-0
No files found.
Mall.Common/API/AppletUserInfo.cs
View file @
b7a590e9
...
...
@@ -137,5 +137,10 @@ namespace Mall.Common
/// 普通会员等级
/// </summary>
public
int
MemberGradeId
{
get
;
set
;
}
/// <summary>
/// 相亲是否开启 0-未开启,1-开启
/// </summary>
public
int
IsOpenMiAi
{
get
;
set
;
}
}
}
\ No newline at end of file
Mall.WebApi/Controllers/User/AppletLoginController.cs
View file @
b7a590e9
...
...
@@ -233,6 +233,7 @@ namespace Mall.WebApi.Controllers.User
UserPageType
=
mmodel
.
IsOpenSchool
==
1
?
demodel
.
UserPageType
:
Common
.
Enum
.
Goods
.
GoodsPageTypeEnum
.
All
,
UserTeacher
=
0
,
IsAddBaseInfo
=
0
,
IsOpenMiAi
=
mmodel
.
IsOpenMiAi
,
};
UserReidsCache
.
AppletUserInfoSet
(
UserModuleCacheKeyConfig
.
Applet_Login_Info
+
UserId
,
appletUserInfo
,
Config
.
JwtExpirTime
);
if
(
isGiveCoupon
)
...
...
@@ -319,6 +320,7 @@ namespace Mall.WebApi.Controllers.User
UserPageType
=
mmodel
.
IsOpenSchool
==
1
?
umodel
.
UserPageType
:
Common
.
Enum
.
Goods
.
GoodsPageTypeEnum
.
All
,
UserTeacher
=
(
teacher
!=
null
&&
teacher
.
ID
>
0
)
?
teacher
.
ID
:
0
,
IsAddBaseInfo
=
0
,
IsOpenMiAi
=
mmodel
.
IsOpenMiAi
,
};
var
oldBaseInfo
=
miaiModule
.
GetBaseInfoList
(
new
Model
.
Extend
.
Miai
.
RB_MiAi_BaseInfo_Extend
{
UserId
=
umodel
.
Id
,
TenantId
=
mmodel
.
TenantId
,
MallBaseId
=
mmodel
.
MallBaseId
}).
FirstOrDefault
();
if
(
oldBaseInfo
!=
null
&&
oldBaseInfo
.
Id
>
0
)
...
...
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