“yueshang” 1 год назад
Родитель
Сommit
d10967543e
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      api/fire_station/index.js

+ 2 - 2
api/fire_station/index.js

@@ -12,7 +12,7 @@ export function getStation(data) {
 export function updateStation(data) {
 	return request({
 		url: '/admin-api/backend/micro-station/update',
-		method: 'put',
+		method: 'post',
 		data: data
 	})
 }
@@ -21,7 +21,7 @@ export function updateStation(data) {
 export function delStation(query) {
   return request({
     url: '/admin-api/backend/micro-station/delete',
-    method: 'DELETE',
+    method: 'post',
     params: query
   })
 }