安徽博创起重服务端程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

23 lines
543 B

<?php
namespace app\api\controller;
use app\common\basics\Api;
use app\common\server\JsonServer;
use app\api\logic\GoodsBrandLogic;
class GoodsBrand extends Api
{
public $like_not_need_login = ['getGoodsBrandList'];
/**
* 获取品牌列表
*/
public function getGoodsBrandList()
{
if($this->request->isGet()) {
$list = GoodsBrandLogic::getGoodsBrandList();
return JsonServer::success('获取成功', $list);
}
return JsonServer::error('请求方式错误');
}
}