Skip to content

pittleCheung/admin-react

Repository files navigation

接口文档

登录

  • 登录接口
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" }

运费模板

快递设置

管理员

About

微信商城后台管理项目

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published