文档
测试
新增接口

设置移动主题有效时间

POST
https://portalm-sw.paas.newcapec.cn/portal-api/v1/app/Theme/setValidTime

分支名称

**hotfix/xigongda**

请求参数

参数名
类型
描述
必填
状态
themeId
String
主题id
必填
2023/09/04 新增
validTmeType
String
有效时间类型; permanent:永久有效;custom: 自定义
必填
2023/09/04 新增
customValidTmeType
String
自定义有效时间类型; include:包含; exclude:不包含,排除
必填
2023/09/04 新增
customValidStartTime
String
自定义的生效开始时间
必填
2023/09/04 新增
customValidEndTime
String
自定义的生效结束时间
必填
2023/09/04 新增

请求头

参数名
类型
描述
必填
x-id-token
string
用户token
必填

响应参数

application/json
参数名
类型
描述
必填
code
int
0:成功;-1:失败;
必填
message
string
接口访问状况信息
必填
data
null
必填

说明 / 示例

请求参数示例 ```json { "themeId": "999", "validTmeType": "custom", "customValidTmeType": "exclude", "customValidStartTime": "2022-01-26 15:05:50", "customValidEndTime": "2022-01-26 15:05:50" } ````