|
@@ -28,7 +28,7 @@ class Buy extends Base
|
|
|
}
|
|
|
$where['cate_id'] = $this->cate;
|
|
|
$where['buy'] = 1;
|
|
|
- $data = Dever::db('journal/info')->getAll($where);
|
|
|
+ $data = Dever::db('journal/info')->getAllByPage($where);
|
|
|
|
|
|
if ($data) {
|
|
|
foreach ($data as $k => $v) {
|
|
@@ -152,7 +152,7 @@ class Buy extends Base
|
|
|
|
|
|
$id = Dever::input('id');
|
|
|
$buy_id = Dever::input('buy');
|
|
|
- $config['list'] = $this->url('list');
|
|
|
+ $config['list'] = $this->url('my_code');
|
|
|
$config['buy'] = $this->url('pay', array('id' => $id));
|
|
|
|
|
|
$order_id = Dever::input('order_id');
|