dever 7 年之前
父节点
当前提交
23516110f2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youzan/src/Card.php

+ 1 - 1
youzan/src/Card.php

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