예제 #1
0
 public function action_removeproduct()
 {
     PermissionHelper::Verification('Editor');
     $order_id = $_GET['orderId'];
     $product_id = $_GET['productId'];
     $orderList = OrderListService::GetByOrderIdAndProductIdFirst($order_id, $product_id);
     OrderListService::Delete($orderList);
     header("Location: " . $_SERVER['HTTP_REFERER'] . "");
 }