更新:取消测试注释
parent
d59231b888
commit
491703e67a
|
@ -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
|
|
@ -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 = [
|
||||||
|
|
Loading…
Reference in New Issue