瀏覽代碼

up - 审核状态

liugc 1 年之前
父節點
當前提交
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);
     }