24 lines
557 B
PHP
24 lines
557 B
PHP
<?php
|
|
|
|
namespace app\api\controller\goods;
|
|
use app\api\controller\BaseApiController;
|
|
use app\api\lists\goods\GoodsLists;
|
|
|
|
class GoodsController extends BaseApiController{
|
|
public $notNeedLogin = ['lists'];
|
|
/**
|
|
* 商品列表
|
|
*/
|
|
public function lists(){
|
|
return $this->dataLists(new GoodsLists());
|
|
}
|
|
|
|
/**
|
|
* 商品列表
|
|
*/
|
|
public function mer_list(){
|
|
// $this->request->__set('mer_id',$this->request->userInfo['merchant']['mer_id']??0);
|
|
return $this->dataLists(new GoodsLists());
|
|
}
|
|
|
|
} |