/** * ription 编辑产品分类信息表单页面 * * @author * * @final * * @param int $pc_id * 产品分类id */ public function edit($pc_id) { if (!$this->check_power_new('production_category_edit')) { return; } /* * 基本信息 */ $pc_id = intval($pc_id); $production_category = CommonModel::get_product_category_list($pc_id); if (empty($production_category)) { message('产品类别不存在'); return; } $data = array(); $data['pc'] = $production_category; $data['act'] = 'edit'; $this->load->view('production_category/edit', $data); }