<?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()); } }