Exemplo n.º 1
0
 public function load_delivery()
 {
     $region_id = intval($_REQUEST['id']);
     $order_id = intval($_REQUEST['order_id']);
     require_once APP_ROOT_PATH . "system/libs/cart.php";
     $delivery_list = load_support_delivery($region_id, $order_id);
     $GLOBALS['tmpl']->assign("delivery_list", $delivery_list);
     $GLOBALS['tmpl']->display("inc/inc_cart_delivery.html");
 }
Exemplo n.º 2
0
 /**
  * 加载配送方式
  */
 public function load_delivery()
 {
     $region_id = intval($_REQUEST['id']);
     $order_id = intval($_REQUEST['order_id']);
     require_once APP_ROOT_PATH . "system/model/cart.php";
     $delivery_list = load_support_delivery($region_id, $order_id);
     $GLOBALS['tmpl']->assign("delivery_list", $delivery_list);
     $data['html'] = $GLOBALS['tmpl']->fetch("inc/cart_delivery.html");
     ajax_return($data);
 }