chenl
2018-12-10 3f9120e05b216436dc50c8342b8921c71914df16
flow.php
@@ -13,6 +13,7 @@
/* 载入语言文件 */
require_once(ROOT_PATH . 'languages/' .$_CFG['lang']. '/user.php');
require_once(ROOT_PATH . 'languages/' .$_CFG['lang']. '/shopping_flow.php');
require(dirname(__FILE__).'/mobile/weiqing/open_application.php');
if($_REQUEST['act'] == 'edit_user_mobile'){
    include('includes/cls_json.php');
@@ -2737,7 +2738,8 @@
    $split_order['sub_order_count'] = count($order_info);
    //生成订单
    //$payment_www_com['www_ecshop68_com_alipay_bank'] = $_POST['www_68ecshop_com_bank'] ? trim($_POST['www_68ecshop_com_bank']) : "www_ecshop68_com";
      // 订单编号
    $order_ids = array();
    foreach($order_info as $ok=>$order){
       
       $cart_goods = $cart_goods_new[$ok]['goodlist']; 
@@ -2776,7 +2778,7 @@
       $order['order_id'] = $new_order_id;
       
       $parent_order_id = ($parent_order_id>0) ? $parent_order_id : $new_order_id;
        array_push($order_ids,$new_order_id);
       /* 插入订单商品 下面这个SQL有修改  注意末尾那个字段 */
       /* 代码增加_start  By Jarod qi */
       $sql = "INSERT INTO " . $ecs->table('order_goods') . "( " .
@@ -3028,8 +3030,7 @@
    //$smarty->assign('total',      $total);
    //$smarty->assign('goods_list', $cart_goods);
    //$smarty->assign('order_submit_back', sprintf($_LANG['order_submit_back'], $_LANG['back_home'], $_LANG['goto_user_center'])); // 返回提示
    open_application($_SESSION['user_id'],$order_ids);
    unset($_SESSION['flow_consignee']); // 清除session中保存的收货人信息
    unset($_SESSION['flow_order']);
    unset($_SESSION['direct_shopping']);