DESKTOP-SVI9JE1\muzen il y a 1 an
Parent
commit
73e82a7dc9
2 fichiers modifiés avec 0 ajouts et 91 suppressions
  1. 0 55
      src/api/content/banner.js
  2. 0 36
      src/api/device/category.js

+ 0 - 55
src/api/content/banner.js

@@ -1,55 +0,0 @@
-import request from '@/utils/request'
-
-// 分页
-export function page(query){
-  return request({
-    url: `/appBanner/page`,
-    method: 'get',
-    params: query
-  })
-}
-
-// 新增
-export function submit(data){
-  return request({
-    url: `/appBanner/save`,
-    method: 'post',
-    data
-  })
-}
-
-// 修改上下架状态
-export function changeStatus(data){
-  return request({
-    url: `/appBanner/updateStatus`,
-    method: 'post',
-    data
-  })
-}
-
-// 删除
-export function remove(data){
-  return request({
-    url: `/appBanner/remove`,
-    method: 'post',
-    data
-  })
-}
-
-// 详情
-export function detail(query){
-  return request({
-    url: `/appBanner/get`,
-    method: 'get',
-    params: query
-  })
-}
-
-// 编辑
-export function edit(data){
-  return request({
-    url: `/appBanner/update`,
-    method: 'post',
-    data
-  })
-}

+ 0 - 36
src/api/device/category.js

@@ -1,36 +0,0 @@
-import request from '@/utils/request'
-
-// 查询分类列表
-export function categoryList(query) {
-  return request({
-    url: `/device/manage/category/list`,
-    method: 'get',
-    params: query
-  })
-}
-
-// 添加设备类型
-export function categoryAdd(data) {
-  return request({
-    url: `/device/manage/category/add`,
-    method: 'post',
-    data: data
-  })
-}
-
-// 编辑设备类型
-export function categoryEdit(data) {
-  return request({
-    url: `/device/manage/category/edit`,
-    method: 'post',
-    data: data
-  })
-}
-
-// 删除
-export function categoryDelete(id) {
-  return request({
-    url: `/device/manage/category/${id}`,
-    method: 'delete'
-  })
-}