Browse Source

猫舍管理 运营管理 接口文件

DESKTOP-O04BTUJ\muzen 3 years ago
parent
commit
2b96ac0382
1 changed files with 17 additions and 0 deletions
  1. 17 0
      src/api/ohplay/operation.js

+ 17 - 0
src/api/ohplay/operation.js

@@ -16,4 +16,21 @@ export function list(data){
     method: 'post',
     data
   })
+}
+
+// 删除
+export function remove(ids){
+  return request({
+    url: `/house/tAdminAdvertising/remove/${ids}`,
+    method: 'delete',
+  })
+}
+
+// 修改
+export function edit(data) {
+  return request({
+    url: `/house/tAdminAdvertising/edit`,
+    method: 'post',
+    data
+  })
 }