|
|
|
@@ -1,9 +1,7 @@ |
|
|
|
import { Component, OnInit } from '@angular/core'; |
|
|
|
import { Location } from '@angular/common'; |
|
|
|
import { CartItemService } from '../services/cart-item.service'; |
|
|
|
import { MallService } from '../services/mall.service'; |
|
|
|
import { Router } from '@angular/router'; |
|
|
|
import { OrderService } from '../services/order.service'; |
|
|
|
import { ToastController } from '@ionic/angular'; |
|
|
|
|
|
|
|
@Component({ |
|
|
|
@@ -14,10 +12,8 @@ import { ToastController } from '@ionic/angular'; |
|
|
|
export class CartPage implements OnInit { |
|
|
|
constructor( |
|
|
|
private location: Location, |
|
|
|
private cartService: CartItemService, |
|
|
|
private mallService: MallService, |
|
|
|
private router: Router, |
|
|
|
private orderService: OrderService, |
|
|
|
public toastController: ToastController |
|
|
|
) { } |
|
|
|
|
|
|
|
|