wesmiler преди 2 години
родител
ревизия
43ac75d3b0
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/Http/Controllers/Api/v1/AcceptorController.php

+ 1 - 1
app/Http/Controllers/Api/v1/AcceptorController.php

@@ -24,7 +24,7 @@ class AcceptorController extends webApp
     {
         $type = request()->post('type', 'detail');
         $id = request()->post('id', 0);
-        $info = AcceptorService::make()->getInfo($this->userId, $type, $id);
+        $info = AcceptorService::make()->getInfo($id, $type, $this->userId);
         if($info){
             return showJson(1010, true, $info);
         }else{