From f54fb2ee4a325ef1b682e67576a3a5f1ead60ee8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=90=8D?= <邮箱> Date: Mon, 31 Jul 2023 09:24:58 +0800 Subject: [PATCH] wxpayment_test --- MP_verify_E6VQfRLuKSkhI7zW.txt | 1 + admin/payment.php | 1 + data/config.php | 4 +- includes/modules/payment/dalianpay.php | 231 +++ mobile/data/assets/script/main/shopping_flow.js | 35 +- mobile/plugins/connect/wechat.php | 1 + mobile/plugins/payment/wxpay.php | 154 +- mobile/plugins/shipping/cac.php | 2 +- .../source/apps/flow/cert/channel_public_key.pem | 9 + mobile/source/apps/flow/cert/cus_private_key.pem | 28 + .../source/apps/flow/cert/cus_private_key.pem.test | 16 + mobile/source/apps/flow/config/config.php | 43 + .../apps/flow/controllers/IndexController.php | 2 + mobile/source/apps/flow/demo/cancel.php | 151 ++ mobile/source/apps/flow/demo/close.php | 99 ++ mobile/source/apps/flow/demo/pay.php | 116 ++ mobile/source/apps/flow/demo/query.php | 98 ++ mobile/source/apps/flow/demo/refund.php | 105 ++ mobile/source/apps/flow/demo/scan.php | 158 ++ mobile/source/apps/flow/library/Base.php | 41 + mobile/source/apps/flow/library/Crypt.php | 220 +++ mobile/source/apps/flow/library/Request.php | 156 ++ mobile/source/apps/flow/views/checkout.html | 59 + mobile/source/helpers/clips_helper.php | 2 +- mobile/source/helpers/order_helper.php | 6 +- mobile/source/helpers/scfunction_helper.php | 2 +- mobile/test_get_openid.php | 24 + mobile/testauth.php | 59 + mobile/testsc.html | 84 ++ mobile/testsc.php | 89 ++ mobile/testsc2.php | 64 + nginx.htaccess | 0 temp/backup/index.htm | 0 temp/backup/library/index.htm | 1 + temp/caches/d/index_232763CA.php | 1145 +++++++++++++++ temp/caches/f/index_40F756F0.php | 1145 +++++++++++++++ temp/compiled/ad_position.lbi.php | 8 + temp/compiled/cart_favourable_list.lbi.php | 53 + temp/compiled/cart_html.lbi.php | 86 ++ temp/compiled/cart_info.lbi.php | 153 ++ temp/compiled/cat_articles.lbi.php | 8 + temp/compiled/cat_goods.lbi.php | 0 temp/compiled/cat_goods_banner.lbi.php | 12 + temp/compiled/cat_goods_hot.lbi.php | 18 + temp/compiled/common_html.lbi.php | 22 + temp/compiled/flow.dwt.php | 1511 ++++++++++++++++++++ temp/compiled/flow_cart_goods.lbi.php | 414 ++++++ temp/compiled/guess_you_like.lbi.php | 76 + temp/compiled/header_region_style.lbi.php | 70 + temp/compiled/index.dwt.php | 413 ++++++ temp/compiled/index_ad.lbi.php | 8 + temp/compiled/index_ad_position.lbi.php | 10 + temp/compiled/index_banner_group_ad.lbi.php | 10 + temp/compiled/index_banner_group_list.lbi.php | 33 + temp/compiled/index_brand_ad.lbi.php | 20 + temp/compiled/index_brand_banner.lbi.php | 17 + temp/compiled/index_brand_street.lbi.php | 16 + temp/compiled/index_cat_brand_ad.lbi.php | 21 + temp/compiled/index_cat_topic.lbi.php | 8 + temp/compiled/index_cat_tree.lbi.php | 40 + temp/compiled/index_group_ad.lbi.php | 8 + temp/compiled/index_group_banner.lbi.php | 24 + temp/compiled/load_cat_goods.lbi.php | 135 ++ temp/compiled/login_banner.lbi.php | 14 + temp/compiled/member_info.lbi.php | 12 + temp/compiled/order_total.lbi.php | 197 +++ temp/compiled/page_footer.lbi.php | 147 ++ temp/compiled/page_footer_flow.lbi.php | 54 + temp/compiled/page_header_flow.lbi.php | 87 ++ temp/compiled/page_header_index.lbi.php | 214 +++ temp/compiled/page_header_user.lbi.php | 195 +++ temp/compiled/position_get_adv.lbi.php | 21 + temp/compiled/position_get_adv_small.lbi.php | 7 + temp/compiled/recommend_best.lbi.php | 23 + temp/compiled/recommend_hot.lbi.php | 30 + temp/compiled/recommend_new.lbi.php | 29 + temp/compiled/recommend_promotion.lbi.php | 31 + temp/compiled/user_clips.dwt.php | 1445 +++++++++++++++++++ temp/compiled/user_menu.lbi.php | 36 + temp/compiled/user_menu_position.lbi.php | 114 ++ temp/compiled/user_passport.dwt.php | 630 ++++++++ temp/index.htm | 1 + temp/query_caches/index.htm | 1 + ...onfig_file_8ff49d4fc2bdd854eeadd5e66e0e19fe.php | 6 + temp/static_caches/art_cat_pid_releate.php | 242 ++++ temp/static_caches/cat_option_static.php | 244 ++++ temp/static_caches/cat_pid_releate.php | 196 +++ temp/static_caches/category_tree_brands1478.php | 21 + temp/static_caches/category_tree_brands1514.php | 21 + temp/static_caches/category_tree_brands1553.php | 43 + temp/static_caches/category_tree_brands1563.php | 21 + temp/static_caches/category_tree_child1478.php | 16 + temp/static_caches/category_tree_child1514.php | 40 + temp/static_caches/category_tree_child1553.php | 16 + temp/static_caches/category_tree_child1563.php | 16 + temp/static_caches/index_goods_cat0.php | 18 + temp/static_caches/index_goods_cat_cache.php | 44 + temp/static_caches/recommend_goods.php | 112 ++ temp/static_caches/shop_config.php | 222 +++ testsc/flow_test.php | 113 ++ testsc/span_test.php | 8 + testsc/test111.php | 14 + 102 files changed, 12214 insertions(+), 32 deletions(-) create mode 100644 MP_verify_E6VQfRLuKSkhI7zW.txt create mode 100644 includes/modules/payment/dalianpay.php create mode 100644 mobile/source/apps/flow/cert/channel_public_key.pem create mode 100644 mobile/source/apps/flow/cert/cus_private_key.pem create mode 100644 mobile/source/apps/flow/cert/cus_private_key.pem.test create mode 100644 mobile/source/apps/flow/config/config.php create mode 100644 mobile/source/apps/flow/demo/cancel.php create mode 100644 mobile/source/apps/flow/demo/close.php create mode 100644 mobile/source/apps/flow/demo/pay.php create mode 100644 mobile/source/apps/flow/demo/query.php create mode 100644 mobile/source/apps/flow/demo/refund.php create mode 100644 mobile/source/apps/flow/demo/scan.php create mode 100644 mobile/source/apps/flow/library/Base.php create mode 100644 mobile/source/apps/flow/library/Crypt.php create mode 100644 mobile/source/apps/flow/library/Request.php create mode 100644 mobile/test_get_openid.php create mode 100644 mobile/testauth.php create mode 100644 mobile/testsc.html create mode 100644 mobile/testsc.php create mode 100644 mobile/testsc2.php create mode 100644 nginx.htaccess create mode 100644 temp/backup/index.htm create mode 100644 temp/backup/library/index.htm create mode 100644 temp/caches/d/index_232763CA.php create mode 100644 temp/caches/f/index_40F756F0.php create mode 100644 temp/compiled/ad_position.lbi.php create mode 100644 temp/compiled/cart_favourable_list.lbi.php create mode 100644 temp/compiled/cart_html.lbi.php create mode 100644 temp/compiled/cart_info.lbi.php create mode 100644 temp/compiled/cat_articles.lbi.php create mode 100644 temp/compiled/cat_goods.lbi.php create mode 100644 temp/compiled/cat_goods_banner.lbi.php create mode 100644 temp/compiled/cat_goods_hot.lbi.php create mode 100644 temp/compiled/common_html.lbi.php create mode 100644 temp/compiled/flow.dwt.php create mode 100644 temp/compiled/flow_cart_goods.lbi.php create mode 100644 temp/compiled/guess_you_like.lbi.php create mode 100644 temp/compiled/header_region_style.lbi.php create mode 100644 temp/compiled/index.dwt.php create mode 100644 temp/compiled/index_ad.lbi.php create mode 100644 temp/compiled/index_ad_position.lbi.php create mode 100644 temp/compiled/index_banner_group_ad.lbi.php create mode 100644 temp/compiled/index_banner_group_list.lbi.php create mode 100644 temp/compiled/index_brand_ad.lbi.php create mode 100644 temp/compiled/index_brand_banner.lbi.php create mode 100644 temp/compiled/index_brand_street.lbi.php create mode 100644 temp/compiled/index_cat_brand_ad.lbi.php create mode 100644 temp/compiled/index_cat_topic.lbi.php create mode 100644 temp/compiled/index_cat_tree.lbi.php create mode 100644 temp/compiled/index_group_ad.lbi.php create mode 100644 temp/compiled/index_group_banner.lbi.php create mode 100644 temp/compiled/load_cat_goods.lbi.php create mode 100644 temp/compiled/login_banner.lbi.php create mode 100644 temp/compiled/member_info.lbi.php create mode 100644 temp/compiled/order_total.lbi.php create mode 100644 temp/compiled/page_footer.lbi.php create mode 100644 temp/compiled/page_footer_flow.lbi.php create mode 100644 temp/compiled/page_header_flow.lbi.php create mode 100644 temp/compiled/page_header_index.lbi.php create mode 100644 temp/compiled/page_header_user.lbi.php create mode 100644 temp/compiled/position_get_adv.lbi.php create mode 100644 temp/compiled/position_get_adv_small.lbi.php create mode 100644 temp/compiled/recommend_best.lbi.php create mode 100644 temp/compiled/recommend_hot.lbi.php create mode 100644 temp/compiled/recommend_new.lbi.php create mode 100644 temp/compiled/recommend_promotion.lbi.php create mode 100644 temp/compiled/user_clips.dwt.php create mode 100644 temp/compiled/user_menu.lbi.php create mode 100644 temp/compiled/user_menu_position.lbi.php create mode 100644 temp/compiled/user_passport.dwt.php create mode 100644 temp/index.htm create mode 100644 temp/query_caches/index.htm create mode 100644 temp/query_caches/sqlcache_config_file_8ff49d4fc2bdd854eeadd5e66e0e19fe.php create mode 100644 temp/static_caches/art_cat_pid_releate.php create mode 100644 temp/static_caches/cat_option_static.php create mode 100644 temp/static_caches/cat_pid_releate.php create mode 100644 temp/static_caches/category_tree_brands1478.php create mode 100644 temp/static_caches/category_tree_brands1514.php create mode 100644 temp/static_caches/category_tree_brands1553.php create mode 100644 temp/static_caches/category_tree_brands1563.php create mode 100644 temp/static_caches/category_tree_child1478.php create mode 100644 temp/static_caches/category_tree_child1514.php create mode 100644 temp/static_caches/category_tree_child1553.php create mode 100644 temp/static_caches/category_tree_child1563.php create mode 100644 temp/static_caches/index_goods_cat0.php create mode 100644 temp/static_caches/index_goods_cat_cache.php create mode 100644 temp/static_caches/recommend_goods.php create mode 100644 temp/static_caches/shop_config.php create mode 100644 testsc/flow_test.php create mode 100644 testsc/span_test.php create mode 100644 testsc/test111.php diff --git a/MP_verify_E6VQfRLuKSkhI7zW.txt b/MP_verify_E6VQfRLuKSkhI7zW.txt new file mode 100644 index 0000000..be06d8e --- /dev/null +++ b/MP_verify_E6VQfRLuKSkhI7zW.txt @@ -0,0 +1 @@ +E6VQfRLuKSkhI7zW \ No newline at end of file diff --git a/admin/payment.php b/admin/payment.php index 839c59f..cafeeaf 100755 --- a/admin/payment.php +++ b/admin/payment.php @@ -158,6 +158,7 @@ elseif ($_REQUEST['act'] == 'get_config') { $config .= ""; } + // sc_modify } elseif($data[$key]['type'] == 'select') { diff --git a/data/config.php b/data/config.php index f894304..b94c4f6 100755 --- a/data/config.php +++ b/data/config.php @@ -6,10 +6,10 @@ $db_host = "localhost:3306"; $db_name = "shop"; // database username -$db_user = "shop"; +$db_user = "root"; // database password -$db_pass = "2EwNHNTBTLKFnA68"; +$db_pass = "123456"; // table prefix $prefix = "dsc_"; diff --git a/includes/modules/payment/dalianpay.php b/includes/modules/payment/dalianpay.php new file mode 100644 index 0000000..d9b6a6b --- /dev/null +++ b/includes/modules/payment/dalianpay.php @@ -0,0 +1,231 @@ + 'dalianpay_account', 'type' => 'text', 'value' => ''), + array('name' => 'dalianpay_key', 'type' => 'text', 'value' => ''), + array('name' => 'dalianpay_partner', 'type' => 'text', 'value' => ''), + array('name' => 'dalianpay_pay_method', 'type' => 'select', 'value' => '') + ); + + return; +} + +/** + * 类 + */ +class dalianpay +{ + + /** + * 构造函数 + * + * @access public + * @param + * + * @return void + */ + function dalianpay() + { + } + + function __construct() + { + $this->dalianpay(); + } + + /** + * 生成支付代码 + * @param array $order 订单信息 + * @param array $payment 支付方式信息 + */ + function get_code($order, $payment) + { + if (!defined('EC_CHARSET')) + { + $charset = 'utf-8'; + } + else + { + $charset = EC_CHARSET; + } + + // $real_method = $payment['alipay_pay_method']; + $real_method = $payment['dalianpay_pay_method']; + + switch ($real_method){ + case '0': + $service = 'trade_create_by_buyer'; + break; + case '1': + $service = 'create_partner_trade_by_buyer'; + break; + case '2': + $service = 'create_direct_pay_by_user'; + break; + } + + $extend_param = 'isv^sh22'; + + $parameter = array( + 'extend_param' => $extend_param, + 'service' => $service, + 'partner' => $payment['alipay_partner'], + //'partner' => ALIPAY_ID, + '_input_charset' => $charset, + 'notify_url' => return_url(basename(__FILE__, '.php')), + 'return_url' => return_url(basename(__FILE__, '.php')), + /* 业务参数 */ + 'subject' => $order['order_sn'], + 'out_trade_no' => date("YmdHi") . $order['order_sn'] . $order['log_id'], + 'price' => $order['order_amount'], + 'quantity' => 1, + 'payment_type' => 1, + /* 物流参数 */ + 'logistics_type' => 'EXPRESS', + 'logistics_fee' => 0, + 'logistics_payment' => 'BUYER_PAY_AFTER_RECEIVE', + /* 买卖双方信息 */ + 'seller_email' => $payment['alipay_account'] + ); + + ksort($parameter); + reset($parameter); + + $param = ''; + $sign = ''; + + foreach ($parameter AS $key => $val) + { + $param .= "$key=" .urlencode($val). "&"; + $sign .= "$key=$val&"; + } + + $param = substr($param, 0, -1); + $sign = substr($sign, 0, -1). $payment['alipay_key']; + //$sign = substr($sign, 0, -1). ALIPAY_AUTH; + + // $button = '
'; + $button = '
'; + + return $button; + } + + /** + * 响应操作 + */ + function respond() + { + if (!empty($_POST)) + { + foreach($_POST as $key => $data) + { + $_GET[$key] = $data; + } + } + $payment = get_payment($_GET['code']); + $seller_email = rawurldecode($_GET['seller_email']); + $order_sn = str_replace($_GET['subject'], '', $_GET['out_trade_no']); + $order_sn = trim(addslashes($order_sn)); + + /* 检查数字签名是否正确 */ + ksort($_GET); + reset($_GET); + + $sign = ''; + foreach ($_GET AS $key=>$val) + { + if ($key != 'sign' && $key != 'sign_type' && $key != 'code') + { + $sign .= "$key=$val&"; + } + } + + $sign = substr($sign, 0, -1) . $payment['alipay_key']; + //$sign = substr($sign, 0, -1) . ALIPAY_AUTH; + if (md5($sign) != $_GET['sign']) + { + return false; + } + + /* 检查支付的金额是否相符 */ + if (!check_money($order_sn, $_GET['total_fee'])) + { + return false; + } + + if ($_GET['trade_status'] == 'WAIT_SELLER_SEND_GOODS') + { + /* 改变订单状态 */ + order_paid($order_sn, 2); + + return true; + } + elseif ($_GET['trade_status'] == 'TRADE_FINISHED') + { + /* 改变订单状态 */ + order_paid($order_sn); + + return true; + } + elseif ($_GET['trade_status'] == 'TRADE_SUCCESS') + { + /* 改变订单状态 */ + order_paid($order_sn, 2); + + return true; + } + else + { + return false; + } + } +} + +?> \ No newline at end of file diff --git a/mobile/data/assets/script/main/shopping_flow.js b/mobile/data/assets/script/main/shopping_flow.js index 409c8be..dbd5914 100755 --- a/mobile/data/assets/script/main/shopping_flow.js +++ b/mobile/data/assets/script/main/shopping_flow.js @@ -270,6 +270,7 @@ function orderSelectedResponse(result) if (result.error) { d_messages(result.error); + // console.log("出现错误了"); location.href = './'; } @@ -555,17 +556,17 @@ function checkOrderForm(frm) var paymentSelected = false; var shippingSelected = false; - // 检查是否选择了支付配送方式 - var shipping = $("form#theForm input[name='shipping[]']"); - var ru_name = $("form#theForm input[name='ru_name[]']"); + // 检查是否选择了支付配送方式 + // var shipping = $("form#theForm input[name='shipping[]']"); + // var ru_name = $("form#theForm input[name='ru_name[]']"); - for(var i=0; iwechat->getOauthAccessToken(); $userinfo = $this->wechat->getOauthUserinfo($token['access_token'], $token['openid']); diff --git a/mobile/plugins/payment/wxpay.php b/mobile/plugins/payment/wxpay.php index 1b4eea5..15bf300 100755 --- a/mobile/plugins/payment/wxpay.php +++ b/mobile/plugins/payment/wxpay.php @@ -6,6 +6,105 @@ class wxpay private $parameters; // cft 参数 private $payment; // 配置信息 + + /** + * 调用支付 + */ + public function pay() + { + // 统一支付接口Demo + + // 加载基础类 + require_once('./library/Base.php'); + $Base = new Base(); + + // 获取配置信息 + $config = $Base->getConfig(); + // var_dump('
', $config);
+
+	// 接口URL(测试)
+	$api_url = $config['pay_url'];
+
+	// 加个body字段传中文试试
+
+	// 组装交易报文
+	$reqsn_prefix = date('Ymd');
+	// var_dump("uniq_id(reqsn)");
+	// echo "\r\n";
+	// var_dump(uniqid($reqsn_prefix));
+	$trade_data = array(
+        'orgid' => $config['org_num'],
+        'cusid' => $config['cusid'],
+        'branchno' => $config['branchno'],
+        'termcode' => $config['termcode'],
+        'version' => $config['version'],
+        'trxamt' => '1',
+        'reqsn' => uniqid($reqsn_prefix),
+        'producp' => 'JX0002',
+        'transtype' => 'JSP511',
+        'paytype' => 'W01',
+        'randomstr' => md5( uniqid() ),
+        'body' => 'pages',
+        "acct" => $this->parameters["openid"] # 不知道好不好用...
+    );
+
+    	// 生成签名
+	$sign = $Base->Crypt->makeSign($trade_data);
+	if($sign === false)
+	{
+		// echo $Base->Crypt->err_msg;
+		die();
+	}
+	// echo "\r\n";
+	// echo "[sign]: {$sign}";
+	// die();
+
+	// 加密交易报文
+	$crypted_trade_data = $Base->Crypt->encryptTradeData($trade_data);
+	if($crypted_trade_data === false)
+	{
+		// echo $Base->Crypt->err_msg;
+		die();
+	}
+	// echo "\r\n";
+	// echo "[crypted message]: {$crypted_trade_data}";
+	// die();
+
+	// 发送报文
+	// echo "\r\n";
+	// var_dump($api_url);
+	$response = $Base->Request->send($api_url, $crypted_trade_data, $sign);
+	if($response === false)
+	{
+		// echo $Base->Request->err_msg;
+		die();
+	}
+
+	// echo "\r\n";
+	// echo "[response message]: {$response}";
+
+	// 解析响应报文
+	$response = json_decode($response, true);
+	$response_data_crypted = $response['data'];
+	$response_sign = $response['sign'];
+	// echo "\r\n";
+	// echo "[response sign]: {$response_sign}";
+	// echo "\r\n";
+	// echo "[response data (ciphertext)]: {$response_data_crypted}";
+
+	// 解密响应密文
+	$response_data = $Base->Crypt->decryptTradeData($response_data_crypted);
+	if($response_data === false)
+	{
+		// echo $Base->Crypt->err_msg;
+		die();
+	}
+	// echo "\r\n";
+	// echo "[response data(clear text)]: {$response_data}";
+	echo $response_data;
+	// die();
+    }
+
     /**
      * 生成支付代码
      * @param   array $order 订单信息
@@ -13,12 +112,19 @@ class wxpay
      */
     public function get_code($order, $payment)
     {
-        include_once(BASE_PATH.'helpers/payment_helper.php');
+        include_once(BASE_PATH.'helpers/payment_helper.php');        
         // 配置参数
         $this->payment = $payment;
         // 网页授权获取用户openid
         if (! isset($_SESSION['openid']) || empty($_SESSION['openid'])) {
-            return false;
+
+            // $button = '微信支付';
+            // return $button;
+            // 应该重新发起授权登录 
+            // require_once("../connect/wechat.php");
+            // return wxchat::redirect("shop/mobile");
+            // $_SESSION['openid'] = 'sdf4asgdf2ag1';
+            return false; 
         }
 
         // 设置必填参数
@@ -30,16 +136,50 @@ class wxpay
         $this->setParameter("total_fee", $order_amount); // 总金额
         $this->setParameter("notify_url", __URL__ . 'wxpay.php'); // 通知地址
         $this->setParameter("trade_type", "JSAPI"); // 交易类型
+
         $prepay_id = $this->getPrepayId();
         $jsApiParameters = $this->getParameters($prepay_id);
         // wxjsbridge
-        $js = '';
+        $js = '
+        ';
 
-        $button = '微信支付' . $js;
+        $button = '微信支付(测试)' . $js;
+        // $button = '微信支付';
 
         return $button;
+        
     }
 
     /**
@@ -187,7 +327,7 @@ class wxpay
         foreach ($Parameters as $k => $v) {
             $buff .= $k . "=" . $v . "&";
         }
-        $String;
+        $String = "";
         if (strlen($buff) > 0) {
             $String = substr($buff, 0, strlen($buff) - 1);
         }
diff --git a/mobile/plugins/shipping/cac.php b/mobile/plugins/shipping/cac.php
index 36dc191..88308b5 100755
--- a/mobile/plugins/shipping/cac.php
+++ b/mobile/plugins/shipping/cac.php
@@ -19,7 +19,7 @@ class cac
     /**
      * 构造函数
      *
-     * @param: $configure[array]    配送方式的参数的数组
+     * @param: $configure[array]    的参数的数组
      *
      * @return null
      */
