Commit 25749fea by 冷斌

个人中心 - vip

parent 39ac60fe
...@@ -171,7 +171,7 @@ class GoodsAction extends Action ...@@ -171,7 +171,7 @@ class GoodsAction extends Action
$split_score = model('Xdata')->get("admin_Config:rechargeIntoConfig"); $split_score = model('Xdata')->get("admin_Config:rechargeIntoConfig");
unset($split_score['rechange_default']); unset($split_score['rechange_default']);
$sple_score = array_filter(explode(':', $split_score['sple_score']))[1] / array_filter(explode(':', $split_score['sple_score']))[0]; $sple_score = array_filter(explode(':', $split_score['sple_score']))[1] / array_filter(explode(':', $split_score['sple_score']))[0];
//如果是ajax并且为h5访问 直接输出后边的数据 //如果是ajax并且为h5访问 直接输出后边的数据
// if ($this->isAjax() && $this->is_wap && $_GET['api']) { // if ($this->isAjax() && $this->is_wap && $_GET['api']) {
// echo json_encode(array( // echo json_encode(array(
...@@ -181,6 +181,8 @@ class GoodsAction extends Action ...@@ -181,6 +181,8 @@ class GoodsAction extends Action
// 'goodsOrder' => $goodsOrder['data'] // 'goodsOrder' => $goodsOrder['data']
// )); // ));
// } // }
var_dump($goodsOrder['data']);
die;
$this->assign('data', $data); $this->assign('data', $data);
$this->assign('address', $address); $this->assign('address', $address);
$this->assign('goodsOrder', $goodsOrder['data']); $this->assign('goodsOrder', $goodsOrder['data']);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment