Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-enterprise
Overview
Overview
Details
Activity
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
base_platform_enterprise
gic-platform-enterprise
Commits
95955186
Commit
95955186
authored
Aug 02, 2021
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加获取详情接口
parent
f151dd13
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
234 additions
and
0 deletions
+234
-0
AppletCustomPageController.java
.../operation/web/controller/AppletCustomPageController.java
+7
-0
AppletCustomPageVO.java
...ain/java/com/gic/operation/web/vo/AppletCustomPageVO.java
+227
-0
No files found.
gic-platform-operation-web/src/main/java/com/gic/operation/web/controller/AppletCustomPageController.java
View file @
95955186
...
...
@@ -3,6 +3,7 @@ package com.gic.operation.web.controller;
import
com.gic.commons.webapi.reponse.RestResponse
;
import
com.gic.enterprise.service.AppletCustomPageApiService
;
import
com.gic.enterprise.utils.ResultControllerUtils
;
import
com.gic.operation.web.vo.AppletCustomPageVO
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
...
...
@@ -36,5 +37,11 @@ public class AppletCustomPageController {
return
ResultControllerUtils
.
commonResult
(
appletCustomPageApiService
.
saveOrUpdate
(
param
,
pageId
,
enterpriseId
,
saveType
,
appType
,
appId
));
}
@RequestMapping
(
"/get-default-page"
)
public
RestResponse
getDefaultPage
(
Integer
pageType
)
{
return
ResultControllerUtils
.
commonResultOne
(
appletCustomPageApiService
.
getDefault
(
pageType
),
AppletCustomPageVO
.
class
);
}
}
gic-platform-operation-web/src/main/java/com/gic/operation/web/vo/AppletCustomPageVO.java
0 → 100644
View file @
95955186
package
com
.
gic
.
operation
.
web
.
vo
;
import
java.io.Serializable
;
/**
* @ClassName:
* @Description:
* @author guojuxing
* @date 2021/8/2 4:02 PM
*/
public
class
AppletCustomPageVO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
-
385494257098317977L
;
/**
*
*/
private
Integer
pageId
;
/**
*
*/
private
Integer
enterpriseId
;
/**
*
*/
private
String
title
;
/**
* 进入条件,0不限,1开卡会员,2认证会员
*/
private
Integer
entryCondition
;
/**
* 快捷导航开关 1:开启 0:关闭 默认开启
*/
private
Integer
quickGuideSwitch
;
/**
* 小程序标题
*/
private
String
appletTitle
;
/**
* 背景颜色 0 灰色 1 白色 ,默认灰色(会员中心页面、积分服务页面、自定义页面、商城装首页 有该设置)2:背景图片(自定义页面有)
*/
private
Integer
backgroundType
;
/**
* 自定义页面有。页面背景是图片的时候有值
*/
private
String
backgroundImage
;
/**
* 背景颜色 灰色 白色 ,默认灰色(会员中心页面、积分服务页面、自定义页面、商城装首页 有该设置)
*/
private
String
backgroundColor
;
/**
* 配置json
*/
private
String
setting
;
/**
* 组件字符串,用于详情接口
*/
private
String
componentStr
;
/**
* 人群筛选器ID(积分服务页面专用
*/
private
Long
crowdWidgetId
;
/**
* 自定义页面专属 导航颜色,#ffffff
*/
private
String
guideTopColor
;
/**
* 自定义页面专属 标题颜色1:黑色 2:白色
*/
private
Integer
titleColor
;
public
Integer
getPageId
()
{
return
pageId
;
}
public
AppletCustomPageVO
setPageId
(
Integer
pageId
)
{
this
.
pageId
=
pageId
;
return
this
;
}
public
Integer
getEnterpriseId
()
{
return
enterpriseId
;
}
public
AppletCustomPageVO
setEnterpriseId
(
Integer
enterpriseId
)
{
this
.
enterpriseId
=
enterpriseId
;
return
this
;
}
public
String
getTitle
()
{
return
title
;
}
public
AppletCustomPageVO
setTitle
(
String
title
)
{
this
.
title
=
title
;
return
this
;
}
public
Integer
getEntryCondition
()
{
return
entryCondition
;
}
public
AppletCustomPageVO
setEntryCondition
(
Integer
entryCondition
)
{
this
.
entryCondition
=
entryCondition
;
return
this
;
}
public
Integer
getQuickGuideSwitch
()
{
return
quickGuideSwitch
;
}
public
AppletCustomPageVO
setQuickGuideSwitch
(
Integer
quickGuideSwitch
)
{
this
.
quickGuideSwitch
=
quickGuideSwitch
;
return
this
;
}
public
String
getAppletTitle
()
{
return
appletTitle
;
}
public
AppletCustomPageVO
setAppletTitle
(
String
appletTitle
)
{
this
.
appletTitle
=
appletTitle
;
return
this
;
}
public
Integer
getBackgroundType
()
{
return
backgroundType
;
}
public
AppletCustomPageVO
setBackgroundType
(
Integer
backgroundType
)
{
this
.
backgroundType
=
backgroundType
;
return
this
;
}
public
String
getBackgroundImage
()
{
return
backgroundImage
;
}
public
AppletCustomPageVO
setBackgroundImage
(
String
backgroundImage
)
{
this
.
backgroundImage
=
backgroundImage
;
return
this
;
}
public
String
getBackgroundColor
()
{
return
backgroundColor
;
}
public
AppletCustomPageVO
setBackgroundColor
(
String
backgroundColor
)
{
this
.
backgroundColor
=
backgroundColor
;
return
this
;
}
public
String
getSetting
()
{
return
setting
;
}
public
AppletCustomPageVO
setSetting
(
String
setting
)
{
this
.
setting
=
setting
;
return
this
;
}
public
String
getComponentStr
()
{
return
componentStr
;
}
public
AppletCustomPageVO
setComponentStr
(
String
componentStr
)
{
this
.
componentStr
=
componentStr
;
return
this
;
}
public
Long
getCrowdWidgetId
()
{
return
crowdWidgetId
;
}
public
AppletCustomPageVO
setCrowdWidgetId
(
Long
crowdWidgetId
)
{
this
.
crowdWidgetId
=
crowdWidgetId
;
return
this
;
}
public
String
getGuideTopColor
()
{
return
guideTopColor
;
}
public
AppletCustomPageVO
setGuideTopColor
(
String
guideTopColor
)
{
this
.
guideTopColor
=
guideTopColor
;
return
this
;
}
public
Integer
getTitleColor
()
{
return
titleColor
;
}
public
AppletCustomPageVO
setTitleColor
(
Integer
titleColor
)
{
this
.
titleColor
=
titleColor
;
return
this
;
}
@Override
public
String
toString
()
{
return
"AppletCustomPageVO{"
+
"pageId="
+
pageId
+
", enterpriseId="
+
enterpriseId
+
", title='"
+
title
+
'\''
+
", entryCondition="
+
entryCondition
+
", quickGuideSwitch="
+
quickGuideSwitch
+
", appletTitle='"
+
appletTitle
+
'\''
+
", backgroundType="
+
backgroundType
+
", backgroundImage='"
+
backgroundImage
+
'\''
+
", backgroundColor='"
+
backgroundColor
+
'\''
+
", setting='"
+
setting
+
'\''
+
", componentStr='"
+
componentStr
+
'\''
+
", crowdWidgetId="
+
crowdWidgetId
+
", guideTopColor='"
+
guideTopColor
+
'\''
+
", titleColor="
+
titleColor
+
'}'
;
}
}
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