Browse Source

up - 审核状态

liugc 1 year ago
parent
commit
dfde39484d
1 changed files with 1 additions and 1 deletions
  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()
     public function getTrainingInfo()
     {
     {
-        $result = TrainingLogic::getDetail(199);
+        $result = TrainingLogic::getDetail($this->userId);
         return $this->data($result);
         return $this->data($result);
     }
     }