buildGoodsList() buildGoodsList(array $goodsList) : array 主商品表数据处理 Parameters array $goodsList Returns array
syncGoodsStock() syncGoodsStock(integer $goods_id) : array 同步更新商品库存及售出 Parameters integer $goods_id 商品ID Throws \think\Exception \think\db\exception\DataNotFoundException \think\db\exception\ModelNotFoundException \think\exception\DbException \think\exception\PDOException Returns array