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
c80d1a00
Commit
c80d1a00
authored
Dec 09, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增是否显示标题字段
parent
c7affdb4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
1 deletion
+12
-1
RB_Miniprogram_Page_Templ.cs
...Model/Entity/MarketingCenter/RB_Miniprogram_Page_Templ.cs
+6
-1
MiniprogramPageTemplModule.cs
Mall.Module.MarketingCenter/MiniprogramPageTemplModule.cs
+1
-0
MallController.cs
Mall.WebApi/Controllers/Mall/MallController.cs
+4
-0
TemplateController.cs
....WebApi/Controllers/MarketingCenter/TemplateController.cs
+1
-0
No files found.
Mall.Model/Entity/MarketingCenter/RB_Miniprogram_Page_Templ.cs
View file @
c80d1a00
...
...
@@ -109,8 +109,13 @@ namespace Mall.Model.Entity.MarketingCenter
public
int
IsSchoolHomePage
{
get
;
set
;
}
/// <summary>
/// 是否显示底部导航
/// 是否显示底部导航
(是否显示底部导航栏(1-显示)
/// </summary>
public
int
IsShowBottomTabBar
{
get
;
set
;
}
/// <summary>
/// 是否不显示标题(1-不显示,0-显示)
/// </summary>
public
int
IsNoShowTitle
{
get
;
set
;
}
}
}
Mall.Module.MarketingCenter/MiniprogramPageTemplModule.cs
View file @
c80d1a00
...
...
@@ -115,6 +115,7 @@ namespace Mall.Module.MarketingCenter
fileds
.
Add
(
nameof
(
RB_Miniprogram_Page_Templ_Extend
.
IsShowNav
),
extModel
.
IsShowNav
);
fileds
.
Add
(
nameof
(
RB_Miniprogram_Page_Templ_Extend
.
IsHome
),
extModel
.
IsHome
);
fileds
.
Add
(
nameof
(
RB_Miniprogram_Page_Templ_Extend
.
IsShowBottomTabBar
),
extModel
.
IsShowBottomTabBar
);
fileds
.
Add
(
nameof
(
RB_Miniprogram_Page_Templ_Extend
.
IsNoShowTitle
),
extModel
.
IsNoShowTitle
);
flag
=
pageRepository
.
Update
(
fileds
,
new
WhereHelper
(
nameof
(
RB_Miniprogram_Page_Templ_Extend
.
Id
),
extModel
.
Id
));
}
else
...
...
Mall.WebApi/Controllers/Mall/MallController.cs
View file @
c80d1a00
...
...
@@ -200,6 +200,7 @@ namespace Mall.WebApi.Controllers.MallBase
show_navs
=
targetPage
.
IsShowNav
,
is_home_page
=
targetPage
.
IsHome
,
is_show_bottom_nav
=
targetPage
.
IsShowBottomTabBar
,
is_noshow_title
=
targetPage
.
IsNoShowTitle
==
1
,
navs
=
list
};
}
...
...
@@ -275,6 +276,7 @@ namespace Mall.WebApi.Controllers.MallBase
show_navs
=
selfHomePage
.
IsShowNav
,
is_home_page
=
selfHomePage
.
IsHome
,
is_show_bottom_nav
=
selfHomePage
.
IsShowBottomTabBar
,
is_noshow_title
=
selfHomePage
.
IsNoShowTitle
==
1
,
navs
=
list
};
}
...
...
@@ -292,6 +294,7 @@ namespace Mall.WebApi.Controllers.MallBase
title
=
miniProgram
.
MallName
,
show_navs
=
0
,
is_home_page
=
0
,
is_noshow_title
=
false
,
navs
=
list
};
}
...
...
@@ -305,6 +308,7 @@ namespace Mall.WebApi.Controllers.MallBase
show_navs
=
1
,
is_home_page
=
1
,
is_show_bottom_nav
=
1
,
is_noshow_title
=
false
,
navs
=
list
};
}
...
...
Mall.WebApi/Controllers/MarketingCenter/TemplateController.cs
View file @
c80d1a00
...
...
@@ -181,6 +181,7 @@ namespace Mall.WebApi.Controllers.MarketingCenter
IsUse
=
parms
.
GetInt
(
"IsUse"
),
IsShowNav
=
parms
.
GetInt
(
"IsShowNav"
),
IsShowBottomTabBar
=
parms
.
GetInt
(
"IsShowBottomTabBar"
),
IsNoShowTitle
=
parms
.
GetInt
(
"IsNoShowTitle"
),
DetailsList
=
new
List
<
RB_Miniprogram_Page_Templ_Details_Extend
>(),
};
string
detailsListStr
=
parms
.
GetStringValue
(
"DetailsList"
);
...
...
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