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])) {