添加不需要登录过滤方法
This commit is contained in:
parent
6376653609
commit
206935faaf
@ -17,7 +17,7 @@ use weixin\Getopenid;
|
||||
|
||||
class Index extends Api
|
||||
{
|
||||
public $like_not_need_login = ['index', 'indexCategory', 'config', 'copyright', 'city', 'geocoder'];
|
||||
public $like_not_need_login = ['index', 'indexCategory', 'config', 'copyright', 'city', 'geocoder', 'setHome'];
|
||||
|
||||
// 首页
|
||||
public function index()
|
||||
|
||||
@ -15,7 +15,8 @@ use app\api\validate\LocalStoreGoodsValidate;
|
||||
|
||||
class LocalStore extends Api
|
||||
{
|
||||
// public $like_not_need_login = ['makeMyPayImage'];
|
||||
public $like_not_need_login = ['getLocalList'];
|
||||
|
||||
public function getLocalStore()
|
||||
{
|
||||
$id = $this->request->post('id');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user