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
11c1c437
Commit
11c1c437
authored
May 26, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
f7ee4dcc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
9 deletions
+17
-9
RB_Miniprogram_Template_Extend.cs
.../Extend/MarketingCenter/RB_Miniprogram_Template_Extend.cs
+1
-1
MiniProgramModule.cs
Mall.Module.User/MiniProgramModule.cs
+3
-7
RB_Miniprogram_BottomnavRepository.cs
Mall.Repository/User/RB_Miniprogram_BottomnavRepository.cs
+12
-0
TenantController.cs
Mall.WebApi/Controllers/User/TenantController.cs
+1
-1
No files found.
Mall.Model/Extend/MarketingCenter/RB_Miniprogram_Template_Extend.cs
View file @
11c1c437
...
...
@@ -754,7 +754,7 @@ namespace Mall.Model.Extend.MarketingCenter
public
int
goodsLength
{
get
;
set
;
}
/// <summary>
/// 列表样式
/// 列表样式
[-1-列表模式,0-左右滑动,1-一行一个,2-一行两个3-一行三个]
/// </summary>
public
int
listStyle
{
get
;
set
;
}
...
...
Mall.Module.User/MiniProgramModule.cs
View file @
11c1c437
...
...
@@ -525,15 +525,11 @@ namespace Mall.Module.User
/// </summary>
/// <param name="TagId"></param>
/// <returns></returns>
public
bool
RemoveMiniProgramMallTagModule
(
object
TagId
)
public
bool
RemoveMiniProgramMallTagModule
(
string
TagId
)
{
var
flag
=
false
;
Dictionary
<
string
,
object
>
fileds
=
new
Dictionary
<
string
,
object
>()
{
{
nameof
(
RB_Miniprogram_Bottomnav_Extend
.
Status
),
1
},
};
flag
=
bottomnavRepository
.
Update
(
fileds
,
new
WhereHelper
(
nameof
(
RB_Miniprogram_Bottomnav_Extend
.
TagId
),
TagId
));
return
flag
;
flag
=
bottomnavRepository
.
DeleteBottomnavRepository
(
TagId
);
return
flag
;
}
/// <summary>
...
...
Mall.Repository/User/RB_Miniprogram_BottomnavRepository.cs
View file @
11c1c437
...
...
@@ -34,5 +34,17 @@ namespace Mall.Repository.User
builder
.
Append
(
" ORDER BY TagSort "
);
return
Get
<
RB_Miniprogram_Bottomnav_Extend
>(
builder
.
ToString
()).
ToList
();
}
/// <summary>
/// 删除底部导航
/// </summary>
/// <param name="Ids"></param>
/// <returns></returns>
public
bool
DeleteBottomnavRepository
(
string
Ids
)
{
StringBuilder
builder
=
new
StringBuilder
();
builder
.
AppendFormat
(
"DELETE FROM RB_Miniprogram_Bottomnav WHERE 1=1 AND TagId IN({0}) "
,
Ids
);
return
base
.
Execute
(
builder
.
ToString
())
>
0
;
}
}
}
Mall.WebApi/Controllers/User/TenantController.cs
View file @
11c1c437
...
...
@@ -380,7 +380,7 @@ namespace Mall.WebApi.Controllers.User
public
ApiResult
RemoveMiniProgramMallTag
()
{
JObject
parms
=
JObject
.
Parse
(
RequestParm
.
msg
.
ToString
());
var
TagId
=
parms
.
Get
Int
(
"TagId"
,
0
);
var
TagId
=
parms
.
Get
StringValue
(
"TagId"
);
var
flag
=
programModule
.
RemoveMiniProgramMallTagModule
(
TagId
);
return
flag
?
ApiResult
.
Success
()
:
ApiResult
.
Failed
();
}
...
...
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