更新:取消测试注释

master
zwesy 2021-11-29 09:50:04 +08:00
parent d59231b888
commit 491703e67a
2 changed files with 7 additions and 1 deletions

3
.gitignore vendored
View File

@ -11,4 +11,5 @@ public/storage/*
/Test.php /Test.php
nginx.htaccess nginx.htaccess
dump.rdb dump.rdb
/app/controller/api/Test.php /app/controller/api/Test.php
/view/error/test.html

View File

@ -4,6 +4,7 @@ namespace app\controller\api;
use app\model\CouponMain; use app\model\CouponMain;
use app\repository\CouponRepository; use app\repository\CouponRepository;
use think\Collection; use think\Collection;
use think\response\Json;
/** /**
* 消费者端:游客、普通用户 * 消费者端:游客、普通用户
@ -17,6 +18,10 @@ class Consumer extends Base
'home', 'home',
]; ];
/**
* 获取附近商家发布的优惠卷
* @return Json
*/
public function home() public function home()
{ {
$params = [ $params = [