初始版本
This commit is contained in:
19
server/app/shopapi/controller/IndexController.php
Executable file
19
server/app/shopapi/controller/IndexController.php
Executable file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
namespace app\shopapi\controller;
|
||||
use app\shopapi\logic\IndexLogic;
|
||||
|
||||
class IndexController extends BaseShopController
|
||||
{
|
||||
|
||||
/**
|
||||
* @notes 首页商家数据
|
||||
* @return \think\response\Json
|
||||
* @author cjhao
|
||||
* @date 2024/11/12 17:55
|
||||
*/
|
||||
public function shopData()
|
||||
{
|
||||
$result = (new IndexLogic())->shopData($this->shopId);
|
||||
return $this->success('',$result);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user