Files
2026-03-14 16:20:49 +08:00

30 lines
813 B
PHP

<?php
namespace app\storeapi\controller;
use app\storeapi\logic\TrainingLogic;
class TrainingController extends BaseApiController
{
/**
* @notes 获门店培训列表
* @return \think\response\Json
* @author 胥聪
* @date 2026/2/12 1:02
*/
public function trainingList(){
$data = $this->request->post();
$result = TrainingLogic::trainingList($data);
return $this->success('查询成功', $result, 1, 1);
}
/**
* @notes 获门店培训详情
* @return \think\response\Json
* @author 胥聪
* @date 2026/2/12 1:34
*/
public function trainingDetails(){
$data = $this->request->post();
$result = TrainingLogic::trainingDetails($data);
return $this->success('查询成功', $result, 1, 1);
}
}