//增加货物
public static void addGoods() {
System.out.println("您选择的是添加商品功能");
System.out.println("请输入商品编号:");
int goodsNum = sc.nextInt();
System.out.println("请输入商品单价:");
double goodsPri = sc.nextDouble();
System.out.println("请输入商品名称:");
String goodsName = sc.next();
if (gl.add(new Goods(goodsNum, goodsPri, goodsName))) {
System.out