- 评论
- souring相关
- 站点->sourcing
- 购物车 -> 购物车
- 个人中心->订单管理
- 产品->详情
- 订单 -> 订单
- 站点->支付方式
- 产品搜索->列表
- 购物车 -> 结算
- 商品详情->激光定制
- 商品定制
- 多买多奖
- 商品->个性化推荐
- 商品->新客引导
- 新客引导
- <p>
- 站点->pop-up
首页弹框
POST
/st-cms/pop-up/get
请求参数
Body 参数application/json
id
integer
ID
title
string
标题
description
string
描述
content
string
内容
startTime
integer
开始时间
endTime
integer
结束时间
customerLevelIds
string
可选
isEnabled
integer
可选
createdAt
string
创建时间
updatedAt
string
更新时间
site
integer
站点
language
integer
语言
linkUrl
string
可选
btnUrl
string
可选
imgUrl
string
可选
extStr
string
补充字段
contentList
array[object (PopContentVo) {3}]
可选
msg
string
可选
msg2
string
可选
msg3
string
可选
eventType
string
可选
popFlag
boolean
可选
from
string
来源
示例
{
"id": 0,
"title": "string",
"description": "string",
"content": "string",
"startTime": 0,
"endTime": 0,
"customerLevelIds": "string",
"isEnabled": 0,
"createdAt": "string",
"updatedAt": "string",
"site": 0,
"language": 0,
"linkUrl": "string",
"btnUrl": "string",
"imgUrl": "string",
"extStr": "string",
"contentList": [
{
"msg": "string",
"msg2": "string",
"msg3": "string"
}
],
"eventType": "string",
"popFlag": true,
"from": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://www.nihaocloud.cn/st-cms/pop-up/get' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 0,
"title": "string",
"description": "string",
"content": "string",
"startTime": 0,
"endTime": 0,
"customerLevelIds": "string",
"isEnabled": 0,
"createdAt": "string",
"updatedAt": "string",
"site": 0,
"language": 0,
"linkUrl": "string",
"btnUrl": "string",
"imgUrl": "string",
"extStr": "string",
"contentList": [
{
"msg": "string",
"msg2": "string",
"msg3": "string"
}
],
"eventType": "string",
"popFlag": true,
"from": "string"
}'
返回响应
🟢200成功
application/json
Body
<p>
id
integer
ID
title
string
标题
description
string
描述
content
string
内容
startTime
integer
开始时间
endTime
integer
结束时间
customerLevelIds
string
可选
isEnabled
integer
可选
createdAt
string
创建时间
updatedAt
string
更新时间
site
integer
站点
language
integer
语言
linkUrl
string
可选
btnUrl
string
可选
imgUrl
string
可选
extStr
string
补充字段
contentList
array[object (PopContentVo) {3}]
可选
msg
string
可选
msg2
string
可选
msg3
string
可选
eventType
string
可选
popFlag
boolean
可选
from
string
来源
示例
{
"id": 0,
"title": "",
"description": "",
"content": "",
"startTime": 0,
"endTime": 0,
"customerLevelIds": "",
"isEnabled": 0,
"createdAt": "",
"updatedAt": "",
"site": 0,
"language": 0,
"linkUrl": "",
"btnUrl": "",
"imgUrl": "",
"extStr": "",
"contentList": [
{
"msg": "",
"msg2": "",
"msg3": ""
}
],
"eventType": "",
"popFlag": false,
"from": ""
}
修改于 2025-07-02 08:35:38