api接口 访问这个/wx/home/index不需要登录, 访问这个/checkout/cart/add需要登录, 请问如何解除请求这个接口/checkout/cart/add的登录限制,这只是个例子
建议你先熟悉下fecmall,去读一下文件结构。
https://github.com/fecshop/yii2_fecshop/blob/master/app/appserver/modules/Checkout/controllers/CartController.php#L148
class CartController extends AppserverTokenController
改成继承这个类:https://github.com/fecshop/yii2_fecshop/blob/master/app/appserver/modules/AppserverController.php
自己多去读源码,问这样的问题,一点意思也没有,填鸭式问题。