|
@@ -38,7 +38,7 @@ class Api extends Core
|
|
$card = Dever::db('card/type')->getAll($where);
|
|
$card = Dever::db('card/type')->getAll($where);
|
|
|
|
|
|
if ($card) {
|
|
if ($card) {
|
|
- foreach ($card] as $k => $v) {
|
|
|
|
|
|
+ foreach ($card as $k => $v) {
|
|
$w['type_id'] = $v['id'];
|
|
$w['type_id'] = $v['id'];
|
|
$w['status'] = 1;
|
|
$w['status'] = 1;
|
|
$w['create_type'] = 1;
|
|
$w['create_type'] = 1;
|