diff --git a/mobile/source/apps/flow/cert/channel_public_key.pem b/mobile/source/apps/flow/cert/channel_public_key.pem
new file mode 100644
index 0000000..350d007
--- /dev/null
+++ b/mobile/source/apps/flow/cert/channel_public_key.pem
@@ -0,0 +1,9 @@
+-----BEGIN PUBLIC KEY-----
+MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAgFoZG+UeND0T/PQK41Dg
+5bXgpuHwBdc7sfGRTKlB2PmZ1Q8XE4b8u5SMqk9LC7iUL5wJlItJ9rcdXPgc3SnB
+xuq133HRqvsNAxWacYQnarYMko7JKKGENdrcE+MY7ZM6Yo60/6+HVOwphIw8BuZL
+NvvCKx7BrI84t93TFndn6WVF16XgOhQkPyUmsj2ekfw9vrQg89ipNcTHmBCtH9/K
+KEWRPTUkH9xc+GOZ06v5O3Pmpd+hdXyE/Rjtsa1foR3l1UsWFVODHRkeoHTnBdkR
+YiOGXpGthazAcvPAZtTWSKtRirKF87soIill1cmHMCw8d9JoZgq9k0L8n9ZpUCw7
+twIDAQAB
+-----END PUBLIC KEY-----
diff --git a/mobile/source/apps/flow/cert/cus_private_key.pem b/mobile/source/apps/flow/cert/cus_private_key.pem
new file mode 100644
index 0000000..5ec197a
--- /dev/null
+++ b/mobile/source/apps/flow/cert/cus_private_key.pem
@@ -0,0 +1,28 @@
+-----BEGIN RSA PRIVATE KEY-----
+MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCOt2qd98v3uMVM
+XtDlEJBks8spkC+SSdi+/9m+6cVE/eqSqzWMAa2QeoZ7j31ard+FV2ZynITj+Y15
+6iRJ84J20k7VTuUfjLSjJ079DrRweYimf5MW/QCRyz93YMjC4A9aWrbSw06pkiz4
+p3DMkitlp9oDEx13vJld0tLw1BO4fSMmoDLg4ri3zFA/PqPb3OWW0R/yRakOdiPx
+kjsOYZ7EOesdc67gdYCiiEy2x38jGMKAJ5jqWmRbnCF+4Ij7QPGXQTG7ba63azNN
+S8mBis5WNHA1EPK+KgRDykZHWTzV8Hu/x5NRnBUYpTdSlLM2zP//8dAcUOUejakv
+DSWbLPDVAgMBAAECggEAVm5KSYTqqAnkow3BIRjY+cPRREioJsZGV9YG/xIAgHnu
+eAjsEvBpNtidXXNXDXXDqrN1ve+Ao7hcr/rXI1owJtnTGGgBZwwF0dFaivM+3+ca
+lQsp/4AVujYHJ7sbmrmrUqMhmZ7iott+FNEDBUF4usXeyIHpFLzJfQLS8Tre/pkS
+KVcepRBKD7WSwSaqI5Gb9i+HHdqgE1UhY4nqMt1F07szFmPSCsS8L5DVGRTKbOlW
+KwwbgyY53aUCb1xVVHXhyxCFTU8a02yBwWDXCeG+Qvnu2qED+wui7yF77299ypPP
+oim72rjyxj1736+PSymgPlNuLFPkH/HLac5jxdR7eQKBgQDQq6nORGAJpPmt+BLY
+nJtJHCJiU4cf4dJ1O+LnUTvlO1dl68wh/fulOG6xwngTXB9izq9Aj6CEGsW7GCne
+3Q1vBELlmDcqp1AiyvpHaymtYWRr6+DdW0DKWTfcqaaF+8GEx6RwXBuwUji7kh5y
+wCCP3ZLZG9zx7DTL9F0+2h7TwwKBgQCvFiqtPK72VT9C9+Q+Ct8Bwhzv0WDbTwx6
+Ke5YXWuI8mm07TA/osVav4etLrwlKine6QqZ9+1GnYtB09EKX1nmFBgiOgR52woe
+hOhOYTG4bFRfH7caiHcgR3L0nsXCdjlfpxqLiUCvFYzwYsXnIGfQYZvWLELFua5o
+dhRyTfxXhwKBgHxEzwJE3ADCW+ML6oVPdnbqp1txLPaCsKgaev2Q9h+E4H6VF2Ni
+8xso6Vs5WfMFmLdqKRpErq4dl4XdVQohEN/9ZK2AodHoBCRERxqDKjXT208eETMi
+JgqbaVYjPkVqcYvWrQoxAFhYDus9kJ575qhmpw5etozoQ2T26RUGJverAoGANKwy
+gpNy/2B9+6Of4ppapKjFE9ClltSdKFNdBPB13WkwK+H/VeWeAcMFCjC5IWUh25G4
+QsG3fDsBHfifNsOgw/rfl8xkdFRVIwFQ8eODlbvhVgywhSbwz6EvEDCDxhDTCde3
+wKq17vZIxDiy2OmC0cnLnA8Mt3c45OxBEnIrrBkCgYBgaR0UQJq/Xfnu+CV8/hV3
+HYpzquWzqWve3DgEGSXA/fAVSm6JhcumndywlBVXXyML+A+U6MVdJfGVbLSHxLQV
+1f9nTAwXPbauFLrqpHm0hOvCwfAEkK8HDt2mKOfblbWrLo7gF7wErcSEw7tEqJOg
+M2OG+6QXvCsCZUKBf8TnnQ==
+-----END RSA PRIVATE KEY-----
diff --git a/mobile/source/apps/flow/cert/cus_private_key.pem.test b/mobile/source/apps/flow/cert/cus_private_key.pem.test
new file mode 100644
index 0000000..8a28c0b
--- /dev/null
+++ b/mobile/source/apps/flow/cert/cus_private_key.pem.test
@@ -0,0 +1,16 @@
+-----BEGIN PRIVATE KEY-----
+MIICdQIBADANBgkqhkiG9w0BAQEFAASCAl8wggJbAgEAAoGBAJgHMGYsspghvP+y
+CbjLG43CkZuQ3YJyDcmEKxvmgblITfmiTPx2b9Y2iwDT9gnLGExTDm1BL2A8VzMo
+bjaHfiCmTbDctu680MLmpDDkVXmJOqdlXh0tcLjhN4+iDA2KkRqiHxsDpiaKT6MM
+BuecXQbJtPlVc1XjVhoUlzUgPCrvAgMBAAECgYAV9saYTGbfsdLOF5kYo0dve1Jx
+aO7dFMCcgkV+z2ujKtNmeHtU54DlhZXJiytQY5Dhc10cjb6xfFDrftuFcfKCaLiy
+6h5ETR8jyv5He6KH/+X6qkcGTkJBYG1XvyyFO3PxoszQAs0mrLCqq0UItlCDn0G7
+2MR9/NuvdYabGHSzEQJBAMXB1/DUvBTHHH4LiKDiaREruBb3QtP72JQS1ATVXA2v
+6xJzGPMWMBGQDvRfPvuCPVmbHENX+lRxMLp39OvIn6kCQQDEzYpPcuHW/7h3TYHY
+c+T0O6z1VKQT2Mxv92Lj35g1XqV4Oi9xrTj2DtMeV1lMx6n/3icobkCQtuvTI+Ac
+qfTXAkB6bCz9NwUUK8sUsJktV9xJN/JnrTxetOr3h8xfDaJGCuCQdFY+rj6lsLPB
+TnFUC+Vk4mQVwJIE0mmjFf22NWW5AkAmsVaRGkAmui41Xoq52MdZ8WWm8lY0BLrl
+BJlvveU6EPqtcZskWW9KiU2euIO5IcRdpvrB6zNMgHpLD9GfMRcPAkBUWOV/dH13
+v8V2Y/Fzuag/y5k3/oXi/WQnIxdYbltad2xjmofJ7DbB7MJqiZZD8jlr8PCZPwRN
+zc5ntDStc959
+-----END PRIVATE KEY-----
diff --git a/mobile/source/apps/flow/config/config.php b/mobile/source/apps/flow/config/config.php
new file mode 100644
index 0000000..4421f87
--- /dev/null
+++ b/mobile/source/apps/flow/config/config.php
@@ -0,0 +1,43 @@
+ '5503001',
+		// 商户号
+		'cusid' => '10147',
+		// 产品
+		'producp' => 'JX0002',
+		// 版本
+		'version' => '11',
+		// 门店号
+		'branchno' => '44',
+		// 终端号
+		'termcode' => '000000',
+		// 加密方式
+		'signtype' => 'RSA',
+		// 渠道公钥
+		'public_key' => dirname(__FILE__) . '/../cert/channel_public_key.pem',
+		// 商户私钥
+		'private_key' => dirname(__FILE__) . '/../cert/cus_private_key.pem',
+
+		// 统一支付接口 测试地址
+		'pay_url' => 'https://open.dalianpay.cn/payapi/unitorder/pay',
+
+		// 统一扫码接口 测试地址
+		'scan_url' => 'https://open.dalianpay.cn/payapi/unitorder/scanqrpay',
+
+		// 交易撤销 测试地址
+		'cancel_url' => 'https://open.dalianpay.cn/payapi/tranx/cancel',
+
+		// 交易退款 测试地址
+		'refund_url' => 'https://tpay.01pub.com/payapi/tranx/refund',
+
+		// 统一查询接口 测试地址
+		'query_url' => 'https://open.dalianpay.cn/payapi/tranx/query',
+
+		// 订单关闭接口 测试地址
+		'close_url' => 'https://open.dalianpay.cn/payapi/tranx/close'
+
+	);
+
+?>
diff --git a/mobile/source/apps/flow/controllers/IndexController.php b/mobile/source/apps/flow/controllers/IndexController.php
index 2a50206..d7aa076 100755
--- a/mobile/source/apps/flow/controllers/IndexController.php
+++ b/mobile/source/apps/flow/controllers/IndexController.php
@@ -610,6 +610,7 @@ class IndexController extends FrontendController {
         elseif($shipping_type == 1){
             $shipping['shipping_id'] = 0;
         }
+        $shipping['shipping_id'] = 1; // sc_test
         $order = array(
             'shipping_id'     => $shipping['shipping_id'],
             'pay_id'          => intval($_POST['payment']),
@@ -1122,6 +1123,7 @@ class IndexController extends FrontendController {
             $flow_type = isset($_SESSION['flow_type']) ? intval($_SESSION['flow_type']) : CART_GENERAL_GOODS;
             /* 配送方式 */
             $shipping_type = isset($_REQUEST['type']) ? intval($_REQUEST['type']) : 0;
+            // $shipping_type = 0;
             /* 获得收货人信息 */
             $consignee = get_consignee($_SESSION['user_id']);
 
diff --git a/mobile/source/apps/flow/demo/cancel.php b/mobile/source/apps/flow/demo/cancel.php
new file mode 100644
index 0000000..315a524
--- /dev/null
+++ b/mobile/source/apps/flow/demo/cancel.php
@@ -0,0 +1,151 @@
+getConfig();
+	// var_dump('
', $config);
+
+	// 接口URL(测试)
+	$api_url = $config['cancel_url'];
+
+// 加个body字段传中文试试
+
+	// 组装交易报文
+	$reqsn_prefix = date('Ymd');
+	$trade_data = array(
+		'orgid' => $config['org_num'],
+		'cusid' => $config['cusid'],
+		'branchno' => $config['branchno'],
+		'termcode' => $config['termcode'],
+		'version' => $config['version'],
+		'trxamt' => '1',
+		'reqsn' => uniqid($reqsn_prefix),
+		'producp' => 'JX0002',
+		'transtype' => 'JSP511',
+		'randomstr' => md5( uniqid() ),
+        // 'oldreqsn' => '2023072464be31055e0e0',
+        'oldtrxid' => '100000018608497',
+	);
+
+	// $trade_data = array(
+	// 	"cusid" => "10147",
+	// 	"branchno" => "44",
+	// 	"termcode" => "000000",
+	// 	"version" => "11",
+	// 	"trxamt" => "1154634",
+	// 	"reqsn" => "112094120001088317",
+	// 	"producp" => "JX0002",
+	// 	"transtype" => "JSP501",
+	// 	"paytype" => "W01",
+	// 	"randomstr" => md5( uniqid() ),
+	// 	"body" => "",
+	// 	"remark" => "",
+	// 	"validtime" => "",
+	// 	"acct" => "",
+	// 	"notify_url" => "",
+	// 	"limit_pay" => "",
+	// 	"sub_appid" => "",
+	// 	"goods_tag" => "",
+	// 	"benefitdetail" => "",
+	// 	"chnlstoreid" => "",
+	// 	"extendparams" => "",
+	// 	"cusip" => "",
+	// 	"front_url" => "",
+	// 	"subbranch" => "",
+	// 	"idno" => "",
+	// 	"truename" => "",
+	// 	"asinfo" => "",
+	// 	"fqnum" => "",
+	// 	"unpid" => "",
+	// 	"terminfo" => "",
+	// 	// 其他参数...
+	// );
+
+	// $trade_data = array(
+	// 	"appid"=>"00000051",
+	// 	"cusid"=>"990581007426001",
+	// 	"randomstr"=>"82712208",
+	// 	"signtype"=>"RSA",
+	// 	"trxid"=>"112094120001088317",
+	// 	"version"=>"11",
+	// );
+
+	// 生成签名
+	$sign = $Base->Crypt->makeSign($trade_data);
+	if($sign === false)
+	{
+		echo $Base->Crypt->err_msg;
+		die();
+	}
+	echo "\r\n";
+	echo "[sign]: {$sign}";
+	// die();
+
+	// 加密交易报文
+	$crypted_trade_data = $Base->Crypt->encryptTradeData($trade_data);
+	if($crypted_trade_data === false)
+	{
+		echo $Base->Crypt->err_msg;
+		die();
+	}
+	echo "\r\n";
+	echo "[crypted message]: {$crypted_trade_data}";
+	// die();
+
+	// 发送报文
+	echo "\r\n";
+	var_dump($api_url);
+	$response = $Base->Request->send($api_url, $crypted_trade_data, $sign);
+	if($response === false)
+	{
+		echo $Base->Request->err_msg;
+		die();
+	}
+
+	echo "\r\n";
+
+	echo "[response message]: {$response}";
+
+	// 解析响应报文
+	$response = json_decode($response, true);
+	$response_data_crypted = $response['data'];
+	$response_sign = $response['sign'];
+	echo "\r\n";
+	echo "[response sign]: {$response_sign}";
+	echo "\r\n";
+	echo "[response data (ciphertext)]: {$response_data_crypted}";
+
+	// 解密响应密文
+	$response_data = $Base->Crypt->decryptTradeData($response_data_crypted);
+	if($response_data === false)
+	{
+		echo $Base->Crypt->err_msg;
+		die();
+	}
+	echo "\r\n";
+	// $response_data = mb_convert_encoding($response_data, 'UTF-8', 'GBK');
+	echo "[response data(clear text)]: {$response_data}";
+	// die();
+
+?>
+
+
+
+
+
+
+
+	
+		
+		交易撤销Demo
+		
+	
+	
+
diff --git a/mobile/source/apps/flow/demo/close.php b/mobile/source/apps/flow/demo/close.php
new file mode 100644
index 0000000..dde0178
--- /dev/null
+++ b/mobile/source/apps/flow/demo/close.php
@@ -0,0 +1,99 @@
+getConfig();
+	// var_dump('
', $config);
+
+	// 接口URL(测试)
+	$api_url = $config['close_url'];
+
+    // 加个body字段传中文试试
+
+	// 组装交易报文
+	$reqsn_prefix = date('Ymd');
+	$trade_data = array(
+		'orgid' => $config['org_num'],
+		'cusid' => $config['cusid'],
+		'branchno' => $config['branchno'],
+		'termcode' => $config['termcode'],
+		'version' => $config['version'],
+		'randomstr' => md5( uniqid() ),
+		'oldtrxid' => '100000018608526',
+	);
+
+	// 生成签名
+	$sign = $Base->Crypt->makeSign($trade_data);
+	if($sign === false)
+	{
+		echo $Base->Crypt->err_msg;
+		die();
+	}
+	echo "\r\n";
+	echo "[sign]: {$sign}";
+	// die();
+
+	// 加密交易报文
+	$crypted_trade_data = $Base->Crypt->encryptTradeData($trade_data);
+	if($crypted_trade_data === false)
+	{
+		echo $Base->Crypt->err_msg;
+		die();
+	}
+	echo "\r\n";
+	echo "[crypted message]: {$crypted_trade_data}";
+	// die();
+
+	// 发送报文
+	echo "\r\n";
+	var_dump($api_url);
+	$response = $Base->Request->send($api_url, $crypted_trade_data, $sign);
+	if($response === false)
+	{
+		echo $Base->Request->err_msg;
+		die();
+	}
+
+	echo "\r\n";
+
+	echo "[response message]: {$response}";
+
+	// 解析响应报文
+	$response = json_decode($response, true);
+	$response_data_crypted = $response['data'];
+	$response_sign = $response['sign'];
+	echo "\r\n";
+	echo "[response sign]: {$response_sign}";
+	echo "\r\n";
+	echo "[response data (ciphertext)]: {$response_data_crypted}";
+
+	// 解密响应密文
+	$response_data = $Base->Crypt->decryptTradeData($response_data_crypted);
+	if($response_data === false)
+	{
+		echo $Base->Crypt->err_msg;
+		die();
+	}
+	echo "\r\n";
+	echo "[response data(clear text)]: {$response_data}";
+	// die();
+
+?>
+
+
+
+
+	
+		
+		订单关闭Demo
+		
+	
+	
+
diff --git a/mobile/source/apps/flow/demo/pay.php b/mobile/source/apps/flow/demo/pay.php
new file mode 100644
index 0000000..735e16e
--- /dev/null
+++ b/mobile/source/apps/flow/demo/pay.php
@@ -0,0 +1,116 @@
+getConfig();
+	// var_dump('
', $config);
+
+	// 接口URL(测试)
+	// $api_url = $config['pay_url'];
+	$api_url = $_POST['url'];
+	$message = array(
+		"url"=>$api_url,
+	);
+	// echo json_encode($message,true);
+	
+
+	// 加个body字段传中文试试
+
+	// 组装交易报文
+	$reqsn_prefix = date('Ymd');
+	// var_dump("uniq_id(reqsn)");
+	// echo "\r\n";
+	// var_dump(uniqid($reqsn_prefix));
+	$trade_data = array(
+		'orgid' => $config['org_num'],
+		'cusid' => $config['cusid'],
+		'branchno' => $config['branchno'],
+		'termcode' => $config['termcode'],
+		'version' => $config['version'],
+		'trxamt' => '1',
+		'reqsn' => uniqid($reqsn_prefix),
+		'producp' => 'JX0002',
+		'transtype' => 'JSP511',
+		'paytype' => 'W02',
+		'randomstr' => md5( uniqid() ),
+		'body' => 'pages'
+	);
+
+	// 生成签名
+	$sign = $Base->Crypt->makeSign($trade_data);
+	if($sign === false)
+	{
+		// echo $Base->Crypt->err_msg;
+		$errorMessage = array(
+			"data"=>"makeSign error..."
+		);
+		return json_encode($errorMessage,true);
+		die();
+	}
+	// echo "\r\n";
+	// echo "[sign]: {$sign}";
+	// die();
+
+	// 加密交易报文
+	$crypted_trade_data = $Base->Crypt->encryptTradeData($trade_data);
+	if($crypted_trade_data === false)
+	{
+		// echo $Base->Crypt->err_msg;
+		$errorMessage = array(
+			"data"=>"encryptTradeData error..."
+		);
+		return json_encode($errorMessage,true);
+		die();
+	}
+	// echo "\r\n";
+	// echo "[crypted message]: {$crypted_trade_data}";
+	// die();
+
+	// 发送报文
+	// echo "\r\n";
+	// var_dump($api_url);
+	$response = $Base->Request->send($api_url, $crypted_trade_data, $sign);
+	if($response === false)
+	{
+		// echo $Base->Request->err_msg;
+		$errorMessage = array(
+			"data"=>"send error..."
+		);
+		return json_encode($errorMessage,true);
+		die();
+	}
+	// echo "\r\n";
+	// echo "[response message]: {$response}";
+
+	// 解析响应报文
+	$response = json_decode($response, true);
+	$response_data_crypted = $response['data'];
+	$response_sign = $response['sign'];
+	// echo "\r\n";
+	// echo "[response sign]: {$response_sign}";
+	// echo "\r\n";
+	// echo "[response data (ciphertext)]: {$response_data_crypted}";
+
+	// 解密响应密文
+	$response_data = $Base->Crypt->decryptTradeData($response_data_crypted);
+	if($response_data === false)
+	{
+		// echo $Base->Crypt->err_msg;
+		$errorMessage = array(
+			"data"=>"decryptTradeData error..."
+		);
+		return json_encode($errorMessage,true);
+		die();
+	}
+	// echo "\r\n";
+	// echo "[response data(clear text)]: {$response_data}";
+	// die();
+	echo $response_data;
+
+?>
+
diff --git a/mobile/source/apps/flow/demo/query.php b/mobile/source/apps/flow/demo/query.php
new file mode 100644
index 0000000..3611b3f
--- /dev/null
+++ b/mobile/source/apps/flow/demo/query.php
@@ -0,0 +1,98 @@
+getConfig();
+	// var_dump('
', $config);
+
+	// 接口URL(测试)
+	$api_url = $config['query_url'];
+
+    // 加个body字段传中文试试
+
+	// 组装交易报文
+	$reqsn_prefix = date('Ymd');
+	$trade_data = array(
+		'orgid' => $config['org_num'],
+		'cusid' => $config['cusid'],
+		'version' => $config['version'],
+		// 'reqsn' => '2023072464be320f45f2a',
+        'trxid' => '100000018608526', // 渠道交易流水号 如果返回的有 优先使用
+		'randomstr' => md5( uniqid() ),
+	);
+
+	// 生成签名
+	$sign = $Base->Crypt->makeSign($trade_data);
+	if($sign === false)
+	{
+		echo $Base->Crypt->err_msg;
+		die();
+	}
+	echo "\r\n";
+	echo "[sign]: {$sign}";
+	// die();
+
+	// 加密交易报文
+	$crypted_trade_data = $Base->Crypt->encryptTradeData($trade_data);
+	if($crypted_trade_data === false)
+	{
+		echo $Base->Crypt->err_msg;
+		die();
+	}
+	echo "\r\n";
+	echo "[crypted message]: {$crypted_trade_data}";
+	// die();
+
+	// 发送报文
+	echo "\r\n";
+	var_dump($api_url);
+	$response = $Base->Request->send($api_url, $crypted_trade_data, $sign);
+	if($response === false)
+	{
+		echo $Base->Request->err_msg;
+		die();
+	}
+
+	echo "\r\n";
+
+	echo "[response message]: {$response}";
+
+	// 解析响应报文
+	$response = json_decode($response, true);
+	$response_data_crypted = $response['data'];
+	$response_sign = $response['sign'];
+	echo "\r\n";
+	echo "[response sign]: {$response_sign}";
+	echo "\r\n";
+	echo "[response data (ciphertext)]: {$response_data_crypted}";
+
+	// 解密响应密文
+	$response_data = $Base->Crypt->decryptTradeData($response_data_crypted);
+	if($response_data === false)
+	{
+		echo $Base->Crypt->err_msg;
+		die();
+	}
+	echo "\r\n";
+	echo "[response data(clear text)]: {$response_data}";
+	// die();
+
+?>
+
+
+
+
+	
+		
+		统一查询Demo
+		
+	
+	
+
diff --git a/mobile/source/apps/flow/demo/refund.php b/mobile/source/apps/flow/demo/refund.php
new file mode 100644
index 0000000..a3832bd
--- /dev/null
+++ b/mobile/source/apps/flow/demo/refund.php
@@ -0,0 +1,105 @@
+getConfig();
+	// var_dump('
', $config);
+
+	// 接口URL(测试)
+	$api_url = $config['refund_url'];
+
+// 加个body字段传中文试试
+
+	// 组装交易报文
+	$reqsn_prefix = date('Ymd');
+	$trade_data = array(
+		// 'orgid' => $config['org_num'],
+		'cusid' => $config['cusid'],
+		'branchno' => $config['branchno'],
+		// 'termcode' => $config['termcode'],
+		'version' => $config['version'],
+		'trxamt' => '1',
+		'reqsn' => uniqid($reqsn_prefix),
+		'producp' => 'JX0002',
+		'transtype' => 'JSP511',
+		'randomstr' => md5( uniqid() ),
+        // 'oldreqsn' => '100000018608489',
+		'oldtrxid' => '100000018608532',
+	);
+
+	// 生成签名
+	$sign = $Base->Crypt->makeSign($trade_data);
+	if($sign === false)
+	{
+		echo $Base->Crypt->err_msg;
+		die();
+	}
+	echo "\r\n";
+	echo "[sign]: {$sign}";
+	// die();
+
+	// 加密交易报文
+	$crypted_trade_data = $Base->Crypt->encryptTradeData($trade_data);
+	if($crypted_trade_data === false)
+	{
+		echo $Base->Crypt->err_msg;
+		die();
+	}
+	echo "\r\n";
+	echo "[crypted message]: {$crypted_trade_data}";
+	// die();
+
+	// 发送报文
+	echo "\r\n";
+	var_dump($api_url);
+	$response = $Base->Request->send($api_url, $crypted_trade_data, $sign);
+	if($response === false)
+	{
+		echo $Base->Request->err_msg;
+		die();
+	}
+
+	echo "\r\n";
+
+	echo "[response message]: {$response}";
+
+	// 解析响应报文
+	$response = json_decode($response, true);
+	$response_data_crypted = $response['data'];
+	$response_sign = $response['sign'];
+	echo "\r\n";
+	echo "[response sign]: {$response_sign}";
+	echo "\r\n";
+	echo "[response data (ciphertext)]: {$response_data_crypted}";
+
+	// 解密响应密文
+	$response_data = $Base->Crypt->decryptTradeData($response_data_crypted);
+	if($response_data === false)
+	{
+		echo $Base->Crypt->err_msg;
+		die();
+	}
+	echo "\r\n";
+	echo "[response data(clear text)]: {$response_data}";
+	// die();
+
+?>
+
+
+
+
+
+	
+		
+		统一扫码Demo
+		
+	
+	
+
diff --git a/mobile/source/apps/flow/demo/scan.php b/mobile/source/apps/flow/demo/scan.php
new file mode 100644
index 0000000..ddde468
--- /dev/null
+++ b/mobile/source/apps/flow/demo/scan.php
@@ -0,0 +1,158 @@
+getConfig();
+	// var_dump('
', $config);
+
+	// 接口URL(测试)
+	$api_url = $config['scan_url'];
+
+// 加个body字段传中文试试
+
+	// 组装交易报文
+	$reqsn_prefix = date('Ymd');
+    $terminfo = array(
+        "termsn"=>"dfjskljioe13238023",
+        "longitude"=>"+37.12",
+        "latitude"=>"-37.12",
+        "termno"=>"00000001",
+        "devicetype"=>"04",
+    );
+	$trade_data = array(
+		'orgid' => $config['org_num'],
+		'cusid' => $config['cusid'],
+		'branchno' => $config['branchno'],
+		'termcode' => $config['termcode'],
+		'version' => $config['version'],
+		'trxamt' => '1',
+		'reqsn' => uniqid($reqsn_prefix),
+		'producp' => 'JX0002',
+		'transtype' => 'JSP511',
+		'paytype' => 'W01',
+		'randomstr' => md5( uniqid() ),
+        'terminfo' => json_encode($terminfo),
+        'authcode' => '',
+	);
+
+	// $trade_data = array(
+	// 	"cusid" => "10147",
+	// 	"branchno" => "44",
+	// 	"termcode" => "000000",
+	// 	"version" => "11",
+	// 	"trxamt" => "1154634",
+	// 	"reqsn" => "112094120001088317",
+	// 	"producp" => "JX0002",
+	// 	"transtype" => "JSP501",
+	// 	"paytype" => "W01",
+	// 	"randomstr" => md5( uniqid() ),
+	// 	"body" => "",
+	// 	"remark" => "",
+	// 	"validtime" => "",
+	// 	"acct" => "",
+	// 	"notify_url" => "",
+	// 	"limit_pay" => "",
+	// 	"sub_appid" => "",
+	// 	"goods_tag" => "",
+	// 	"benefitdetail" => "",
+	// 	"chnlstoreid" => "",
+	// 	"extendparams" => "",
+	// 	"cusip" => "",
+	// 	"front_url" => "",
+	// 	"subbranch" => "",
+	// 	"idno" => "",
+	// 	"truename" => "",
+	// 	"asinfo" => "",
+	// 	"fqnum" => "",
+	// 	"unpid" => "",
+	// 	"terminfo" => "",
+	// 	// 其他参数...
+	// );
+
+	// $trade_data = array(
+	// 	"appid"=>"00000051",
+	// 	"cusid"=>"990581007426001",
+	// 	"randomstr"=>"82712208",
+	// 	"signtype"=>"RSA",
+	// 	"trxid"=>"112094120001088317",
+	// 	"version"=>"11",
+	// );
+
+	// 生成签名
+	$sign = $Base->Crypt->makeSign($trade_data);
+	if($sign === false)
+	{
+		echo $Base->Crypt->err_msg;
+		die();
+	}
+	echo "\r\n";
+	echo "[sign]: {$sign}";
+	// die();
+
+	// 加密交易报文
+	$crypted_trade_data = $Base->Crypt->encryptTradeData($trade_data);
+	if($crypted_trade_data === false)
+	{
+		echo $Base->Crypt->err_msg;
+		die();
+	}
+	echo "\r\n";
+	echo "[crypted message]: {$crypted_trade_data}";
+	// die();
+
+	// 发送报文
+	echo "\r\n";
+	var_dump($api_url);
+	$response = $Base->Request->send($api_url, $crypted_trade_data, $sign);
+	if($response === false)
+	{
+		echo $Base->Request->err_msg;
+		die();
+	}
+
+	echo "\r\n";
+
+	echo "[response message]: {$response}";
+
+	// 解析响应报文
+	$response = json_decode($response, true);
+	$response_data_crypted = $response['data'];
+	$response_sign = $response['sign'];
+	echo "\r\n";
+	echo "[response sign]: {$response_sign}";
+	echo "\r\n";
+	echo "[response data (ciphertext)]: {$response_data_crypted}";
+
+	// 解密响应密文
+	$response_data = $Base->Crypt->decryptTradeData($response_data_crypted);
+	if($response_data === false)
+	{
+		echo $Base->Crypt->err_msg;
+		die();
+	}
+	echo "\r\n";
+	echo "[response data(clear text)]: {$response_data}";
+	// die();
+
+?>
+
+
+
+
+
+
+
+	
+		
+		统一扫码Demo
+		
+	
+	
+
diff --git a/mobile/source/apps/flow/library/Base.php b/mobile/source/apps/flow/library/Base.php
new file mode 100644
index 0000000..6f11ca4
--- /dev/null
+++ b/mobile/source/apps/flow/library/Base.php
@@ -0,0 +1,41 @@
+config = require_once('../config/config.php');
+		// 实例化加解密类
+		require_once('Crypt.php');
+		$this->Crypt = new Crypt($this->config);
+		// 实例化请求类
+		require_once('Request.php');
+		$this->Request = new Request($this->config);
+	}
+
+
+	/**
+	 * 获取配置信息
+	 * @return array
+	 */
+	public function getConfig()
+	{
+		return $this->config;
+	}
+
+
+}
+?>
diff --git a/mobile/source/apps/flow/library/Crypt.php b/mobile/source/apps/flow/library/Crypt.php
new file mode 100644
index 0000000..79c9848
--- /dev/null
+++ b/mobile/source/apps/flow/library/Crypt.php
@@ -0,0 +1,220 @@
+config = $config;
+	}
+
+
+	/**
+	 * 数据校验
+	 * @param array $data 待校验数据
+	 * @return bool
+	 */
+	private function checkData(array $data)
+	{
+		// 非空校验
+		if( count($data) == 0 )
+		{
+			$this->err_msg = '待签名数据为空';
+			return false;
+		}
+		// 一维数组校验
+		if( count($data) != count($data, 1) )
+		{
+			$this->err_msg = '待签名数据不能是多维数组';
+			return false;
+		}
+
+		return true;
+	}
+
+
+	/**
+	 * 生成签名
+	 * @param array $data 待签名数据
+	 * @return bool|string
+	 */
+	public function makeSign(array $data)
+	{
+		// 数据校验
+		$check_data = $this->checkData($data);
+		if($check_data === false)
+		{
+			return false;
+		}
+
+		// 升序排列
+		ksort($data);
+		// 转字符串
+		$pre_sign_str = http_build_query($data);
+		// echo "[pre_sign_str(jiao yi message)]: {$pre_sign_str}";
+		// die();
+
+		// 读取私钥
+		$private_key = file_get_contents($this->config['private_key']);
+		$private_key = openssl_pkey_get_private($private_key);
+
+		// 私钥签名
+		$res = openssl_sign($pre_sign_str, $sign, $private_key);
+		if($res === false)
+		{
+			$this->err_msg = openssl_error_string();
+			return false;
+		}
+		// 签名转Base64
+		$sign = base64_encode($sign);
+
+		return $sign;
+	}
+
+
+	/**
+	 * 校验签名
+	 * @param array $data 待校验数据
+	 * @param string $sign 签名
+	 * @return bool
+	 */
+	public function checkSign(array $data, string $sign)
+	{
+		// 数据校验
+		$check_data = $this->checkData($data);
+		if($check_data === false)
+		{
+			return false;
+		}
+
+		// 签名转二进制
+		$sign = base64_decode($sign);
+
+		// 升序排列
+		ksort($data);
+		// 转字符串
+		$pre_sign_str = http_build_query($data);
+		$pre_sign_str = urldecode($pre_sign_str);
+		// echo "[pre sign str]: {$pre_sign_str}";
+		// die();
+
+		// 读取公钥
+		$public_key = file_get_contents($this->config['public_key']);
+		$public_key = openssl_pkey_get_public($public_key);
+
+		// 公钥验签
+		$res = openssl_verify($pre_sign_str, $sign, $public_key);
+		if($res === false)
+		{
+			$this->err_msg = openssl_error_string();
+			return false;
+		}
+
+		return $res;
+	}
+
+
+	/**
+	 * 加密交易报文
+	 * @param array $data 待签名数据
+	 * @return bool|string
+	 */
+	public function encryptTradeData(array $data)
+	{
+		// 数据校验
+		$check_data = $this->checkData($data);
+		if($check_data === false)
+		{
+			return false;
+		}
+
+		// 读取公钥
+		$public_key = file_get_contents($this->config['public_key']);
+		$public_key = openssl_pkey_get_public($public_key);
+		// 公钥长度(bit)
+		$public_key_info = openssl_pkey_get_details($public_key);
+		$public_key_bit = $public_key_info['bits'];
+		// 数据长度(数据长度=密钥字节数-11,11为OPENSSL_PKCS1_PADDING的填充长度)
+		$data_length = $public_key_bit / 8 - 11;
+
+		// 待加密数据转json
+		$pre_encrypt_data = json_encode($data, JSON_UNESCAPED_UNICODE|JSON_UNESCAPED_SLASHES);
+		// 按密钥长度拆分数据
+		$pre_encrypt_data_arr = str_split($pre_encrypt_data, $data_length);
+		// 分段公钥加密
+		$crypted_data = '';
+		foreach($pre_encrypt_data_arr as $key=>$val)
+		{
+			$res = openssl_public_encrypt($val, $crypted_data_tmp, $public_key, OPENSSL_PKCS1_PADDING);
+			if($res === false)
+			{
+				$this->err_msg = openssl_error_string();
+				return false;
+			}
+			$crypted_data .= $crypted_data_tmp;
+		}
+		// 加密结果转Base64
+		$crypted_data = base64_encode($crypted_data);
+
+		return $crypted_data;
+	}
+
+
+	/**
+	 * 解密交易报文
+	 * @param string $data 加密的交易报文
+	 * @return bool|array
+	 */
+	public function decryptTradeData($data)
+	{
+		// 加密数据转二进制
+		$pre_decrypt_data = base64_decode($data);
+
+		// 读取私钥
+		$private_key = file_get_contents($this->config['private_key']);
+		$private_key = openssl_pkey_get_private($private_key);
+		// 私钥长度(bit)
+		$private_key_info = openssl_pkey_get_details($private_key);
+		$private_key_bit = $private_key_info['bits'];
+		// 数据长度(数据长度=密钥字节数,解密时无需考虑OPENSSL_PKCS1_PADDING的填充占位)
+		$data_length = $private_key_bit / 8;
+
+		// 按密钥长度拆分数据
+		$pre_decrypt_data_arr = str_split($pre_decrypt_data, $data_length);
+		// 分段私钥解密
+		$decrypted_data = '';
+		foreach($pre_decrypt_data_arr as $key=>$val)
+		{
+			$res = openssl_private_decrypt($val, $decrypted_data_tmp, $private_key, OPENSSL_PKCS1_PADDING);
+			if($res === false)
+			{
+				$this->err_msg = openssl_error_string();
+				return false;
+			}
+			$decrypted_data .= $decrypted_data_tmp;
+		}
+		// 解密结果编码转换(JAVA处理后的中文一般为GBK编码)
+		// echo "\r\n";
+		// var_dump($decrypted_data);
+		$charset = mb_detect_encoding($decrypted_data); // 这个东西有点问题  解析出来是false 先不用了
+		// echo "\r\n";
+		// var_dump($charset);
+		// echo "\r\n";
+
+		$decrypted_data = mb_convert_encoding($decrypted_data, 'UTF-8', 'GBK');
+		// echo "\r\n";
+		// var_dump($decrypted_data);
+		return $decrypted_data;
+	}
+
+
+}
+
+?>
diff --git a/mobile/source/apps/flow/library/Request.php b/mobile/source/apps/flow/library/Request.php
new file mode 100644
index 0000000..462be96
--- /dev/null
+++ b/mobile/source/apps/flow/library/Request.php
@@ -0,0 +1,156 @@
+config = $config;
+	}
+
+
+	/**
+	 * 发送curl请求
+	 * @param string $url  要请求的URL
+	 * @param string $method  请求方法[get|post]
+	 * @param string|array $post_data  请求数据,模拟表单提交时为Array,提交JSON数据时为String
+	 * @param string $data_type  数据类型[form|file|json|xml]
+	 */
+	private function curlRequest($url, $method, $post_data='', $data_type='form')
+	{
+		$ch = curl_init();
+		curl_setopt($ch, CURLOPT_URL, $url);
+		// 请求端口,SSL为443
+		curl_setopt($ch, CURLOPT_PORT, 443);
+		// 为项目内调用设置专用的UA
+		curl_setopt($ch, CURLOPT_USERAGENT, 'Intract cURL');
+		// 设置为不自动输出
+		curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
+		// 不输出头部
+		curl_setopt($ch, CURLOPT_HEADER, false);
+		// 跳过证书检查
+		curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
+		
+		// 不从证书中检查SSL加密算法是否存在
+		curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
+		// // 设定SSL版本,1-3切换
+		// curl_setopt($ch, CURLOPT_SSLVERSION, 1);
+
+		// 根据$data_type,选择不同的HTTP Header
+		$data_type = strtolower($data_type);
+		// echo curl_errno($ch);
+		switch($data_type)
+		{
+			case 'form':
+				$header = 'application/x-www-form-urlencoded';
+				break;
+			case 'file':
+				$header = 'multipart/form-data';
+				break;
+			case 'json':
+				$header = 'application/json';
+				break;
+			case 'xml':
+				$header = 'text/xml';
+				break;
+			default:
+				// 默认为form
+				$header = 'application/x-www-form-urlencoded';
+		}
+		$header = array(
+			'Content-type: ' . $header,
+			'Content-length: ' . strlen($post_data)
+		);
+		// 根据不同的提交方式,设置头部和数据
+		$method = strtolower($method);
+		switch($method)
+		{
+			case 'get':
+				break;
+			case 'post':
+				// 设置头部
+				curl_setopt($ch, CURLOPT_HTTPHEADER, $header);
+				// 设置POST提交
+				curl_setopt($ch, CURLOPT_POST, true);
+				// 设置POST数据
+				curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data);
+				break;
+			default:
+				;
+		}
+		// 执行请求
+		$response = curl_exec($ch);
+		// 返回数据
+		$res = array(
+			'status' => 0,
+			'err_msg' => '',
+			'http_code' => curl_getinfo($ch, CURLINFO_HTTP_CODE),
+			'data' => null
+		);
+		if($response === false)
+		{
+			$res['err_msg'] = curl_error($ch);
+		}
+		else
+		{
+			$res['status'] = 1;
+			$res['data'] = $response;
+		}
+		// 关闭连接
+		curl_close($ch);
+
+		return $res;
+	}
+
+
+	/**
+	 * 发送报文
+	 * @param string $url 接口URL
+	 * @param string $data 加密后的数据
+	 * @param string $sign 交易报文签名
+	 * @return bool|string 成功时返回JSON字符串
+	 */
+	public function send($url, $data, $sign)
+	{
+		// var_dump(gettype($url));
+		// echo "\r\n";
+		// if (!($url instanceof string))
+		// {
+		// 	var_dump("url is not a string");
+		// 	return false;
+		// }
+		// 组装通用参数
+		$post_data = array(
+			'data' => $data,
+			// 'data' => urlencode($data),
+			'orgid' => $this->config['org_num'],
+			'signtype' => $this->config['signtype'],
+			'sign' => $sign,
+			// 'sign' => urlencode($sign),
+		);
+		$post_data = json_encode($post_data);
+		// echo "\r\n";
+		// echo "[send message]: {$post_data}";
+
+		// 发送请求
+		$send_res = $this->curlRequest($url, 'post', $post_data, 'json');
+		if($send_res['status'] !== 1)
+		{
+			$this->err_msg = $send_res['err_msg'] . '(HTTP Code: ' . $send_res['http_code'] . ')';
+			return false;
+		}
+
+		return $send_res['data'];
+	}
+
+
+}
+
+?>
diff --git a/mobile/source/apps/flow/views/checkout.html b/mobile/source/apps/flow/views/checkout.html
index aa3ae1c..9ffe257 100755
--- a/mobile/source/apps/flow/views/checkout.html
+++ b/mobile/source/apps/flow/views/checkout.html
@@ -453,6 +453,65 @@
         实付款 {if $total.exchange_integral}{$total.exchange_integral}积分 + {/if}{$total.amount_formated}
 
         {if $total.exchange_integral}确认兑换{else}提交订单{/if}
