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
d8e0cd45
Commit
d8e0cd45
authored
Dec 12, 2024
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
4fc88d0d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
AppletTradeController.cs
...WebApi/Controllers/TradePavilion/AppletTradeController.cs
+19
-1
No files found.
Mall.WebApi/Controllers/TradePavilion/AppletTradeController.cs
View file @
d8e0cd45
...
...
@@ -4191,6 +4191,14 @@ namespace Mall.WebApi.Controllers.TradePavilion
};
var
list
=
buildingCarrierModule
.
GetAllCarrierPageModule
(
pageModel
.
pageIndex
,
pageModel
.
pageSize
,
out
long
count
,
query
);
pageModel
.
count
=
Convert
.
ToInt32
(
count
);
foreach
(
var
item
in
list
)
{
item
.
BannerList
=
new
List
<
string
>();
if
(!
string
.
IsNullOrWhiteSpace
(
item
.
Logo
))
{
item
.
BannerList
.
Add
(
item
.
Logo
);
}
}
pageModel
.
pageData
=
list
.
Select
(
x
=>
new
{
x
.
ID
,
...
...
@@ -4204,6 +4212,7 @@ namespace Mall.WebApi.Controllers.TradePavilion
x
.
CategoryName
,
x
.
OpeningStatus
,
x
.
Address
,
x
.
BannerList
,
x
.
FirstStoreTest
,
});
return
ApiResult
.
Success
(
data
:
pageModel
);
...
...
@@ -4231,19 +4240,28 @@ namespace Mall.WebApi.Controllers.TradePavilion
TenantId
=
parms
.
GetInt
(
"TenantId"
,
0
),
};
var
list
=
buildingCarrierModule
.
GetAllBrandEnterprisePageModule
(
pageModel
.
pageIndex
,
pageModel
.
pageSize
,
out
long
count
,
query
);
foreach
(
var
item
in
list
)
{
item
.
BannerList
=
new
List
<
string
>();
if
(!
string
.
IsNullOrWhiteSpace
(
item
.
Logo
))
{
item
.
BannerList
.
Add
(
item
.
Logo
);
}
}
pageModel
.
count
=
Convert
.
ToInt32
(
count
);
pageModel
.
pageData
=
list
.
Select
(
x
=>
new
{
x
.
ID
,
x
.
BrandName
,
Logo
=
x
.
Logo
??
""
,
x
.
BannerList
,
x
.
TenantId
,
x
.
MallBaseId
,
x
.
FullBrandName
,
ProjectType
=
x
.
CategoryId
,
ProjectTypeName
=
x
.
CategoryName
,
x
.
IsInChengdu
,
});
});
;
return
ApiResult
.
Success
(
data
:
pageModel
);
}
#
endregion
...
...
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