-
baseURL: http://127.0.0.1:8360/admin/
-
webhook
- 登录接口
path: /auth/login
methods: post
params: { username: string, password: string }
- 获取用户信息接口
path: /admin
methods: get
headers: X-Hioshop-Token:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTQsImlhdCI6MTY5NzAzNzc5N30.yW1JQn0N5gaFS8zNAY4J1_GBcbXVyoOiNgOxbMw4jeM
path: /user
methods: get
params: { page:1, size:10 }
path: /shopcart
methods: get
params: { page:1, size:10 }
- 获取显示设置接口
path: /shopcart
methods: get
- 修改显示设置接口
path: /showsetStore
methods: post
data: { "banner": 1, "notice": 1, "channel": 1, "index_banner_img": 1 }
- 获取广告列表接口
path: /ad
methods: get
params: { page:1, size:10 }
- 修改广告列表接口
path: /ad/saleStatus
methods: get
params: { id: 30, status: false }
- 获取所有公告
path: /notice
methods: get
- 删除一条公告
path: /notice/destory
methods: post
data: { id: 117 }
- 添加一条公告
path: /notice/add
methods: post
data: { content: "广告内容", time: "2023-11-15 21:27:51" }
- 更新一条公告
path: /notice/update
methods: post
data: { id: 128, content: "广告内容", time: "2023-11-15 21:27:51" }