+          
+            
+            
+
+            
+            
+
+            
+            
     
     
     
diff --git a/mobile/source/helpers/clips_helper.php b/mobile/source/helpers/clips_helper.php
index fa068dd..497cf7b 100755
--- a/mobile/source/helpers/clips_helper.php
+++ b/mobile/source/helpers/clips_helper.php
@@ -815,7 +815,7 @@ function get_surplus_info($surplus_id)
  * @param   bool $include_balance 是否包含余额支付(冲值时不应包括)
  * @return  array   已安装的配送方式列表
  */
-function get_online_payment_list($include_balance = true)
+function get_online_payment_list($include_balance = false)
 {
     $sql = 'SELECT pay_id, pay_code, pay_name, pay_fee, pay_desc ' .
         'FROM ' . $GLOBALS['ecs']->table('payment') .
diff --git a/mobile/source/helpers/order_helper.php b/mobile/source/helpers/order_helper.php
index 3ca448b..70c67b1 100755
--- a/mobile/source/helpers/order_helper.php
+++ b/mobile/source/helpers/order_helper.php
@@ -245,7 +245,7 @@ function pay_fee($payment_id, $order_amount, $cod_fee=null)
  * @param   int     $is_online          是否支持在线支付
  * @return  array   配送方式数组
  */
-function available_payment_list($support_cod, $cod_fee = 0, $is_online = false)
+function available_payment_list($support_cod, $cod_fee = 0, $is_online = true)
 {
     $sql = 'SELECT pay_id, pay_code, pay_name, pay_fee, pay_desc, pay_config, is_cod' .
         ' FROM ' . $GLOBALS['ecs']->table('payment') .
@@ -938,7 +938,7 @@ function get_order_sn()
 //by wang start修改
 function cart_goods($type = CART_GENERAL_GOODS, $cart_value = '', $ru_type = 0, $warehouse_id = 0, $area_id = 0)
 {
-    $rec_txt = array('普通', '团够','拍卖','夺宝奇兵','积分商城','预售');
+    $rec_txt = array('普通', '团购','拍卖','夺宝奇兵','积分商城','预售');
     
     $where = " g.is_delete = 0 AND ";
     if($type != CART_PRESALE_GOODS){
@@ -5019,6 +5019,6 @@ function return_surplus_integral_bonus($user_id ,$goods_price , $return_goods_pr
         $GLOBALS['db']->query( $sql );
     }
 
-
 }
+
 ?>
\ No newline at end of file
diff --git a/mobile/source/helpers/scfunction_helper.php b/mobile/source/helpers/scfunction_helper.php
index 2d1210d..d9143e1 100755
--- a/mobile/source/helpers/scfunction_helper.php
+++ b/mobile/source/helpers/scfunction_helper.php
@@ -3966,7 +3966,7 @@ function goodsShippingFee($goods_id=0,$warehouse_id=0,$region=array())
 		'shipping_fee'=>'',
 		'shipping_fee_formated'=>'',
 		'free_money'=>'',
-		'is_shipping'=>0 //是否支持配送 0:不支持,1:支持
+		'is_shipping'=> 1 //是否支持配送 0:不支持,1:支持
 	);
 
 	//初始运费
diff --git a/mobile/test_get_openid.php b/mobile/test_get_openid.php
new file mode 100644
index 0000000..13589ef
--- /dev/null
+++ b/mobile/test_get_openid.php
@@ -0,0 +1,24 @@
+access_token;
+// $openid = $obj->openid;
+
+// $message = array(
+//     "openid"=>$openid,
+//     "access_token"=>$access_token
+// );
+// echo json_encode($message);
+?>
\ No newline at end of file
diff --git a/mobile/testauth.php b/mobile/testauth.php
new file mode 100644
index 0000000..4c9ad23
--- /dev/null
+++ b/mobile/testauth.php
@@ -0,0 +1,59 @@
+
+
+
+
+
+    
+    测试页面
+
+
+    
+    
+
+
\ No newline at end of file
diff --git a/mobile/testsc.html b/mobile/testsc.html
new file mode 100644
index 0000000..af15e32
--- /dev/null
+++ b/mobile/testsc.html
@@ -0,0 +1,84 @@
+
+ 
+   
+    JS SDK
+      
+     
+     
+   
+   
+
+  ticket;
+        }
+        
+        // 获取access_token
+        function get_access_token() {
+            $appid = 'wxebc3cb2a62b1eaf2';
+            $appsecret = 'd18b00b601c71a275a19e6a4e922a412';
+            $url = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=".$appid."&secret=".$appsecret;
+            $result = file_get_contents($url);
+            $obj = json_decode($result);
+            return $obj->access_token;
+        }
+        // 获取当前页面URL
+        function get_current_url() {
+            $protocol = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off' ? 'https://' : 'http://';
+            $url = $protocol.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
+            return $url;
+        }
+
+        // 生成签名
+        function get_signature($jsapi_ticket, $nonceStr, $timestamp, $url) {
+            $string = "jsapi_ticket=".$jsapi_ticket."&noncestr=".$nonceStr."×tamp=".$timestamp."&url=".$url;
+            return sha1($string);
+        }
+        // 设置JS-SDK配置参数
+        $jsapi_ticket = get_jsapi_ticket(); // 获取jsapi_ticket
+        $nonceStr = "sdafsrtyw8u"; // 生成随机字符串
+        $timestamp = time(); // 获取时间戳
+        $url = get_current_url(); // 获取当前页面URL
+        $signature = get_signature($jsapi_ticket, $nonceStr, $timestamp, $url); // 获取签名
+        $config = array(
+            'appId' => 'wxebc3cb2a62b1eaf2',
+            'timestamp' => $timestamp,
+            'nonceStr' => $nonceStr,
+            'signature' => $signature,
+            'jsApiList' => array('chooseWXPay', 'otherApiName'),
+        );
+        // 初始化JS-SDK
+        echo '';
+        
+        ?>
+        
+   
+
\ No newline at end of file
diff --git a/mobile/testsc.php b/mobile/testsc.php
new file mode 100644
index 0000000..3c91d10
--- /dev/null
+++ b/mobile/testsc.php
@@ -0,0 +1,89 @@
+
+ 
+   
+    JS SDK
+   
+   
+
+  ticket;
+        }
+        
+        // 获取access_token
+        function get_access_token() {
+            $appid = 'wx79343915f99167e6';
+            $appsecret = 'f2f72c5e0ac29c2373bfaf22cf059c02';
+            $url = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=".$appid."&secret=".$appsecret;
+            $result = file_get_contents($url);
+            $obj = json_decode($result);
+            return $obj->access_token;
+        }
+        // 获取当前页面URL
+        function get_current_url() {
+            $protocol = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off' ? 'https://' : 'http://';
+            $url = $protocol.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
+            return $url;
+        }
+
+        // 生成签名
+        function get_signature($jsapi_ticket, $nonceStr, $timestamp, $url) {
+            $string = "jsapi_ticket=".$jsapi_ticket."&noncestr=".$nonceStr."×tamp=".$timestamp."&url=".$url;
+            return sha1($string);
+        }
+        // 设置JS-SDK配置参数
+        $jsapi_ticket = get_jsapi_ticket(); // 获取jsapi_ticket
+        $nonceStr = "sdafsrtyw8u"; // 生成随机字符串
+        $timestamp = time(); // 获取时间戳
+        $url = get_current_url(); // 获取当前页面URL
+        $signature = get_signature($jsapi_ticket, $nonceStr, $timestamp, $url); // 获取签名
+        $config = array(
+            'appId' => 'wx79343915f99167e6',
+            'timestamp' => $timestamp,
+            'nonceStr' => $nonceStr,
+            'signature' => $signature,
+            'jsApiList' => array('chooseWXPay'),
+        );
+        // 初始化JS-SDK
+        echo '';
+        
+        ?>
+         
+         
+        
+        // 
+        // 
+        
+   
+  
\ No newline at end of file
diff --git a/mobile/testsc2.php b/mobile/testsc2.php
new file mode 100644
index 0000000..ffba11a
--- /dev/null
+++ b/mobile/testsc2.php
@@ -0,0 +1,64 @@
+request('GET', $token_url);
+  // $result = json_decode($response->getBody(), true);
+  // $openid = $result['openid'];
+
+  // // 在这里处理获取到的openid
+  // echo $openid;
+} else {
+  // 如果没有授权,则重定向到授权页面
+  header('Location: ' . $auth_url);
+  exit();
+}
+?>
\ No newline at end of file
diff --git a/nginx.htaccess b/nginx.htaccess
new file mode 100644
index 0000000..e69de29
diff --git a/temp/backup/index.htm b/temp/backup/index.htm
new file mode 100644
index 0000000..e69de29
diff --git a/temp/backup/library/index.htm b/temp/backup/library/index.htm
new file mode 100644
index 0000000..0519ecb
--- /dev/null
+++ b/temp/backup/library/index.htm
@@ -0,0 +1 @@
+ 
\ No newline at end of file
diff --git a/temp/caches/d/index_232763CA.php b/temp/caches/d/index_232763CA.php
new file mode 100644
index 0000000..6e6e824
--- /dev/null
+++ b/temp/caches/d/index_232763CA.php
@@ -0,0 +1,1145 @@
+a:3:{s:8:"template";a:15:{i:0;s:57:"F:/php/phpstudy_pro/WWW/shop/themes/ecmoban_dsc/index.dwt";i:1;s:77:"F:/php/phpstudy_pro/WWW/shop/themes/ecmoban_dsc/library/page_header_index.lbi";i:2;s:68:"F:/php/phpstudy_pro/WWW/shop/themes/ecmoban_dsc/library/index_ad.lbi";i:3;s:71:"F:/php/phpstudy_pro/WWW/shop/themes/ecmoban_dsc/library/ad_position.lbi";i:4;s:81:"F:/php/phpstudy_pro/WWW/shop/themes/ecmoban_dsc/library/index_banner_group_ad.lbi";i:5;s:72:"F:/php/phpstudy_pro/WWW/shop/themes/ecmoban_dsc/library/cat_articles.lbi";i:6;s:73:"F:/php/phpstudy_pro/WWW/shop/themes/ecmoban_dsc/library/recommend_hot.lbi";i:7;s:79:"F:/php/phpstudy_pro/WWW/shop/themes/ecmoban_dsc/library/recommend_promotion.lbi";i:8;s:74:"F:/php/phpstudy_pro/WWW/shop/themes/ecmoban_dsc/library/recommend_best.lbi";i:9;s:73:"F:/php/phpstudy_pro/WWW/shop/themes/ecmoban_dsc/library/recommend_new.lbi";i:10;s:74:"F:/php/phpstudy_pro/WWW/shop/themes/ecmoban_dsc/library/index_group_ad.lbi";i:11;s:74:"F:/php/phpstudy_pro/WWW/shop/themes/ecmoban_dsc/library/index_brand_ad.lbi";i:12;s:69:"F:/php/phpstudy_pro/WWW/shop/themes/ecmoban_dsc/library/cat_goods.lbi";i:13;s:74:"F:/php/phpstudy_pro/WWW/shop/themes/ecmoban_dsc/library/guess_you_like.lbi";i:14;s:71:"F:/php/phpstudy_pro/WWW/shop/themes/ecmoban_dsc/library/page_footer.lbi";}s:7:"expires";i:1690210372;s:8:"maketime";i:1690206772;}
+
+
+
+
+
+金普智慧民生服务
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+554fcae493e564ee0dc75bdf2ebf94caget_adv|a:2:{s:4:"name";s:7:"get_adv";s:9:"logo_name";s:10:"top_banner";}554fcae493e564ee0dc75bdf2ebf94ca
+
+
+
+
+
+
+
+
+
+
    +
  • 热门推荐
  • +
  • 疯狂抢购
  • +
  • 商城推荐
  • +
  • 热评商品
  • +
