|
@@ -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);
|
|
|
}
|
|
}
|
|
|
|
|
|