123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- import { ItemEnum } from "../common/InterfaceAddEnum";
- interface BaseItem {
- conf: {};
- id: number;
- count: string;
- type: ItemEnum;
- }
- class Data {
- private _goodsData: { [id: string]: BaseItem } = {};
- init(): void {
- this.reset();
- }
- reset(): void {
- this._goodsData = {};
- }
- purge(): void {
- this.reset();
- }
- setAllGoods() {
- }
- getAllGoods() {
- }
- getBagGoods() {
- }
- getGoodsById(id: string) {
- }
- addGoodsById(id: string, num: number) {
- }
- getGoodsLocalInfo(id: string, num: number) {
- }
- }
- export let MailData = new Data;
|