+
+
+
+ +
+
+ + + +
+
+
+
+ +
+
+ +
+
+ + + +
+
+
+
+ +
+
+ + + +
+
+
+
+
+
+ +554fcae493e564ee0dc75bdf2ebf94caget_adv_child|a:2:{s:4:"name";s:13:"get_adv_child";s:6:"ad_arr";s:431:"'index_group_banner1,'index_group_banner2,'index_group_banner3,'index_group_banner4,'index_group_banner5,'index_group_banner6,'index_group_banner7,'index_group_banner8,'index_group_banner9,'index_group_banner10,'index_group_banner11,'index_group_banner12,'index_group_banner13,'index_group_banner14,'index_group_banner15,'index_group_banner16,'index_group_banner17,'index_group_banner18,'index_group_banner19,'index_group_banner20,";}554fcae493e564ee0dc75bdf2ebf94ca
+
+ +
+ +
+ 554fcae493e564ee0dc75bdf2ebf94carecommend_brands|a:2:{s:4:"name";s:16:"recommend_brands";s:3:"num";s:2:"14";}554fcae493e564ee0dc75bdf2ebf94ca 554fcae493e564ee0dc75bdf2ebf94caget_adv_child|a:2:{s:4:"name";s:13:"get_adv_child";s:6:"ad_arr";s:431:"'index_brand_banner1,'index_brand_banner2,'index_brand_banner3,'index_brand_banner4,'index_brand_banner5,'index_brand_banner6,'index_brand_banner7,'index_brand_banner8,'index_brand_banner9,'index_brand_banner10,'index_brand_banner11,'index_brand_banner12,'index_brand_banner13,'index_brand_banner14,'index_brand_banner15,'index_brand_banner16,'index_brand_banner17,'index_brand_banner18,'index_brand_banner19,'index_brand_banner20,";}554fcae493e564ee0dc75bdf2ebf94ca
+
+
+ +
+
+
+
+ +
+ +
+
+
爱搜标签
+
+ +
+
+
+
喜欢的商品
+
+ +
+
+
+
推荐给你的店铺
+
+
+
+
+
+ +
金普智慧民生...
+ +
+
+
+
+
+ +
金普智慧民生...
+ +
+
+
+
+
+
+
可能感兴趣
+
+
+ 554fcae493e564ee0dc75bdf2ebf94caads|a:3:{s:4:"name";s:3:"ads";s:2:"id";s:3:"127";s:3:"num";s:1:"2";}554fcae493e564ee0dc75bdf2ebf94ca
+
+
+
+
+
+ + + + + +
+
    +
  • +
  • +
  • +
  • +
+
+
+
+
+
+ +
+
+554fcae493e564ee0dc75bdf2ebf94causer_menu_position|a:1:{s:4:"name";s:18:"user_menu_position";}554fcae493e564ee0dc75bdf2ebf94ca + + + + + diff --git a/temp/caches/f/index_40F756F0.php b/temp/caches/f/index_40F756F0.php new file mode 100644 index 0000000..149a4f5 --- /dev/null +++ b/temp/caches/f/index_40F756F0.php @@ -0,0 +1,1145 @@ +a:3:{s:8:"template";a:15:{i:0;s:57:"F:/php/phpstudy_pro/WWW/shop/themes/ecmoban_dsc/index.dwt";i:1;s:77:"F:/php/phpstudy_pro/WWW/shop/themes/ecmoban_dsc/library/page_header_index.lbi";i:2;s:68:"F:/php/phpstudy_pro/WWW/shop/themes/ecmoban_dsc/library/index_ad.lbi";i:3;s:71:"F:/php/phpstudy_pro/WWW/shop/themes/ecmoban_dsc/library/ad_position.lbi";i:4;s:81:"F:/php/phpstudy_pro/WWW/shop/themes/ecmoban_dsc/library/index_banner_group_ad.lbi";i:5;s:72:"F:/php/phpstudy_pro/WWW/shop/themes/ecmoban_dsc/library/cat_articles.lbi";i:6;s:73:"F:/php/phpstudy_pro/WWW/shop/themes/ecmoban_dsc/library/recommend_hot.lbi";i:7;s:79:"F:/php/phpstudy_pro/WWW/shop/themes/ecmoban_dsc/library/recommend_promotion.lbi";i:8;s:74:"F:/php/phpstudy_pro/WWW/shop/themes/ecmoban_dsc/library/recommend_best.lbi";i:9;s:73:"F:/php/phpstudy_pro/WWW/shop/themes/ecmoban_dsc/library/recommend_new.lbi";i:10;s:74:"F:/php/phpstudy_pro/WWW/shop/themes/ecmoban_dsc/library/index_group_ad.lbi";i:11;s:74:"F:/php/phpstudy_pro/WWW/shop/themes/ecmoban_dsc/library/index_brand_ad.lbi";i:12;s:69:"F:/php/phpstudy_pro/WWW/shop/themes/ecmoban_dsc/library/cat_goods.lbi";i:13;s:74:"F:/php/phpstudy_pro/WWW/shop/themes/ecmoban_dsc/library/guess_you_like.lbi";i:14;s:71:"F:/php/phpstudy_pro/WWW/shop/themes/ecmoban_dsc/library/page_footer.lbi";}s:7:"expires";i:1690766952;s:8:"maketime";i:1690763352;} + + + + + +金普智慧民生服务 + + + + + + + + + + + + + + + + + + + + +554fcae493e564ee0dc75bdf2ebf94caget_adv|a:2:{s:4:"name";s:7:"get_adv";s:9:"logo_name";s:10:"top_banner";}554fcae493e564ee0dc75bdf2ebf94ca + + + + +
+
+
+
+
+
    +
  • 热门推荐
  • +
  • 疯狂抢购
  • +
  • 商城推荐
  • +
  • 热评商品
  • +
+
+
+
+ +
+
+ + + +
+
+
+
+ +
+
+ +
+
+ + + +
+
+
+
+ +
+
+ + + +
+
+
+
+
+
+ +554fcae493e564ee0dc75bdf2ebf94caget_adv_child|a:2:{s:4:"name";s:13:"get_adv_child";s:6:"ad_arr";s:431:"'index_group_banner1,'index_group_banner2,'index_group_banner3,'index_group_banner4,'index_group_banner5,'index_group_banner6,'index_group_banner7,'index_group_banner8,'index_group_banner9,'index_group_banner10,'index_group_banner11,'index_group_banner12,'index_group_banner13,'index_group_banner14,'index_group_banner15,'index_group_banner16,'index_group_banner17,'index_group_banner18,'index_group_banner19,'index_group_banner20,";}554fcae493e564ee0dc75bdf2ebf94ca
+
+ +
+ +
+ 554fcae493e564ee0dc75bdf2ebf94carecommend_brands|a:2:{s:4:"name";s:16:"recommend_brands";s:3:"num";s:2:"14";}554fcae493e564ee0dc75bdf2ebf94ca 554fcae493e564ee0dc75bdf2ebf94caget_adv_child|a:2:{s:4:"name";s:13:"get_adv_child";s:6:"ad_arr";s:431:"'index_brand_banner1,'index_brand_banner2,'index_brand_banner3,'index_brand_banner4,'index_brand_banner5,'index_brand_banner6,'index_brand_banner7,'index_brand_banner8,'index_brand_banner9,'index_brand_banner10,'index_brand_banner11,'index_brand_banner12,'index_brand_banner13,'index_brand_banner14,'index_brand_banner15,'index_brand_banner16,'index_brand_banner17,'index_brand_banner18,'index_brand_banner19,'index_brand_banner20,";}554fcae493e564ee0dc75bdf2ebf94ca
+
+
+ +
+
+
+
+ +
+ +
+
+
爱搜标签
+
+ +
+
+
+
喜欢的商品
+
+ +
+
+
+
推荐给你的店铺
+
+
+
+
+
+ +
乐福社上门助...
+ +
+
+
+
+
+ +
金州新区居家...
+ +
+
+
+
+
+
+
可能感兴趣
+
+
+ 554fcae493e564ee0dc75bdf2ebf94caads|a:3:{s:4:"name";s:3:"ads";s:2:"id";s:3:"127";s:3:"num";s:1:"2";}554fcae493e564ee0dc75bdf2ebf94ca
+
+
+
+
+
+ + + + + +
+
    +
  • +
  • +
  • +
  • +
+
+
+
+
+
+ +
+
+554fcae493e564ee0dc75bdf2ebf94causer_menu_position|a:1:{s:4:"name";s:18:"user_menu_position";}554fcae493e564ee0dc75bdf2ebf94ca + + + + + diff --git a/temp/compiled/ad_position.lbi.php b/temp/compiled/ad_position.lbi.php new file mode 100644 index 0000000..8277fc6 --- /dev/null +++ b/temp/compiled/ad_position.lbi.php @@ -0,0 +1,8 @@ + 'ads', + 'id' => $this->_var['ads_id'], + 'num' => $this->_var['ads_num'], +); +echo $this->_echash . $k['name'] . '|' . serialize($k) . $this->_echash; +?> \ No newline at end of file diff --git a/temp/compiled/cart_favourable_list.lbi.php b/temp/compiled/cart_favourable_list.lbi.php new file mode 100644 index 0000000..4f8b079 --- /dev/null +++ b/temp/compiled/cart_favourable_list.lbi.php @@ -0,0 +1,53 @@ + +_var['favourable_list']): ?> +
+

_var['lang']['label_favourable']; ?>

+
+ _var['favourable_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'favourable');if (count($_from)): + foreach ($_from AS $this->_var['favourable']): +?> +
+ + + + + + + + + + + + + + + + + + + + + + _var['favourable']['available']): ?> + + + + + +
_var['lang']['favourable_name']; ?>_var['favourable']['act_name']; ?>
_var['lang']['favourable_period']; ?>_var['favourable']['start_time']; ?> --- _var['favourable']['end_time']; ?>
_var['lang']['favourable_range']; ?>_var['lang']['far_ext'][$this->_var['favourable']['act_range']]; ?>
+ _var['favourable']['act_range_desc']; ?>
_var['lang']['favourable_amount']; ?>_var['favourable']['formated_min_amount']; ?> --- _var['favourable']['formated_max_amount']; ?>
_var['lang']['favourable_type']; ?> + _var['favourable']['act_type_desc']; ?> + _var['favourable']['act_type'] == 0): ?> + _var['favourable']['gift']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'gift');if (count($_from)): + foreach ($_from AS $this->_var['gift']): +?> + + _var['gift']['name']; ?> [_var['gift']['formated_price']; ?>] + + pop_vars();; ?> +
 
+ + +
+ pop_vars();; ?> + \ No newline at end of file diff --git a/temp/compiled/cart_html.lbi.php b/temp/compiled/cart_html.lbi.php new file mode 100644 index 0000000..4a7ced6 --- /dev/null +++ b/temp/compiled/cart_html.lbi.php @@ -0,0 +1,86 @@ + +
+
+ +
+

删除商品?

+
您可以选择移到收藏,或删除商品。
+
+
+
+ +
+
+ +
+

移到收藏

+
移动后选中商品将不在购物车中显示。
+
+
+
+ + + +
+
+ +
+

您确定要设置为默认收货地址吗?

+
+
+
+ +
+
+ +
+

您确定要删除该收货地址吗?

+
+
+
+ +
+
+ +
+

您还没有选择收货地址!

+
+
+
+ +
+
+ +
+

您的购物车中没有商品!

+
+
+
+ +
+
+ +
+

删除商品?

+
+
+
+ +
+
+ +
+

您确认移到我的收藏?

+
+
+
+ +
+
+ +
+

您还没有选择收货地址!

+
+
+
+ diff --git a/temp/compiled/cart_info.lbi.php b/temp/compiled/cart_info.lbi.php new file mode 100644 index 0000000..ea18526 --- /dev/null +++ b/temp/compiled/cart_info.lbi.php @@ -0,0 +1,153 @@ + +
+ + > + _var['str']; ?> + 购物车 +
+_var['goods']): ?> +
+
+
    + _var['goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods_0_61255600_1689838728');$this->_foreach['goods'] = array('total' => count($_from), 'iteration' => 0); +if ($this->_foreach['goods']['total'] > 0): + foreach ($_from AS $this->_var['goods_0_61255600_1689838728']): + $this->_foreach['goods']['iteration']++; +?> +
  • + _var['goods_0_61255600_1689838728']['rec_id'] > 0): ?> +
    + +
    + _var['goods_0_61255600_1689838728']['rec_id'] > 0 && $this->_var['goods_0_61255600_1689838728']['extension_code'] == 'package_buy'): ?> + _var['goods_0_61255600_1689838728']['short_name']; ?>_var['lang']['remark_package']; ?>) + _var['goods_0_61255600_1689838728']['rec_id'] > 0 && $this->_var['goods_0_61255600_1689838728']['is_gift'] != 0): ?> + _var['goods_0_61255600_1689838728']['short_name']; ?>_var['lang']['largess']; ?>) + + _var['goods_0_61255600_1689838728']['short_name']; ?> + +
    + _var['goods_0_61255600_1689838728']['rec_id'] > 0 && $this->_var['goods_0_61255600_1689838728']['extension_code'] != 'package_buy' && $this->_var['goods_0_61255600_1689838728']['is_gift'] == 0): ?> +
    + _var['goods_0_61255600_1689838728']['goods_number']) ? '1' : $this->_var['goods_0_61255600_1689838728']['goods_number']; ?> +
    +
    _var['goods_0_61255600_1689838728']['goods_price']; ?>
    + +
    _var['goods_0_61255600_1689838728']['goods_price']; ?>
    + + 删除 +
    +
    +
  • + pop_vars();; ?> +
+
+
+ +
_var['str']; ?>件共计:_var['cart_info']['amount']; ?>
+ 去购物车 > +
+
+ + + \ No newline at end of file diff --git a/temp/compiled/cat_articles.lbi.php b/temp/compiled/cat_articles.lbi.php new file mode 100644 index 0000000..a944568 --- /dev/null +++ b/temp/compiled/cat_articles.lbi.php @@ -0,0 +1,8 @@ + +
    + _var['articles']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'article_item');if (count($_from)): + foreach ($_from AS $this->_var['article_item']): +?> +
  • _var['article_item']['short_title']; ?> [_var['article_item']['add_time']; ?>]
  • + pop_vars();; ?> +
\ No newline at end of file diff --git a/temp/compiled/cat_goods.lbi.php b/temp/compiled/cat_goods.lbi.php new file mode 100644 index 0000000..e69de29 diff --git a/temp/compiled/cat_goods_banner.lbi.php b/temp/compiled/cat_goods_banner.lbi.php new file mode 100644 index 0000000..b23a75d --- /dev/null +++ b/temp/compiled/cat_goods_banner.lbi.php @@ -0,0 +1,12 @@ + +_var['ad_child']): ?> +
    + _var['ad_child']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'ad');$this->_foreach['noad'] = array('total' => count($_from), 'iteration' => 0); +if ($this->_foreach['noad']['total'] > 0): + foreach ($_from AS $this->_var['ad']): + $this->_foreach['noad']['iteration']++; +?> +
  • + pop_vars();; ?> +
+ \ No newline at end of file diff --git a/temp/compiled/cat_goods_hot.lbi.php b/temp/compiled/cat_goods_hot.lbi.php new file mode 100644 index 0000000..6ba6dde --- /dev/null +++ b/temp/compiled/cat_goods_hot.lbi.php @@ -0,0 +1,18 @@ + +_var['ad_child']): ?> +
+
    + _var['ad_child']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'ad');$this->_foreach['noad'] = array('total' => count($_from), 'iteration' => 0); +if ($this->_foreach['noad']['total'] > 0): + foreach ($_from AS $this->_var['ad']): + $this->_foreach['noad']['iteration']++; +?> +
  • _foreach['noad']['iteration'] == $this->_foreach['noad']['total'])): ?> class="last"> +
    + +
    +
  • + pop_vars();; ?> +
+
+ \ No newline at end of file diff --git a/temp/compiled/common_html.lbi.php b/temp/compiled/common_html.lbi.php new file mode 100644 index 0000000..53e643c --- /dev/null +++ b/temp/compiled/common_html.lbi.php @@ -0,0 +1,22 @@ + + +
+
+ +
+

您已成功收藏该商品!

+
可以查看我的收藏。
+
+
+
+ + + +
+
+ +
+

您确定要将该商品从收藏夹中删除吗?

+
+
+
diff --git a/temp/compiled/flow.dwt.php b/temp/compiled/flow.dwt.php new file mode 100644 index 0000000..cc763fd --- /dev/null +++ b/temp/compiled/flow.dwt.php @@ -0,0 +1,1511 @@ + + + + + + + +<?php echo $this->_var['page_title']; ?> + + + + + + + + + +_var['step'] == 'cart'): ?> + + + +smarty_insert_scripts(array('files'=>'jquery-1.9.1.min.js,jquery.json.js,transport_jquery.js,common.js,shopping_flow.js')); ?> + + + + + + + + + + +fetch('library/page_header_flow.lbi'); ?> +_var['step'] == "cart"): ?> + +
+
+
+

购物车(  )

+
+
+ smarty_insert_scripts(array('files'=>'warehouse.js')); ?> +
配送至:
+
+
+
+ _var['province_row']['region_name']; ?> _var['city_row']['region_name']; ?> _var['district_row']['region_name']; ?> +
+
+
+
+
+
_var['province_row']['region_name']; ?>
+
_var['city_row']['region_name']; ?>
+
_var['district_row']['region_name']; ?>
+
+
+ + +
+
    + + _var['city_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'city');$this->_foreach['nocity'] = array('total' => count($_from), 'iteration' => 0); +if ($this->_foreach['nocity']['total'] > 0): + foreach ($_from AS $this->_var['city']): + $this->_foreach['nocity']['iteration']++; +?> +
  • + _var['city']['region_name']; ?> +
  • + pop_vars();; ?> + +
+
+
+
    + + _var['district_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'district');$this->_foreach['nodistrict'] = array('total' => count($_from), 'iteration' => 0); +if ($this->_foreach['nodistrict']['total'] > 0): + foreach ($_from AS $this->_var['district']): + $this->_foreach['nodistrict']['iteration']++; +?> +
  • + _var['district']['region_name']; ?> +
  • + pop_vars();; ?> + +
+
+

商创商品暂时只支持配送至中国大陆地区

+
+
+
+ + + + + + + +
+
+ _var['goods_list']): ?> +
+
+
+
+ + +
+
商品
+
属性
+
单价(元)
+
数量
+
小计(元)
+
操作
+
+
+ _var['goods_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goodsRu');if (count($_from)): + foreach ($_from AS $this->_var['goodsRu']): +?> +
+
+ +
+ _var['goodsRu']['new_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'activity');if (count($_from)): + foreach ($_from AS $this->_var['key'] => $this->_var['activity']): +?> + + _var['activity']['act_id'] > 0): ?> +
+
+
+ _var['activity']['act_type'] == 0): ?> + +
_var['activity']['cart_fav_amount']; ?>
+ + _var['activity']['act_type'] == 1): ?> +
+ _var['activity']['act_type_txt']; ?> + _var['activity']['available']): ?> + 活动商品已购满_var['activity']['min_amount']; ?>元 (已减_var['activity']['act_type_ext_format']; ?>元 + + 活动商品购满_var['activity']['min_amount']; ?>元, 即可享受满减 + +   去凑单 > + _var['goods']['act_name']; ?> +
+
_var['activity']['cart_fav_amount']; ?> + _var['activity']['available']): ?> + 减:_var['activity']['act_type_ext_format']; ?>元 + +
+ + _var['activity']['act_type'] == 2): ?> +
+ _var['activity']['act_type_txt']; ?> + _var['activity']['available']): ?> + 活动商品已购满_var['activity']['min_amount']; ?>元 (已享受_var['activity']['act_type_ext_format']; ?>折优惠) + + 活动商品购满_var['activity']['min_amount']; ?>元, 即可享受折扣 + +   去凑单 > + _var['goods']['act_name']; ?> +
+
_var['activity']['cart_fav_amount']; ?> + _var['activity']['available']): ?> + 折扣:_var['activity']['act_type_ext_format']; ?>折 + +
+ +
+ _var['activity']['act_cart_gift']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods');if (count($_from)): + foreach ($_from AS $this->_var['goods']): +?> +
+
+
+
+ + +
+
+
+
+
+
+ +
+ + +
+
+
+
+
+ _var['goods']['goods_attr']): ?>_var['goods']['goods_attr']); ?> + 修改 +
+
+ _var['goods']['goods_price']; ?> +
+
+ _var['goods']['goods_id'] > 0 && $this->_var['goods']['is_gift'] == 0 && $this->_var['goods']['parent_id'] == 0 && $this->_var['goods']['extension_code'] != 'package_buy'): ?> +
+ - + + + +
+
+ _var['goods']['attr_number']): ?> + 有货 + + 无货 + +
+ +
+ +
+ +
+
+ + _var['goods']['subtotal']; ?> + _var['goods']['dis_amount'] > 0): ?> + (优惠:_var['goods']['discount_amount']; ?>) + + +
+ +
+
+
+ pop_vars();; ?> + + _var['activity']['act_goods_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods');if (count($_from)): + foreach ($_from AS $this->_var['goods']): +?> +
+
+
+
+ + +
+
+
+
+
+ +
+
+
+ _var['goods']['goods_attr']): ?>_var['goods']['goods_attr']); ?> + 修改 +
+
+ _var['goods']['goods_price']; ?> +
+
+ _var['goods']['goods_id'] > 0 && $this->_var['goods']['is_gift'] == 0 && $this->_var['goods']['parent_id'] == 0 && $this->_var['goods']['extension_code'] != 'package_buy'): ?> +
+ - + + + +
+
+ _var['goods']['attr_number']): ?> + 有货 + + 无货 + +
+ + _var['goods']['goods_number']; ?> + +
+
+ + _var['goods']['subtotal']; ?> + _var['goods']['dis_amount'] > 0): ?> + (优惠:_var['goods']['discount_amount']; ?>) + + +
+ +
+
+
+ pop_vars();; ?> + + _var['activity']['act_gift_list']): ?> + + +
+
+ + _var['activity']['act_goods_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods');if (count($_from)): + foreach ($_from AS $this->_var['goods']): +?> +
+
+
+
+
+
+ + +
+
+
+
+ _var['goods']['goods_id'] > 0 && $this->_var['goods']['extension_code'] != 'package_buy'): ?> +
+ +
+ +
+
+ _var['goods']['goods_id'] > 0 && $this->_var['goods']['extension_code'] == 'package_buy'): ?> + _var['goods']['goods_name']; ?> + _var['lang']['remark_package']; ?>) + +
+ _var['goods']['package_goods_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'package_goods_list');$this->_foreach['nopackage'] = array('total' => count($_from), 'iteration' => 0); +if ($this->_foreach['nopackage']['total'] > 0): + foreach ($_from AS $this->_var['package_goods_list']): + $this->_foreach['nopackage']['iteration']++; +?> + _foreach['nopackage']['iteration'] <= 1)): ?> + + + + + pop_vars();; ?> +
+ + + _var['goods']['goods_name']; ?> + +
+
+
+
+
+ _var['goods']['goods_attr']): ?>_var['goods']['goods_attr']); ?> + 修改 +
+
+ _var['goods']['goods_price']; ?> +
+
+ _var['goods']['goods_id'] > 0 && $this->_var['goods']['is_gift'] == 0 && $this->_var['goods']['parent_id'] == 0 && $this->_var['goods']['extension_code'] != 'package_buy'): ?> +
+ - + + + +
+
+ _var['goods']['attr_number']): ?> + 有货 + + 无货 + +
+ + _var['goods']['goods_number']; ?> + +
+
+ + _var['goods']['subtotal']; ?> + _var['goods']['dis_amount'] > 0): ?> + (优惠:_var['goods']['discount_amount']; ?>) + + +
+ +
+
+
+
+
+ pop_vars();; ?> + + pop_vars();; ?> +
+
+
+ pop_vars();; ?> + +
+
+ +
+
+
+
+
+
+ + +
+
+ +
+
+
+
+ _var['user_id']): ?> id="go_pay" data-url="flow.php"/> + + +
+
+
+ 总价(不含运费): + +
+
+ 已节省: + +
+
+ 已选择件商品 +
+
+
+
+
+
+
+
+ + + +
+
+
+
    +
  • 购物车内暂时没有商品,登录后将显示您之前加入的商品
  • +
  • + _var['user_id']): ?>登录 + 去购物> +
  • +
