@@ -160,7 +160,7 @@ return array
'option' => array
(
'status' => 'yes',
- 'cate_id' => 'yes',
+ 'card_id' => 'yes',
'state' => 1,
),
'type' => 'all',
@@ -56,7 +56,6 @@ class Card
Dever::alert('error');
} else {
$list = Dever::db('youzan/card_list')->getAll(array('option_card_id' => $info['id'], 'option_status' => 1));
- print_r($info);die;
$key = array_rand($list);
if (isset($list[$key]) && $list[$key]) {
$card = $list[$key];