first commit

This commit is contained in:
675061370@qq.com
2024-04-04 21:28:09 +08:00
commit fe9661855e
4192 changed files with 618218 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
<?php
namespace app\api\controller;
use app\api\QfShop;
use app\model\Source as SourceModel;
class Search extends QfShop
{
public function index()
{
$SourceModel = new SourceModel();
$data = $SourceModel->getList(input(''));
return jok('获取成功',$data);
}
public function getDetail()
{
$SourceModel = new SourceModel();
$data = $SourceModel->getDetail(input(''));
return jok('获取成功',$data);
}
public function getNew()
{
$SourceModel = new SourceModel();
$data = $SourceModel->getNew(input(''));
return jok('获取成功',$data);
}
public function getHot()
{
$SourceModel = new SourceModel();
$data = $SourceModel->getHot(input(''));
return jok('获取成功',$data);
}
}