Bläddra i källkod

反馈列表接口文件

DESKTOP-SVI9JE1\muzen 1 år sedan
förälder
incheckning
f90a938e8c
1 ändrade filer med 4 tillägg och 3 borttagningar
  1. 4 3
      src/api/operation/feedbacklist.js

+ 4 - 3
src/api/operation/feedbacklist.js

@@ -18,10 +18,11 @@ export function detail(id) {
 }
 
 // 提交
-export function submit(id, data) {
+export function submit(data) {
   return request({
-    url: `/admin/opinions/reply/${id}/${data}`,
-    method: 'get'
+    url: `/admin/opinions/reply`,
+    method: 'post',
+    data
   })
 }