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
65ff18b9
Commit
65ff18b9
authored
Mar 24, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
0fcc13c9
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
12 deletions
+20
-12
RB_Brand_Extend.cs
Mall.Model/Extend/TradePavilion/RB_Brand_Extend.cs
+4
-1
RB_BrandRepository.cs
Mall.Repository/TradePavilion/RB_BrandRepository.cs
+9
-0
AppletTradeController.cs
...WebApi/Controllers/TradePavilion/AppletTradeController.cs
+0
-2
TradeController.cs
Mall.WebApi/Controllers/TradePavilion/TradeController.cs
+2
-9
mall_publish.cmd
Mall.WebApi/mall_publish.cmd
+5
-0
No files found.
Mall.Model/Extend/TradePavilion/RB_Brand_Extend.cs
View file @
65ff18b9
...
...
@@ -15,7 +15,10 @@ namespace Mall.Model.Extend.TradePavilion
public
List
<
string
>
BannerList
{
get
;
set
;
}
public
string
ProjectName
{
get
;
set
;
}
/// <summary>
/// 商铺性质
/// </summary>
public
string
ProjectName
{
get
{
return
Common
.
Plugin
.
EnumHelper
.
GetEnumName
(
this
.
ProjectType
);
}
}
/// <summary>
/// 收藏id
...
...
Mall.Repository/TradePavilion/RB_BrandRepository.cs
View file @
65ff18b9
...
...
@@ -82,6 +82,15 @@ WHERE 1=1
{
builder
.
AppendFormat
(
" AND a.{0}={1} "
,
nameof
(
RB_Brand_Extend
.
Sewage
),
query
.
Sewage
);
}
if
(
query
.
PaiYan
>
-
1
)
{
builder
.
AppendFormat
(
" AND a.{0}={1} "
,
nameof
(
RB_Brand_Extend
.
PaiYan
),
query
.
PaiYan
);
}
if
(!
string
.
IsNullOrEmpty
(
query
.
DianLiang
))
{
builder
.
AppendFormat
(
" AND a.{0} LIKE @DianLiang "
,
nameof
(
RB_Brand_Extend
.
DianLiang
));
parameters
.
Add
(
"DianLiang"
,
"%"
+
query
.
DianLiang
.
Trim
()
+
"%"
);
}
}
return
GetPage
<
RB_Brand_Extend
>(
pageIndex
,
pageSize
,
out
rowsCount
,
builder
.
ToString
(),
parameters
).
ToList
();
}
...
...
Mall.WebApi/Controllers/TradePavilion/AppletTradeController.cs
View file @
65ff18b9
...
...
@@ -1069,8 +1069,6 @@ namespace Mall.WebApi.Controllers.TradePavilion
{
extModel
.
BannerList
=
new
List
<
string
>();
}
extModel
.
ProjectName
=
(
extModel
.
ProjectType
.
HasValue
&&
extModel
.
ProjectType
.
Value
>
0
)
?
EnumHelper
.
GetEnumName
(
extModel
.
ProjectType
)
:
""
;
if
(
req
.
UserId
>
0
&&
extModel
.
ID
>
0
)
{
//判断是否已经关注过
var
collectModel
=
carrierModule
.
GetList
(
new
RB_Collect_Extend
{
Status
=
0
,
Type
=
2
,
UserId
=
req
.
UserId
,
SourceId
=
extModel
.
ID
,
MallBaseId
=
query
.
MallBaseId
,
TenantId
=
query
.
TenantId
}).
FirstOrDefault
();
...
...
Mall.WebApi/Controllers/TradePavilion/TradeController.cs
View file @
65ff18b9
...
...
@@ -1097,7 +1097,6 @@ namespace Mall.WebApi.Controllers.TradePavilion
}));
}
/// <summary>
/// 获取品牌分类分页列表
/// </summary>
...
...
@@ -1115,7 +1114,6 @@ namespace Mall.WebApi.Controllers.TradePavilion
query
.
MallBaseId
=
RequestParm
.
MallBaseId
;
query
.
TenantId
=
RequestParm
.
TenantId
;
var
list
=
carrierModule
.
GetBrandClassPageListRepository
(
pageModel
.
pageIndex
,
pageModel
.
pageSize
,
out
long
rowsCount
,
query
);
pageModel
.
count
=
Convert
.
ToInt32
(
rowsCount
);
pageModel
.
pageData
=
list
;
return
ApiResult
.
Success
(
data
:
pageModel
);
...
...
@@ -1142,7 +1140,6 @@ namespace Mall.WebApi.Controllers.TradePavilion
/// </summary>
/// <returns></returns>
[
HttpGet
]
[
HttpPost
]
public
ApiResult
GetBrandClassDetails
()
{
...
...
@@ -1174,7 +1171,6 @@ namespace Mall.WebApi.Controllers.TradePavilion
{
return
ApiResult
.
Failed
(
"请上传Logo"
);
}
if
(
query
.
ID
==
0
)
{
query
.
CreateDate
=
System
.
DateTime
.
Now
;
...
...
@@ -1187,8 +1183,6 @@ namespace Mall.WebApi.Controllers.TradePavilion
return
flag
?
ApiResult
.
Success
()
:
ApiResult
.
Failed
();
}
/// <summary>
/// 删除品牌信息
/// </summary>
...
...
@@ -1201,9 +1195,6 @@ namespace Mall.WebApi.Controllers.TradePavilion
return
flag
?
ApiResult
.
Success
()
:
ApiResult
.
Failed
();
}
/// <summary>
/// 获取品牌分页列表
/// </summary>
...
...
@@ -1225,6 +1216,8 @@ namespace Mall.WebApi.Controllers.TradePavilion
Plumbing
=
parms
.
GetInt
(
"Plumbing"
,
-
1
),
Caliber
=
parms
.
GetInt
(
"Caliber"
,
-
1
),
Sewage
=
parms
.
GetInt
(
"Sewage"
,
-
1
),
PaiYan
=
parms
.
GetInt
(
"PaiYan"
,
-
1
),
DianLiang
=
parms
.
GetStringValue
(
"DianLiang"
),
};
query
.
MallBaseId
=
RequestParm
.
MallBaseId
;
query
.
TenantId
=
RequestParm
.
TenantId
;
...
...
Mall.WebApi/mall_publish.cmd
0 → 100644
View file @
65ff18b9
@echo off
iisreset /STOP
dotnet publish E:\Work\Git\Mall_Api\Mall.WebApi\Mall.WebApi.csproj -o E:\publish\Mall.oytour.com -c realease
iisreset /START
exit
\ No newline at end of file
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