初始版本

This commit is contained in:
贾祥聪
2025-08-19 14:16:51 +08:00
commit f937a1f9b9
4373 changed files with 359728 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
<?php
namespace app\coachapi\controller;
use app\coachapi\logic\GoodsLogic;
/**
* 服务控制器类
* Class CoachController
* @package app\coachapi\controller
*/
class GoodsController extends BaseCoachController
{
public function lists()
{
return $this->dataLists();
}
/**
* @notes 获取详情接口
* @return \think\response\Json
* @author cjhao
* @date 2024/11/27 14:38
*/
public function detail()
{
$params = $this->request->get();
$result = (new GoodsLogic())->detail($params['id']);
return $this->success('',$result);
}
}