|
@@ -16,4 +16,21 @@ export function list(data){
|
|
method: 'post',
|
|
method: 'post',
|
|
data
|
|
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
|
|
|
|
+ })
|
|
}
|
|
}
|