import { goodTranslator } from "./translators";
export function axiosGetGoodsList() {
  return new Promise(function (resolve) {
    resolve([{
      id: 1,
      name: '苹果',
      price: 3
    }, {
      id: 2,
      name: '香蕉',
      price: 2
    }].map(function (i) {
      return goodTranslator(i);
    }));
  });
}