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
48388c5b
Commit
48388c5b
authored
Aug 21, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/Kui2/mall.oytour.com
parents
42a1a3a8
976be710
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
50 additions
and
8 deletions
+50
-8
RB_Miniprogram_Template_Extend.cs
.../Extend/MarketingCenter/RB_Miniprogram_Template_Extend.cs
+38
-6
MiniprogramTemplateModule.cs
Mall.Module.MarketingCenter/MiniprogramTemplateModule.cs
+2
-0
MallHelper.cs
Mall.WebApi/Controllers/Mall/MallHelper.cs
+9
-0
ShareController.cs
Mall.WebApi/Controllers/MarketingCenter/ShareController.cs
+1
-1
appsettings.json
Mall.WebApi/appsettings.json
+0
-1
No files found.
Mall.Model/Extend/MarketingCenter/RB_Miniprogram_Template_Extend.cs
View file @
48388c5b
...
...
@@ -66,11 +66,11 @@ namespace Mall.Model.Extend.MarketingCenter
/// 背景组件
/// </summary>
public
class
backgroundItem
{
{
/// <summary>
/// 背景颜色
/// </summary>
public
string
backgroundColor
{
get
;
set
;
}
public
string
backgroundColor
{
get
;
set
;
}
/// <summary>
/// 背景高度
...
...
@@ -687,9 +687,9 @@ namespace Mall.Model.Extend.MarketingCenter
public
string
backgroundImage
{
get
;
set
;
}
public
string
backgroundRepeat
{
get
;
set
;
}
public
string
backgroundRepeat
{
get
;
set
;
}
public
string
backgroundSize
{
get
;
set
;
}
public
string
backgroundSize
{
get
;
set
;
}
public
string
backgroundPosition
{
get
;
set
;
}
...
...
@@ -959,7 +959,7 @@ namespace Mall.Model.Extend.MarketingCenter
/// <summary>
/// 商品名称
/// </summary>
public
string
name
{
get
;
set
;
}
/// <summary>
...
...
@@ -1013,7 +1013,7 @@ namespace Mall.Model.Extend.MarketingCenter
/// </summary>
public
List
<
GoodsDetailsItem2
>
goodsList
{
get
;
set
;
}
}
/// <summary>
/// 门店插件
...
...
@@ -2026,4 +2026,36 @@ namespace Mall.Model.Extend.MarketingCenter
public
quicknavDetailsItem
customize
{
get
;
set
;
}
}
/// <summary>
/// 店铺用户信息
/// </summary>
public
class
shopinfoItem
{
/// <summary>
/// 头像
/// </summary>
public
string
headImg
{
get
;
set
;
}
/// <summary>
/// 用户信息
/// </summary>
public
string
headName
{
get
;
set
;
}
/// <summary>
/// 用户介绍
/// </summary>
public
string
headInfo
{
get
;
set
;
}
/// <summary>
/// 背景图片
/// </summary>
public
string
backgroundPicUrl
{
get
;
set
;
}
/// <summary>
/// 背景颜色
/// </summary>
public
string
backgroundColor
{
get
;
set
;
}
}
}
Mall.Module.MarketingCenter/MiniprogramTemplateModule.cs
View file @
48388c5b
...
...
@@ -376,6 +376,8 @@ namespace Mall.Module.MarketingCenter
case
"modal"
:
item
.
data
=
JsonHelper
.
DeserializeObject
<
modalItem
>(
item
.
data
.
ToString
());
break
;
//快捷导航
case
"quick-nav"
:
item
.
data
=
JsonHelper
.
DeserializeObject
<
quicknavItem
>(
item
.
data
.
ToString
());
break
;
//店铺用户信息
case
"shop-info"
:
item
.
data
=
JsonHelper
.
DeserializeObject
<
shopinfoItem
>(
item
.
data
.
ToString
());
break
;
}
}
...
...
Mall.WebApi/Controllers/Mall/MallHelper.cs
View file @
48388c5b
...
...
@@ -884,6 +884,15 @@ namespace Mall.WebApi.Controllers
data
=
quicknavData
};
break
;
//店铺信息
case
"shop-info"
:
var
shopInfo
=
subItem
.
data
as
shopinfoItem
;
obj
=
new
{
id
=
subItem
.
Id
,
data
=
shopInfo
};
break
;
}
return
obj
;
}
...
...
Mall.WebApi/Controllers/MarketingCenter/ShareController.cs
View file @
48388c5b
...
...
@@ -151,7 +151,7 @@ namespace Mall.WebApi.Controllers.MarketingCenter
pagelist
.
pageData
=
list
.
Select
(
qitem
=>
new
{
HeadImg
=
Common
.
Config
.
ReadConfigKey
(
"ShareConfig"
,
"ShareImg"
),
UserName
=
Common
.
Config
.
ReadConfigKey
(
"ShareConfig"
,
"ShareUserName"
)
,
UserName
=
"赞羊生活"
,
qitem
.
Id
,
qitem
.
MaterialInfo
,
qitem
.
ImgList
,
...
...
Mall.WebApi/appsettings.json
View file @
48388c5b
...
...
@@ -81,6 +81,5 @@
},
"ShareConfig"
:
{
"ShareImg"
:
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/zanyang.png"
,
"ShareUserName"
:
"赞羊生活"
}
}
\ No newline at end of file
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