rabin 3 年之前
父節點
當前提交
b6a95f81a9
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      app/card/src/Api.php

+ 1 - 3
app/card/src/Api.php

@@ -391,10 +391,8 @@ class Api extends Core
                     $this->data['no_card'][] = $v;
                 } else {
                     $v['type'] = $type = Dever::db('card/type')->find($v['info']['type_id']);
-
-                    $type['shop_type'] = explode(',', $type['shop_type']);
-
                     /*
+                    $type['shop_type'] = explode(',', $type['shop_type']);
                     $v['minfo'] = array();
                     foreach ($type['shop_type'] as $tv) {
                         if (isset($config_type[$tv])) {