23 lines
534 B
PHP
23 lines
534 B
PHP
<?php
|
|
|
|
namespace app\api\controller\branch_product;
|
|
|
|
use app\api\controller\BaseApiController;
|
|
use app\api\lists\branch_product\BranchProductLists;
|
|
use app\common\model\system_store\SystemStoreStaff;
|
|
|
|
class BranchProductController extends BaseApiController
|
|
{
|
|
|
|
|
|
/**
|
|
* 商品列表
|
|
*/
|
|
public function lists()
|
|
{
|
|
$store_id=SystemStoreStaff::where('uid',$this->userId)->value('store_id');
|
|
$this->request->__set('store_id',$store_id);
|
|
return $this->dataLists(new BranchProductLists());
|
|
}
|
|
}
|