request->isGet()) { $list = GoodsBrandLogic::getGoodsBrandList(); return JsonServer::success('获取成功', $list); } return JsonServer::error('请求方式错误'); } }