安徽博创起重服务端程序
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
567 B

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