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
ec0cdd1b
Commit
ec0cdd1b
authored
May 14, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增实体类
parent
38b719ec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
89 additions
and
0 deletions
+89
-0
RB_Miniprogram_Template_Extend.cs
.../Extend/MarketingCenter/RB_Miniprogram_Template_Extend.cs
+87
-0
MiniprogramTemplateModule.cs
Mall.Module.MarketingCenter/MiniprogramTemplateModule.cs
+2
-0
No files found.
Mall.Model/Extend/MarketingCenter/RB_Miniprogram_Template_Extend.cs
View file @
ec0cdd1b
...
...
@@ -969,4 +969,91 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
public
string
content
{
get
;
set
;
}
}
/// <summary>
/// 优惠券插件
/// </summary>
public
class
couponItem
{
/// <summary>
/// 字体颜色
/// </summary>
public
string
textColor
{
get
;
set
;
}
/// <summary>
/// 不可领取
/// </summary>
public
string
receiveBg
{
get
;
set
;
}
/// <summary>
/// 可领取
/// </summary>
public
string
unclaimedBg
{
get
;
set
;
}
/// <summary>
/// showImg
/// </summary>
public
bool
showImg
{
get
;
set
;
}
/// <summary>
/// 背景颜色
/// </summary>
public
string
backgroundColor
{
get
;
set
;
}
/// <summary>
/// backgroundPicUrl
/// </summary>
public
string
backgroundPicUrl
{
get
;
set
;
}
public
int
position
{
get
;
set
;
}
public
int
mode
{
get
;
set
;
}
public
int
backgroundHeight
{
get
;
set
;
}
public
int
backgroundWidth
{
get
;
set
;
}
}
/// <summary>
/// 倒计时插件
/// </summary>
public
class
timerItem
{
/// <summary>
/// 图片
/// </summary>
public
string
picUrl
{
get
;
set
;
}
/// <summary>
/// 开始时间
/// </summary>
public
string
startDateTime
{
get
;
set
;
}
/// <summary>
/// 结束时间
/// </summary>
public
string
endDateTime
{
get
;
set
;
}
/// <summary>
/// 链接
/// </summary>
public
timerLink
link
{
get
;
set
;
}
}
/// <summary>
/// 倒计时链接
/// </summary>
public
class
timerLink
{
/// <summary>
/// 链接
/// </summary>
public
string
url
{
get
;
set
;
}
/// <summary>
/// 打开类型
/// </summary>
public
string
openType
{
get
;
set
;
}
}
}
Mall.Module.MarketingCenter/MiniprogramTemplateModule.cs
View file @
ec0cdd1b
...
...
@@ -113,6 +113,8 @@ namespace Mall.Module.MarketingCenter
case
"map"
:
item
.
data
=
JsonHelper
.
DeserializeObject
<
mapItem
>(
item
.
data
.
ToString
());
break
;
case
"mp-link"
:
item
.
data
=
JsonHelper
.
DeserializeObject
<
mplinkItem
>(
item
.
data
.
ToString
());
break
;
case
"image-text"
:
item
.
data
=
JsonHelper
.
DeserializeObject
<
imagetextItem
>(
item
.
data
.
ToString
());
break
;
case
"coupon"
:
item
.
data
=
JsonHelper
.
DeserializeObject
<
couponItem
>(
item
.
data
.
ToString
());
break
;
case
"timer"
:
item
.
data
=
JsonHelper
.
DeserializeObject
<
timerItem
>(
item
.
data
.
ToString
());
break
;
}
}
}
...
...
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