public function product_edit()
{
$g=db('goods');
//$goods=Db::getTableInfo('goods', 'id');
$goods=$g->find($_GET["id"]);
//$goods=$g->field("id");
$this->assign('goods',$goods);
$m=db('goods_type');
$data=$m->field("*,concat(path,',',id)as paths")->order('paths')->select();