// CommodityId:商品ID, Name:商品名称, CommodityType:商品类型(3.礼物5.相框), PriceType:价格类型(1金币 2礼券), Price:实际价格, Item:所含道具，对应ItemCFG.xls表, IsCanBuy:是否能购买(是否显示), Count:数量

export default class M_CommodityCFG {
  private static data =
      {"1":{"CommodityId":1,"Name":"头像框1","CommodityType":5,"PriceType":1,"Price":0,"Item":[50101],"IsCanBuy":true,"Count":[1]}

      ,"2":{"CommodityId":2,"Name":"头像框2头盔","CommodityType":5,"PriceType":1,"Price":7000,"Item":[50102],"IsCanBuy":true,"Count":[1]}

      ,"3":{"CommodityId":3,"Name":"头像框3假发","CommodityType":5,"PriceType":1,"Price":70000,"Item":[50103],"IsCanBuy":true,"Count":[1]}

      ,"4":{"CommodityId":4,"Name":"头像框4鳄鱼","CommodityType":5,"PriceType":1,"Price":12800,"Item":[50104],"IsCanBuy":true,"Count":[1]}

      ,"5":{"CommodityId":5,"Name":"头像框5海盗","CommodityType":5,"PriceType":1,"Price":128000,"Item":[50105],"IsCanBuy":true,"Count":[1]}

      ,"6":{"CommodityId":6,"Name":"头像框6墨镜","CommodityType":5,"PriceType":1,"Price":500000,"Item":[50106],"IsCanBuy":true,"Count":[1]}

      ,"7":{"CommodityId":7,"Name":"头像框7王冠","CommodityType":5,"PriceType":1,"Price":500000,"Item":[50107],"IsCanBuy":true,"Count":[1]}

      ,"8":{"CommodityId":8,"Name":"头像框8骰子","CommodityType":5,"PriceType":1,"Price":50000,"Item":[50108],"IsCanBuy":true,"Count":[1]}

      ,"9":{"CommodityId":9,"Name":"头像框9猫耳","CommodityType":5,"PriceType":1,"Price":1000000,"Item":[50109],"IsCanBuy":true,"Count":[1]}

      ,"10":{"CommodityId":10,"Name":"头像框10牛仔","CommodityType":5,"PriceType":1,"Price":100000,"Item":[50110],"IsCanBuy":true,"Count":[1]}

      ,"11":{"CommodityId":11,"Name":"美钞","CommodityType":3,"PriceType":1,"Price":300,"Item":[30101],"IsCanBuy":true,"Count":[1]}

      ,"12":{"CommodityId":12,"Name":"金条","CommodityType":3,"PriceType":1,"Price":1000,"Item":[30102],"IsCanBuy":true,"Count":[1]}

      ,"13":{"CommodityId":13,"Name":"摇钱树","CommodityType":3,"PriceType":1,"Price":30000,"Item":[30103],"IsCanBuy":true,"Count":[1]}

      ,"14":{"CommodityId":14,"Name":"跑车","CommodityType":3,"PriceType":1,"Price":100000,"Item":[30104],"IsCanBuy":true,"Count":[1]}

      ,"15":{"CommodityId":15,"Name":"游艇","CommodityType":3,"PriceType":1,"Price":3000000,"Item":[30105],"IsCanBuy":true,"Count":[1]}

      ,"16":{"CommodityId":16,"Name":"飞机","CommodityType":3,"PriceType":1,"Price":10000000,"Item":[30106],"IsCanBuy":true,"Count":[1]}

      ,"17":{"CommodityId":17,"Name":"头像框福","CommodityType":5,"PriceType":2,"Price":9999999,"Item":[50111],"IsCanBuy":false,"Count":[1]}

      ,"18":{"CommodityId":18,"Name":"头像框禄","CommodityType":5,"PriceType":2,"Price":9999999,"Item":[50112],"IsCanBuy":false,"Count":[1]}

      ,"19":{"CommodityId":19,"Name":"头像框寿","CommodityType":5,"PriceType":2,"Price":9999999,"Item":[50113],"IsCanBuy":false,"Count":[1]}

      ,"20":{"CommodityId":20,"Name":"头像框喜","CommodityType":5,"PriceType":2,"Price":9999999,"Item":[50114],"IsCanBuy":false,"Count":[1]}

      ,"21":{"CommodityId":21,"Name":"首充头像框","CommodityType":5,"PriceType":2,"Price":9999999,"Item":[50115],"IsCanBuy":true,"Count":[1]}

      }// CommodityId:商品ID, Name:商品名称, CommodityType:商品类型(3.礼物5.相框), PriceType:价格类型(1金币 2礼券), Price:实际价格, Item:所含道具，对应ItemCFG.xls表, IsCanBuy:是否能购买(是否显示), Count:数量


    static getData(key: any): any {
        if (key == null || key == undefined)
            return null;
        return this.data[key];
    }

    static getAllData(): any {
        return this.data;
    }

}