getgoodstype(); return $rows; } protected function savebefore($table, $arr, $id, $addbo){ $bo = m('goods')->existsgoods($arr, $id); if($bo)return '改物品已存在了'; } }