@@ -314,6 +314,8 @@ class Api extends Core
if ($v['cash'] <= 0) {
continue;
}
+ # 验证是否符合当前商品
+
$v['type'] = $type = Dever::db('card/type')->find($v['info']['type_id']);
@@ -567,6 +567,7 @@ class My extends Core
'sku' => '',
'price' => $prize['price'],
'desc' => $prize['desc'],
+ 'num' => $v['total_num'] - $v['sell_num'],
);