liugc 1 год назад
Родитель
Сommit
dfde39484d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/workerapi/controller/TrainingController.php

+ 1 - 1
app/workerapi/controller/TrainingController.php

@@ -29,7 +29,7 @@ class TrainingController extends BaseApiController
      */
     public function getTrainingInfo()
     {
-        $result = TrainingLogic::getDetail(199);
+        $result = TrainingLogic::getDetail($this->userId);
         return $this->data($result);
     }