Procházet zdrojové kódy

修改接口请求方式

rkljw před 6 měsíci
rodič
revize
0f2f065e88
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      config/api/public.php

+ 1 - 1
config/api/public.php

@@ -18,7 +18,7 @@ Router::addGroup(
         Router::post('/addComplaint', [PublicController::class, 'addComplaint']);
         Router::post('/upComplaint', [PublicController::class, 'upComplaint']);
         Router::post('/getComplaint', [PublicController::class, 'getComplaint']);
-        Router::get('/getLetterOfComplaintInfo', [PublicController::class, 'getLetterOfComplaintInfo']);
+        Router::post('/getLetterOfComplaintInfo', [PublicController::class, 'getLetterOfComplaintInfo']);
         Router::post('/delLetterOfComplaint', [PublicController::class, 'delLetterOfComplaint']);
         Router::get('/getLetterType', [PublicController::class, 'getLetterType']);
         Router::post('/downloadFile', [PublicController::class, 'downloadFile']);