文档
测试

CPS列表

GET
/admin/cps

请求参数

参数名
类型
描述
必填
page
必填
page_size
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
data
object
数据字典
必填
list
array
数据列表
必填
id
int
示例:2
必填
cps_image_url
string
背景图片
必填
cps_name
string
名称
必填
app_id
string
小程序APPID
必填
cps_path
string
小程序APPPATH
必填
on_sale
boolean
是否上架。true 上架 fasle不上
必填
sort
int
排序值
必填
msg
string
示例:success
必填

说明 / 示例

```json { "code": 0, "data": { "list": [ { "id": 2, "cps_image_url": "https://quanlaolao.makepic.top/upload/cps/732755864f49e6874b9751d6f6e77633.png", "cps_name": "饿了么红包", "app_id": "wxece3a9a4c82f58c9", "cps_path": "pages/sharePid/web/index", "on_sale": false, "sort": 0, "created_at": "2021-10-18T11:20:55.488+08:00" }, { "id": 1, "cps_image_url": "https://quanlaolao.makepic.top/upload/cps/7c4edbcefccec33c54e4bcf710c94929.png", "cps_name": "饿了么大红包", "app_id": "wxece3a9a4c82f58c9", "cps_path": "/taoke/pages/shopping-guide/index?scene=o0nNDsu", "on_sale": true, "sort": 0, "created_at": "2021-10-18T10:40:43.085+08:00" } ] }, "msg": "success" } ```