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