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
97888d26
Commit
97888d26
authored
Dec 12, 2024
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
a5c31ef4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
AppletTradeController.cs
...WebApi/Controllers/TradePavilion/AppletTradeController.cs
+5
-5
No files found.
Mall.WebApi/Controllers/TradePavilion/AppletTradeController.cs
View file @
97888d26
...
@@ -4194,9 +4194,9 @@ namespace Mall.WebApi.Controllers.TradePavilion
...
@@ -4194,9 +4194,9 @@ namespace Mall.WebApi.Controllers.TradePavilion
foreach
(
var
item
in
list
)
foreach
(
var
item
in
list
)
{
{
item
.
BannerList
=
new
List
<
string
>();
item
.
BannerList
=
new
List
<
string
>();
if
(!
string
.
IsNullOrWhiteSpace
(
item
.
Logo
))
if
(!
string
.
IsNullOrWhiteSpace
(
item
.
Banner
))
{
{
item
.
BannerList
.
Add
(
item
.
Logo
);
item
.
BannerList
=
JsonConvert
.
DeserializeObject
<
List
<
string
>>(
item
.
Banner
);
}
}
}
}
pageModel
.
pageData
=
list
.
Select
(
x
=>
new
pageModel
.
pageData
=
list
.
Select
(
x
=>
new
...
@@ -4243,9 +4243,9 @@ namespace Mall.WebApi.Controllers.TradePavilion
...
@@ -4243,9 +4243,9 @@ namespace Mall.WebApi.Controllers.TradePavilion
foreach
(
var
item
in
list
)
foreach
(
var
item
in
list
)
{
{
item
.
BannerList
=
new
List
<
string
>();
item
.
BannerList
=
new
List
<
string
>();
if
(!
string
.
IsNullOrWhiteSpace
(
item
.
Logo
))
if
(!
string
.
IsNullOrWhiteSpace
(
item
.
Banner
))
{
{
item
.
BannerList
.
Add
(
item
.
Logo
);
item
.
BannerList
=
JsonConvert
.
DeserializeObject
<
List
<
string
>>(
item
.
Banner
);
}
}
}
}
pageModel
.
count
=
Convert
.
ToInt32
(
count
);
pageModel
.
count
=
Convert
.
ToInt32
(
count
);
...
@@ -4254,7 +4254,7 @@ namespace Mall.WebApi.Controllers.TradePavilion
...
@@ -4254,7 +4254,7 @@ namespace Mall.WebApi.Controllers.TradePavilion
x
.
ID
,
x
.
ID
,
x
.
BrandName
,
x
.
BrandName
,
Logo
=
x
.
Logo
??
""
,
Logo
=
x
.
Logo
??
""
,
x
.
BannerList
,
x
.
BannerList
,
x
.
TenantId
,
x
.
TenantId
,
x
.
MallBaseId
,
x
.
MallBaseId
,
x
.
FullBrandName
,
x
.
FullBrandName
,
...
...
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