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
11f84bd0
Commit
11f84bd0
authored
Jan 03, 2025
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
99466aa4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
7 deletions
+22
-7
AppletTradeController.cs
...WebApi/Controllers/TradePavilion/AppletTradeController.cs
+22
-7
No files found.
Mall.WebApi/Controllers/TradePavilion/AppletTradeController.cs
View file @
11f84bd0
...
...
@@ -1899,7 +1899,10 @@ namespace Mall.WebApi.Controllers.TradePavilion
StartingInfo
=
extModel
.
StartingInfo
??
""
,
listEnroll
,
extModel
.
OpeningStatus
,
extModel
.
FirstStoreTest
extModel
.
FirstStoreTest
,
ContactName
=
extModel
.
ContactName
??
""
,
ContactPhone
=
extModel
.
ContactPhone
??
""
,
TongYiMobile
=
Config
.
TongYiPhone
??
""
,
});
}
...
...
@@ -2157,6 +2160,8 @@ namespace Mall.WebApi.Controllers.TradePavilion
{
extModel
.
Other
=
HtmlHelper
.
StripHT
(
extModel
.
Other
);
}
extModel
.
TongYiMobile
=
Config
.
TongYiPhone
??
""
;
return
ApiResult
.
Success
(
data
:
extModel
);
}
...
...
@@ -3016,11 +3021,13 @@ namespace Mall.WebApi.Controllers.TradePavilion
query
.
TenantId
=
RequestParm
.
TenantId
;
var
list
=
buildingCarrierModule
.
GetBuildingPageModule
(
pageModel
.
pageIndex
,
pageModel
.
pageSize
,
out
long
count
,
query
);
pageModel
.
count
=
Convert
.
ToInt32
(
count
);
List
<
string
>
defaultImageList
=
new
List
<
string
>();
defaultImageList
.
Add
(
Config
.
DefaultImage
);
pageModel
.
pageData
=
list
.
Select
(
x
=>
new
{
ID
=
x
.
BuildId
,
CarrierName
=
x
.
Name
,
Logo
=
x
.
BannerList
?.
FirstOrDefault
()
??
""
,
Logo
=
x
.
BannerList
?.
FirstOrDefault
()
??
Config
.
DefaultImage
,
CreateDate
=
x
.
CreateDate
.
ToString
(
"yyyy-MM-dd HH:mm"
),
x
.
Address
,
x
.
LatAndLon
,
...
...
@@ -3031,7 +3038,7 @@ namespace Mall.WebApi.Controllers.TradePavilion
LayersNum
=
x
.
FloorNum
,
CarNum
=
x
.
ElevatorNum
,
//电梯数,载体的是车位数
x
.
CategoryName
,
x
.
BannerList
,
BannerList
=
(
x
.
BannerList
?.
Count
??
0
)
==
0
?
defaultImageList
:
x
.
BannerList
,
});
return
ApiResult
.
Success
(
data
:
pageModel
);
}
...
...
@@ -3069,6 +3076,12 @@ namespace Mall.WebApi.Controllers.TradePavilion
var
collectModel
=
carrierModule
.
GetList
(
new
RB_Collect_Extend
{
Status
=
0
,
Type
=
4
,
UserId
=
RequestParm
.
UserId
,
SourceId
=
extModel
.
BuildId
,
MallBaseId
=
query
.
MallBaseId
,
TenantId
=
query
.
TenantId
}).
FirstOrDefault
();
CollectId
=
collectModel
?.
Id
??
0
;
}
if
((
extModel
?.
BannerList
?.
Count
??
0
)
==
0
)
{
extModel
.
BannerList
=
new
List
<
string
>();
extModel
.
BannerList
.
Add
(
Config
.
DefaultImage
);
extModel
.
Banner
=
JsonConvert
.
SerializeObject
(
extModel
.
BannerList
);
}
return
ApiResult
.
Success
(
data
:
new
{
CollectId
,
...
...
@@ -3095,8 +3108,8 @@ namespace Mall.WebApi.Controllers.TradePavilion
IndustryDirection
=
extModel
?.
IndustryDirection
??
""
,
BrandDemand
=
extModel
?.
BrandDemand
??
""
,
Other
=
extModel
?.
Other
??
""
,
//
ContactName = extModel?.ContactName ?? "",
//
ContactPhone = extModel?.ContactPhone ?? "",
ContactName
=
extModel
?.
ContactName
??
""
,
ContactPhone
=
extModel
?.
ContactPhone
??
""
,
});
}
...
...
@@ -3275,6 +3288,8 @@ namespace Mall.WebApi.Controllers.TradePavilion
RentFee
=
extModel
?.
RentFee
??
0
,
BannerList
=
extModel
?.
BannerList
??
new
List
<
string
>(),
ETypeName
=
extModel
.
ETypeName
??
""
,
ContactName
=
extModel
?.
ContactName
??
""
,
ContactPhone
=
extModel
?.
ContactPhone
??
""
,
};
return
ApiResult
.
Success
(
data
:
result
);
}
...
...
@@ -4220,7 +4235,7 @@ namespace Mall.WebApi.Controllers.TradePavilion
var
query
=
new
RB_Building_Carrier_Extend
()
{
CarrierName
=
parms
.
GetStringValue
(
"CarrierName"
),
CategoryId
=
parms
.
GetInt
(
"
ProjectType
"
,
0
),
CategoryId
=
parms
.
GetInt
(
"
CategoryId
"
,
0
),
FirstStoreTest
=
parms
.
GetInt
(
"FirstStoreTest"
,
-
1
),
MallBaseId
=
parms
.
GetInt
(
"MallBaseId"
,
0
),
TenantId
=
parms
.
GetInt
(
"TenantId"
,
0
),
...
...
@@ -4270,7 +4285,7 @@ namespace Mall.WebApi.Controllers.TradePavilion
var
query
=
new
RB_Brand_Enterprise_Extend
()
{
BrandName
=
parms
.
GetStringValue
(
"BrandName"
),
CategoryId
=
parms
.
GetInt
(
"
ProjectType
"
,
0
),
CategoryId
=
parms
.
GetInt
(
"
BrandClassId
"
,
0
),
IsInChengdu
=
parms
.
GetInt
(
"IsInChengdu"
,
-
1
),
MallBaseId
=
parms
.
GetInt
(
"MallBaseId"
,
0
),
TenantId
=
parms
.
GetInt
(
"TenantId"
,
0
),
...
...
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