+
+
+
+ +
+
+
    +
  • 最近浏览
  • +
  • 猜你喜欢
  • +
  • 掌柜推荐
  • +
+
+
+
+
+
+
    + _var['history_goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods');if (count($_from)): + foreach ($_from AS $this->_var['goods']): +?> +
  • +
    +
    +
    + _var['goods']['promote_price']): ?> + _var['goods']['promote_price']; ?> + + _var['goods']['shop_price']; ?> + +
    + + +
    销量:_var['goods']['sales_volume']; ?>
    +
    +
  • + pop_vars();; ?> +
+
+ + + +
+
+ + +
+
+
+ + + 0): ?> + + + + +_var['step'] == "checkout"): ?> + +smarty_insert_scripts(array('files'=>'region.js,utils.js')); ?> + + + + +
+
+

填写并核对订单信息

+
+
+
1
+
我的购物车
+
+
+
2
+
填写核对订单信息
+
+
+
3
+
成功提交订单
+
+
+
+
+
+
+
+

收货人信息

+ _var['user_address']): ?> + + + + +
+
_var['user_address']): ?>style=" overflow:inherit;"> + _var['user_address']): ?> +
+
+
    + _var['user_address']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'address');if (count($_from)): + foreach ($_from AS $this->_var['address']): +?> +
  • _var['consignee']['address_id'] == $this->_var['address']['address_id']): ?>class="item-selected" data-addressid="_var['address']['address_id']; ?>"> + _var['consignee']['address_id'] == $this->_var['address']['address_id']): ?>checked="checked" class="ui-radio" name="consignee_radio" value="_var['address']['address_id']; ?>" id="radio__var['address']['address_id']; ?>" class="hookbox" /> + +
    + _var['user_id'] > 0): ?> + 编辑 + 删除 + + 编辑 + +
    +
  • + pop_vars();; ?> +
+
+
+ + fetch('library/consignee_new.lbi'); ?> + +
+
+
+
+
+ _var['is_exchange_goods'] != 1 || $this->_var['total']['real_goods_count'] != 0): ?> +
+
+

_var['lang']['payment_method']; ?>

+
+
+
+
    + _var['payment_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'payment');if (count($_from)): + foreach ($_from AS $this->_var['payment']): +?> +
  • _var['order']['pay_id'] == $this->_var['payment']['pay_id']): ?>class="item-selected _var['cod_disabled'] && $this->_var['payment']['is_cod'] == 1): ?>hide"class="_var['cod_disabled'] && $this->_var['payment']['is_cod'] == 1): ?>hide"> +
    + _var['order']['pay_id'] == $this->_var['payment']['pay_id']): ?>checked isCod="_var['payment']['is_cod']; ?>" name="payment" class="ui-radio" value="_var['payment']['pay_id']; ?>" /> + _var['payment']['pay_name']; ?> +
    +
  • + pop_vars();; ?> +
+
+
+
+ + + + +
+ fetch('library/flow_cart_goods.lbi'); ?> +
+ + + +
+
+

其他信息

+
+
+ _var['allow_use_surplus']): ?> +
+
_var['lang']['use_surplus']; ?>:
+
+ _var['disable_surplus']): ?>disabled="disabled" /> + _var['lang']['your_surplus']; ?> _var['your_surplus']) ? '0' : $this->_var['your_surplus']; ?>  +
+
+ + + _var['allow_use_integral']): ?> +
+
_var['lang']['use_integral']; ?>:
+
+ + _var['lang']['can_use_integral']; ?>:_var['your_integral']) ? '0' : $this->_var['your_integral']; ?> _var['points_name']; ?>,_var['lang']['noworder_can_integral']; ?>_var['order_max_integral']; ?> _var['points_name']; ?>. +
+
+ + + _var['how_oos_list']): ?> +
+
_var['lang']['booking_process']; ?>:
+
+ _var['how_oos_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('how_oos_id', 'how_oos_name');if (count($_from)): + foreach ($_from AS $this->_var['how_oos_id'] => $this->_var['how_oos_name']): +?> +
+ +
+ pop_vars();; ?> +
+
+ + + _var['allow_use_bonus']): ?> +
+
_var['lang']['use_bonus']; ?>:
+
+ _var['lang']['select_bonus']; ?> + + + _var['lang']['input_bonus_no']; ?> + + +
+
+ +
+
+ + + _var['inv_content']): ?> +
+
+

发票信息

+
+
+

普通发票(纸质)

+

个人

+

_var['inv_content']; ?>

+

修改

+
+ + +
+ +
+ fetch('library/order_total.lbi'); ?> + + + +
+
+
+ + +_var['step'] == "done"): ?> +
+
+
+

下单成功

+
+
+
1
+
我的购物车
+
+
+
2
+
填写核对订单信息
+
+
+
3
+
成功提交订单
+
+
+
+
+
+
+

恭喜您,订单提交成功

+
+ _var['child_order'] > 1): ?> +
+ 亲爱的用户由于商家原因,此订单将分为 _var['child_order']; ?> 个不同的子订单配送: +
+ _var['child_order_info']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'order');if (count($_from)): + foreach ($_from AS $this->_var['order']): +?> +
+
订单编号:_var['order']['order_sn']; ?>
+
应付总金额:_var['order']['amount_formated']; ?>
+
配送方式:_var['order']['shipping_name']; ?>
+
运费:_var['order']['shipping_fee_formated']; ?>
+ 保存订单并打印 +
+ pop_vars();; ?> +
+
_var['lang']['select_payment']; ?>:_var['order']['pay_name']; ?>_var['lang']['order_amount']; ?>:_var['total']['amount_formated']; ?>元
+ _var['order']['pay_name'] == '银行汇款/转帐'): ?> +
_var['order']['pay_desc']; ?>
+ +
+ _var['pay_online']): ?> + + _var['pay_online']; ?> + +
+
+ +
+ 感谢您在本店购物!您的订单已提交,请记住您的订单号: +
+
+
订单编号:_var['order']['order_sn']; ?>
+
应付总金额:_var['order']['order_amount']; ?>元
+
运费:_var['order']['shipping_fee']; ?>元
+ 保存订单并打印 +
+
+
_var['order']['shipping_name']): ?>_var['lang']['select_shipping']; ?>: _var['order']['shipping_name']; ?>_var['lang']['select_payment']; ?>:_var['order']['pay_name']; ?>_var['lang']['order_amount']; ?>:_var['order']['order_amount']; ?>元
+ _var['order']['pay_name'] == '银行汇款/转帐'): ?> +
_var['order']['pay_desc']; ?>
+ +
+ _var['pay_online']): ?> + + _var['pay_online']; ?> + +
+
+ +
+ _var['goods_buy_list']): ?> +
+
+
买了又买
+
+
+
+
+
+
    + _var['goods_buy_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods');if (count($_from)): + foreach ($_from AS $this->_var['goods']): +?> +
  • +
    +
    +
    + _var['goods']['promote_price'] == ''): ?> + _var['goods']['shop_price']; ?> + + _var['goods']['promote_price']; ?> + +
    + + +
    销量:_var['goods']['sales_volume']; ?>
    +
    +
  • + pop_vars();; ?> +
+
+ + + +
+
+
+
+ +
+ + +fetch('library/cart_html.lbi'); ?> + +fetch('library/page_footer_flow.lbi'); ?> + + + + + + + diff --git a/temp/compiled/flow_cart_goods.lbi.php b/temp/compiled/flow_cart_goods.lbi.php new file mode 100644 index 0000000..885f72b --- /dev/null +++ b/temp/compiled/flow_cart_goods.lbi.php @@ -0,0 +1,414 @@ + +
+

送货清单

+ 返回购物车 +
+
+ _var['goods_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goodsRu');if (count($_from)): + foreach ($_from AS $this->_var['goodsRu']): +?> +
+
+ +
+ +
+
+

商家:_var['goodsRu']['ru_name']; ?>

+
+ _var['goodsRu']['new_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'activity');$this->_foreach['nogoods'] = array('total' => count($_from), 'iteration' => 0); +if ($this->_foreach['nogoods']['total'] > 0): + foreach ($_from AS $this->_var['key'] => $this->_var['activity']): + $this->_foreach['nogoods']['iteration']++; +?> + _var['activity']['act_id'] > 0): ?> +
+
+ + _var['activity']['act_cart_gift']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods');if (count($_from)): + foreach ($_from AS $this->_var['goods']): +?> +
+
+
+
+
+ +
+
+
+ _var['goods']['goods_attr']); ?> +
+
+ _var['goods']['rec_type'] == 5): ?>定金:_var['goods']['formated_presale_deposit']; ?>_var['goods']['formated_goods_price']; ?> + _var['goods']['dis_amount'] > 0): ?> + 原价:¥_var['goods']['original_price']; ?> + (优惠:_var['goods']['discount_amount']; ?>) + + x_var['goods']['goods_number']; ?> +
+
+ _var['goods']['attr_number']): ?> + 有货 + + + 无货 + + +
+
+
+ pop_vars();; ?> + + _var['activity']['act_goods_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods');if (count($_from)): + foreach ($_from AS $this->_var['goods']): +?> +
+
+ +
+ _var['goods']['goods_attr']); ?> +
+
+ _var['goods']['rec_type'] == 5): ?>定金:_var['goods']['formated_presale_deposit']; ?>_var['goods']['formated_goods_price']; ?> + _var['goods']['dis_amount'] > 0): ?> + 原价:¥_var['goods']['original_price']; ?> + (优惠:_var['goods']['discount_amount']; ?>) + + x_var['goods']['goods_number']; ?> +
+
+ _var['goods']['attr_number']): ?> + 有货 + + + 无货 + + +
+
+
+ pop_vars();; ?> +
+
+ + _var['activity']['act_goods_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods');if (count($_from)): + foreach ($_from AS $this->_var['goods']): +?> +
+
+
+
+
+
+ _var['goods']['goods_id'] > 0 && $this->_var['goods']['extension_code'] != 'package_buy'): ?> +
+ +
+
+ _var['goods']['goods_id'] > 0 && $this->_var['goods']['extension_code'] == 'package_buy'): ?> + _var['goods']['goods_name']; ?>_var['lang']['remark_package']; ?>) +
+
    + _var['goods']['package_goods_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'package_goods_list');$this->_foreach['nopackage'] = array('total' => count($_from), 'iteration' => 0); +if ($this->_foreach['nopackage']['total'] > 0): + foreach ($_from AS $this->_var['package_goods_list']): + $this->_foreach['nopackage']['iteration']++; +?> + _foreach['nopackage']['iteration'] <= 1)): ?> +
  • _foreach['nopackage']['iteration'] - 1) > 3): ?> style="display:none;"> + + + _var['package_goods_list']['goods_name']; ?> + +
  • + + pop_vars();; ?> +
+ ...... + 查看更多︾ +
+ + _var['goods']['goods_name']; ?> + +
+
+
+
+
+ _var['goods']['goods_attr']); ?> +
+
+ _var['goods']['rec_type'] == 5): ?>定金:_var['goods']['formated_presale_deposit']; ?>_var['goods']['formated_goods_price']; ?> + _var['goods']['dis_amount'] > 0): ?> + 原价:¥_var['goods']['original_price']; ?> + (优惠:_var['goods']['discount_amount']; ?>) + + x_var['goods']['goods_number']; ?> +
+
+ _var['goods']['attr_number']): ?> + 有货 + + + 无货 + + +
+
+
+
+
+ pop_vars();; ?> + + + _foreach['nogoods']['iteration'] == $this->_foreach['nogoods']['total'])): ?> +
+ + pop_vars();; ?> +
+
+

配送方式

+
+
+
    +
  • 快递运输
  • + _var['goodsRu']['ru_id'] == 0 && $this->_var['goodsRu']['self_point'] != ""): ?> +
  • + 上门自取(荐) +
  • + +
+ + + +
+
+
+
+ + + + _var['goodsRu']['shipping']['shipping_name']): ?>_var['goodsRu']['shipping']['shipping_name']; ?>该地区不支持配送 + + 修改 +
+ _var['goodsRu']['shipping']['shipping_name']): ?> +
+ + _var['goodsRu']['shipping']['shipping_fee']): ?>_var['goodsRu']['shipping']['format_shipping_fee']; ?>免运费 +
+ +
+
+ +
+ _var['goodsRu']['self_point'] != ""): ?> +
+
+ + _var['goodsRu']['self_point']['name']; ?> + 修改 +
+
+ + _var['goodsRu']['self_point']['shipping_dateStr']; ?> + 修改 +
+
免运费
+ + +
+ +
+
+
+
+
+
+ pop_vars();; ?> +
+
+
添加订单备注
+
+ +   提示:请勿填写有关支付、收货、发票方面的信息 +
+
+_var['how_oos_list']): ?> +
+
_var['lang']['booking_process']; ?>
+
+ _var['how_oos_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('how_oos_id', 'how_oos_name');if (count($_from)): + foreach ($_from AS $this->_var['how_oos_id'] => $this->_var['how_oos_name']): +?> + + pop_vars();; ?> +
+
+ + + + \ No newline at end of file diff --git a/temp/compiled/guess_you_like.lbi.php b/temp/compiled/guess_you_like.lbi.php new file mode 100644 index 0000000..bad0bd7 --- /dev/null +++ b/temp/compiled/guess_you_like.lbi.php @@ -0,0 +1,76 @@ + +
+ +
+
+
爱搜标签
+
+
    + _var['searchkeywords']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'val_0_82818700_1689900044');if (count($_from)): + foreach ($_from AS $this->_var['key'] => $this->_var['val_0_82818700_1689900044']): +?> + _var['key'] < 9): ?> +
  • _var['val_0_82818700_1689900044']; ?>
  • + + pop_vars();; ?> +
+
+
+
+
喜欢的商品
+
+
+ _var['guess_goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods_0_82828400_1689900044');$this->_foreach['foo'] = array('total' => count($_from), 'iteration' => 0); +if ($this->_foreach['foo']['total'] > 0): + foreach ($_from AS $this->_var['goods_0_82828400_1689900044']): + $this->_foreach['foo']['iteration']++; +?> + + pop_vars();; ?> +
+
+
+
+
推荐给你的店铺
+
+
+ _var['guess_store']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'store');$this->_foreach['foo'] = array('total' => count($_from), 'iteration' => 0); +if ($this->_foreach['foo']['total'] > 0): + foreach ($_from AS $this->_var['store']): + $this->_foreach['foo']['iteration']++; +?> +
+
+
+ +
_var['store']['shop_name'],6); ?>
+ +
+
+ pop_vars();; ?> +
+
+
+
+
可能感兴趣
+
+
+ 'ads', + 'id' => '127', + 'num' => '2', +); +echo $this->_echash . $k['name'] . '|' . serialize($k) . $this->_echash; +?> +
+
+
+
+
\ No newline at end of file diff --git a/temp/compiled/header_region_style.lbi.php b/temp/compiled/header_region_style.lbi.php new file mode 100644 index 0000000..7a7c66e --- /dev/null +++ b/temp/compiled/header_region_style.lbi.php @@ -0,0 +1,70 @@ +_var['area_htmlType'] != 'goods' && $this->_var['area_htmlType'] != 'exchange'): ?> + smarty_insert_scripts(array('files'=>'warehouse_area.js')); ?> + + smarty_insert_scripts(array('files'=>'warehouse.js')); ?> + + \ No newline at end of file diff --git a/temp/compiled/index.dwt.php b/temp/compiled/index.dwt.php new file mode 100644 index 0000000..11b54a8 --- /dev/null +++ b/temp/compiled/index.dwt.php @@ -0,0 +1,413 @@ + + + + + + + +<?php echo $this->_var['page_title']; ?> + + + + + + + + + + + +smarty_insert_scripts(array('files'=>'jquery-1.9.1.min.js,jquery.json.js,transport_jquery.js,cart_common.js,cart_quick_links.js')); ?> + + + + + + + + + + + + + +fetch('library/page_header_index.lbi'); ?> + +
+
+
+
+
+
    +
  • 热门推荐
  • +
  • 疯狂抢购
  • +
  • 商城推荐
  • +
  • 热评商品
  • +
+
+
+
+ +fetch('library/recommend_hot.lbi'); ?> + +
+
+ +fetch('library/recommend_promotion.lbi'); ?> + +
+
+ +fetch('library/recommend_best.lbi'); ?> + +
+
+ +fetch('library/recommend_new.lbi'); ?> + +
+
+
+
+ fetch('library/index_group_ad.lbi'); ?> +
+
+ fetch('library/index_brand_ad.lbi'); ?> +
+ +assign('cat_goods',$this->_var['cat_goods_8']); ?>assign('goods_cat',$this->_var['goods_cat_8']); ?>fetch('library/cat_goods.lbi'); ?> +assign('cat_goods',$this->_var['cat_goods_12']); ?>assign('goods_cat',$this->_var['goods_cat_12']); ?>fetch('library/cat_goods.lbi'); ?> +assign('cat_goods',$this->_var['cat_goods_6']); ?>assign('goods_cat',$this->_var['goods_cat_6']); ?>fetch('library/cat_goods.lbi'); ?> +assign('cat_goods',$this->_var['cat_goods_3']); ?>assign('goods_cat',$this->_var['goods_cat_3']); ?>fetch('library/cat_goods.lbi'); ?> + +
+
+
+
+ fetch('library/guess_you_like.lbi'); ?> +
+
+ +fetch('library/page_footer.lbi'); ?> +
+
    +
  • +
  • +
  • +
  • +
+
+
+
+
+
+ +
+
+ 'user_menu_position', +); +echo $this->_echash . $k['name'] . '|' . serialize($k) . $this->_echash; +?> + + + + + + + diff --git a/temp/compiled/index_ad.lbi.php b/temp/compiled/index_ad.lbi.php new file mode 100644 index 0000000..24c2564 --- /dev/null +++ b/temp/compiled/index_ad.lbi.php @@ -0,0 +1,8 @@ + + 'get_adv_child', + 'ad_arr' => $this->_var['index_ad'], +); +echo $this->_echash . $k['name'] . '|' . serialize($k) . $this->_echash; +?> \ No newline at end of file diff --git a/temp/compiled/index_ad_position.lbi.php b/temp/compiled/index_ad_position.lbi.php new file mode 100644 index 0000000..ce906ca --- /dev/null +++ b/temp/compiled/index_ad_position.lbi.php @@ -0,0 +1,10 @@ + +
    + _var['ad_child']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'ad');$this->_foreach['noad'] = array('total' => count($_from), 'iteration' => 0); +if ($this->_foreach['noad']['total'] > 0): + foreach ($_from AS $this->_var['ad']): + $this->_foreach['noad']['iteration']++; +?> +
  • _var['ad']['link_color']): ?>style="background:_var['ad']['link_color']; ?>;">
  • + pop_vars();; ?> +
\ No newline at end of file diff --git a/temp/compiled/index_banner_group_ad.lbi.php b/temp/compiled/index_banner_group_ad.lbi.php new file mode 100644 index 0000000..e770cc6 --- /dev/null +++ b/temp/compiled/index_banner_group_ad.lbi.php @@ -0,0 +1,10 @@ + + 'get_adv_child', + 'ad_arr' => $this->_var['index_banner_group'], + 'warehouse_id' => $this->_var['warehouse_id'], + 'area_id' => $this->_var['area_id'], +); +echo $this->_echash . $k['name'] . '|' . serialize($k) . $this->_echash; +?> \ No newline at end of file diff --git a/temp/compiled/index_banner_group_list.lbi.php b/temp/compiled/index_banner_group_list.lbi.php new file mode 100644 index 0000000..d8d9b43 --- /dev/null +++ b/temp/compiled/index_banner_group_list.lbi.php @@ -0,0 +1,33 @@ + +_var['prom_ad']): ?> +
+

限时抢购

+
+
    + _var['prom_ad']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'ad');$this->_foreach['noad'] = array('total' => count($_from), 'iteration' => 0); +if ($this->_foreach['noad']['total'] > 0): + foreach ($_from AS $this->_var['ad']): + $this->_foreach['noad']['iteration']++; +?> +
  • +
    + 00000000秒 +
    +
    + +
    + _var['ad']['goods_info']['promote_price']): ?>_var['ad']['goods_info']['promote_price']; ?>_var['ad']['goods_info']['shop_price']; ?> + _var['ad']['goods_info']['market_price']; ?> +
    +
    + 立即抢 > +
    _var['ad']['goods_info']['sales_volume']) ? '0' : $this->_var['ad']['goods_info']['sales_volume']; ?>人已抢购
    +
    +
  • + pop_vars();; ?> +
+ + +
+
+ \ No newline at end of file diff --git a/temp/compiled/index_brand_ad.lbi.php b/temp/compiled/index_brand_ad.lbi.php new file mode 100644 index 0000000..e05948d --- /dev/null +++ b/temp/compiled/index_brand_ad.lbi.php @@ -0,0 +1,20 @@ + +
+ +
+ 'recommend_brands', + 'num' => '14', +); +echo $this->_echash . $k['name'] . '|' . serialize($k) . $this->_echash; +?> + 'get_adv_child', + 'ad_arr' => $this->_var['index_brand_banner'], +); +echo $this->_echash . $k['name'] . '|' . serialize($k) . $this->_echash; +?> +
+
diff --git a/temp/compiled/index_brand_banner.lbi.php b/temp/compiled/index_brand_banner.lbi.php new file mode 100644 index 0000000..f06025f --- /dev/null +++ b/temp/compiled/index_brand_banner.lbi.php @@ -0,0 +1,17 @@ + +_var['ad_child']): ?> +
+
+
    + _var['ad_child']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'ad');$this->_foreach['noad'] = array('total' => count($_from), 'iteration' => 0); +if ($this->_foreach['noad']['total'] > 0): + foreach ($_from AS $this->_var['ad']): + $this->_foreach['noad']['iteration']++; +?> +
  • + pop_vars();; ?> +
