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
ead1308c
Commit
ead1308c
authored
Aug 31, 2021
by
吴春
Browse files
Options
Browse Files
Download
Plain Diff
解决冲突
parents
19c88040
fa3bc33e
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
959 additions
and
278 deletions
+959
-278
RB_Miniprogram_Template_Extend.cs
.../Extend/MarketingCenter/RB_Miniprogram_Template_Extend.cs
+723
-266
RB_Brand_Extend.cs
Mall.Model/Extend/TradePavilion/RB_Brand_Extend.cs
+8
-5
RB_Carrier_Extend.cs
Mall.Model/Extend/TradePavilion/RB_Carrier_Extend.cs
+5
-1
RB_Custom_Form_Extend.cs
Mall.Model/Extend/TradePavilion/RB_Custom_Form_Extend.cs
+46
-0
MiniprogramTemplateModule.cs
Mall.Module.MarketingCenter/MiniprogramTemplateModule.cs
+27
-0
CarrierModule.cs
Mall.Module.TradePavilion/CarrierModule.cs
+3
-0
CustomFormModule.cs
Mall.Module.TradePavilion/CustomFormModule.cs
+55
-5
RB_BrandRepository.cs
Mall.Repository/TradePavilion/RB_BrandRepository.cs
+10
-0
RB_CarrierRepository.cs
Mall.Repository/TradePavilion/RB_CarrierRepository.cs
+5
-0
MallHelper.cs
Mall.WebApi/Controllers/Mall/MallHelper.cs
+77
-1
No files found.
Mall.Model/Extend/MarketingCenter/RB_Miniprogram_Template_Extend.cs
View file @
ead1308c
using
VT.FW.DB
;
using
VT.FW.DB
;
using
Mall.Model.Entity.MarketingCenter
;
using
System
;
using
System
;
using
System.Collections.Generic
;
using
System.Collections.Generic
;
using
System.ComponentModel.DataAnnotations
;
using
Mall.Model.Entity.MarketingCenter
;
using
System.Text
;
namespace
Mall.Model.Extend.MarketingCenter
namespace
Mall.Model.Extend.MarketingCenter
{
{
...
@@ -12,7 +10,7 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -12,7 +10,7 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
[
Serializable
]
[
Serializable
]
[
DB
(
ConnectionName
=
"DefaultConnection"
)]
[
DB
(
ConnectionName
=
"DefaultConnection"
)]
public
class
RB_Miniprogram_Template_Extend
:
Model
.
Entity
.
MarketingCenter
.
RB_Miniprogram_Template
public
class
RB_Miniprogram_Template_Extend
:
RB_Miniprogram_Template
{
{
/// <summary>
/// <summary>
/// 自定义模板编号【查询使用】
/// 自定义模板编号【查询使用】
...
@@ -374,7 +372,7 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -374,7 +372,7 @@ namespace Mall.Model.Extend.MarketingCenter
public
string
url
{
get
;
set
;
}
public
string
url
{
get
;
set
;
}
/// <summary>
/// <summary>
///
navigate
///
打开方式(默认新页面打开)
/// </summary>
/// </summary>
public
string
openType
{
get
;
set
;
}
public
string
openType
{
get
;
set
;
}
...
@@ -593,8 +591,14 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -593,8 +591,14 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
string
name
{
get
;
set
;
}
public
string
name
{
get
;
set
;
}
/// <summary>
/// 自定义专题(1-是)
/// </summary>
public
int
custom
{
get
;
set
;
}
public
int
custom
{
get
;
set
;
}
/// <summary>
/// 专题数量
/// </summary>
public
int
number
{
get
;
set
;
}
public
int
number
{
get
;
set
;
}
/// <summary>
/// <summary>
...
@@ -624,7 +628,7 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -624,7 +628,7 @@ namespace Mall.Model.Extend.MarketingCenter
public
int
read_count
{
get
;
set
;
}
public
int
read_count
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
layout
/// </summary>
/// </summary>
public
int
layout
{
get
;
set
;
}
public
int
layout
{
get
;
set
;
}
...
@@ -829,6 +833,9 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -829,6 +833,9 @@ namespace Mall.Model.Extend.MarketingCenter
public
string
backgroundSize
{
get
;
set
;
}
public
string
backgroundSize
{
get
;
set
;
}
/// <summary>
/// 背景图片位置
/// </summary>
public
string
backgroundPosition
{
get
;
set
;
}
public
string
backgroundPosition
{
get
;
set
;
}
public
int
zIndex
{
get
;
set
;
}
public
int
zIndex
{
get
;
set
;
}
...
@@ -1098,13 +1105,13 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -1098,13 +1105,13 @@ namespace Mall.Model.Extend.MarketingCenter
public
string
backgroundPicUrl
{
get
;
set
;
}
public
string
backgroundPicUrl
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
背景图片位置
/// </summary>
/// </summary>
public
int
position
{
get
;
set
;
}
public
int
position
{
get
;
set
;
}
/// <summary>
/// <summary>
///
图片位置
///
填充方式
/// </summary>
/// </summary>
public
int
mode
{
get
;
set
;
}
public
int
mode
{
get
;
set
;
}
...
@@ -1142,7 +1149,6 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -1142,7 +1149,6 @@ namespace Mall.Model.Extend.MarketingCenter
/// <summary>
/// <summary>
/// 商品名称
/// 商品名称
/// </summary>
/// </summary>
public
string
name
{
get
;
set
;
}
public
string
name
{
get
;
set
;
}
/// <summary>
/// <summary>
...
@@ -1311,7 +1317,6 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -1311,7 +1317,6 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
string
textPosition
{
get
;
set
;
}
public
string
textPosition
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 文本颜色
/// 文本颜色
/// </summary>
/// </summary>
...
@@ -1328,16 +1333,34 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -1328,16 +1333,34 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
class
checkInHotSpot
public
class
checkInHotSpot
{
{
/// <summary>
/// 高度
/// </summary>
public
int
height
{
get
;
set
;
}
public
int
height
{
get
;
set
;
}
/// <summary>
/// 宽度
/// </summary>
public
int
width
{
get
;
set
;
}
public
int
width
{
get
;
set
;
}
/// <summary>
/// 左边距
/// </summary>
public
int
left
{
get
;
set
;
}
public
int
left
{
get
;
set
;
}
/// <summary>
/// 上边距
/// </summary>
public
int
top
{
get
;
set
;
}
public
int
top
{
get
;
set
;
}
/// <summary>
/// 起始点X坐标
/// </summary>
public
int
defaultX
{
get
;
set
;
}
public
int
defaultX
{
get
;
set
;
}
/// <summary>
/// 起始点Y坐标
/// </summary>
public
int
defaultY
{
get
;
set
;
}
public
int
defaultY
{
get
;
set
;
}
/// <summary>
/// <summary>
...
@@ -1346,12 +1369,12 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -1346,12 +1369,12 @@ namespace Mall.Model.Extend.MarketingCenter
public
bool
is_close
{
get
;
set
;
}
public
bool
is_close
{
get
;
set
;
}
/// <summary>
/// <summary>
///
link
///
链接地址
/// </summary>
/// </summary>
public
string
link
{
get
;
set
;
}
public
string
link
{
get
;
set
;
}
/// <summary>
/// <summary>
///
open_type
///
页面打开方式
/// </summary>
/// </summary>
public
string
open_type
{
get
;
set
;
}
public
string
open_type
{
get
;
set
;
}
}
}
...
@@ -1361,11 +1384,19 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -1361,11 +1384,19 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
class
userinfoItem
public
class
userinfoItem
{
{
/// <summary>
/// 样式
/// </summary>
public
int
style
{
get
;
set
;
}
public
int
style
{
get
;
set
;
}
/// <summary>
/// 背景图片
/// </summary>
public
string
backgroundPicUrl
{
get
;
set
;
}
public
string
backgroundPicUrl
{
get
;
set
;
}
/// <summary>
/// 背景颜色
/// </summary>
public
string
backgroundColor
{
get
;
set
;
}
public
string
backgroundColor
{
get
;
set
;
}
}
}
...
@@ -1421,26 +1452,38 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -1421,26 +1452,38 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
string
location
{
get
;
set
;
}
public
string
location
{
get
;
set
;
}
/// <summary>
/// 地图高度
/// </summary>
public
int
height
{
get
;
set
;
}
public
int
height
{
get
;
set
;
}
/// <summary>
/// 上下边距
/// </summary>
public
int
paddingY
{
get
;
set
;
}
public
int
paddingY
{
get
;
set
;
}
/// <summary>
/// 左右边距
/// </summary>
public
int
paddingX
{
get
;
set
;
}
public
int
paddingX
{
get
;
set
;
}
/// <summary>
/// 顶部外边距
/// </summary>
public
int
marginTop
{
get
;
set
;
}
public
int
marginTop
{
get
;
set
;
}
/// <summary>
/// <summary>
///
marginTopColor
///
外边距颜色
/// </summary>
/// </summary>
public
string
marginTopColor
{
get
;
set
;
}
public
string
marginTopColor
{
get
;
set
;
}
/// <summary>
/// <summary>
///
backgroundColor
///
背景颜色
/// </summary>
/// </summary>
public
string
backgroundColor
{
get
;
set
;
}
public
string
backgroundColor
{
get
;
set
;
}
/// <summary>
/// <summary>
///
backgroundPicUrl
///
背景图片
/// </summary>
/// </summary>
public
string
backgroundPicUrl
{
get
;
set
;
}
public
string
backgroundPicUrl
{
get
;
set
;
}
}
}
...
@@ -1498,16 +1541,28 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -1498,16 +1541,28 @@ namespace Mall.Model.Extend.MarketingCenter
public
string
backgroundColor
{
get
;
set
;
}
public
string
backgroundColor
{
get
;
set
;
}
/// <summary>
/// <summary>
///
backgroundPicUrl
///
背景图片
/// </summary>
/// </summary>
public
string
backgroundPicUrl
{
get
;
set
;
}
public
string
backgroundPicUrl
{
get
;
set
;
}
/// <summary>
/// 背景图片位置
/// </summary>
public
int
position
{
get
;
set
;
}
public
int
position
{
get
;
set
;
}
/// <summary>
/// 填充方式
/// </summary>
public
int
mode
{
get
;
set
;
}
public
int
mode
{
get
;
set
;
}
/// <summary>
/// 背景高度
/// </summary>
public
int
backgroundHeight
{
get
;
set
;
}
public
int
backgroundHeight
{
get
;
set
;
}
/// <summary>
/// 背景宽度
/// </summary>
public
int
backgroundWidth
{
get
;
set
;
}
public
int
backgroundWidth
{
get
;
set
;
}
}
}
...
@@ -1559,84 +1614,140 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -1559,84 +1614,140 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
class
pintuanItem
public
class
pintuanItem
{
{
/// <summary>
/// 按钮颜色
/// </summary>
public
string
buttonColor
{
get
;
set
;
}
public
string
buttonColor
{
get
;
set
;
}
/// <summary>
/// 列表样式(-1-列表模式,1-一行一个,2-一行两个)
/// </summary>
public
int
listStyle
{
get
;
set
;
}
public
int
listStyle
{
get
;
set
;
}
/// <summary>
/// 文本样式(1-左对齐,2-居中)
/// </summary>
public
int
textStyle
{
get
;
set
;
}
public
int
textStyle
{
get
;
set
;
}
/// <summary>
/// 商品封面图填充(1-填充,2-留白)
/// </summary>
public
int
fill
{
get
;
set
;
}
public
int
fill
{
get
;
set
;
}
/// <summary>
/// 商品封面图宽高比例(1-1;3-2)
/// </summary>
public
string
goodsCoverProportion
{
get
;
set
;
}
public
string
goodsCoverProportion
{
get
;
set
;
}
/// <summary>
/// 商品样式(1-白底无边框,2-白底有边框,3-无底无边框)
/// </summary>
public
int
goodsStyle
{
get
;
set
;
}
public
int
goodsStyle
{
get
;
set
;
}
/// <summary>
/// 显示商品名称
/// </summary>
public
bool
showGoodsName
{
get
;
set
;
}
public
bool
showGoodsName
{
get
;
set
;
}
/// <summary>
/// 显示购买按钮
/// </summary>
public
bool
showBuyBtn
{
get
;
set
;
}
public
bool
showBuyBtn
{
get
;
set
;
}
/// <summary>
/// 购买按钮样式(1-填充,2-线条,3-圆角填充,4-圆角线条)
/// </summary>
public
int
buyBtnStyle
{
get
;
set
;
}
public
int
buyBtnStyle
{
get
;
set
;
}
/// <summary>
/// <summary>
///
去拼团
///
购买按钮文字
/// </summary>
/// </summary>
public
string
buyBtnText
{
get
;
set
;
}
public
string
buyBtnText
{
get
;
set
;
}
/// <summary>
/// 显示商品角标
/// </summary>
public
bool
showGoodsTag
{
get
;
set
;
}
public
bool
showGoodsTag
{
get
;
set
;
}
/// <summary>
/// 自定义商品角标
/// </summary>
public
bool
customizeGoodsTag
{
get
;
set
;
}
public
bool
customizeGoodsTag
{
get
;
set
;
}
/// <summary>
/// 商品角标图片
/// </summary>
public
string
goodsTagPicUrl
{
get
;
set
;
}
public
string
goodsTagPicUrl
{
get
;
set
;
}
public
bool
showImg
{
get
;
set
;
}
/// <summary>
/// <summary>
///
backgroundColor
///
背景颜色
/// </summary>
/// </summary>
public
string
backgroundColor
{
get
;
set
;
}
public
string
backgroundColor
{
get
;
set
;
}
/// <summary>
/// <summary>
///
backgroundPicUrl
///
背景图
/// </summary>
/// </summary>
public
string
backgroundPicUrl
{
get
;
set
;
}
public
string
backgroundPicUrl
{
get
;
set
;
}
/// <summary>
/// 图片位置
/// </summary>
public
int
position
{
get
;
set
;
}
public
int
position
{
get
;
set
;
}
/// <summary>
/// 填充方式
/// </summary>
public
int
mode
{
get
;
set
;
}
public
int
mode
{
get
;
set
;
}
/// <summary>
/// 背景高度
/// </summary>
public
int
backgroundHeight
{
get
;
set
;
}
public
int
backgroundHeight
{
get
;
set
;
}
/// <summary>
/// 背景宽度
/// </summary>
public
int
backgroundWidth
{
get
;
set
;
}
public
int
backgroundWidth
{
get
;
set
;
}
/// <summary>
/// 拼团商品列表
/// </summary>
public
List
<
pingtuanGoodsItem
>
list
{
get
;
set
;
}
public
List
<
pingtuanGoodsItem
>
list
{
get
;
set
;
}
}
}
/// <summary>
/// 拼图商品详情
/// </summary>
public
class
pingtuanGoodsItem
public
class
pingtuanGoodsItem
{
{
/// <summary>
/// 商品编号
/// </summary>
public
int
id
{
get
;
set
;
}
public
int
id
{
get
;
set
;
}
/// <summary>
/// <summary>
///
演示
商品名称
/// 商品名称
/// </summary>
/// </summary>
public
string
name
{
get
;
set
;
}
public
string
name
{
get
;
set
;
}
/// <summary>
/// <summary>
///
CoverImage
///
封面图
/// </summary>
/// </summary>
public
string
CoverImage
{
get
;
set
;
}
public
string
CoverImage
{
get
;
set
;
}
/// <summary>
/// <summary>
///
price
///
价格
/// </summary>
/// </summary>
public
decimal
price
{
get
;
set
;
}
public
decimal
price
{
get
;
set
;
}
/// <summary>
/// <summary>
///
pintuanPrice
///
拼团价格
/// </summary>
/// </summary>
public
decimal
pintuanPrice
{
get
;
set
;
}
public
decimal
pintuanPrice
{
get
;
set
;
}
/// <summary>
/// 拼团人数
/// </summary>
public
int
peopleNum
{
get
;
set
;
}
public
int
peopleNum
{
get
;
set
;
}
}
}
...
@@ -1645,61 +1756,105 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -1645,61 +1756,105 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
class
bookingItem
public
class
bookingItem
{
{
/// <summary>
///购买按钮颜色
/// </summary>
public
string
buttonColor
{
get
;
set
;
}
public
string
buttonColor
{
get
;
set
;
}
/// <summary>
/// 预约商品列表
/// </summary>
public
List
<
bookingGoodsItem
>
list
{
get
;
set
;
}
public
List
<
bookingGoodsItem
>
list
{
get
;
set
;
}
/// <summary>
/// 列表样式(-1列表模式,1-一行一个,2-一行两个)
/// </summary>
public
int
listStyle
{
get
;
set
;
}
public
int
listStyle
{
get
;
set
;
}
/// <summary>
/// 商品封面图填充(1-填充,0-留白)
/// </summary>
public
int
fill
{
get
;
set
;
}
public
int
fill
{
get
;
set
;
}
/// <summary>
/// 商品封面图宽高比例(1-1,3-2)
/// </summary>
public
string
goodsCoverProportion
{
get
;
set
;
}
public
string
goodsCoverProportion
{
get
;
set
;
}
/// <summary>
/// 商品样式(1-白底无边框,2-白底有边框,3-无底无边框)
/// </summary>
public
int
goodsStyle
{
get
;
set
;
}
public
int
goodsStyle
{
get
;
set
;
}
/// <summary>
/// 文本样式(1-左对齐,2-居中)
/// </summary>
public
int
textStyle
{
get
;
set
;
}
public
int
textStyle
{
get
;
set
;
}
/// <summary>
/// 显示商品名称
/// </summary>
public
bool
showGoodsName
{
get
;
set
;
}
public
bool
showGoodsName
{
get
;
set
;
}
/// <summary>
/// 显示购买按钮
/// </summary>
public
bool
showBuyBtn
{
get
;
set
;
}
public
bool
showBuyBtn
{
get
;
set
;
}
/// <summary>
/// 购买按钮样式(1-填充,2-线条,3-圆角填充,4-圆角线条)
/// </summary>
public
int
buyBtnStyle
{
get
;
set
;
}
public
int
buyBtnStyle
{
get
;
set
;
}
/// <summary>
/// <summary>
///
预约
///
购买按钮文字
/// </summary>
/// </summary>
public
string
buyBtnText
{
get
;
set
;
}
public
string
buyBtnText
{
get
;
set
;
}
/// <summary>
/// 显示商品角标
/// </summary>
public
bool
showGoodsTag
{
get
;
set
;
}
public
bool
showGoodsTag
{
get
;
set
;
}
/// <summary>
/// 自定义商品角标
/// </summary>
public
bool
customizeGoodsTag
{
get
;
set
;
}
public
bool
customizeGoodsTag
{
get
;
set
;
}
/// <summary>
/// <summary>
///
goodsTagPicUrl
///
商品角标图片
/// </summary>
/// </summary>
public
string
goodsTagPicUrl
{
get
;
set
;
}
public
string
goodsTagPicUrl
{
get
;
set
;
}
public
bool
showImg
{
get
;
set
;
}
/// <summary>
/// <summary>
///
backgroundColor
///
背景颜色
/// </summary>
/// </summary>
public
string
backgroundColor
{
get
;
set
;
}
public
string
backgroundColor
{
get
;
set
;
}
/// <summary>
/// <summary>
///
backgroundPicUrl
///
背景图片
/// </summary>
/// </summary>
public
string
backgroundPicUrl
{
get
;
set
;
}
public
string
backgroundPicUrl
{
get
;
set
;
}
/// <summary>
/// 图片位置
/// </summary>
public
int
position
{
get
;
set
;
}
public
int
position
{
get
;
set
;
}
/// <summary>
/// 填充方式
/// </summary>
public
int
mode
{
get
;
set
;
}
public
int
mode
{
get
;
set
;
}
/// <summary>
/// 背景高度
/// </summary>
public
int
backgroundHeight
{
get
;
set
;
}
public
int
backgroundHeight
{
get
;
set
;
}
/// <summary>
/// 背景宽度
/// </summary>
public
int
backgroundWidth
{
get
;
set
;
}
public
int
backgroundWidth
{
get
;
set
;
}
}
}
/// <summary>
/// <summary>
...
@@ -1707,6 +1862,9 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -1707,6 +1862,9 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
class
bookingGoodsItem
public
class
bookingGoodsItem
{
{
/// <summary>
/// 商品编号
/// </summary>
public
int
id
{
get
;
set
;
}
public
int
id
{
get
;
set
;
}
/// <summary>
/// <summary>
...
@@ -1715,12 +1873,12 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -1715,12 +1873,12 @@ namespace Mall.Model.Extend.MarketingCenter
public
string
name
{
get
;
set
;
}
public
string
name
{
get
;
set
;
}
/// <summary>
/// <summary>
///
CoverImage
///
商品封面图
/// </summary>
/// </summary>
public
string
CoverImage
{
get
;
set
;
}
public
string
CoverImage
{
get
;
set
;
}
/// <summary>
/// <summary>
///
price
///
商品价格
/// </summary>
/// </summary>
public
decimal
price
{
get
;
set
;
}
public
decimal
price
{
get
;
set
;
}
}
}
...
@@ -1730,67 +1888,103 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -1730,67 +1888,103 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
class
bargainItem
public
class
bargainItem
{
{
/// <summary>
/// 按钮颜色
/// </summary>
public
string
buttonColor
{
get
;
set
;
}
public
string
buttonColor
{
get
;
set
;
}
/// <summary>
/// 砍价商品列表
/// </summary>
public
List
<
bargainGoodsItem
>
list
{
get
;
set
;
}
public
List
<
bargainGoodsItem
>
list
{
get
;
set
;
}
/// <summary>
/// 列表样式(-1列表模式,1-一行一个,2-一行两个)
/// </summary>
public
int
listStyle
{
get
;
set
;
}
public
int
listStyle
{
get
;
set
;
}
/// <summary>
/// 商品封面图填充(1-填充,0-留白)
/// </summary>
public
int
fill
{
get
;
set
;
}
public
int
fill
{
get
;
set
;
}
/// <summary>
/// 商品封面图宽高比例(1-1,3-2)
/// </summary>
public
string
goodsCoverProportion
{
get
;
set
;
}
public
string
goodsCoverProportion
{
get
;
set
;
}
/// <summary>
/// 商品样式(1-白底无边框,2-白底有边框,3-无底无边框)
/// </summary>
public
int
goodsStyle
{
get
;
set
;
}
public
int
goodsStyle
{
get
;
set
;
}
/// <summary>
/// 文本样式(1-左对齐,2-居中)
/// </summary>
public
int
textStyle
{
get
;
set
;
}
public
int
textStyle
{
get
;
set
;
}
/// <summary>
/// 显示商品名称
/// </summary>
public
bool
showGoodsName
{
get
;
set
;
}
public
bool
showGoodsName
{
get
;
set
;
}
/// <summary>
/// 显示购买按钮
/// </summary>
public
bool
showBuyBtn
{
get
;
set
;
}
public
bool
showBuyBtn
{
get
;
set
;
}
/// <summary>
/// 购买按钮样式(1-填充,2-线条,3-圆角填充,4-圆角线条)
/// </summary>
public
int
buyBtnStyle
{
get
;
set
;
}
public
int
buyBtnStyle
{
get
;
set
;
}
/// <summary>
/// <summary>
///
去参与
///
按钮文字
/// </summary>
/// </summary>
public
string
buyBtnText
{
get
;
set
;
}
public
string
buyBtnText
{
get
;
set
;
}
/// <summary>
/// 显示商品角标
/// </summary>
public
bool
showGoodsTag
{
get
;
set
;
}
public
bool
showGoodsTag
{
get
;
set
;
}
/// <summary>
/// 自定义商品角标
/// </summary>
public
bool
customizeGoodsTag
{
get
;
set
;
}
public
bool
customizeGoodsTag
{
get
;
set
;
}
/// <summary>
/// <summary>
///
goodsTagPicUrl
///
商品角标图片
/// </summary>
/// </summary>
public
string
goodsTagPicUrl
{
get
;
set
;
}
public
string
goodsTagPicUrl
{
get
;
set
;
}
public
bool
showImg
{
get
;
set
;
}
/// <summary>
/// <summary>
///
backgroundColor
///
背景颜色
/// </summary>
/// </summary>
public
string
backgroundColor
{
get
;
set
;
}
public
string
backgroundColor
{
get
;
set
;
}
/// <summary>
/// <summary>
///
backgroundPicUrl
///
背景图片
/// </summary>
/// </summary>
public
string
backgroundPicUrl
{
get
;
set
;
}
public
string
backgroundPicUrl
{
get
;
set
;
}
/// <summary>
/// 图片位置
/// </summary>
public
int
position
{
get
;
set
;
}
public
int
position
{
get
;
set
;
}
/// <summary>
/// <summary>
///
mode
///
填充方式
/// </summary>
/// </summary>
public
int
mode
{
get
;
set
;
}
public
int
mode
{
get
;
set
;
}
/// <summary>
/// <summary>
///
backgroundHeight
///
背景高度
/// </summary>
/// </summary>
public
int
backgroundHeight
{
get
;
set
;
}
public
int
backgroundHeight
{
get
;
set
;
}
/// <summary>
/// <summary>
///
backgroundWidth
///
背景宽度
/// </summary>
/// </summary>
public
int
backgroundWidth
{
get
;
set
;
}
public
int
backgroundWidth
{
get
;
set
;
}
}
}
...
@@ -1800,20 +1994,29 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -1800,20 +1994,29 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
class
bargainGoodsItem
public
class
bargainGoodsItem
{
{
/// <summary>
/// 商品编号
/// </summary>
public
int
id
{
get
;
set
;
}
public
int
id
{
get
;
set
;
}
/// <summary>
/// <summary>
///
演示
商品名称
/// 商品名称
/// </summary>
/// </summary>
public
string
name
{
get
;
set
;
}
public
string
name
{
get
;
set
;
}
/// <summary>
/// <summary>
///
CoverImage
///
封面图
/// </summary>
/// </summary>
public
string
CoverImage
{
get
;
set
;
}
public
string
CoverImage
{
get
;
set
;
}
/// <summary>
/// 售价
/// </summary>
public
decimal
price
{
get
;
set
;
}
public
decimal
price
{
get
;
set
;
}
/// <summary>
/// 原价
/// </summary>
public
decimal
originalPrice
{
get
;
set
;
}
public
decimal
originalPrice
{
get
;
set
;
}
}
}
...
@@ -1822,54 +2025,124 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -1822,54 +2025,124 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
class
integralmallItem
public
class
integralmallItem
{
{
/// <summary>
/// 显示优惠券
/// </summary>
public
bool
showCoupon
{
get
;
set
;
}
public
bool
showCoupon
{
get
;
set
;
}
/// <summary>
/// 显示商品
/// </summary>
public
bool
showGoods
{
get
;
set
;
}
public
bool
showGoods
{
get
;
set
;
}
/// <summary>
/// 优惠券文字颜色
/// </summary>
public
string
couponColor
{
get
;
set
;
}
public
string
couponColor
{
get
;
set
;
}
/// <summary>
/// 优惠券背景图片
/// </summary>
public
string
couponPicUrl
{
get
;
set
;
}
public
string
couponPicUrl
{
get
;
set
;
}
/// <summary>
/// 购买按钮颜色
/// </summary>
public
string
buttonColor
{
get
;
set
;
}
public
string
buttonColor
{
get
;
set
;
}
/// <summary>
/// 列表样式(-1列表模式,1-一行一个,2-一行两个)
/// </summary>
public
int
listStyle
{
get
;
set
;
}
public
int
listStyle
{
get
;
set
;
}
/// <summary>
/// 商品封面图填充(1-填充,0-留白)
/// </summary>
public
int
fill
{
get
;
set
;
}
public
int
fill
{
get
;
set
;
}
/// <summary>
/// 商品封面图宽高比例(1-1,3-2)
/// </summary>
public
string
goodsCoverProportion
{
get
;
set
;
}
public
string
goodsCoverProportion
{
get
;
set
;
}
/// <summary>
/// 商品样式(1-白底无边框,2-白底有边框,3-无底无边框)
/// </summary>
public
int
goodsStyle
{
get
;
set
;
}
public
int
goodsStyle
{
get
;
set
;
}
/// <summary>
/// 文本样式(1-左对齐,2-居中)
/// </summary>
public
int
textStyle
{
get
;
set
;
}
public
int
textStyle
{
get
;
set
;
}
/// <summary>
/// 显示商品名称
/// </summary>
public
bool
showGoodsName
{
get
;
set
;
}
public
bool
showGoodsName
{
get
;
set
;
}
/// <summary>
/// 显示购买按钮
/// </summary>
public
bool
showBuyBtn
{
get
;
set
;
}
public
bool
showBuyBtn
{
get
;
set
;
}
/// <summary>
/// 购买按钮样式(1-填充,2-线条,3-圆角填充,4-圆角线条)
/// </summary>
public
int
buyBtnStyle
{
get
;
set
;
}
public
int
buyBtnStyle
{
get
;
set
;
}
/// <summary>
/// 购买按钮文字
/// </summary>
public
string
buyBtnText
{
get
;
set
;
}
public
string
buyBtnText
{
get
;
set
;
}
/// <summary>
/// 显示商品角标
/// </summary>
public
bool
showGoodsTag
{
get
;
set
;
}
public
bool
showGoodsTag
{
get
;
set
;
}
/// <summary>
/// 自定义商品角标
/// </summary>
public
bool
customizeGoodsTag
{
get
;
set
;
}
public
bool
customizeGoodsTag
{
get
;
set
;
}
/// <summary>
/// 商品角标图片
/// </summary>
public
string
goodsTagPicUrl
{
get
;
set
;
}
public
string
goodsTagPicUrl
{
get
;
set
;
}
public
bool
showImg
{
get
;
set
;
}
/// <summary>
/// 背景颜色
/// </summary>
public
string
backgroundColor
{
get
;
set
;
}
public
string
backgroundColor
{
get
;
set
;
}
/// <summary>
/// 背景图片
/// </summary>
public
string
backgroundPicUrl
{
get
;
set
;
}
public
string
backgroundPicUrl
{
get
;
set
;
}
/// <summary>
/// 图片位置
/// </summary>
public
int
position
{
get
;
set
;
}
public
int
position
{
get
;
set
;
}
/// <summary>
/// 填充方式
/// </summary>
public
int
mode
{
get
;
set
;
}
public
int
mode
{
get
;
set
;
}
/// <summary>
/// 背景高度
/// </summary>
public
int
backgroundHeight
{
get
;
set
;
}
public
int
backgroundHeight
{
get
;
set
;
}
/// <summary>
/// 背景宽度
/// </summary>
public
int
backgroundWidth
{
get
;
set
;
}
public
int
backgroundWidth
{
get
;
set
;
}
/// <summary>
/// 积分商城商品列表
/// </summary>
public
List
<
integralmallGoodsItem
>
list
{
get
;
set
;
}
public
List
<
integralmallGoodsItem
>
list
{
get
;
set
;
}
}
}
...
@@ -1878,17 +2151,29 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -1878,17 +2151,29 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
class
integralmallGoodsItem
public
class
integralmallGoodsItem
{
{
/// <summary>
/// 商品编号
/// </summary>
public
int
id
{
get
;
set
;
}
public
int
id
{
get
;
set
;
}
/// <summary>
/// <summary>
///
演示
商品名称
/// 商品名称
/// </summary>
/// </summary>
public
string
name
{
get
;
set
;
}
public
string
name
{
get
;
set
;
}
/// <summary>
/// 封面图
/// </summary>
public
string
CoverImage
{
get
;
set
;
}
public
string
CoverImage
{
get
;
set
;
}
/// <summary>
/// 售价
/// </summary>
public
decimal
price
{
get
;
set
;
}
public
decimal
price
{
get
;
set
;
}
/// <summary>
/// 原价
/// </summary>
public
decimal
originalPrice
{
get
;
set
;
}
public
decimal
originalPrice
{
get
;
set
;
}
/// <summary>
/// <summary>
...
@@ -1902,57 +2187,104 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -1902,57 +2187,104 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
class
lotteryItem
public
class
lotteryItem
{
{
/// <summary>
/// 购买按钮颜色
/// </summary>
public
string
buttonColor
{
get
;
set
;
}
public
string
buttonColor
{
get
;
set
;
}
/// <summary>
/// 列表样式(-1列表模式,1-一行一个,2-一行两个)
/// </summary>
public
int
listStyle
{
get
;
set
;
}
public
int
listStyle
{
get
;
set
;
}
/// <summary>
/// 商品封面图填充(1-填充,0-留白)
/// </summary>
public
int
fill
{
get
;
set
;
}
public
int
fill
{
get
;
set
;
}
/// <summary>
/// 商品封面图宽高比例(1-1,3-2)
/// </summary>
public
string
goodsCoverProportion
{
get
;
set
;
}
public
string
goodsCoverProportion
{
get
;
set
;
}
/// <summary>
/// 商品样式(1-白底无边框,2-白底有边框,3-无底无边框)
/// </summary>
public
int
goodsStyle
{
get
;
set
;
}
public
int
goodsStyle
{
get
;
set
;
}
/// <summary>
/// 文本样式(1-左对齐,2-居中)
/// </summary>
public
int
textStyle
{
get
;
set
;
}
public
int
textStyle
{
get
;
set
;
}
/// <summary>
/// 显示商品名称
/// </summary>
public
bool
showGoodsName
{
get
;
set
;
}
public
bool
showGoodsName
{
get
;
set
;
}
/// <summary>
/// 显示购买按钮
/// </summary>
public
bool
showBuyBtn
{
get
;
set
;
}
public
bool
showBuyBtn
{
get
;
set
;
}
/// <summary>
/// 购买按钮样式(1-填充,2-线条,3-圆角填充,4-圆角线条)
/// </summary>
public
int
buyBtnStyle
{
get
;
set
;
}
public
int
buyBtnStyle
{
get
;
set
;
}
/// <summary>
/// <summary>
///
去参与
///
购买按钮文字
/// </summary>
/// </summary>
public
string
buyBtnText
{
get
;
set
;
}
public
string
buyBtnText
{
get
;
set
;
}
/// <summary>
/// 显示商品角标
/// </summary>
public
bool
showGoodsTag
{
get
;
set
;
}
public
bool
showGoodsTag
{
get
;
set
;
}
/// <summary>
/// 自定义商品角标
/// </summary>
public
bool
customizeGoodsTag
{
get
;
set
;
}
public
bool
customizeGoodsTag
{
get
;
set
;
}
/// <summary>
/// <summary>
///
goodsTagPicUrl
///
商品角标图片
/// </summary>
/// </summary>
public
string
goodsTagPicUrl
{
get
;
set
;
}
public
string
goodsTagPicUrl
{
get
;
set
;
}
public
bool
showImg
{
get
;
set
;
}
/// <summary>
/// <summary>
///
backgroundColor
///
背景颜色
/// </summary>
/// </summary>
public
string
backgroundColor
{
get
;
set
;
}
public
string
backgroundColor
{
get
;
set
;
}
/// <summary>
/// <summary>
///
backgroundPicUrl
///
背景图片
/// </summary>
/// </summary>
public
string
backgroundPicUrl
{
get
;
set
;
}
public
string
backgroundPicUrl
{
get
;
set
;
}
/// <summary>
/// 图片位置
/// </summary>
public
int
position
{
get
;
set
;
}
public
int
position
{
get
;
set
;
}
/// <summary>
/// 填充方式
/// </summary>
public
int
mode
{
get
;
set
;
}
public
int
mode
{
get
;
set
;
}
/// <summary>
/// 背景高度
/// </summary>
public
int
backgroundHeight
{
get
;
set
;
}
public
int
backgroundHeight
{
get
;
set
;
}
/// <summary>
/// 背景宽度
/// </summary>
public
int
backgroundWidth
{
get
;
set
;
}
public
int
backgroundWidth
{
get
;
set
;
}
/// <summary>
/// 抽奖商品列表
/// </summary>
public
List
<
bargainGoodsItem
>
list
{
get
;
set
;
}
public
List
<
bargainGoodsItem
>
list
{
get
;
set
;
}
}
}
...
@@ -1961,72 +2293,136 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -1961,72 +2293,136 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
class
advanceItem
public
class
advanceItem
{
{
/// <summary>
/// 购买按钮颜色
/// </summary>
public
string
buttonColor
{
get
;
set
;
}
public
string
buttonColor
{
get
;
set
;
}
/// <summary>
/// 预售商品列表
/// </summary>
public
List
<
advanceGoodsItem
>
list
{
get
;
set
;
}
public
List
<
advanceGoodsItem
>
list
{
get
;
set
;
}
/// <summary>
/// 列表样式(-1列表模式,1-一行一个,2-一行两个)
/// </summary>
public
int
listStyle
{
get
;
set
;
}
public
int
listStyle
{
get
;
set
;
}
/// <summary>
/// 商品封面图填充(1-填充,0-留白)
/// </summary>
public
int
fill
{
get
;
set
;
}
public
int
fill
{
get
;
set
;
}
/// <summary>
/// 商品封面图宽高比例(1-1,3-2)
/// </summary>
public
string
goodsCoverProportion
{
get
;
set
;
}
public
string
goodsCoverProportion
{
get
;
set
;
}
/// <summary>
/// 商品样式(1-白底无边框,2-白底有边框,3-无底无边框)
/// </summary>
public
int
goodsStyle
{
get
;
set
;
}
public
int
goodsStyle
{
get
;
set
;
}
/// <summary>
/// 文本样式(1-左对齐,2-居中)
/// </summary>
public
int
textStyle
{
get
;
set
;
}
public
int
textStyle
{
get
;
set
;
}
/// <summary>
/// 显示商品名称
/// </summary>
public
bool
showGoodsName
{
get
;
set
;
}
public
bool
showGoodsName
{
get
;
set
;
}
/// <summary>
/// 显示购买按钮
/// </summary>
public
bool
showBuyBtn
{
get
;
set
;
}
public
bool
showBuyBtn
{
get
;
set
;
}
/// <summary>
/// 购买按钮样式(1-填充,2-线条,3-圆角填充,4-圆角线条)
/// </summary>
public
int
buyBtnStyle
{
get
;
set
;
}
public
int
buyBtnStyle
{
get
;
set
;
}
/// <summary>
/// <summary>
///
抢购
///
购买按钮文字(抢购)
/// </summary>
/// </summary>
public
string
buyBtnText
{
get
;
set
;
}
public
string
buyBtnText
{
get
;
set
;
}
/// <summary>
/// 显示商品角标
/// </summary>
public
bool
showGoodsTag
{
get
;
set
;
}
public
bool
showGoodsTag
{
get
;
set
;
}
/// <summary>
/// 自定义商品角标
/// </summary>
public
bool
customizeGoodsTag
{
get
;
set
;
}
public
bool
customizeGoodsTag
{
get
;
set
;
}
public
string
goodsTagPicUrl
{
get
;
set
;
}
public
int
goodsIndex
{
get
;
set
;
}
public
int
start_x
{
get
;
set
;
}
public
bool
showImg
{
get
;
set
;
}
/// <summary>
/// 商品角标图片
/// </summary>
public
string
goodsTagPicUrl
{
get
;
set
;
}
/// <summary>
/// 背景颜色
/// </summary>
public
string
backgroundColor
{
get
;
set
;
}
public
string
backgroundColor
{
get
;
set
;
}
/// <summary>
/// 背景图片
/// </summary>
public
string
backgroundPicUrl
{
get
;
set
;
}
public
string
backgroundPicUrl
{
get
;
set
;
}
/// <summary>
/// 图片位置
/// </summary>
public
int
position
{
get
;
set
;
}
public
int
position
{
get
;
set
;
}
/// <summary>
/// 填充方式
/// </summary>
public
int
mode
{
get
;
set
;
}
public
int
mode
{
get
;
set
;
}
/// <summary>
/// 背景高度
/// </summary>
public
int
backgroundHeight
{
get
;
set
;
}
public
int
backgroundHeight
{
get
;
set
;
}
/// <summary>
/// 背景宽度
/// </summary>
public
int
backgroundWidth
{
get
;
set
;
}
public
int
backgroundWidth
{
get
;
set
;
}
}
}
/// <summary>
/// 预售商品详情
/// </summary>
public
class
advanceGoodsItem
public
class
advanceGoodsItem
{
{
/// <summary>
/// 商品编号
/// </summary>
public
int
id
{
get
;
set
;
}
public
int
id
{
get
;
set
;
}
/// <summary>
/// <summary>
///
演示
商品名称
/// 商品名称
/// </summary>
/// </summary>
public
string
name
{
get
;
set
;
}
public
string
name
{
get
;
set
;
}
/// <summary>
/// <summary>
///
CoverImage
///
商品封面图
/// </summary>
/// </summary>
public
string
CoverImage
{
get
;
set
;
}
public
string
CoverImage
{
get
;
set
;
}
/// <summary>
/// 售价
/// </summary>
public
decimal
price
{
get
;
set
;
}
public
decimal
price
{
get
;
set
;
}
/// <summary>
/// 原价
/// </summary>
public
decimal
originalPrice
{
get
;
set
;
}
public
decimal
originalPrice
{
get
;
set
;
}
public
string
deposit
{
get
;
set
;
}
public
string
swell_deposit
{
get
;
set
;
}
}
}
/// <summary>
/// <summary>
...
@@ -2034,28 +2430,79 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -2034,28 +2430,79 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
class
vipcardItem
public
class
vipcardItem
{
{
/// <summary>
/// 背景眼色
/// </summary>
public
string
background
{
get
;
set
;
}
public
string
background
{
get
;
set
;
}
/// <summary>
/// 使用插件配置
/// </summary>
public
bool
usePluginConfig
{
get
;
set
;
}
public
bool
usePluginConfig
{
get
;
set
;
}
/// <summary>
/// 上下间距
/// </summary>
public
int
top_bottom_padding
{
get
;
set
;
}
public
int
top_bottom_padding
{
get
;
set
;
}
/// <summary>
/// 未购买用户背景图
/// </summary>
public
string
buy_bg
{
get
;
set
;
}
public
string
buy_bg
{
get
;
set
;
}
/// <summary>
/// 已购买用户背景图
/// </summary>
public
string
renew_bg
{
get
;
set
;
}
public
string
renew_bg
{
get
;
set
;
}
/// <summary>
/// 文字眼色
/// </summary>
public
string
buy_big_color
{
get
;
set
;
}
public
string
buy_big_color
{
get
;
set
;
}
/// <summary>
/// 小标题文字眼色
/// </summary>
public
string
buy_small_color
{
get
;
set
;
}
public
string
buy_small_color
{
get
;
set
;
}
/// <summary>
/// 按钮眼色
/// </summary>
public
string
buy_btn_color
{
get
;
set
;
}
public
string
buy_btn_color
{
get
;
set
;
}
/// <summary>
/// 按钮背景颜色
/// </summary>
public
string
buy_btn_bg_color
{
get
;
set
;
}
public
string
buy_btn_bg_color
{
get
;
set
;
}
/// <summary>
/// 文字
/// </summary>
public
string
buy_big
{
get
;
set
;
}
public
string
buy_big
{
get
;
set
;
}
/// <summary>
/// 小标题
/// </summary>
public
string
buy_small
{
get
;
set
;
}
public
string
buy_small
{
get
;
set
;
}
/// <summary>
/// 按钮文字(按钮文字)
/// </summary>
public
string
buy_btn_text
{
get
;
set
;
}
public
string
buy_btn_text
{
get
;
set
;
}
/// <summary>
/// 已购买文字标题颜色
/// </summary>
public
string
renew_text_color
{
get
;
set
;
}
public
string
renew_text_color
{
get
;
set
;
}
/// <summary>
/// 已购买按钮颜色
/// </summary>
public
string
renew_btn_bg_color
{
get
;
set
;
}
public
string
renew_btn_bg_color
{
get
;
set
;
}
/// <summary>
/// 已购买文字
/// </summary>
public
string
renew_text
{
get
;
set
;
}
public
string
renew_text
{
get
;
set
;
}
}
}
...
@@ -2064,11 +2511,24 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -2064,11 +2511,24 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
class
liveItem
public
class
liveItem
{
{
/// <summary>
/// 背景颜色
/// </summary>
public
string
background
{
get
;
set
;
}
public
string
background
{
get
;
set
;
}
/// <summary>
/// 显示商品
/// </summary>
public
bool
is_show_goods
{
get
;
set
;
}
public
bool
is_show_goods
{
get
;
set
;
}
/// <summary>
/// 卡片样式
/// </summary>
public
int
style_type
{
get
;
set
;
}
public
int
style_type
{
get
;
set
;
}
/// <summary>
/// 直播间数量
/// </summary>
public
int
number
{
get
;
set
;
}
public
int
number
{
get
;
set
;
}
}
}
...
@@ -2077,8 +2537,14 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -2077,8 +2537,14 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
class
emptyItem
public
class
emptyItem
{
{
/// <summary>
/// 背景颜色
/// </summary>
public
string
background
{
get
;
set
;
}
public
string
background
{
get
;
set
;
}
/// <summary>
/// 高度
/// </summary>
public
int
height
{
get
;
set
;
}
public
int
height
{
get
;
set
;
}
}
}
...
@@ -2087,22 +2553,49 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -2087,22 +2553,49 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
class
adItem
public
class
adItem
{
{
/// <summary>
/// 广告位ID
/// </summary>
public
string
id
{
get
;
set
;
}
public
string
id
{
get
;
set
;
}
/// <summary>
/// 广告位类型
/// </summary>
public
string
type
{
get
;
set
;
}
public
string
type
{
get
;
set
;
}
/// <summary>
/// 广告封面
/// </summary>
public
string
pic_url
{
get
;
set
;
}
public
string
pic_url
{
get
;
set
;
}
public
string
video
{
get
;
set
;
}
/// <summary>
/// 视频链接
/// </summary>
public
string
video_url
{
get
;
set
;
}
/// <summary>
/// 广告奖励
/// </summary>
public
string
award_type
{
get
;
set
;
}
public
string
award_type
{
get
;
set
;
}
/// <summary>
/// 积分数量
/// </summary>
public
string
award_num
{
get
;
set
;
}
public
string
award_num
{
get
;
set
;
}
/// <summary>
/// 奖励发放限制
/// </summary>
public
string
award_limit_type
{
get
;
set
;
}
public
string
award_limit_type
{
get
;
set
;
}
/// <summary>
/// 限制次数
/// </summary>
public
int
award_limit
{
get
;
set
;
}
public
int
award_limit
{
get
;
set
;
}
/// <summary>
/// 流量广告列表
/// </summary>
public
List
<
adDetailsItem
>
award_coupons
{
get
;
set
;
}
public
List
<
adDetailsItem
>
award_coupons
{
get
;
set
;
}
}
}
...
@@ -2111,6 +2604,9 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -2111,6 +2604,9 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
class
adDetailsItem
public
class
adDetailsItem
{
{
/// <summary>
/// 优惠券发放数量
/// </summary>
public
int
send_num
{
get
;
set
;
}
public
int
send_num
{
get
;
set
;
}
/// <summary>
/// <summary>
...
@@ -2129,89 +2625,174 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -2129,89 +2625,174 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
class
modalItem
public
class
modalItem
{
{
/// <summary>
/// 是否开启(弹窗广告)
/// </summary>
public
bool
opened
{
get
;
set
;
}
public
bool
opened
{
get
;
set
;
}
/// <summary>
/// 弹窗次数(0-每次,1-仅首次)
/// </summary>
public
int
times
{
get
;
set
;
}
public
int
times
{
get
;
set
;
}
/// <summary>
/// 弹窗详细列表
/// </summary>
public
List
<
modalDetailsItem
>
list
{
get
;
set
;
}
public
List
<
modalDetailsItem
>
list
{
get
;
set
;
}
}
}
/// <summary>
/// 弹窗详情
/// </summary>
public
class
modalDetailsItem
public
class
modalDetailsItem
{
{
/// <summary>
/// 图片地址
/// </summary>
public
string
picUrl
{
get
;
set
;
}
public
string
picUrl
{
get
;
set
;
}
/// <summary>
/// 链接详情
/// </summary>
public
modalLinkItem
link
{
get
;
set
;
}
public
modalLinkItem
link
{
get
;
set
;
}
}
}
/// <summary>
/// 弹窗链接详情
/// </summary>
public
class
modalLinkItem
public
class
modalLinkItem
{
{
/// <summary>
/// 跳转地址
/// </summary>
public
string
url
{
get
;
set
;
}
public
string
url
{
get
;
set
;
}
/// <summary>
/// 打开方式
/// </summary>
public
string
openType
{
get
;
set
;
}
public
string
openType
{
get
;
set
;
}
}
}
/// <summary>
/// <summary>
///
导航项
///
快捷导航
/// </summary>
/// </summary>
public
class
quicknav
Details
Item
public
class
quicknavItem
{
{
public
bool
opened
{
get
;
set
;
}
/// <summary>
/// 快捷导航开关
public
string
picUrl
{
get
;
set
;
}
/// </summary>
public
int
navSwitch
{
get
;
set
;
}
public
string
number
{
get
;
set
;
}
public
string
appId
{
get
;
set
;
}
public
string
page
{
get
;
set
;
}
/// <summary>
/// 使用商城配置
/// </summary>
public
bool
useMallConfig
{
get
;
set
;
}
/// <summary>
/// 导航样式(1-样式1(点击收起),2-样式2(全部展示))
/// </summary>
public
int
navStyle
{
get
;
set
;
}
public
string
address
{
get
;
set
;
}
/// <summary>
/// 收起图标
/// </summary>
public
string
closedPicUrl
{
get
;
set
;
}
public
string
location
{
get
;
set
;
}
/// <summary>
/// 展开图标
/// </summary>
public
string
openedPicUrl
{
get
;
set
;
}
/// <summary>
/// 首页详情
/// </summary>
public
quicknavDetailsItem
home
{
get
;
set
;
}
public
string
open_type
{
get
;
set
;
}
/// <summary>
/// 小程序客服详情
/// </summary>
public
quicknavDetailsItem
customerService
{
get
;
set
;
}
public
string
link_url
{
get
;
set
;
}
/// <summary>
/// 一键拨号详情
/// </summary>
public
quicknavDetailsItem
tel
{
get
;
set
;
}
public
string
key
{
get
;
set
;
}
/// <summary>
/// 网页链接
/// </summary>
public
quicknavDetailsItem
web
{
get
;
set
;
}
/// <summary>
/// <summary>
///
网站链接
///
跳转小程序
/// </summary>
/// </summary>
public
string
url
{
get
;
set
;
}
public
quicknavDetailsItem
mApp
{
get
;
set
;
}
//public string @params { get; set; }
/// <summary>
/// 地图导航
/// </summary>
public
quicknavDetailsItem
mapNav
{
get
;
set
;
}
/// <summary>
/// 自定义按钮
/// </summary>
public
quicknavDetailsItem
customize
{
get
;
set
;
}
}
}
/// <summary>
/// <summary>
/// 快捷导航
/// 快捷导航
详情
/// </summary>
/// </summary>
public
class
quicknavItem
public
class
quicknav
Details
Item
{
{
public
int
navSwitch
{
get
;
set
;
}
/// <summary>
public
bool
useMallConfig
{
get
;
set
;
}
/// 是否开启返回首页
/// </summary>
public
bool
opened
{
get
;
set
;
}
public
int
navStyle
{
get
;
set
;
}
/// <summary>
/// 图片地址
/// </summary>
public
string
picUrl
{
get
;
set
;
}
public
string
closedPicUrl
{
get
;
set
;
}
/// <summary>
/// 电话号码
/// </summary>
public
string
number
{
get
;
set
;
}
public
string
openedPicUrl
{
get
;
set
;
}
/// <summary>
/// appId
/// </summary>
public
string
appId
{
get
;
set
;
}
public
quicknavDetailsItem
home
{
get
;
set
;
}
/// <summary>
/// 页面路径
/// </summary>
public
string
page
{
get
;
set
;
}
public
quicknavDetailsItem
customerService
{
get
;
set
;
}
/// <summary>
/// 详细地址
/// </summary>
public
string
address
{
get
;
set
;
}
public
quicknavDetailsItem
tel
{
get
;
set
;
}
/// <summary>
/// 经纬度
/// </summary>
public
string
location
{
get
;
set
;
}
public
quicknavDetailsItem
web
{
get
;
set
;
}
/// <summary>
public
quicknavDetailsItem
mApp
{
get
;
set
;
}
/// 跳转链接
public
quicknavDetailsItem
mapNav
{
get
;
set
;
}
/// </summary>
public
quicknavDetailsItem
customize
{
get
;
set
;
}
public
string
link_url
{
get
;
set
;
}
/// <summary>
/// key
/// </summary>
public
string
key
{
get
;
set
;
}
/// <summary>
/// 网站链接
/// </summary>
public
string
url
{
get
;
set
;
}
}
}
/// <summary>
/// <summary>
...
@@ -2340,47 +2921,27 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -2340,47 +2921,27 @@ namespace Mall.Model.Extend.MarketingCenter
/// <summary>
/// <summary>
/// 搜索圆角像素
/// 搜索圆角像素
/// </summary>
/// </summary>
public
int
SearchFilletPX
public
int
SearchFilletPX
{
get
;
set
;
}
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 按钮圆角像素
/// 按钮圆角像素
/// </summary>
/// </summary>
public
int
ButtonFilletPX
public
int
ButtonFilletPX
{
get
;
set
;
}
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 按钮文本
/// 按钮文本
/// </summary>
/// </summary>
public
string
ButtonText
public
string
ButtonText
{
get
;
set
;
}
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 按钮颜色
/// 按钮颜色
/// </summary>
/// </summary>
public
string
ButtonColor
public
string
ButtonColor
{
get
;
set
;
}
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 按钮文字颜色
/// 按钮文字颜色
/// </summary>
/// </summary>
public
string
ButtonTextColor
public
string
ButtonTextColor
{
get
;
set
;
}
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 上边距
/// 上边距
...
@@ -2403,29 +2964,27 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -2403,29 +2964,27 @@ namespace Mall.Model.Extend.MarketingCenter
public
string
PaddingRight
{
get
;
set
;
}
public
string
PaddingRight
{
get
;
set
;
}
}
}
#
region
教育模块
#
region
教育模块
/// <summary>
/// <summary>
/// 教育模块-最近学习组件
/// 教育模块-最近学习组件
/// </summary>
/// </summary>
public
class
educationItem
public
class
educationItem
{
{
/// <summary>
/// <summary>
/// 封面
/// 封面
/// </summary>
/// </summary>
public
string
Cover
{
get
;
set
;
}
public
string
Cover
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 课程名称
/// 课程名称
/// </summary>
/// </summary>
public
string
Name
{
get
;
set
;
}
public
string
Name
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 显示进度
/// 显示进度
/// </summary>
/// </summary>
public
decimal
showProgress
{
get
;
set
;
}
public
decimal
showProgress
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 上边距
/// 上边距
/// </summary>
/// </summary>
...
@@ -2446,7 +3005,6 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -2446,7 +3005,6 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
string
PaddingRight
{
get
;
set
;
}
public
string
PaddingRight
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 按钮位置
/// 按钮位置
/// </summary>
/// </summary>
...
@@ -2469,7 +3027,15 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -2469,7 +3027,15 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
int
listStyle
{
get
;
set
;
}
public
int
listStyle
{
get
;
set
;
}
/// <summary>
/// 类型(1-载体,2-品牌)
/// </summary>
public
int
goodType
{
get
;
set
;
}
/// <summary>
/// 添加方式【0-自动添加,1-手动添加】
/// </summary>
public
int
addGoodsType
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 背景颜色
/// 背景颜色
...
@@ -2505,8 +3071,6 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -2505,8 +3071,6 @@ namespace Mall.Model.Extend.MarketingCenter
set
;
set
;
}
}
/// <summary>
/// <summary>
/// 自定义列表
/// 自定义列表
/// </summary>
/// </summary>
...
@@ -2527,7 +3091,6 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -2527,7 +3091,6 @@ namespace Mall.Model.Extend.MarketingCenter
/// <summary>
/// <summary>
/// 标题
/// 标题
/// </summary>
/// </summary>
public
string
name
{
get
;
set
;
}
public
string
name
{
get
;
set
;
}
/// <summary>
/// <summary>
...
@@ -2539,7 +3102,6 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -2539,7 +3102,6 @@ namespace Mall.Model.Extend.MarketingCenter
/// <summary>
/// <summary>
/// 副标题
/// 副标题
/// </summary>
/// </summary>
public
List
<
string
>
lableNameList
{
get
;
set
;
}
public
List
<
string
>
lableNameList
{
get
;
set
;
}
/// <summary>
/// <summary>
...
@@ -2547,22 +3109,10 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -2547,22 +3109,10 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
string
picUrl
{
get
;
set
;
}
public
string
picUrl
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 链接
/// 链接
/// </summary>
/// </summary>
public
string
linkUrl
{
get
;
set
;
}
public
string
linkUrl
{
get
;
set
;
}
///// <summary>
///// 售价
///// </summary>
//public decimal price { get; set; }
///// <summary>
///// 【原价】前端使用
///// </summary>
//public decimal OriginalPrice { get; set; }
}
}
...
@@ -2571,8 +3121,6 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -2571,8 +3121,6 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
class
educationArticleItem
public
class
educationArticleItem
{
{
/// <summary>
/// <summary>
/// 商品数量
/// 商品数量
/// </summary>
/// </summary>
...
@@ -2583,14 +3131,11 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -2583,14 +3131,11 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
int
addGoodsType
{
get
;
set
;
}
public
int
addGoodsType
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 列表样式[-1-列表模式,0-左右滑动,1-一行一个]
/// 列表样式[-1-列表模式,0-左右滑动,1-一行一个]
/// </summary>
/// </summary>
public
int
listStyle
{
get
;
set
;
}
public
int
listStyle
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 背景颜色
/// 背景颜色
/// </summary>
/// </summary>
...
@@ -2616,15 +3161,10 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -2616,15 +3161,10 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
string
PaddingRight
{
get
;
set
;
}
public
string
PaddingRight
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 搜索圆角像素
/// 搜索圆角像素
/// </summary>
/// </summary>
public
int
SearchFilletPX
public
int
SearchFilletPX
{
get
;
set
;
}
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 自定义列表
/// 自定义列表
...
@@ -2632,9 +3172,6 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -2632,9 +3172,6 @@ namespace Mall.Model.Extend.MarketingCenter
public
List
<
CustomDetailsItem2
>
list
{
get
;
set
;
}
public
List
<
CustomDetailsItem2
>
list
{
get
;
set
;
}
}
}
/// <summary>
/// <summary>
/// 老师
/// 老师
/// </summary>
/// </summary>
...
@@ -2665,19 +3202,15 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -2665,19 +3202,15 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
int
listStyle
{
get
;
set
;
}
public
int
listStyle
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 背景颜色
/// 背景颜色
/// </summary>
/// </summary>
public
string
backgroundColor
{
get
;
set
;
}
public
string
backgroundColor
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 圆角像素
/// 圆角像素
/// </summary>
/// </summary>
public
int
SearchFilletPX
public
int
SearchFilletPX
{
get
;
set
;
}
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 老师列表
/// 老师列表
...
@@ -2685,8 +3218,6 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -2685,8 +3218,6 @@ namespace Mall.Model.Extend.MarketingCenter
public
List
<
TeacherDetailsItem
>
TeacherList
{
get
;
set
;
}
public
List
<
TeacherDetailsItem
>
TeacherList
{
get
;
set
;
}
}
}
/// <summary>
/// <summary>
/// 老师详情项
/// 老师详情项
/// </summary>
/// </summary>
...
@@ -2700,17 +3231,13 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -2700,17 +3231,13 @@ namespace Mall.Model.Extend.MarketingCenter
/// <summary>
/// <summary>
/// 老师名称
/// 老师名称
/// </summary>
/// </summary>
public
string
name
{
get
;
set
;
}
public
string
name
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 老师国籍
/// 老师国籍
/// </summary>
/// </summary>
public
string
nationality
{
get
;
set
;
}
public
string
nationality
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 是否外国人0-否,1-是
/// 是否外国人0-否,1-是
/// </summary>
/// </summary>
...
@@ -2719,26 +3246,22 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -2719,26 +3246,22 @@ namespace Mall.Model.Extend.MarketingCenter
/// <summary>
/// <summary>
/// 标签
/// 标签
/// </summary>
/// </summary>
public
string
lableName
{
get
;
set
;
}
public
string
lableName
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 标签
/// 标签
/// </summary>
/// </summary>
public
List
<
string
>
lableNameList
{
get
;
set
;
}
public
List
<
string
>
lableNameList
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 老师头像
/// 老师头像
/// </summary>
/// </summary>
public
string
picUrl
{
get
;
set
;
}
public
string
picUrl
{
get
;
set
;
}
}
}
#
endregion
#
endregion
#
region
门店
#
region
门店
/// <summary>
/// <summary>
/// 门店
/// 门店
...
@@ -2871,13 +3394,12 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -2871,13 +3394,12 @@ namespace Mall.Model.Extend.MarketingCenter
public
string
backgroundPicUrl
{
get
;
set
;
}
public
string
backgroundPicUrl
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
图片位置
/// </summary>
/// </summary>
public
int
position
{
get
;
set
;
}
public
int
position
{
get
;
set
;
}
/// <summary>
/// <summary>
///
图片位置
///
填充方式
/// </summary>
/// </summary>
public
int
mode
{
get
;
set
;
}
public
int
mode
{
get
;
set
;
}
...
@@ -2987,8 +3509,6 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -2987,8 +3509,6 @@ namespace Mall.Model.Extend.MarketingCenter
public
decimal
DepositMoney
{
get
;
set
;
}
public
decimal
DepositMoney
{
get
;
set
;
}
}
}
/// <summary>
/// <summary>
/// 门店
/// 门店
/// </summary>
/// </summary>
...
@@ -3018,11 +3538,8 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -3018,11 +3538,8 @@ namespace Mall.Model.Extend.MarketingCenter
/// <summary>
/// <summary>
/// 圆角像素
/// 圆角像素
/// </summary>
/// </summary>
public
int
SearchFilletPX
public
int
SearchFilletPX
{
get
;
set
;
}
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 是否显示封面图
/// 是否显示封面图
/// </summary>
/// </summary>
...
@@ -3033,9 +3550,12 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -3033,9 +3550,12 @@ namespace Mall.Model.Extend.MarketingCenter
#
region
相亲
-
人物插件
#
region
相亲
-
人物插件
/// <summary>
/// 人物插件
/// </summary>
public
class
MiAiUserItem
public
class
MiAiUserItem
{
{
/// <summary>
/// <summary>
/// 人数数量
/// 人数数量
/// </summary>
/// </summary>
...
@@ -3046,14 +3566,11 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -3046,14 +3566,11 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
int
listStyle
{
get
;
set
;
}
public
int
listStyle
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 用户添加方式(0-自定义,1-按照匹配度【规则未确定】,2-按照热度【被浏览数据,被关注数据】,3-按照最新,4-每日随机)
/// 用户添加方式(0-自定义,1-按照匹配度【规则未确定】,2-按照热度【被浏览数据,被关注数据】,3-按照最新,4-每日随机)
/// </summary>
/// </summary>
public
int
addUserType
{
get
;
set
;
}
public
int
addUserType
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 用户添加方式(0-默认,1-男神,2-女神)
/// 用户添加方式(0-默认,1-男神,2-女神)
/// </summary>
/// </summary>
...
@@ -3064,13 +3581,11 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -3064,13 +3581,11 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
decimal
BrowseRate
{
get
;
set
;
}
public
decimal
BrowseRate
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 关注权重
/// 关注权重
/// </summary>
/// </summary>
public
decimal
FollowRate
{
get
;
set
;
}
public
decimal
FollowRate
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 背景颜色
/// 背景颜色
/// </summary>
/// </summary>
...
@@ -3099,13 +3614,7 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -3099,13 +3614,7 @@ namespace Mall.Model.Extend.MarketingCenter
/// <summary>
/// <summary>
/// 搜索圆角像素
/// 搜索圆角像素
/// </summary>
/// </summary>
public
int
SearchFilletPX
public
int
SearchFilletPX
{
get
;
set
;
}
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 自定义列表
/// 自定义列表
...
@@ -3113,6 +3622,7 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -3113,6 +3622,7 @@ namespace Mall.Model.Extend.MarketingCenter
public
List
<
miaiUserDetail
>
list
{
get
;
set
;
}
public
List
<
miaiUserDetail
>
list
{
get
;
set
;
}
}
}
/// <summary>
/// <summary>
/// 详情
/// 详情
/// </summary>
/// </summary>
...
@@ -3126,7 +3636,6 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -3126,7 +3636,6 @@ namespace Mall.Model.Extend.MarketingCenter
/// <summary>
/// <summary>
/// 标题
/// 标题
/// </summary>
/// </summary>
public
string
name
{
get
;
set
;
}
public
string
name
{
get
;
set
;
}
/// <summary>
/// <summary>
...
@@ -3139,7 +3648,6 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -3139,7 +3648,6 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
string
SexStr
{
get
;
set
;
}
public
string
SexStr
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 年龄
/// 年龄
/// </summary>
/// </summary>
...
@@ -3155,11 +3663,6 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -3155,11 +3663,6 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
string
Marriage
{
get
;
set
;
}
public
string
Marriage
{
get
;
set
;
}
/// <summary>
/// 匹配度
/// </summary>
// public int MatchingRate { get; set; }
/// <summary>
/// <summary>
/// 分数
/// 分数
/// </summary>
/// </summary>
...
@@ -3170,7 +3673,9 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -3170,7 +3673,9 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
string
Album
{
get
;
set
;
}
public
string
Album
{
get
;
set
;
}
/// <summary>
/// AlbumList
/// </summary>
public
List
<
string
>
AlbumList
{
get
;
set
;
}
public
List
<
string
>
AlbumList
{
get
;
set
;
}
}
}
#
endregion
#
endregion
...
@@ -3182,14 +3687,11 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -3182,14 +3687,11 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
class
MiAiActivityTypeItem
public
class
MiAiActivityTypeItem
{
{
/// <summary>
/// <summary>
/// 列表样式[-1-列表模式,0-左右滑动,1-一行一个]
/// 列表样式[-1-列表模式,0-左右滑动,1-一行一个]
/// </summary>
/// </summary>
public
int
listStyle
{
get
;
set
;
}
public
int
listStyle
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 背景颜色
/// 背景颜色
/// </summary>
/// </summary>
...
@@ -3215,15 +3717,10 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -3215,15 +3717,10 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
string
PaddingRight
{
get
;
set
;
}
public
string
PaddingRight
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 搜索圆角像素
/// 搜索圆角像素
/// </summary>
/// </summary>
public
int
SearchFilletPX
public
int
SearchFilletPX
{
get
;
set
;
}
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 自定义列表
/// 自定义列表
...
@@ -3231,8 +3728,6 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -3231,8 +3728,6 @@ namespace Mall.Model.Extend.MarketingCenter
public
List
<
MiAiActivityTypeModel
>
list
{
get
;
set
;
}
public
List
<
MiAiActivityTypeModel
>
list
{
get
;
set
;
}
}
}
/// <summary>
/// <summary>
/// 商品详情项
/// 商品详情项
/// </summary>
/// </summary>
...
@@ -3246,47 +3741,34 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -3246,47 +3741,34 @@ namespace Mall.Model.Extend.MarketingCenter
/// <summary>
/// <summary>
/// 标题
/// 标题
/// </summary>
/// </summary>
public
string
name
{
get
;
set
;
}
public
string
name
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 副标题
/// 副标题
/// </summary>
/// </summary>
public
string
lableName
{
get
;
set
;
}
public
string
lableName
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 副标题
/// 副标题
/// </summary>
/// </summary>
public
List
<
string
>
lableNameList
{
get
;
set
;
}
public
List
<
string
>
lableNameList
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 商品图片
/// 商品图片
/// </summary>
/// </summary>
public
string
picUrl
{
get
;
set
;
}
public
string
picUrl
{
get
;
set
;
}
}
}
/// <summary>
/// <summary>
///新增相亲星球大事件-自定义列表
///新增相亲星球大事件-自定义列表
/// </summary>
/// </summary>
public
class
MiAiActivityTypeCustomItem
public
class
MiAiActivityTypeCustomItem
{
{
/// <summary>
/// <summary>
/// 列表样式[-1-列表模式,0-左右滑动,1-一行一个,2-一行两个3-一行三个]
/// 列表样式[-1-列表模式,0-左右滑动,1-一行一个,2-一行两个3-一行三个]
/// </summary>
/// </summary>
public
int
listStyle
{
get
;
set
;
}
public
int
listStyle
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 背景颜色
/// 背景颜色
/// </summary>
/// </summary>
...
@@ -3315,13 +3797,7 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -3315,13 +3797,7 @@ namespace Mall.Model.Extend.MarketingCenter
/// <summary>
/// <summary>
/// 搜索圆角像素
/// 搜索圆角像素
/// </summary>
/// </summary>
public
int
SearchFilletPX
public
int
SearchFilletPX
{
get
;
set
;
}
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 自定义列表
/// 自定义列表
...
@@ -3335,24 +3811,19 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -3335,24 +3811,19 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
class
MiAiActivityTypeCusModel
public
class
MiAiActivityTypeCusModel
{
{
/// <summary>
/// <summary>
/// 标题
/// 标题
/// </summary>
/// </summary>
public
string
name
{
get
;
set
;
}
public
string
name
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 副标题
/// 副标题
/// </summary>
/// </summary>
public
string
lableName
{
get
;
set
;
}
public
string
lableName
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 副标题
/// 副标题
/// </summary>
/// </summary>
public
List
<
string
>
lableNameList
{
get
;
set
;
}
public
List
<
string
>
lableNameList
{
get
;
set
;
}
/// <summary>
/// <summary>
...
@@ -3360,18 +3831,12 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -3360,18 +3831,12 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
string
picUrl
{
get
;
set
;
}
public
string
picUrl
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 链接
/// 链接
/// </summary>
/// </summary>
public
string
linkUrl
{
get
;
set
;
}
public
string
linkUrl
{
get
;
set
;
}
}
}
/// <summary>
/// <summary>
/// 相亲ppplus (招募贴)插件
/// 相亲ppplus (招募贴)插件
/// </summary>
/// </summary>
...
@@ -3407,7 +3872,6 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -3407,7 +3872,6 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
int
listStyle
{
get
;
set
;
}
public
int
listStyle
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 背景色
/// 背景色
/// </summary>
/// </summary>
...
@@ -3418,8 +3882,6 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -3418,8 +3882,6 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
int
activityStyle
{
get
;
set
;
}
public
int
activityStyle
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 分类列表
/// 分类列表
/// </summary>
/// </summary>
...
@@ -3457,9 +3919,6 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -3457,9 +3919,6 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
string
CreateBy
{
get
;
set
;
}
public
string
CreateBy
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 发帖人
/// 发帖人
/// </summary>
/// </summary>
...
@@ -3480,7 +3939,6 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -3480,7 +3939,6 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
int
IsDianZan
{
get
;
set
;
}
public
int
IsDianZan
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 是否是帖子,0-活动,1-帖子
/// 是否是帖子,0-活动,1-帖子
/// </summary>
/// </summary>
...
@@ -3532,6 +3990,5 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -3532,6 +3990,5 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
/// </summary>
public
List
<
ActivityDetailsItem
>
goodsList
{
get
;
set
;
}
public
List
<
ActivityDetailsItem
>
goodsList
{
get
;
set
;
}
}
}
#
endregion
#
endregion
}
}
\ No newline at end of file
Mall.Model/Extend/TradePavilion/RB_Brand_Extend.cs
View file @
ead1308c
...
@@ -28,11 +28,6 @@ namespace Mall.Model.Extend.TradePavilion
...
@@ -28,11 +28,6 @@ namespace Mall.Model.Extend.TradePavilion
public
string
QBrandIds
{
get
;
set
;
}
public
string
QBrandIds
{
get
;
set
;
}
public
List
<
string
>
BannerList
{
get
;
set
;
}
public
List
<
string
>
BannerList
{
get
;
set
;
}
/// <summary>
/// 商铺性质
/// </summary>
//public string ProjectName { get { return Common.Plugin.EnumHelper.GetEnumName(this.ProjectType); } }
/// <summary>
/// <summary>
...
@@ -84,5 +79,13 @@ namespace Mall.Model.Extend.TradePavilion
...
@@ -84,5 +79,13 @@ namespace Mall.Model.Extend.TradePavilion
/// </summary>
/// </summary>
public
List
<
RB_FirstShop_ListEnroll_Extend
>
ListEnroll
{
get
;
set
;
}
public
List
<
RB_FirstShop_ListEnroll_Extend
>
ListEnroll
{
get
;
set
;
}
/// 排序(1-默认,2主键倒序)
/// </summary>
public
int
QOrderBy
{
get
;
set
;
}
/// <summary>
/// 取几天数据
/// </summary>
public
int
QTop
{
get
;
set
;
}
}
}
}
}
Mall.Model/Extend/TradePavilion/RB_Carrier_Extend.cs
View file @
ead1308c
...
@@ -30,7 +30,7 @@ namespace Mall.Model.Extend.TradePavilion
...
@@ -30,7 +30,7 @@ namespace Mall.Model.Extend.TradePavilion
public
List
<
string
>
BannerList
{
get
;
set
;
}
public
List
<
string
>
BannerList
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 排序
/// 排序
(1-创建时间倒序,2-开业时间倒序)
/// </summary>
/// </summary>
public
int
OrderBy
{
get
;
set
;
}
public
int
OrderBy
{
get
;
set
;
}
...
@@ -74,6 +74,10 @@ namespace Mall.Model.Extend.TradePavilion
...
@@ -74,6 +74,10 @@ namespace Mall.Model.Extend.TradePavilion
public
string
UserIcon
{
get
;
set
;
}
public
string
UserIcon
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 查询多少条数据
/// </summary>
public
int
QTop
{
get
;
set
;
}
/// 载体ids
/// 载体ids
/// </summary>
/// </summary>
public
string
QCarrierIds
{
get
;
set
;
}
public
string
QCarrierIds
{
get
;
set
;
}
...
...
Mall.Model/Extend/TradePavilion/RB_Custom_Form_Extend.cs
View file @
ead1308c
...
@@ -59,6 +59,16 @@ namespace Mall.Model.Extend.TradePavilion
...
@@ -59,6 +59,16 @@ namespace Mall.Model.Extend.TradePavilion
/// 是否必填
/// 是否必填
/// </summary>
/// </summary>
public
bool
IsRequire
{
get
;
set
;
}
public
bool
IsRequire
{
get
;
set
;
}
/// <summary>
/// 文本值
/// </summary>
public
string
TextValue
{
get
;
set
;
}
/// <summary>
/// 备注
/// </summary>
public
string
Remark
{
get
;
set
;
}
}
}
/// <summary>
/// <summary>
...
@@ -85,6 +95,32 @@ namespace Mall.Model.Extend.TradePavilion
...
@@ -85,6 +95,32 @@ namespace Mall.Model.Extend.TradePavilion
/// 是否必填
/// 是否必填
/// </summary>
/// </summary>
public
bool
IsRequire
{
get
;
set
;
}
public
bool
IsRequire
{
get
;
set
;
}
/// <summary>
/// 选项列表
/// </summary>
public
List
<
SelectOption
>
OptionList
{
get
;
set
;
}
/// <summary>
/// 备注
/// </summary>
public
string
Remark
{
get
;
set
;
}
}
/// <summary>
/// 选项列表
/// </summary>
public
class
SelectOption
{
/// <summary>
/// 编号
/// </summary>
public
string
Id
{
get
;
set
;
}
/// <summary>
/// 名称
/// </summary>
public
string
Name
{
get
;
set
;
}
}
}
/// <summary>
/// <summary>
...
@@ -106,6 +142,16 @@ namespace Mall.Model.Extend.TradePavilion
...
@@ -106,6 +142,16 @@ namespace Mall.Model.Extend.TradePavilion
/// 上传文件大小M
/// 上传文件大小M
/// </summary>
/// </summary>
public
int
FileSizeLimit
{
get
;
set
;
}
public
int
FileSizeLimit
{
get
;
set
;
}
/// <summary>
/// 上传文件列表
/// </summary>
public
List
<
string
>
FileList
{
get
;
set
;
}
/// <summary>
/// 备注
/// </summary>
public
string
Remark
{
get
;
set
;
}
}
}
}
}
Mall.Module.MarketingCenter/MiniprogramTemplateModule.cs
View file @
ead1308c
...
@@ -937,6 +937,33 @@ namespace Mall.Module.MarketingCenter
...
@@ -937,6 +937,33 @@ namespace Mall.Module.MarketingCenter
//导航-页面
//导航-页面
case
"nav-page"
:
item
.
data
=
JsonHelper
.
DeserializeObject
<
navPageItem
>(
item
.
data
.
ToString
());
break
;
case
"nav-page"
:
item
.
data
=
JsonHelper
.
DeserializeObject
<
navPageItem
>(
item
.
data
.
ToString
());
break
;
//首店-自定义列表
case
"tradePavilionCustom"
:
educationCustomItem
tradePavilionCustomModel
=
new
educationCustomItem
();
try
{
var
tradeData
=
JsonHelper
.
DeserializeObject
<
educationCustomItem
>(
item
.
data
.
ToString
());
if
(
tradeData
!=
null
)
{
tradePavilionCustomModel
.
goodsLength
=
tradeData
?.
goodsLength
??
1
;
tradePavilionCustomModel
.
addGoodsType
=
tradeData
?.
addGoodsType
??
1
;
tradePavilionCustomModel
.
goodType
=
tradeData
?.
goodType
??
1
;
tradePavilionCustomModel
.
listStyle
=
tradeData
?.
listStyle
??
1
;
tradePavilionCustomModel
.
backgroundColor
=
tradeData
?.
backgroundColor
??
""
;
tradePavilionCustomModel
.
PaddingTop
=
tradeData
?.
PaddingTop
??
"0"
;
tradePavilionCustomModel
.
PaddingBottom
=
tradeData
?.
PaddingBottom
??
"0"
;
tradePavilionCustomModel
.
PaddingLeft
=
tradeData
?.
PaddingLeft
??
"0"
;
tradePavilionCustomModel
.
PaddingRight
=
tradeData
?.
PaddingRight
??
"0"
;
tradePavilionCustomModel
.
SearchFilletPX
=
tradeData
?.
SearchFilletPX
??
0
;
tradePavilionCustomModel
.
list
=
new
List
<
CustomDetailsItem2
>();
tradePavilionCustomModel
.
list
=
tradeData
.
list
;
}
}
catch
{
}
item
.
data
=
tradePavilionCustomModel
;
break
;
}
}
}
}
...
...
Mall.Module.TradePavilion/CarrierModule.cs
View file @
ead1308c
...
@@ -10,6 +10,9 @@ using Mall.Common.Plugin;
...
@@ -10,6 +10,9 @@ using Mall.Common.Plugin;
namespace
Mall.Module.TradePavilion
namespace
Mall.Module.TradePavilion
{
{
/// <summary>
/// 载体处理类
/// </summary>
public
class
CarrierModule
public
class
CarrierModule
{
{
/// <summary>
/// <summary>
...
...
Mall.Module.TradePavilion/CustomFormModule.cs
View file @
ead1308c
...
@@ -62,7 +62,6 @@ namespace Mall.Module.TradePavilion
...
@@ -62,7 +62,6 @@ namespace Mall.Module.TradePavilion
list
.
Add
(
new
WhereHelper
(
nameof
(
RB_Custom_Form_Extend
.
Id
),
model
.
Id
,
OperatorEnum
.
NotEqual
));
list
.
Add
(
new
WhereHelper
(
nameof
(
RB_Custom_Form_Extend
.
Id
),
model
.
Id
,
OperatorEnum
.
NotEqual
));
}
}
return
custom_FormRepository
.
Exists
(
list
);
return
custom_FormRepository
.
Exists
(
list
);
}
}
/// <summary>
/// <summary>
...
@@ -105,7 +104,7 @@ namespace Mall.Module.TradePavilion
...
@@ -105,7 +104,7 @@ namespace Mall.Module.TradePavilion
var
extModel
=
custom_FormRepository
.
GetEntity
<
RB_Custom_Form_Extend
>(
Id
);
var
extModel
=
custom_FormRepository
.
GetEntity
<
RB_Custom_Form_Extend
>(
Id
);
if
(
extModel
!=
null
)
if
(
extModel
!=
null
)
{
{
extModel
.
FormDataList
=
AnalyzeFormComponent
(
extModel
.
FormData
);
extModel
.
FormDataList
=
AnalyzeFormComponent
(
extModel
.
FormData
,
isGetAnswer
:
true
);
}
}
return
extModel
;
return
extModel
;
}
}
...
@@ -114,13 +113,13 @@ namespace Mall.Module.TradePavilion
...
@@ -114,13 +113,13 @@ namespace Mall.Module.TradePavilion
/// 解析表单组件
/// 解析表单组件
/// </summary>
/// </summary>
/// <param name="formData"></param>
/// <param name="formData"></param>
/// <param name="isGetAnswer"></param>
/// <returns></returns>
/// <returns></returns>
public
List
<
FormDataItem
>
AnalyzeFormComponent
(
string
formData
)
public
List
<
FormDataItem
>
AnalyzeFormComponent
(
string
formData
,
bool
isGetAnswer
=
false
)
{
{
List
<
FormDataItem
>
dataList
=
new
List
<
FormDataItem
>();
List
<
FormDataItem
>
dataList
=
new
List
<
FormDataItem
>();
if
(!
string
.
IsNullOrEmpty
(
formData
))
if
(!
string
.
IsNullOrEmpty
(
formData
))
{
{
JArray
jArray
=
JArray
.
Parse
(
formData
);
JArray
jArray
=
JArray
.
Parse
(
formData
);
if
(
jArray
!=
null
&&
jArray
.
Count
>
0
)
if
(
jArray
!=
null
&&
jArray
.
Count
>
0
)
{
{
...
@@ -145,6 +144,8 @@ namespace Mall.Module.TradePavilion
...
@@ -145,6 +144,8 @@ namespace Mall.Module.TradePavilion
Name
=
singleObj
.
GetStringValue
(
"Name"
),
Name
=
singleObj
.
GetStringValue
(
"Name"
),
WordsLength
=
singleObj
.
GetInt
(
"WordsLength"
),
WordsLength
=
singleObj
.
GetInt
(
"WordsLength"
),
IsRequire
=
singleObj
.
GetBoolValue
(
"IsRequire"
),
IsRequire
=
singleObj
.
GetBoolValue
(
"IsRequire"
),
Remark
=
singleObj
.
GetStringValue
(
"Remark"
),
TextValue
=
isGetAnswer
?
singleObj
.
GetStringValue
(
"TextValue"
)
:
""
,
};
};
dataItem
.
CompData
=
txtItem
;
dataItem
.
CompData
=
txtItem
;
break
;
break
;
...
@@ -156,6 +157,8 @@ namespace Mall.Module.TradePavilion
...
@@ -156,6 +157,8 @@ namespace Mall.Module.TradePavilion
Name
=
multiObj
.
GetStringValue
(
"Name"
),
Name
=
multiObj
.
GetStringValue
(
"Name"
),
WordsLength
=
multiObj
.
GetInt
(
"WordsLength"
),
WordsLength
=
multiObj
.
GetInt
(
"WordsLength"
),
IsRequire
=
multiObj
.
GetBoolValue
(
"IsRequire"
),
IsRequire
=
multiObj
.
GetBoolValue
(
"IsRequire"
),
Remark
=
multiObj
.
GetStringValue
(
"Remark"
),
TextValue
=
isGetAnswer
?
multiObj
.
GetStringValue
(
"TextValue"
)
:
""
,
};
};
dataItem
.
CompData
=
multiItem
;
dataItem
.
CompData
=
multiItem
;
break
;
break
;
...
@@ -167,8 +170,24 @@ namespace Mall.Module.TradePavilion
...
@@ -167,8 +170,24 @@ namespace Mall.Module.TradePavilion
Name
=
dropdownObj
.
GetStringValue
(
"Name"
),
Name
=
dropdownObj
.
GetStringValue
(
"Name"
),
IsMultiple
=
dropdownObj
.
GetBoolValue
(
"IsMultiple"
),
IsMultiple
=
dropdownObj
.
GetBoolValue
(
"IsMultiple"
),
IsRequire
=
dropdownObj
.
GetBoolValue
(
"IsRequire"
),
IsRequire
=
dropdownObj
.
GetBoolValue
(
"IsRequire"
),
OptionValue
=
""
,
OptionValue
=
isGetAnswer
?
dropdownObj
.
GetStringValue
(
"OptionValue"
)
:
""
,
OptionList
=
new
List
<
SelectOption
>(),
Remark
=
dropdownObj
.
GetStringValue
(
"Remark"
),
};
var
optionList
=
JArray
.
Parse
(
dropdownObj
.
GetStringValue
(
"OptionList"
));
if
(
optionList
!=
null
&&
optionList
.
Count
>
0
)
{
foreach
(
var
oItem
in
optionList
)
{
JObject
optionObj
=
JObject
.
Parse
(
oItem
.
ToString
());
SelectOption
option
=
new
SelectOption
()
{
Id
=
optionObj
.
GetStringValue
(
"Id"
),
Name
=
optionObj
.
GetStringValue
(
"Name"
),
};
};
selectItem
.
OptionList
.
Add
(
option
);
}
}
dataItem
.
CompData
=
selectItem
;
dataItem
.
CompData
=
selectItem
;
break
;
break
;
//图片上传组件
//图片上传组件
...
@@ -179,7 +198,24 @@ namespace Mall.Module.TradePavilion
...
@@ -179,7 +198,24 @@ namespace Mall.Module.TradePavilion
Name
=
imgObj
.
GetStringValue
(
"Name"
),
Name
=
imgObj
.
GetStringValue
(
"Name"
),
FileCount
=
imgObj
.
GetInt
(
"FileCount"
),
FileCount
=
imgObj
.
GetInt
(
"FileCount"
),
FileSizeLimit
=
imgObj
.
GetInt
(
"FileSizeLimit"
),
FileSizeLimit
=
imgObj
.
GetInt
(
"FileSizeLimit"
),
Remark
=
imgObj
.
GetStringValue
(
"Remark"
),
FileList
=
new
List
<
string
>(),
};
};
if
(!
string
.
IsNullOrEmpty
(
imgObj
.
GetStringValue
(
"FileList"
)))
{
try
{
imgItem
.
FileList
=
Common
.
Plugin
.
JsonHelper
.
DeserializeObject
<
List
<
string
>>(
imgObj
.
GetStringValue
(
"FileList"
));
}
catch
{
}
}
if
(!
isGetAnswer
)
{
imgItem
.
FileList
=
new
List
<
string
>();
}
dataItem
.
CompData
=
imgItem
;
dataItem
.
CompData
=
imgItem
;
break
;
break
;
//视频上传组件
//视频上传组件
...
@@ -190,7 +226,21 @@ namespace Mall.Module.TradePavilion
...
@@ -190,7 +226,21 @@ namespace Mall.Module.TradePavilion
Name
=
videoObj
.
GetStringValue
(
"Name"
),
Name
=
videoObj
.
GetStringValue
(
"Name"
),
FileCount
=
videoObj
.
GetInt
(
"FileCount"
),
FileCount
=
videoObj
.
GetInt
(
"FileCount"
),
FileSizeLimit
=
videoObj
.
GetInt
(
"FileSizeLimit"
),
FileSizeLimit
=
videoObj
.
GetInt
(
"FileSizeLimit"
),
Remark
=
videoObj
.
GetStringValue
(
"Remark"
),
FileList
=
new
List
<
string
>(),
};
};
try
{
videoItem
.
FileList
=
Common
.
Plugin
.
JsonHelper
.
DeserializeObject
<
List
<
string
>>(
videoObj
.
GetStringValue
(
"FileList"
));
}
catch
{
}
if
(!
isGetAnswer
)
{
videoItem
.
FileList
=
new
List
<
string
>();
}
dataItem
.
CompData
=
videoItem
;
dataItem
.
CompData
=
videoItem
;
break
;
break
;
}
}
...
...
Mall.Repository/TradePavilion/RB_BrandRepository.cs
View file @
ead1308c
...
@@ -300,6 +300,16 @@ WHERE 1=1
...
@@ -300,6 +300,16 @@ WHERE 1=1
{
{
builder
.
AppendFormat
(
" AND a.{0}={1} "
,
nameof
(
RB_Brand_Extend
.
ProjectType
),
(
int
)
query
.
ProjectType
);
builder
.
AppendFormat
(
" AND a.{0}={1} "
,
nameof
(
RB_Brand_Extend
.
ProjectType
),
(
int
)
query
.
ProjectType
);
}
}
}
if
(
query
.
QOrderBy
==
2
)
{
builder
.
AppendFormat
(
" ORDER BY a.{0} DESC "
,
nameof
(
RB_Brand_Extend
.
ID
));
}
if
(
query
.
QTop
>
0
)
{
builder
.
AppendFormat
(
" LIMIT {0} "
,
query
.
QTop
);
}
}
return
Get
<
RB_Brand_Extend
>(
builder
.
ToString
(),
parameters
).
ToList
();
return
Get
<
RB_Brand_Extend
>(
builder
.
ToString
(),
parameters
).
ToList
();
}
}
...
...
Mall.Repository/TradePavilion/RB_CarrierRepository.cs
View file @
ead1308c
...
@@ -174,6 +174,11 @@ namespace Mall.Repository.TradePavilion
...
@@ -174,6 +174,11 @@ namespace Mall.Repository.TradePavilion
{
{
builder
.
Append
(
$" order by
{
nameof
(
RB_Carrier_Extend
.
OpenTime
)}
desc"
);
builder
.
Append
(
$" order by
{
nameof
(
RB_Carrier_Extend
.
OpenTime
)}
desc"
);
}
}
if
(
query
.
QTop
>
0
)
{
builder
.
Append
(
$" LIMIT
{
query
.
QTop
}
"
);
}
}
}
return
Get
<
RB_Carrier_Extend
>(
builder
.
ToString
()).
ToList
();
return
Get
<
RB_Carrier_Extend
>(
builder
.
ToString
()).
ToList
();
}
}
...
...
Mall.WebApi/Controllers/Mall/MallHelper.cs
View file @
ead1308c
using
Mall.Common.Enum.MallBase
;
using
Mall.Common.Enum.MallBase
;
using
Mall.Common.Plugin
;
using
Mall.Model.Entity.BaseSetUp
;
using
Mall.Model.Entity.BaseSetUp
;
using
Mall.Model.Entity.MarketingCenter
;
using
Mall.Model.Entity.MarketingCenter
;
using
Mall.Model.Extend.BaseSetUp
;
using
Mall.Model.Extend.BaseSetUp
;
using
Mall.Model.Extend.MarketingCenter
;
using
Mall.Model.Extend.MarketingCenter
;
using
Mall.Model.Extend.Miai
;
using
Mall.Model.Extend.Miai
;
using
Mall.Model.Extend.Product
;
using
Mall.Model.Extend.Product
;
using
Mall.Model.Extend.TradePavilion
;
using
Mall.Model.Extend.User
;
using
Mall.Model.Extend.User
;
using
Mall.Module.BaseSetUp
;
using
Mall.Module.BaseSetUp
;
using
Mall.Module.MarketingCenter
;
using
Mall.Module.MarketingCenter
;
using
Mall.Module.Product
;
using
Mall.Module.Product
;
using
Mall.Module.Reserve
;
using
Mall.Module.Reserve
;
using
Mall.Module.TradePavilion
;
using
Mall.Module.User
;
using
Mall.Module.User
;
using
Mall.Repository.Miai
;
using
Mall.Repository.Miai
;
using
Mall.Repository.Product
;
using
Mall.Repository.Product
;
...
@@ -101,7 +104,12 @@ namespace Mall.WebApi.Controllers
...
@@ -101,7 +104,12 @@ namespace Mall.WebApi.Controllers
private
static
Module
.
Miai
.
MiaiModule
miaiModule
=
new
Module
.
Miai
.
MiaiModule
();
private
static
Module
.
Miai
.
MiaiModule
miaiModule
=
new
Module
.
Miai
.
MiaiModule
();
private
static
Module
.
TradePavilion
.
CommerceActivityModule
commerceActivityModule
=
new
Module
.
TradePavilion
.
CommerceActivityModule
();
private
static
CommerceActivityModule
commerceActivityModule
=
new
CommerceActivityModule
();
/// <summary>
/// 载体处理类对象
/// </summary>
private
static
CarrierModule
carrierModule
=
new
CarrierModule
();
...
@@ -1922,6 +1930,74 @@ namespace Mall.WebApi.Controllers
...
@@ -1922,6 +1930,74 @@ namespace Mall.WebApi.Controllers
data
=
blindDatePPPlusData
data
=
blindDatePPPlusData
};
};
break
;
break
;
//首店-自定义列表插件
case
"tradePavilionCustom"
:
var
tradeData
=
subItem
.
data
as
educationCustomItem
;
if
(
tradeData
!=
null
)
{
//自动添加
if
(
tradeData
.
addGoodsType
==
0
)
{
tradeData
.
list
=
new
List
<
CustomDetailsItem2
>();
//载体
if
(
tradeData
.
goodType
==
1
)
{
var
carrierList
=
carrierModule
.
GetCarrierList
(
new
RB_Carrier_Extend
()
{
TenantId
=
TenantId
,
OrderBy
=
1
,
QTop
=
tradeData
.
goodsLength
});
foreach
(
var
cItem
in
carrierList
)
{
var
dModel
=
new
CustomDetailsItem2
()
{
id
=
cItem
.
ID
,
name
=
cItem
.
CarrierName
,
picUrl
=
cItem
.
Logo
,
lableName
=
cItem
.
CarrierPlan
,
lableNameList
=
new
List
<
string
>(),
linkUrl
=
string
.
Format
(
"/pages/kotra/carrier/detail?id={0}&&type={1}"
,
cItem
.
ID
,
cItem
.
ProjectType
.
GetEnumName
())
};
tradeData
.
list
.
Add
(
dModel
);
}
}
//品牌
else
if
(
tradeData
.
goodType
==
2
)
{
var
brandList
=
carrierModule
.
GetBrandList_V2
(
new
RB_Brand_Extend
()
{
TenantId
=
TenantId
,
QOrderBy
=
2
,
QTop
=
tradeData
.
goodsLength
});
foreach
(
var
cItem
in
brandList
)
{
var
dModel
=
new
CustomDetailsItem2
()
{
id
=
cItem
.
ID
,
name
=
cItem
.
BrandName
,
picUrl
=
cItem
.
Logo
,
lableName
=
cItem
.
BrandType
,
lableNameList
=
new
List
<
string
>(),
linkUrl
=
string
.
Format
(
"/pages/kotra/brand/detail?id={0}"
,
cItem
.
ID
),
};
tradeData
.
list
.
Add
(
dModel
);
}
}
}
//手动添加
else
{
}
}
obj
=
new
{
id
=
subItem
.
Id
,
data
=
tradeData
};
break
;
}
}
return
obj
;
return
obj
;
}
}
...
...
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