dever 7 years ago
parent
commit
7dd46db044
2 changed files with 1 additions and 2 deletions
  1. 1 1
      youzan/database/card_list.php
  2. 0 1
      youzan/src/Card.php

+ 1 - 1
youzan/database/card_list.php

@@ -160,7 +160,7 @@ return array
 			'option' => array
 			(
 				'status' => 'yes',
-				'cate_id' => 'yes',
+				'card_id' => 'yes',
 				'state' => 1,
 			),
 			'type' => 'all',

+ 0 - 1
youzan/src/Card.php

@@ -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];