添加不需要登录过滤方法
This commit is contained in:
parent
3fc561bdcb
commit
7009d69eca
@ -36,7 +36,7 @@ use think\facade\Db;
|
||||
|
||||
class Goods extends Api
|
||||
{
|
||||
public $like_not_need_login = ['getGoodsDetail', 'getHotList', 'getGoodsList', 'getGoodsListTemplate', 'getGoodsListByColumnId', 'newGoods'];
|
||||
public $like_not_need_login = ['getGoodsDetail', 'getHotList', 'getGoodsList', 'getGoodsListTemplate', 'getGoodsListByColumnId', 'hotList','newGoods'];
|
||||
|
||||
/**
|
||||
* 商品详情
|
||||
|
||||
@ -8,6 +8,8 @@ use app\common\server\JsonServer;
|
||||
|
||||
class MallNews extends Api
|
||||
{
|
||||
public $like_not_need_login = ['list'];
|
||||
|
||||
public function list()
|
||||
{
|
||||
if($this->request->isGet()) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user