Commit 53aaa62d by Administrator

'购买真题试卷点击确认支付按钮无反应'

parent 34c1a471
...@@ -132,11 +132,9 @@ class GoodsAction extends Action ...@@ -132,11 +132,9 @@ class GoodsAction extends Action
} }
$html = $this->fetch('index_w3g_ajax'); $html = $this->fetch('index_w3g_ajax');
$data['data'] = $html; $data['data'] = $html;
echo json_encode($data); echo json_encode($data);
exit(); exit();
} }
dump($data);
$this->display(); $this->display();
} }
......
...@@ -73,7 +73,8 @@ class GoodsModel extends Model ...@@ -73,7 +73,8 @@ class GoodsModel extends Model
$v['cover'] = getAttachUrlByAttachId($v['cover']); $v['cover'] = getAttachUrlByAttachId($v['cover']);
$v['status'] = (int) $v['status']; $v['status'] = (int) $v['status'];
$v['uid'] = (int) $v['uid']; $v['uid'] = (int) $v['uid'];
$v['price'] = (int) $v['price']; // $v['price'] = (int) $v['price'];
$v['price'] = $v['price'];
$v['stock'] = (int) $v['stock']; $v['stock'] = (int) $v['stock'];
$v['fare'] = (int) $v['fare']; $v['fare'] = (int) $v['fare'];
$v['goods_id'] = (int) $v['id']; $v['goods_id'] = (int) $v['id'];
......
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