未测试 1.includes/lib_goods.php文件.把SQL语句改一下,与category表关联即可 将 $sql = 'SELECT g.goods_id,g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, ' . 改为 $sql = 'SELECT g.goods_id,g.cat_id,c.parent_id,g.goods_name, g.go