+
+
    +
    + \ No newline at end of file diff --git a/temp/compiled/index_brand_street.lbi.php b/temp/compiled/index_brand_street.lbi.php new file mode 100644 index 0000000..2bf1302 --- /dev/null +++ b/temp/compiled/index_brand_street.lbi.php @@ -0,0 +1,16 @@ + +_var['recommend_brands']): ?> +
    +
    +
      + _var['recommend_brands']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'brand');if (count($_from)): + foreach ($_from AS $this->_var['brand']): +?> +
    • <?php echo $this->_var['brand']['brand_name']; ?>
    • + pop_vars();; ?> +
    +
    + + +
    + \ No newline at end of file diff --git a/temp/compiled/index_cat_brand_ad.lbi.php b/temp/compiled/index_cat_brand_ad.lbi.php new file mode 100644 index 0000000..5e069c6 --- /dev/null +++ b/temp/compiled/index_cat_brand_ad.lbi.php @@ -0,0 +1,21 @@ + +
    +
      + _var['brands_ad']['brands']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'brand');$this->_foreach['cat_brand'] = array('total' => count($_from), 'iteration' => 0); +if ($this->_foreach['cat_brand']['total'] > 0): + foreach ($_from AS $this->_var['brand']): + $this->_foreach['cat_brand']['iteration']++; +?> +
    • + +
    • + pop_vars();; ?> +
    +
    +
    + _var['brands_ad']['ad_position']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('pkey', 'posti');if (count($_from)): + foreach ($_from AS $this->_var['pkey'] => $this->_var['posti']): +?> + + pop_vars();; ?> +
    diff --git a/temp/compiled/index_cat_topic.lbi.php b/temp/compiled/index_cat_topic.lbi.php new file mode 100644 index 0000000..70bf80f --- /dev/null +++ b/temp/compiled/index_cat_topic.lbi.php @@ -0,0 +1,8 @@ + +_var['category_topic']): ?> +_var['category_topic']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'topic');if (count($_from)): + foreach ($_from AS $this->_var['topic']): +?> +_var['topic']['topic_name']; ?>> +pop_vars();; ?> + \ No newline at end of file diff --git a/temp/compiled/index_cat_tree.lbi.php b/temp/compiled/index_cat_tree.lbi.php new file mode 100644 index 0000000..a2af61b --- /dev/null +++ b/temp/compiled/index_cat_tree.lbi.php @@ -0,0 +1,40 @@ + +_var['child_tree']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'child');$this->_foreach['nocat_id'] = array('total' => count($_from), 'iteration' => 0); +if ($this->_foreach['nocat_id']['total'] > 0): + foreach ($_from AS $this->_var['child']): + $this->_foreach['nocat_id']['iteration']++; +?> +
    +
    _var['child']['name']); ?>>
    +
    + _var['child']['cat_id']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'childer');$this->_foreach['nochild_cat'] = array('total' => count($_from), 'iteration' => 0); +if ($this->_foreach['nochild_cat']['total'] > 0): + foreach ($_from AS $this->_var['childer']): + $this->_foreach['nochild_cat']['iteration']++; +?> + _var['childer']['name']); ?> + pop_vars();; ?> +
    +
    +pop_vars();; ?> + +
    +
      + _var['brands']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'brand');$this->_foreach['cat_brand'] = array('total' => count($_from), 'iteration' => 0); +if ($this->_foreach['cat_brand']['total'] > 0): + foreach ($_from AS $this->_var['brand']): + $this->_foreach['cat_brand']['iteration']++; +?> +
    • + +
    • + pop_vars();; ?> +
    +
    +
    + _var['ad_position']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('pkey', 'posti');if (count($_from)): + foreach ($_from AS $this->_var['pkey'] => $this->_var['posti']): +?> + + pop_vars();; ?> +
    diff --git a/temp/compiled/index_group_ad.lbi.php b/temp/compiled/index_group_ad.lbi.php new file mode 100644 index 0000000..b2740e2 --- /dev/null +++ b/temp/compiled/index_group_ad.lbi.php @@ -0,0 +1,8 @@ + + 'get_adv_child', + 'ad_arr' => $this->_var['index_group_banner'], +); +echo $this->_echash . $k['name'] . '|' . serialize($k) . $this->_echash; +?> \ No newline at end of file diff --git a/temp/compiled/index_group_banner.lbi.php b/temp/compiled/index_group_banner.lbi.php new file mode 100644 index 0000000..21643b7 --- /dev/null +++ b/temp/compiled/index_group_banner.lbi.php @@ -0,0 +1,24 @@ + +_var['ad_child']): ?> +
    +
      + _var['ad_child']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'ad');$this->_foreach['noad'] = array('total' => count($_from), 'iteration' => 0); +if ($this->_foreach['noad']['total'] > 0): + foreach ($_from AS $this->_var['ad']): + $this->_foreach['noad']['iteration']++; +?> +
    • + +
      +
      + 00000000秒 +
      +
      +
    • + pop_vars();; ?> +
    + + + +
    + \ No newline at end of file diff --git a/temp/compiled/load_cat_goods.lbi.php b/temp/compiled/load_cat_goods.lbi.php new file mode 100644 index 0000000..a535317 --- /dev/null +++ b/temp/compiled/load_cat_goods.lbi.php @@ -0,0 +1,135 @@ + +_var['get_adv']; ?> + +
    +
    +
    +

    _var['goods_cat']['floor_sort_order']; ?>F'>_var['goods_cat']['name']; ?>

    +
      + _var['goods_cat']['goods_level2']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'goods_level2');$this->_foreach['foo'] = array('total' => count($_from), 'iteration' => 0); +if ($this->_foreach['foo']['total'] > 0): + foreach ($_from AS $this->_var['key'] => $this->_var['goods_level2']): + $this->_foreach['foo']['iteration']++; +?> + _var['key'] < 2): ?> +
    • _foreach['foo']['iteration'] == 1): ?>class="on">_var['goods_level2']['cat_name']; ?>
    • + + pop_vars();; ?> +
    +
    +
    +
    +
    +
    + _var['cat_goods_banner']; ?> +
    +
      + + +
      + + _var['brands_theme2']): ?> +
      +
      + _var['brands_theme2']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key1', 'brands');$this->_foreach['b_foo1'] = array('total' => count($_from), 'iteration' => 0); +if ($this->_foreach['b_foo1']['total'] > 0): + foreach ($_from AS $this->_var['key1'] => $this->_var['brands']): + $this->_foreach['b_foo1']['iteration']++; +?> +
        + _var['brands']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key2', 'brands');$this->_foreach['b_foo2'] = array('total' => count($_from), 'iteration' => 0); +if ($this->_foreach['b_foo2']['total'] > 0): + foreach ($_from AS $this->_var['key2'] => $this->_var['brands']): + $this->_foreach['b_foo2']['iteration']++; +?> + _foreach['b_foo2']['iteration'] == $this->_foreach['b_foo2']['total'])): ?> class="last"> + pop_vars();; ?> +
      + pop_vars();; ?> +
      + + + +
      + +
      +
      +
      + _var['goods_cat']['goods_level3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'goods_level3');$this->_foreach['foo'] = array('total' => count($_from), 'iteration' => 0); +if ($this->_foreach['foo']['total'] > 0): + foreach ($_from AS $this->_var['key'] => $this->_var['goods_level3']): + $this->_foreach['foo']['iteration']++; +?> + _var['key'] < 2): ?> +
      _foreach['foo']['iteration'] <= 1)): ?>style="display:none"> +
        + _var['goods_level3']['goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods');$this->_foreach['foo'] = array('total' => count($_from), 'iteration' => 0); +if ($this->_foreach['foo']['total'] > 0): + foreach ($_from AS $this->_var['goods']): + $this->_foreach['foo']['iteration']++; +?> +
      • +
        + +
        + + _var['goods']['promote_price'] != ''): ?> + _var['goods']['promote_price']; ?> + + _var['goods']['shop_price']; ?> + + + _var['goods']['market_price']; ?> +
        +
      • + pop_vars();; ?> +
      +
      + + pop_vars();; ?> +
      +
      +
      + _var['cat_goods_hot']; ?> +
      +
      \ No newline at end of file diff --git a/temp/compiled/login_banner.lbi.php b/temp/compiled/login_banner.lbi.php new file mode 100644 index 0000000..6bf3282 --- /dev/null +++ b/temp/compiled/login_banner.lbi.php @@ -0,0 +1,14 @@ + +_var['ad_child']): ?> +
      +
        + _var['ad_child']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'ad');$this->_foreach['noad'] = array('total' => count($_from), 'iteration' => 0); +if ($this->_foreach['noad']['total'] > 0): + foreach ($_from AS $this->_var['ad']): + $this->_foreach['noad']['iteration']++; +?> +
      • + pop_vars();; ?> +
      +
      + \ No newline at end of file diff --git a/temp/compiled/member_info.lbi.php b/temp/compiled/member_info.lbi.php new file mode 100644 index 0000000..7558300 --- /dev/null +++ b/temp/compiled/member_info.lbi.php @@ -0,0 +1,12 @@ + +_var['user_info']): ?> +您好 + + _var['user_info']['username']; ?>,欢迎来到 + _var['shop_name']; ?> + + +[_var['lang']['user_logout']; ?>] + +注册 + \ No newline at end of file diff --git a/temp/compiled/order_total.lbi.php b/temp/compiled/order_total.lbi.php new file mode 100644 index 0000000..c4e7e3d --- /dev/null +++ b/temp/compiled/order_total.lbi.php @@ -0,0 +1,197 @@ +smarty_insert_scripts(array('files'=>'transport_jquery.js,utils.js')); ?> + +
      +
      +
      +
      + _var['lang']['goods_all_price']; ?>: + _var['total']['goods_price_formated']; ?> +
      + _var['total']['discount'] > 0): ?> +
      + _var['lang']['discount']; ?>: + -_var['total']['discount_formated']; ?> +
      + + _var['total']['tax'] > 0): ?> +
      + _var['lang']['tax']; ?>: + +_var['total']['tax_formated']; ?> +
      + + _var['total']['shipping_fee'] > 0): ?> +
      + _var['lang']['shipping_fee']; ?>: + + _var['total']['shipping_fee_formated']; ?> + +
      + + + _var['total']['shipping_insure'] > 0): ?> +
      + _var['lang']['insure_fee']; ?>: + +_var['total']['shipping_insure_formated']; ?> +
      + + _var['total']['pay_fee'] > 0): ?> +
      + _var['lang']['pay_fee']; ?>: + +_var['total']['pay_fee_formated']; ?> +
      + + _var['total']['pack_fee'] > 0): ?> +
      + _var['lang']['pack_fee']; ?>: + +_var['total']['pack_fee_formated']; ?> +
      + + _var['total']['card_fee'] > 0): ?> +
      + _var['lang']['card_fee']; ?>: + +_var['total']['card_fee_formated']; ?> +
      + + + _var['total']['surplus'] > 0 || $this->_var['total']['integral'] > 0 || $this->_var['total']['bonus'] > 0): ?> + _var['total']['surplus'] > 0): ?> +
      + _var['lang']['use_surplus']; ?>: + -_var['total']['surplus_formated']; ?> +
      + + _var['total']['integral'] > 0): ?> +
      + _var['lang']['use_integral']; ?>: + -_var['total']['integral_formated']; ?> +
      + + _var['total']['bonus'] > 0): ?> +
      + _var['lang']['use_bonus']; ?>: + -_var['total']['bonus_formated']; ?> +
      + + +
      +
      +
      +
      +
      +
      + +
      + +
      + + + + + + _var['total']['exchange_integral']): ?> + _var['lang']['notice_eg_integral']; ?> + _var['total']['exchange_integral']; ?> + +    + + + _var['lang']['total_fee']; ?>: + _var['total']['amount_formated']; ?> + +
      已选择_var['cart_goods_number']; ?>件商品
      + _var['is_group_buy']): ?>
      _var['lang']['notice_gb_order_amount']; ?>
      +
      +
      +
      +
      +

      寄送至:_var['consignee']['consignee_address']; ?>

      +

      收货人:_var['consignee']['consignee']; ?> _var['consignee']['mobile']; ?>

      +
      +
      +
      + + + + diff --git a/temp/compiled/page_footer.lbi.php b/temp/compiled/page_footer.lbi.php new file mode 100644 index 0000000..64fa636 --- /dev/null +++ b/temp/compiled/page_footer.lbi.php @@ -0,0 +1,147 @@ + + + + +_var['suspension_two']): ?> + +_var['suspension_two']; ?> + + + + diff --git a/temp/compiled/page_footer_flow.lbi.php b/temp/compiled/page_footer_flow.lbi.php new file mode 100644 index 0000000..46c09e4 --- /dev/null +++ b/temp/compiled/page_footer_flow.lbi.php @@ -0,0 +1,54 @@ + + + \ No newline at end of file diff --git a/temp/compiled/page_header_flow.lbi.php b/temp/compiled/page_header_flow.lbi.php new file mode 100644 index 0000000..e2c3081 --- /dev/null +++ b/temp/compiled/page_header_flow.lbi.php @@ -0,0 +1,87 @@ + +smarty_insert_scripts(array('files'=>'suggest.js')); ?> + +
      + + +
      \ No newline at end of file diff --git a/temp/compiled/page_header_index.lbi.php b/temp/compiled/page_header_index.lbi.php new file mode 100644 index 0000000..68046ed --- /dev/null +++ b/temp/compiled/page_header_index.lbi.php @@ -0,0 +1,214 @@ + +smarty_insert_scripts(array('files'=>'suggest.js,jquery.lazyload.js')); ?> + 'get_adv', + 'logo_name' => $this->_var['top_banner'], +); +echo $this->_echash . $k['name'] . '|' . serialize($k) . $this->_echash; +?> + + +
      + +
      + +
      +
      +
      +
      +
      + + \ No newline at end of file diff --git a/temp/compiled/page_header_user.lbi.php b/temp/compiled/page_header_user.lbi.php new file mode 100644 index 0000000..1e862f5 --- /dev/null +++ b/temp/compiled/page_header_user.lbi.php @@ -0,0 +1,195 @@ + +smarty_insert_scripts(array('files'=>'suggest.js')); ?> + +
      + +
      + +
      + + + + + + diff --git a/temp/compiled/position_get_adv.lbi.php b/temp/compiled/position_get_adv.lbi.php new file mode 100644 index 0000000..f0628c7 --- /dev/null +++ b/temp/compiled/position_get_adv.lbi.php @@ -0,0 +1,21 @@ + +_var['ad_posti']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'posti');if (count($_from)): + foreach ($_from AS $this->_var['key'] => $this->_var['posti']): +?> +_var['posti']['posti_type'] == 'floor_banner'): ?> +
      _var['posti']['link_color']): ?>style="background:_var['posti']['link_color']; ?>;"> +
      + +
      +
      +_var['posti']['posti_type'] == 'top_banner'): ?> +
      _var['posti']['link_color']): ?>style="background:_var['posti']['link_color']; ?>;"> +
      + +
      +
      +
      + + + +pop_vars();; ?> \ No newline at end of file diff --git a/temp/compiled/position_get_adv_small.lbi.php b/temp/compiled/position_get_adv_small.lbi.php new file mode 100644 index 0000000..1f050ec --- /dev/null +++ b/temp/compiled/position_get_adv_small.lbi.php @@ -0,0 +1,7 @@ +
      + _var['ad_child']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'child');if (count($_from)): + foreach ($_from AS $this->_var['child']): +?> + + pop_vars();; ?> +
      diff --git a/temp/compiled/recommend_best.lbi.php b/temp/compiled/recommend_best.lbi.php new file mode 100644 index 0000000..51d08ff --- /dev/null +++ b/temp/compiled/recommend_best.lbi.php @@ -0,0 +1,23 @@ + +_var['best_goods']): ?> +
      +
      +
        + _var['best_goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods_0_76795100_1689900044');if (count($_from)): + foreach ($_from AS $this->_var['goods_0_76795100_1689900044']): +?> +
      • +
        + +
        + _var['goods_0_76795100_1689900044']['shop_price']; ?> + _var['goods_0_76795100_1689900044']['market_price']; ?> +
        +
      • + pop_vars();; ?> +
      + + +
      +
      + \ No newline at end of file diff --git a/temp/compiled/recommend_hot.lbi.php b/temp/compiled/recommend_hot.lbi.php new file mode 100644 index 0000000..115525f --- /dev/null +++ b/temp/compiled/recommend_hot.lbi.php @@ -0,0 +1,30 @@ + +_var['hot_goods']): ?> +
      +
      +
        + _var['hot_goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods');if (count($_from)): + foreach ($_from AS $this->_var['goods']): +?> +
      • +
        + +
        + + _var['goods']['promote_price'] != ''): ?> + _var['goods']['promote_price']; ?> + + _var['goods']['shop_price']; ?> + + + _var['goods']['market_price']; ?> +
        +
      • + pop_vars();; ?> +
      + + +
      +
      + + diff --git a/temp/compiled/recommend_new.lbi.php b/temp/compiled/recommend_new.lbi.php new file mode 100644 index 0000000..b57eb94 --- /dev/null +++ b/temp/compiled/recommend_new.lbi.php @@ -0,0 +1,29 @@ + +_var['new_goods']): ?> +
      +
      +
        + _var['new_goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods_0_78361600_1689900044');if (count($_from)): + foreach ($_from AS $this->_var['goods_0_78361600_1689900044']): +?> +
      • +
        + +
        + + _var['goods_0_78361600_1689900044']['promote_price'] != ''): ?> + _var['goods_0_78361600_1689900044']['promote_price']; ?> + + _var['goods_0_78361600_1689900044']['shop_price']; ?> + + + _var['goods_0_78361600_1689900044']['market_price']; ?> +
        +
      • + pop_vars();; ?> +
      + + +
      +
      + \ No newline at end of file diff --git a/temp/compiled/recommend_promotion.lbi.php b/temp/compiled/recommend_promotion.lbi.php new file mode 100644 index 0000000..0ee22e8 --- /dev/null +++ b/temp/compiled/recommend_promotion.lbi.php @@ -0,0 +1,31 @@ + +_var['promotion_goods']): ?> +
      +
      +
        + _var['promotion_goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods_0_76061700_1689900044');$this->_foreach['promotion_foreach'] = array('total' => count($_from), 'iteration' => 0); +if ($this->_foreach['promotion_foreach']['total'] > 0): + foreach ($_from AS $this->_var['goods_0_76061700_1689900044']): + $this->_foreach['promotion_foreach']['iteration']++; +?> +
      • +
        + +
        + + _var['goods_0_76061700_1689900044']['promote_price'] != ''): ?> + _var['goods_0_76061700_1689900044']['promote_price']; ?> + + _var['goods_0_76061700_1689900044']['shop_price']; ?> + + + _var['goods_0_76061700_1689900044']['market_price']; ?> +
        +
      • + pop_vars();; ?> +
      + + +
      +
      + \ No newline at end of file diff --git a/temp/compiled/user_clips.dwt.php b/temp/compiled/user_clips.dwt.php new file mode 100644 index 0000000..72fdb2c --- /dev/null +++ b/temp/compiled/user_clips.dwt.php @@ -0,0 +1,1445 @@ + + + + +<?php echo $this->_var['page_title']; ?> + + + + +smarty_insert_scripts(array('files'=>'jquery-1.9.1.min.js,jquery.json.js,transport_jquery.js,common.js,utils.js')); ?> + + + + + + + + + + + + + + +fetch('library/page_header_user.lbi'); ?> +_var['action'] == 'default'): ?> +
      + +
      + +
      +
      + fetch('library/user_menu.lbi'); ?> +
      + + _var['action'] == 'default'): ?> +
      + +
      +
      +
      +

      近期订单

      + 查看所有订单 > +
      +
      +
      +
      订单编号
      +
      状态
      +
      总金额
      +
      收货人
      +
      下单日期
      +
      操作
      +
      +
      + _var['order_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'order');if (count($_from)): + foreach ($_from AS $this->_var['order']): +?> +
      + +
      _var['order']['order_status']; ?>
      +
      _var['order']['total_fee']; ?>
      +
      _var['order']['consignee']; ?>
      +
      _var['order']['order_time']; ?>
      + +
      + pop_vars();; ?> +
      +
      +
      +
      +
      +

      近期收藏

      + 查看所有收藏 > +
      + + + + + + + + + + _var['collection_goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods');if (count($_from)): + foreach ($_from AS $this->_var['goods']): +?> + + + + + + + + pop_vars();; ?> + +
      商品单价收藏时间操作删除
      + + + + _var['goods']['promote_price'] != ''): ?> + _var['goods']['promote_price']; ?> + + _var['goods']['shop_price']; ?> + + + _var['goods']['add_time']; ?>立即购买
      +
      + + _var['guess_goods']): ?> +
      +
      +

      猜你喜欢

      +
      +
      +
        + _var['guess_goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods');if (count($_from)): + foreach ($_from AS $this->_var['goods']): +?> +
      • +
        +
        + +
        +
        _var['goods']['shop_price']; ?>
        + + +
        销售量:_var['goods']['sales_volume']; ?>
        +
        + _var['goods']['comment_percent']): ?>_var['goods']['comment_percent']; ?>% +
        +
        +
      • + pop_vars();; ?> +
      +
      +
      + +
      +
      + + + + _var['action'] == 'booking_list'): ?> +
      +

      缺货登记

      +
      +
      + 您有 _var['pager']['record_count']; ?> 件缺货商品 +
      +
      + + + + + + + + + + _var['booking_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'item');if (count($_from)): + foreach ($_from AS $this->_var['item']): +?> + + + + + + + + + pop_vars();; ?> + +
      订购商品订购数量登记时间处理备注操作
      + + x_var['item']['goods_number']; ?>_var['item']['booking_time']; ?>_var['item']['dispose_note']; ?>
      +
      +
      +
      + + + + _var['action'] == 'add_booking'): ?> +
      +

      缺货登记

      +
      +
      +
      +
      +
      +
      +
      _var['lang']['booking_goods_name']; ?>:
      +
      _var['info']['goods_name']; ?>
      +
      +
      +
      _var['lang']['booking_amount']; ?>:
      +
      +
      +
      +
      _var['lang']['describe']; ?>:
      +
      +
      +
      +
      _var['lang']['contact_username']; ?>:
      +
      +
      +
      +
      _var['lang']['email_address']; ?>:
      +
      +
      +
      +
      _var['lang']['contact_phone']; ?>:
      +
      +
      +
      +
       
      +
      + + + + + +
      +
      +
      +
      +
      +
      +
      + + + + _var['action'] == 'collection_list' || $this->_var['action'] == 'store_list'): ?> +
      +
      + +
      +
      +
      + _var['action'] == 'collection_list'): ?> +
      + fetch('library/collection_goods_list.lbi'); ?> +
      + + _var['action'] == 'store_list'): ?> +
      + fetch('library/collection_store_list.lbi'); ?> +
      + +
      +
      +
      + + + + + + _var['action'] == 'message_list'): ?> +
      +
      +
      +
      +
      + _var['order_info']): ?> +
      +
      _var['lang']['order_number']; ?>:
      + +
      + + + +
      +
      _var['lang']['message_type']; ?>:
      +
      +
      + + +
      +
      + + +
      +
      + + +
      +
      + + +
      +
      + + +
      +
      +
      + +
      +
      留言主题:
      +
      +
      +
      +
      留言内容:
      +
      +
      +
      +
      上传文件:
      +
      + + + + 仅支持gif、jpg、png、word、excel、txt、zip、ppt、pdf +
      +
      +
      +
      + + +
      +
      +
      +
      +
      + _var['message_list']): ?> +

      _var['lang']['label_message']; ?>

      +
      + _var['message_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'message');$this->_foreach['message'] = array('total' => count($_from), 'iteration' => 0); +if ($this->_foreach['message']['total'] > 0): + foreach ($_from AS $this->_var['key'] => $this->_var['message']): + $this->_foreach['message']['iteration']++; +?> +
      +

      _var['message']['msg_type']; ?>

      +
      +
      +

      _var['message']['msg_title']; ?>

      + 删除 + _var['message']['msg_time']; ?> +
      +
      _var['message']['msg_content']; ?> + _var['message']['message_img']): ?> + + +
      + _var['message']['re_msg_content']): ?> + _var['lang']['shopman_reply']; ?> (_var['message']['re_msg_time']; ?>)
      + _var['message']['re_msg_content']; ?> + +
      +
      +
      + pop_vars();; ?> + _var['message_list']): ?> +
      + fetch('library/pages.lbi'); ?> +
      + +
      + +
      +
      + + + + _var['action'] == 'affiliate'): ?> +
      +

      分成明细

      +
      _var['affiliate_intro']; ?>
      +
      +
      +
      +

      我的推荐会员

      +
      +
      +
      +
      +
      等级
      +
      人数
      +
      积分分成百分比
      +
      现金分成百分比
      +
      +
      +
      + _var['affdb']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('level', 'val');$this->_foreach['affdb'] = array('total' => count($_from), 'iteration' => 0); +if ($this->_foreach['affdb']['total'] > 0): + foreach ($_from AS $this->_var['level'] => $this->_var['val']): + $this->_foreach['affdb']['iteration']++; +?> +
      +
      _var['level']; ?>
      +
      _var['val']['num']; ?>
      +
      _var['val']['point']; ?>
      +
      _var['val']['money']; ?>
      +
      + pop_vars();; ?> +
      +
      +
      + _var['logdb']): ?> +
      +
      +

      分成规则

      +
      +
      +
      +
      +
      订单号
      +
      现金分成
      +
      积分分成
      +
      分成模式
      +
      分成状态
      +
      +
      +
      + _var['logdb']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'val');$this->_foreach['logdb'] = array('total' => count($_from), 'iteration' => 0); +if ($this->_foreach['logdb']['total'] > 0): + foreach ($_from AS $this->_var['val']): + $this->_foreach['logdb']['iteration']++; +?> +
      +
      _var['val']['order_sn']; ?>
      +
      _var['val']['money']; ?>
      +
      _var['val']['point']; ?>
      +
      _var['val']['separate_type'] == 1 || $this->_var['val']['separate_type'] === 0): ?>_var['lang']['affiliate_type'][$this->_var['val']['separate_type']]; ?>_var['lang']['affiliate_type'][$this->_var['affiliate_type']]; ?>
      +
      _var['lang']['affiliate_stats'][$this->_var['val']['is_separate']]; ?>
      +
      + pop_vars();; ?> +
      +
      +
      +
      + + + + +
      +
      +
      + _var['lang']['pager_1']; ?>_var['pager']['record_count']; ?>_var['lang']['pager_2']; ?>_var['lang']['pager_3']; ?>_var['pager']['page_count']; ?>_var['lang']['pager_4']; ?> + + _var['lang']['page_first']; ?> + _var['lang']['page_prev']; ?> + _var['lang']['page_next']; ?> + _var['lang']['page_last']; ?> + + + +
      +
      +
      + +
      +
      +
      +
      +
      + +
      +
      +

      推荐代码

      +
      +
      +
      +
      网页签名
      +
      +
      + +
      + +
      + +
      +
      +
      +
      +
      +
      +
      + + + + + _var['action'] == 'comment_list'): ?> + smarty_insert_scripts(array('files'=>'jquery.uploadify.min.js')); ?> + smarty_insert_scripts(array('files'=>'ecmoban.js')); ?> +
      +

      评论/晒单

      +
      +
      +
        +
      • _var['sign'] == 0): ?>class="curr"> + 待商品评价 + _var['signNum0']; ?> +
      • +
      • _var['sign'] == 1): ?>class="curr"> + 待追加图片 + _var['signNum1']; ?> +
      • +
      • _var['sign'] == 2): ?>class="curr"> + 已评价 + _var['signNum2']; ?> +
      • +
      +
      +
      + _var['sign'] == 0): ?> + + + + + + + + + + + + + + + _var['comment_list']): ?> + _var['comment_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'item');$this->_foreach['foo'] = array('total' => count($_from), 'iteration' => 0); +if ($this->_foreach['foo']['total'] > 0): + foreach ($_from AS $this->_var['item']): + $this->_foreach['foo']['iteration']++; +?> + + + + pop_vars();; ?> + + + + + + + +
      商品信息购买时间评价状态
      + + +
      +
      + fetch('library/comments_form.lbi'); ?> +
      +
      您还没有完成的订单-_-
      + + _var['sign'] == 1): ?> + + + + + + + + + + + + + + + _var['comment_list']): ?> + _var['comment_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'item');$this->_foreach['foo'] = array('total' => count($_from), 'iteration' => 0); +if ($this->_foreach['foo']['total'] > 0): + foreach ($_from AS $this->_var['item']): + $this->_foreach['foo']['iteration']++; +?> + + + + pop_vars();; ?> + + + + + + +
      商品信息购买时间评价状态
      + + +
      +
      + fetch('library/comments_form.lbi'); ?> +
      + _var['item']['is_comm']): ?> + +
      您还没有完成的订单-_-
      + + _var['sign'] == 2): ?> + + + + + + + + + + + + + + + _var['comment_list']): ?> + _var['comment_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'item');if (count($_from)): + foreach ($_from AS $this->_var['item']): +?> + + + + pop_vars();; ?> + + + + + + +
      商品信息购买时间评价状态
      + + +
      +
      + fetch('library/comments_form.lbi'); ?> +
      +
      您还没有完成的订单-_-
      + +
      + _var['comment_list']): ?> +
      + fetch('library/pages.lbi'); ?> +
      + + +
      +
      + + + + _var['action'] == 'commented_view'): ?> + smarty_insert_scripts(array('files'=>'jquery.uploadify.min.js')); ?> + smarty_insert_scripts(array('files'=>'ecmoban.js')); ?> +
      +

      评论/晒单

      +
      +
      + + + + + + + + + + + + + + + _var['order_goods']): ?> + _var['order_goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'item');if (count($_from)): + foreach ($_from AS $this->_var['item']): +?> + + + + pop_vars();; ?> + + + + + + +
      商品信息购买时间评价状态
      + + +
      +
      + fetch('library/comments_form.lbi'); ?> +
      +
      您还没有完成的订单-_-
      +
      + _var['shop_info']['ru_id'] > 0): ?> +
      +
      +

      满意度评价

      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      _var['shop_info']['shop_name']; ?>
      电话:_var['shop_info']['kf_tel']): ?>_var['shop_info']['kf_tel']; ?>暂无
      +
      +
      +
      +
      + _var['degree_count'] == 0): ?> +
      +
      +
      +
      *商品描述相符
      +
      + + + + + + + + + + 请打分 +
      +
      +
      +
      *卖家服务态度
      +
      + + + + + + + + + + 请打分 +
      +
      +
      +
      *物流发货速度
      +
      + + + + + + + + + + 请打分 +
      +
      +
      +
      *配送人员态度
      +
      + + + + + + + + + + 请打分 +
      +
      + +
      +
      + +

      感谢您的评价

      + +
      +
      +
      +
      + +
      +
      + + + +
      +fetch('library/page_footer_flow.lbi'); ?> + +fetch('library/common_html.lbi'); ?> + +smarty_insert_scripts(array('files'=>'jquery.form.js')); ?> + + + diff --git a/temp/compiled/user_menu.lbi.php b/temp/compiled/user_menu.lbi.php new file mode 100644 index 0000000..f4760b4 --- /dev/null +++ b/temp/compiled/user_menu.lbi.php @@ -0,0 +1,36 @@ + + + \ No newline at end of file diff --git a/temp/compiled/user_menu_position.lbi.php b/temp/compiled/user_menu_position.lbi.php new file mode 100644 index 0000000..dae3443 --- /dev/null +++ b/temp/compiled/user_menu_position.lbi.php @@ -0,0 +1,114 @@ +
      + +
      + \ No newline at end of file diff --git a/temp/compiled/user_passport.dwt.php b/temp/compiled/user_passport.dwt.php new file mode 100644 index 0000000..ba1e4f5 --- /dev/null +++ b/temp/compiled/user_passport.dwt.php @@ -0,0 +1,630 @@ + + + + + + + +<?php echo $this->_var['page_title']; ?> + + + + + + + + + + +smarty_insert_scripts(array('files'=>'jquery-1.9.1.min.js,jquery.json.js,transport_jquery.js,common.js,user.js,utils.js,user_register.js')); ?> + + + + + + + + +_var['action'] == 'login'): ?> +
      +
      +
      + + +
      +
      +
      +
      + 'get_adv_child', + 'ad_arr' => $this->_var['login_banner'], +); +echo $this->_echash . $k['name'] . '|' . serialize($k) . $this->_echash; +?> +
      + + + +
      +
      +
      +
      + + + + +_var['action'] == 'register'): ?> +smarty_insert_scripts(array('files'=>'./sms/sms.js')); ?> +
      +
      +
      + + + 有账号在此登录 +
      +
      +
      +
      +
      +
      +
      +
        +
      • 邮箱注册
      • +
      • 手机注册
      • +
      +
      +
      +
      +
      +
      +
      + + +
      + +
      +
      +
      + + +
      + +
      +
      +
      + + +
      + +
      +
      +
      + + +
      + +
      + + _var['extend_info_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'field');if (count($_from)): + foreach ($_from AS $this->_var['field']): +?> + _var['field']['id'] == 6): ?> +
      +
      +
      +
      _var['lang']['passwd_question']; ?>
      +
        + _var['passwd_questions']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'val');if (count($_from)): + foreach ($_from AS $this->_var['key'] => $this->_var['val']): +?> +
      • _var['val']; ?>
      • + pop_vars();; ?> +
      +
      + +
      + +
      + +
      +
      + +
      + +
      + + _var['field']['reg_field_name'] != '手机'): ?> +
      +
      + +
      + + +
      + + + pop_vars();; ?> + + _var['enabled_captcha']): ?> +
      +
      + + captcha +
      + +
      + +
      +
      + + +
      + +
      +
      +
      + + + + + + +
      +
      +
      +
      + +
      +
      +
      +
      +
      + + + + +_var['action'] == 'get_password'): ?> + smarty_insert_scripts(array('files'=>'utils.js')); ?> + smarty_insert_scripts(array('files'=>'./sms/sms.js')); ?> + +
      +
      +
      + + + 有账号在此登录 +
      +
      +
      +
      +
      +
      +
      +
        +
      • 注册邮箱
      • +
      • 绑定手机
      • +
      • 注册问题
      • +
      +
      +
      +
      +
      +
      用户名不能为空
      +
      +
      + + +
      +
      +
      +
      + + +
      +
      +
      +
      + + + captcha +
      +
      +
      +
      +
      + + + + +
      +
      +
      +
      + +
      +
      +
      用户名不能为空
      +
      +
      + + +
      +
      +
      +
      + + +
      +
      +
      +
      + + 获取验证码 + +
      +
      +
      +
      + + + + +
      +
      +
      +
      +
      +
      +
      用户名不能为空
      +
      +
      + + +
      +
      + _var['extend_info_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'field');if (count($_from)): + foreach ($_from AS $this->_var['field']): +?> + _var['field']['id'] == 6): ?> +
      +
      +
      +
      _var['lang']['passwd_question']; ?>
      +
        + _var['passwd_questions']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'val');if (count($_from)): + foreach ($_from AS $this->_var['key'] => $this->_var['val']): +?> +
      • _var['val']; ?>
      • + pop_vars();; ?> +
      +
      + +
      +
      +
      +
      + +
      +
      + + + pop_vars();; ?> +
      +
      + + + captcha +
      +
      +
      +
      + + +
      +
      +
      +
      +
      +
      +
      +
      +
      + + +_var['action'] == 'reset_password'): ?> + +
      +
      +
      + + + 有账号在此登录 +
      +
      +
      +
      +
      +
      +
      +
        +
      • 新密码
      • +
      +
      +
      +
      +
      +
      +
      + + +
      +
      +
      +
      + + +
      +
      +
      +
      + + captcha +
      +
      +
      +
      + + + + +
      +
      +
      +
      +
      +
      +
      +
      +
      + +fetch('library/page_footer_flow.lbi'); ?> + + + + diff --git a/temp/index.htm b/temp/index.htm new file mode 100644 index 0000000..0519ecb --- /dev/null +++ b/temp/index.htm @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/temp/query_caches/index.htm b/temp/query_caches/index.htm new file mode 100644 index 0000000..0519ecb --- /dev/null +++ b/temp/query_caches/index.htm @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/temp/query_caches/sqlcache_config_file_8ff49d4fc2bdd854eeadd5e66e0e19fe.php b/temp/query_caches/sqlcache_config_file_8ff49d4fc2bdd854eeadd5e66e0e19fe.php new file mode 100644 index 0000000..ea6a485 --- /dev/null +++ b/temp/query_caches/sqlcache_config_file_8ff49d4fc2bdd854eeadd5e66e0e19fe.php @@ -0,0 +1,6 @@ +mysql_config_cache_file_time = 1690763352; +$this->timeline = 0; +$this->timezone = 0; +$this->platform = 'WINDOWS'; +?> \ No newline at end of file diff --git a/temp/static_caches/art_cat_pid_releate.php b/temp/static_caches/art_cat_pid_releate.php new file mode 100644 index 0000000..d03e01e --- /dev/null +++ b/temp/static_caches/art_cat_pid_releate.php @@ -0,0 +1,242 @@ + + array ( + 'cat_id' => '14', + 'cat_name' => '商家入驻流程说明', + 'cat_type' => '1', + 'keywords' => '', + 'cat_desc' => '商家入驻说明专用', + 'sort_order' => '50', + 'show_in_nav' => '0', + 'parent_id' => '0', + 'has_children' => '0', + 'aricle_num' => '7', + 'description' => 'ecmoban', + ), + 1 => + array ( + 'cat_id' => '15', + 'cat_name' => '商家入驻商家说明', + 'cat_type' => '1', + 'keywords' => '', + 'cat_desc' => '', + 'sort_order' => '50', + 'show_in_nav' => '0', + 'parent_id' => '0', + 'has_children' => '0', + 'aricle_num' => '5', + 'description' => 'ecmoban', + ), + 2 => + array ( + 'cat_id' => '4', + 'cat_name' => '3G资讯', + 'cat_type' => '1', + 'keywords' => '', + 'cat_desc' => '', + 'sort_order' => '50', + 'show_in_nav' => '0', + 'parent_id' => '0', + 'has_children' => '0', + 'aricle_num' => '4', + 'description' => NULL, + ), + 3 => + array ( + 'cat_id' => '17', + 'cat_name' => 'App', + 'cat_type' => '1', + 'keywords' => '', + 'cat_desc' => '', + 'sort_order' => '50', + 'show_in_nav' => '0', + 'parent_id' => '0', + 'has_children' => '1', + 'aricle_num' => '0', + 'description' => NULL, + ), + 4 => + array ( + 'cat_id' => '19', + 'cat_name' => '发票问题', + 'cat_type' => '1', + 'keywords' => '', + 'cat_desc' => '', + 'sort_order' => '50', + 'show_in_nav' => '0', + 'parent_id' => '0', + 'has_children' => '0', + 'aricle_num' => '1', + 'description' => '', + ), + 5 => + array ( + 'cat_id' => '12', + 'cat_name' => '站内快讯', + 'cat_type' => '1', + 'keywords' => '', + 'cat_desc' => '', + 'sort_order' => '50', + 'show_in_nav' => '0', + 'parent_id' => '0', + 'has_children' => '0', + 'aricle_num' => '6', + 'description' => '', + ), + 6 => + array ( + 'cat_id' => '1', + 'cat_name' => '系统分类', + 'cat_type' => '2', + 'keywords' => '', + 'cat_desc' => '系统保留分类', + 'sort_order' => '50', + 'show_in_nav' => '0', + 'parent_id' => '0', + 'has_children' => '2', + 'aricle_num' => '0', + 'description' => NULL, + ), + 7 => + array ( + 'cat_id' => '13', + 'cat_name' => '商城公告', + 'cat_type' => '1', + 'keywords' => '', + 'cat_desc' => '', + 'sort_order' => '50', + 'show_in_nav' => '0', + 'parent_id' => '0', + 'has_children' => '0', + 'aricle_num' => '6', + 'description' => '', + ), + 8 => + array ( + 'cat_id' => '3', + 'cat_name' => '网店帮助分类', + 'cat_type' => '4', + 'keywords' => '', + 'cat_desc' => '网店帮助分类', + 'sort_order' => '50', + 'show_in_nav' => '0', + 'parent_id' => '1', + 'has_children' => '6', + 'aricle_num' => '0', + 'description' => NULL, + ), + 9 => + array ( + 'cat_id' => '2', + 'cat_name' => '网店信息', + 'cat_type' => '3', + 'keywords' => '', + 'cat_desc' => '网店信息分类', + 'sort_order' => '50', + 'show_in_nav' => '0', + 'parent_id' => '1', + 'has_children' => '0', + 'aricle_num' => '5', + 'description' => '上海商创网络科技有限公司(ECSHOP模板堂)是ECSHOP模板与开发行业的明星企业,是ecshop行业首家股...', + ), + 10 => + array ( + 'cat_id' => '5', + 'cat_name' => '新手上路 ', + 'cat_type' => '5', + 'keywords' => '', + 'cat_desc' => '', + 'sort_order' => '1', + 'show_in_nav' => '0', + 'parent_id' => '3', + 'has_children' => '0', + 'aricle_num' => '4', + 'description' => NULL, + ), + 11 => + array ( + 'cat_id' => '7', + 'cat_name' => '配送与支付 ', + 'cat_type' => '5', + 'keywords' => '', + 'cat_desc' => '配送与支付 ', + 'sort_order' => '2', + 'show_in_nav' => '0', + 'parent_id' => '3', + 'has_children' => '0', + 'aricle_num' => '4', + 'description' => NULL, + ), + 12 => + array ( + 'cat_id' => '8', + 'cat_name' => '服务保证 ', + 'cat_type' => '5', + 'keywords' => '', + 'cat_desc' => '', + 'sort_order' => '3', + 'show_in_nav' => '0', + 'parent_id' => '3', + 'has_children' => '0', + 'aricle_num' => '3', + 'description' => NULL, + ), + 13 => + array ( + 'cat_id' => '9', + 'cat_name' => '联系我们 ', + 'cat_type' => '5', + 'keywords' => '', + 'cat_desc' => '联系我们 ', + 'sort_order' => '4', + 'show_in_nav' => '0', + 'parent_id' => '3', + 'has_children' => '0', + 'aricle_num' => '3', + 'description' => NULL, + ), + 14 => + array ( + 'cat_id' => '10', + 'cat_name' => '会员中心', + 'cat_type' => '5', + 'keywords' => '', + 'cat_desc' => '', + 'sort_order' => '5', + 'show_in_nav' => '0', + 'parent_id' => '3', + 'has_children' => '0', + 'aricle_num' => '3', + 'description' => NULL, + ), + 15 => + array ( + 'cat_id' => '20', + 'cat_name' => '商创快讯', + 'cat_type' => '5', + 'keywords' => '商创热门', + 'cat_desc' => '关注商创热门信息', + 'sort_order' => '6', + 'show_in_nav' => '0', + 'parent_id' => '3', + 'has_children' => '0', + 'aricle_num' => '7', + 'description' => '2016年3月10日,大商创多用户商城系统1.2版本正式发布并上传至线上,开放给用户免费下载安装。大商创多用户商城系统1.2版下载请点击...', + ), + 16 => + array ( + 'cat_id' => '18', + 'cat_name' => 'ios', + 'cat_type' => '1', + 'keywords' => '', + 'cat_desc' => '', + 'sort_order' => '50', + 'show_in_nav' => '0', + 'parent_id' => '17', + 'has_children' => '0', + 'aricle_num' => '0', + 'description' => NULL, + ), +); +?> \ No newline at end of file diff --git a/temp/static_caches/cat_option_static.php b/temp/static_caches/cat_option_static.php new file mode 100644 index 0000000..e8d6fbe --- /dev/null +++ b/temp/static_caches/cat_option_static.php @@ -0,0 +1,244 @@ + + array ( + 'cat_id' => '1478', + 'cat_name' => '助餐服务', + 'measure_unit' => '', + 'parent_id' => '0', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '44', + 'has_children' => '1', + 'level' => 0, + 'id' => '1478', + 'name' => '助餐服务', + ), + 1554 => + array ( + 'cat_id' => '1554', + 'cat_name' => '社区食堂', + 'measure_unit' => '', + 'parent_id' => '1478', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '50', + 'has_children' => '0', + 'level' => 1, + 'id' => '1554', + 'name' => '社区食堂', + ), + 1514 => + array ( + 'cat_id' => '1514', + 'cat_name' => '助洁服务', + 'measure_unit' => '', + 'parent_id' => '0', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '45', + 'has_children' => '3', + 'level' => 0, + 'id' => '1514', + 'name' => '助洁服务', + ), + 1556 => + array ( + 'cat_id' => '1556', + 'cat_name' => '有偿理发', + 'measure_unit' => '', + 'parent_id' => '1514', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '50', + 'has_children' => '0', + 'level' => 1, + 'id' => '1556', + 'name' => '有偿理发', + ), + 1558 => + array ( + 'cat_id' => '1558', + 'cat_name' => '保洁服务', + 'measure_unit' => '', + 'parent_id' => '1514', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '50', + 'has_children' => '0', + 'level' => 1, + 'id' => '1558', + 'name' => '保洁服务', + ), + 1555 => + array ( + 'cat_id' => '1555', + 'cat_name' => '免费理发', + 'measure_unit' => '', + 'parent_id' => '1514', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '50', + 'has_children' => '0', + 'level' => 1, + 'id' => '1555', + 'name' => '免费理发', + ), + 1553 => + array ( + 'cat_id' => '1553', + 'cat_name' => '助浴服务', + 'measure_unit' => '', + 'parent_id' => '0', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '46', + 'has_children' => '1', + 'level' => 0, + 'id' => '1553', + 'name' => '助浴服务', + ), + 1562 => + array ( + 'cat_id' => '1562', + 'cat_name' => '助浴服务', + 'measure_unit' => '', + 'parent_id' => '1553', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '50', + 'has_children' => '0', + 'level' => 1, + 'id' => '1562', + 'name' => '助浴服务', + ), + 1563 => + array ( + 'cat_id' => '1563', + 'cat_name' => '助医服务', + 'measure_unit' => '', + 'parent_id' => '0', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '48', + 'has_children' => '1', + 'level' => 0, + 'id' => '1563', + 'name' => '助医服务', + ), + 1564 => + array ( + 'cat_id' => '1564', + 'cat_name' => '陪诊就医', + 'measure_unit' => '', + 'parent_id' => '1563', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '50', + 'has_children' => '0', + 'level' => 1, + 'id' => '1564', + 'name' => '陪诊就医', + ), + 1548 => + array ( + 'cat_id' => '1548', + 'cat_name' => '便民服务', + 'measure_unit' => '', + 'parent_id' => '0', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '49', + 'has_children' => '2', + 'level' => 0, + 'id' => '1548', + 'name' => '便民服务', + ), + 1560 => + array ( + 'cat_id' => '1560', + 'cat_name' => '维修服务', + 'measure_unit' => '', + 'parent_id' => '1548', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '50', + 'has_children' => '0', + 'level' => 1, + 'id' => '1560', + 'name' => '维修服务', + ), + 1557 => + array ( + 'cat_id' => '1557', + 'cat_name' => '代买服务', + 'measure_unit' => '', + 'parent_id' => '1548', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '50', + 'has_children' => '0', + 'level' => 1, + 'id' => '1557', + 'name' => '代买服务', + ), + 1565 => + array ( + 'cat_id' => '1565', + 'cat_name' => '应急转运', + 'measure_unit' => '', + 'parent_id' => '0', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '50', + 'has_children' => '0', + 'level' => 0, + 'id' => '1565', + 'name' => '应急转运', + ), + 1566 => + array ( + 'cat_id' => '1566', + 'cat_name' => '代祭服务', + 'measure_unit' => '', + 'parent_id' => '0', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '51', + 'has_children' => '1', + 'level' => 0, + 'id' => '1566', + 'name' => '代祭服务', + ), + 1567 => + array ( + 'cat_id' => '1567', + 'cat_name' => '文明祭祀', + 'measure_unit' => '', + 'parent_id' => '1566', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '50', + 'has_children' => '0', + 'level' => 1, + 'id' => '1567', + 'name' => '文明祭祀', + ), +); +?> \ No newline at end of file diff --git a/temp/static_caches/cat_pid_releate.php b/temp/static_caches/cat_pid_releate.php new file mode 100644 index 0000000..d5d3bbf --- /dev/null +++ b/temp/static_caches/cat_pid_releate.php @@ -0,0 +1,196 @@ + + array ( + 'cat_id' => '1478', + 'cat_name' => '助餐服务', + 'measure_unit' => '', + 'parent_id' => '0', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '44', + 'has_children' => '1', + ), + 1 => + array ( + 'cat_id' => '1514', + 'cat_name' => '助洁服务', + 'measure_unit' => '', + 'parent_id' => '0', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '45', + 'has_children' => '3', + ), + 2 => + array ( + 'cat_id' => '1553', + 'cat_name' => '助浴服务', + 'measure_unit' => '', + 'parent_id' => '0', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '46', + 'has_children' => '1', + ), + 3 => + array ( + 'cat_id' => '1563', + 'cat_name' => '助医服务', + 'measure_unit' => '', + 'parent_id' => '0', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '48', + 'has_children' => '1', + ), + 4 => + array ( + 'cat_id' => '1548', + 'cat_name' => '便民服务', + 'measure_unit' => '', + 'parent_id' => '0', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '49', + 'has_children' => '2', + ), + 5 => + array ( + 'cat_id' => '1565', + 'cat_name' => '应急转运', + 'measure_unit' => '', + 'parent_id' => '0', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '50', + 'has_children' => '0', + ), + 6 => + array ( + 'cat_id' => '1566', + 'cat_name' => '代祭服务', + 'measure_unit' => '', + 'parent_id' => '0', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '51', + 'has_children' => '1', + ), + 7 => + array ( + 'cat_id' => '1554', + 'cat_name' => '社区食堂', + 'measure_unit' => '', + 'parent_id' => '1478', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '50', + 'has_children' => '0', + ), + 8 => + array ( + 'cat_id' => '1556', + 'cat_name' => '有偿理发', + 'measure_unit' => '', + 'parent_id' => '1514', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '50', + 'has_children' => '0', + ), + 9 => + array ( + 'cat_id' => '1558', + 'cat_name' => '保洁服务', + 'measure_unit' => '', + 'parent_id' => '1514', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '50', + 'has_children' => '0', + ), + 10 => + array ( + 'cat_id' => '1555', + 'cat_name' => '免费理发', + 'measure_unit' => '', + 'parent_id' => '1514', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '50', + 'has_children' => '0', + ), + 11 => + array ( + 'cat_id' => '1560', + 'cat_name' => '维修服务', + 'measure_unit' => '', + 'parent_id' => '1548', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '50', + 'has_children' => '0', + ), + 12 => + array ( + 'cat_id' => '1557', + 'cat_name' => '代买服务', + 'measure_unit' => '', + 'parent_id' => '1548', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '50', + 'has_children' => '0', + ), + 13 => + array ( + 'cat_id' => '1562', + 'cat_name' => '助浴服务', + 'measure_unit' => '', + 'parent_id' => '1553', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '50', + 'has_children' => '0', + ), + 14 => + array ( + 'cat_id' => '1564', + 'cat_name' => '陪诊就医', + 'measure_unit' => '', + 'parent_id' => '1563', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '50', + 'has_children' => '0', + ), + 15 => + array ( + 'cat_id' => '1567', + 'cat_name' => '文明祭祀', + 'measure_unit' => '', + 'parent_id' => '1566', + 'is_show' => '1', + 'show_in_nav' => '1', + 'grade' => '0', + 'sort_order' => '50', + 'has_children' => '0', + ), +); +?> \ No newline at end of file diff --git a/temp/static_caches/category_tree_brands1478.php b/temp/static_caches/category_tree_brands1478.php new file mode 100644 index 0000000..d90cb5d --- /dev/null +++ b/temp/static_caches/category_tree_brands1478.php @@ -0,0 +1,21 @@ + + array ( + ), + 'brands' => + array ( + 0 => + array ( + 'brand_id' => '202', + 'brand_name' => '无', + 'brand_logo' => 'data/brandlogo/1678562901129611341.jpg', + 'goods_num' => '2', + 'tag' => '1', + 'user_id' => '105', + 'url' => 'category.php?id=1478&brand=202', + 'selected' => 0, + ), + ), +); +?> \ No newline at end of file diff --git a/temp/static_caches/category_tree_brands1514.php b/temp/static_caches/category_tree_brands1514.php new file mode 100644 index 0000000..f3ecd66 --- /dev/null +++ b/temp/static_caches/category_tree_brands1514.php @@ -0,0 +1,21 @@ + + array ( + ), + 'brands' => + array ( + 0 => + array ( + 'brand_id' => '202', + 'brand_name' => '无', + 'brand_logo' => 'data/brandlogo/1678562901129611341.jpg', + 'goods_num' => '8', + 'tag' => '1', + 'user_id' => '105', + 'url' => 'category.php?id=1514&brand=202', + 'selected' => 0, + ), + ), +); +?> \ No newline at end of file diff --git a/temp/static_caches/category_tree_brands1553.php b/temp/static_caches/category_tree_brands1553.php new file mode 100644 index 0000000..5dd6951 --- /dev/null +++ b/temp/static_caches/category_tree_brands1553.php @@ -0,0 +1,43 @@ + + array ( + ), + 'brands' => + array ( + 0 => + array ( + 'brand_id' => '202', + 'brand_name' => '无', + 'brand_logo' => 'data/brandlogo/1678562901129611341.jpg', + 'goods_num' => '3', + 'tag' => '1', + 'user_id' => '105', + 'url' => 'category.php?id=1553&brand=202', + 'selected' => 0, + ), + 1 => + array ( + 'brand_id' => '205', + 'brand_name' => '康伦健康沐浴', + 'brand_logo' => 'data/brandlogo/1678562878193591476.jpg', + 'goods_num' => '2', + 'tag' => '1', + 'user_id' => '102', + 'url' => 'category.php?id=1553&brand=205', + 'selected' => 0, + ), + 2 => + array ( + 'brand_id' => '208', + 'brand_name' => '乐福社上门助浴', + 'brand_logo' => 'data/brandlogo/1678562865681620224.jpg', + 'goods_num' => '6', + 'tag' => '1', + 'user_id' => '104', + 'url' => 'category.php?id=1553&brand=208', + 'selected' => 0, + ), + ), +); +?> \ No newline at end of file diff --git a/temp/static_caches/category_tree_brands1563.php b/temp/static_caches/category_tree_brands1563.php new file mode 100644 index 0000000..ddb39df --- /dev/null +++ b/temp/static_caches/category_tree_brands1563.php @@ -0,0 +1,21 @@ + + array ( + ), + 'brands' => + array ( + 0 => + array ( + 'brand_id' => '202', + 'brand_name' => '无', + 'brand_logo' => 'data/brandlogo/1678562901129611341.jpg', + 'goods_num' => '5', + 'tag' => '1', + 'user_id' => '105', + 'url' => 'category.php?id=1563&brand=202', + 'selected' => 0, + ), + ), +); +?> \ No newline at end of file diff --git a/temp/static_caches/category_tree_child1478.php b/temp/static_caches/category_tree_child1478.php new file mode 100644 index 0000000..3e50fc3 --- /dev/null +++ b/temp/static_caches/category_tree_child1478.php @@ -0,0 +1,16 @@ + + array ( + 'id' => '1554', + 'cat_alias_name' => '', + 'cat_name' => '社区食堂', + 'level' => 1, + 'name' => '社区食堂', + 'url' => 'category.php?id=1554', + 'cat_id' => + array ( + ), + ), +); +?> \ No newline at end of file diff --git a/temp/static_caches/category_tree_child1514.php b/temp/static_caches/category_tree_child1514.php new file mode 100644 index 0000000..78d7173 --- /dev/null +++ b/temp/static_caches/category_tree_child1514.php @@ -0,0 +1,40 @@ + + array ( + 'id' => '1555', + 'cat_alias_name' => '', + 'cat_name' => '免费理发', + 'level' => 1, + 'name' => '免费理发', + 'url' => 'category.php?id=1555', + 'cat_id' => + array ( + ), + ), + 1556 => + array ( + 'id' => '1556', + 'cat_alias_name' => '', + 'cat_name' => '有偿理发', + 'level' => 1, + 'name' => '有偿理发', + 'url' => 'category.php?id=1556', + 'cat_id' => + array ( + ), + ), + 1558 => + array ( + 'id' => '1558', + 'cat_alias_name' => '', + 'cat_name' => '保洁服务', + 'level' => 1, + 'name' => '保洁服务', + 'url' => 'category.php?id=1558', + 'cat_id' => + array ( + ), + ), +); +?> \ No newline at end of file diff --git a/temp/static_caches/category_tree_child1553.php b/temp/static_caches/category_tree_child1553.php new file mode 100644 index 0000000..9bdd2e5 --- /dev/null +++ b/temp/static_caches/category_tree_child1553.php @@ -0,0 +1,16 @@ + + array ( + 'id' => '1562', + 'cat_alias_name' => '', + 'cat_name' => '助浴服务', + 'level' => 1, + 'name' => '助浴服务', + 'url' => 'category.php?id=1562', + 'cat_id' => + array ( + ), + ), +); +?> \ No newline at end of file diff --git a/temp/static_caches/category_tree_child1563.php b/temp/static_caches/category_tree_child1563.php new file mode 100644 index 0000000..f7ef04a --- /dev/null +++ b/temp/static_caches/category_tree_child1563.php @@ -0,0 +1,16 @@ + + array ( + 'id' => '1564', + 'cat_alias_name' => '', + 'cat_name' => '陪诊就医', + 'level' => 1, + 'name' => '陪诊就医', + 'url' => 'category.php?id=1564', + 'cat_id' => + array ( + ), + ), +); +?> \ No newline at end of file diff --git a/temp/static_caches/index_goods_cat0.php b/temp/static_caches/index_goods_cat0.php new file mode 100644 index 0000000..17150a8 --- /dev/null +++ b/temp/static_caches/index_goods_cat0.php @@ -0,0 +1,18 @@ + '', + 'url' => 'category.php?id=8', + 'id' => '8', + 'goods_level2' => + array ( + ), + 'goods_level3' => + array ( + ), + 'floor_banner' => 'floor_banner8', + 'floor_sort_order' => 1, + 'brands_theme2' => + array ( + ), +); +?> \ No newline at end of file diff --git a/temp/static_caches/index_goods_cat_cache.php b/temp/static_caches/index_goods_cat_cache.php new file mode 100644 index 0000000..47817ae --- /dev/null +++ b/temp/static_caches/index_goods_cat_cache.php @@ -0,0 +1,44 @@ + + array ( + 'filename' => 'index', + 'region' => '首页楼层', + 'theme' => 'ecmoban_dsc', + 'id' => '8', + 'number' => '8', + 'type' => '1', + 'sort_order' => '0', + ), + 1 => + array ( + 'filename' => 'index', + 'region' => '首页楼层', + 'theme' => 'ecmoban_dsc', + 'id' => '12', + 'number' => '8', + 'type' => '1', + 'sort_order' => '1', + ), + 2 => + array ( + 'filename' => 'index', + 'region' => '首页楼层', + 'theme' => 'ecmoban_dsc', + 'id' => '6', + 'number' => '8', + 'type' => '1', + 'sort_order' => '2', + ), + 3 => + array ( + 'filename' => 'index', + 'region' => '首页楼层', + 'theme' => 'ecmoban_dsc', + 'id' => '3', + 'number' => '8', + 'type' => '1', + 'sort_order' => '3', + ), +); +?> \ No newline at end of file diff --git a/temp/static_caches/recommend_goods.php b/temp/static_caches/recommend_goods.php new file mode 100644 index 0000000..49ff5eb --- /dev/null +++ b/temp/static_caches/recommend_goods.php @@ -0,0 +1,112 @@ + + array ( + 0 => + array ( + 'goods_id' => '608', + 'sort_order' => '99', + ), + 1 => + array ( + 'goods_id' => '635', + 'sort_order' => '100', + ), + 2 => + array ( + 'goods_id' => '637', + 'sort_order' => '100', + ), + 3 => + array ( + 'goods_id' => '610', + 'sort_order' => '100', + ), + 4 => + array ( + 'goods_id' => '609', + 'sort_order' => '100', + ), + 5 => + array ( + 'goods_id' => '607', + 'sort_order' => '100', + ), + ), + 'new' => + array ( + 0 => + array ( + 'goods_id' => '608', + 'sort_order' => '99', + ), + 1 => + array ( + 'goods_id' => '639', + 'sort_order' => '100', + ), + 2 => + array ( + 'goods_id' => '635', + 'sort_order' => '100', + ), + 3 => + array ( + 'goods_id' => '637', + 'sort_order' => '100', + ), + 4 => + array ( + 'goods_id' => '610', + 'sort_order' => '100', + ), + 5 => + array ( + 'goods_id' => '609', + 'sort_order' => '100', + ), + 6 => + array ( + 'goods_id' => '607', + 'sort_order' => '100', + ), + ), + 'hot' => + array ( + 0 => + array ( + 'goods_id' => '608', + 'sort_order' => '99', + ), + 1 => + array ( + 'goods_id' => '635', + 'sort_order' => '100', + ), + 2 => + array ( + 'goods_id' => '637', + 'sort_order' => '100', + ), + 3 => + array ( + 'goods_id' => '610', + 'sort_order' => '100', + ), + 4 => + array ( + 'goods_id' => '609', + 'sort_order' => '100', + ), + 5 => + array ( + 'goods_id' => '607', + 'sort_order' => '100', + ), + ), + 'brand' => + array ( + 637 => '无', + ), +); +?> \ No newline at end of file diff --git a/temp/static_caches/shop_config.php b/temp/static_caches/shop_config.php new file mode 100644 index 0000000..20c87a8 --- /dev/null +++ b/temp/static_caches/shop_config.php @@ -0,0 +1,222 @@ + '金普智慧民生服务', + 'shop_title' => '金普智慧民生服务', + 'shop_desc' => '金普智慧民生服务', + 'shop_keywords' => '金普智慧民生服务', + 'shop_country' => '1', + 'shop_province' => '18', + 'shop_city' => '245', + 'shop_address' => '金普新区', + 'qq' => '11111,2222', + 'ww' => '', + 'skype' => '', + 'ym' => '', + 'msn' => '', + 'service_email' => '', + 'service_phone' => '', + 'shop_closed' => '0', + 'close_comment' => '', + 'shop_logo' => '', + 'licensed' => '0', + 'user_notice' => '', + 'shop_notice' => '', + 'shop_reg_closed' => '0', + 'lang' => 'zh_cn', + 'icp_number' => 'DSC000001', + 'icp_file' => '', + 'watermark' => '', + 'watermark_place' => '0', + 'watermark_alpha' => 65, + 'use_storage' => '1', + 'market_price_rate' => 1.2, + 'rewrite' => '0', + 'integral_name' => '积分', + 'integral_scale' => 50, + 'integral_percent' => '100', + 'sn_prefix' => 'ECS', + 'comment_check' => '1', + 'no_picture' => 'images/no_picture.gif', + 'stats_code' => '', + 'cache_time' => 3600, + 'register_points' => '0', + 'enable_gzip' => '0', + 'top10_time' => 0, + 'timezone' => '8', + 'upload_size_limit' => '64', + 'cron_method' => '0', + 'comment_factor' => '0', + 'enable_order_check' => '1', + 'default_storage' => 1000, + 'bgcolor' => '#FFFFFF', + 'visit_stats' => 'on', + 'send_mail_on' => 'off', + 'auto_generate_gallery' => '1', + 'retain_original_img' => '1', + 'member_email_validate' => '1', + 'message_board' => '1', + 'certificate_id' => '1133133131', + 'token' => 'c49edab224d09de5d24e1bcdf9a18508322868ca44f62506af25f77b45af4e5b', + 'certi' => 'http://ecshop.ecmoban.com/dsc.php', + 'send_verify_email' => '0', + 'ent_id' => '', + 'ent_ac' => '', + 'ent_sign' => '', + 'ent_email' => '', + 'date_format' => 'Y-m-d', + 'time_format' => 'Y-m-d H:i:s', + 'currency_format' => '¥%s', + 'thumb_width' => 240, + 'thumb_height' => 240, + 'image_width' => 1200, + 'image_height' => 1200, + 'top_number' => 5, + 'history_number' => 18, + 'comments_number' => 6, + 'bought_goods' => 15, + 'article_number' => 8, + 'goods_name_length' => 100, + 'price_format' => '0', + 'page_size' => 20, + 'sort_order_type' => '0', + 'sort_order_method' => '0', + 'show_order_type' => '1', + 'attr_related_number' => '5', + 'goods_gallery_number' => 10, + 'article_title_length' => '20', + 'name_of_region_1' => '国家', + 'name_of_region_2' => '省', + 'name_of_region_3' => '市', + 'name_of_region_4' => '区', + 'search_keywords' => '欢迎光临手机网,我们的宗旨:诚信经营、服务客户! 培训四级砌筑工,防水工,电工,计算机程序设计员,焊工,钳工。', + 'related_goods_number' => '5', + 'help_open' => '1', + 'article_page_size' => '20', + 'page_style' => '1', + 'recommend_order' => '0', + 'index_ad' => 'sys', + 'can_invoice' => '1', + 'use_integral' => '1', + 'use_bonus' => '1', + 'use_surplus' => '1', + 'use_how_oos' => '1', + 'send_confirm_email' => '0', + 'send_ship_email' => '0', + 'send_cancel_email' => '0', + 'send_invalid_email' => '0', + 'order_pay_note' => '1', + 'order_unpay_note' => '1', + 'order_ship_note' => '1', + 'order_receive_note' => '1', + 'order_unship_note' => '1', + 'order_return_note' => '1', + 'order_invalid_note' => '1', + 'order_cancel_note' => '1', + 'invoice_content' => '不开发票 +明细 +办公用品 +电脑配件 +耗材', + 'anonymous_buy' => '1', + 'min_goods_amount' => 0, + 'one_step_buy' => 0, + 'stock_dec_time' => '1', + 'cart_confirm' => '4', + 'send_service_email' => '0', + 'show_goods_in_cart' => '3', + 'show_attr_in_cart' => '1', + 'smtp_host' => 'smtp.163.com', + 'smtp_port' => '25', + 'smtp_user' => '13275603192@163.com', + 'smtp_pass' => 'aixia11291026', + 'smtp_mail' => '13275603192@163.com', + 'mail_charset' => 'UTF8', + 'mail_service' => '1', + 'smtp_ssl' => '0', + 'integrate_code' => 'ecshop', + 'integrate_config' => '', + 'hash_code' => 'b76989c756aab2c64cf941eb31dec09c', + 'template' => 'ecmoban_dsc', + 'install_date' => '1379320265', + 'dsc_version' => 'v1.3', + 'sms_user_name' => '', + 'sms_password' => '', + 'sms_auth_str' => '', + 'sms_domain' => '', + 'sms_count' => '', + 'sms_total_money' => '', + 'sms_balance' => '', + 'sms_last_request' => '', + 'affiliate' => 'a:3:{s:6:"config";a:7:{s:6:"expire";d:24;s:11:"expire_unit";s:4:"hour";s:11:"separate_by";i:0;s:15:"level_point_all";s:2:"5%";s:15:"level_money_all";s:2:"1%";s:18:"level_register_all";i:2;s:17:"level_register_up";i:60;}s:4:"item";a:4:{i:0;a:2:{s:11:"level_point";s:3:"60%";s:11:"level_money";s:3:"60%";}i:1;a:2:{s:11:"level_point";s:3:"30%";s:11:"level_money";s:3:"30%";}i:2;a:2:{s:11:"level_point";s:2:"7%";s:11:"level_money";s:2:"7%";}i:3;a:2:{s:11:"level_point";s:2:"3%";s:11:"level_money";s:2:"3%";}}s:2:"on";i:0;}', + 'captcha' => '37', + 'captcha_width' => '112', + 'captcha_height' => '37', + 'sitemap' => 'a:6:{s:19:"homepage_changefreq";s:6:"hourly";s:17:"homepage_priority";s:3:"0.9";s:19:"category_changefreq";s:6:"hourly";s:17:"category_priority";s:3:"0.8";s:18:"content_changefreq";s:6:"weekly";s:16:"content_priority";s:3:"0.7";}', + 'points_rule' => '', + 'flash_theme' => 'dynfocus', + 'stylename' => '', + 'show_goodssn' => '1', + 'show_brand' => '1', + 'show_goodsweight' => '1', + 'show_goodsnumber' => '1', + 'show_addtime' => '1', + 'goodsattr_style' => '1', + 'show_marketprice' => '1', + 'sms_shop_mobile' => '18321061615', + 'sms_order_placed' => '0', + 'sms_order_payed' => '0', + 'sms_order_shipped' => '0', + 'wap_config' => '1', + 'wap_logo' => '', + 'message_check' => '1', + 'auction_ad' => '20', + 'marticle' => '14,15', + 'marticle_id' => '42', + 'open_area_goods' => '0', + 'open_delivery_time' => '1', + 'choose_process' => '1', + 'freight_model' => '1', + 'editing_tools' => 'ueditor', + 'customer_service' => '1', + 'review_goods' => '1', + 'sms_ecmoban_user' => 'cf_18017053050', + 'sms_ecmoban_password' => 'b004d18f552b43b5ee517598bf744089', + 'sms_signin' => '0', + 'group_goods' => '推荐配件,人气组合', + 'attr_set_up' => '1', + 'sign' => '30', + 'return_pictures' => '10', + 'sms_price_notice' => '0', + 'single_thumb_width' => '120', + 'single_thumb_height' => '120', + 'goods_file' => 'goods_name,shop_price,market_price,promote_price,goods_sn-warehouse_price,warehouse_promote_price,region_price,region_promote_price', + 'user_helpart' => '11,12,13,14,15,16,17,21,22', + 'delete_seller' => '1', + 'seller_email' => '0', + 'show_warehouse' => '1', + 'captcha_font_size' => '16', + 'captcha_length' => '4', + 'wap_index_pro' => '1', + 'open_oss' => '0', + 'two_code' => '1', + 'two_code_logo' => '', + 'two_code_links' => '', + 'two_code_mouse' => '', + 'open_memcached' => '0', + 'ad_reminder' => '1', + 'sms_seller_signin' => '0', + 'best_number' => 3, + 'new_number' => 3, + 'hot_number' => 3, + 'promote_number' => 3, + 'invoice_type' => + array ( + 'type' => + array ( + ), + 'rate' => + array ( + ), + ), +); +?> \ No newline at end of file diff --git a/testsc/flow_test.php b/testsc/flow_test.php new file mode 100644 index 0000000..8fe4685 --- /dev/null +++ b/testsc/flow_test.php @@ -0,0 +1,113 @@ +smarty_insert_scripts(array('files'=>'transport_jquery.js,utils.js')); ?> + +
      +
      +
      +
      + _var['lang']['goods_all_price']; ?>: + _var['total']['goods_price_formated']; ?> +
      + _var['total']['discount'] > 0): ?> +
      + _var['lang']['discount']; ?>: + -_var['total']['discount_formated']; ?> +
      + + _var['total']['tax'] > 0): ?> +
      + _var['lang']['tax']; ?>: + +_var['total']['tax_formated']; ?> +
      + + _var['total']['shipping_fee'] > 0): ?> +
      + _var['lang']['shipping_fee']; ?>: + + _var['total']['shipping_fee_formated']; ?> + +
      + + + _var['total']['shipping_insure'] > 0): ?> +
      + _var['lang']['insure_fee']; ?>: + +_var['total']['shipping_insure_formated']; ?> +
      + + _var['total']['pay_fee'] > 0): ?> +
      + _var['lang']['pay_fee']; ?>: + +_var['total']['pay_fee_formated']; ?> +
      + + _var['total']['pack_fee'] > 0): ?> +
      + _var['lang']['pack_fee']; ?>: + +_var['total']['pack_fee_formated']; ?> +
      + + _var['total']['card_fee'] > 0): ?> +
      + _var['lang']['card_fee']; ?>: + +_var['total']['card_fee_formated']; ?> +
      + + + _var['total']['surplus'] > 0 || $this->_var['total']['integral'] > 0 || $this->_var['total']['bonus'] > 0): ?> + _var['total']['surplus'] > 0): ?> +
      + _var['lang']['use_surplus']; ?>: + -_var['total']['surplus_formated']; ?> +
      + + _var['total']['integral'] > 0): ?> +
      + _var['lang']['use_integral']; ?>: + -_var['total']['integral_formated']; ?> +
      + + _var['total']['bonus'] > 0): ?> +
      + _var['lang']['use_bonus']; ?>: + -_var['total']['bonus_formated']; ?> +
      + + +
      +
      +
      +
      +
      +
      + +
      + +
      + + _var['total']['exchange_integral']): ?> + _var['lang']['notice_eg_integral']; ?> + _var['total']['exchange_integral']; ?> + +    + + + _var['lang']['total_fee']; ?>: + _var['total']['amount_formated']; ?> + +
      已选择_var['cart_goods_number']; ?>件商品
      + _var['is_group_buy']): ?>
      _var['lang']['notice_gb_order_amount']; ?>
      +
      +
      +
      +
      +

      寄送至:_var['consignee']['consignee_address']; ?>

      +

      收货人:_var['consignee']['consignee']; ?> _var['consignee']['mobile']; ?>

      +
      +
      +
      \ No newline at end of file diff --git a/testsc/span_test.php b/testsc/span_test.php new file mode 100644 index 0000000..253c0f2 --- /dev/null +++ b/testsc/span_test.php @@ -0,0 +1,8 @@ +$name!";?> + +
      + + +
      + + \ No newline at end of file diff --git a/testsc/test111.php b/testsc/test111.php new file mode 100644 index 0000000..e3c9037 --- /dev/null +++ b/testsc/test111.php @@ -0,0 +1,14 @@ + + + + Button Click Alert + + + + + +