rabin 3 年之前
父节点
当前提交
7875cca93c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/card/src/Api.php

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

@@ -243,7 +243,7 @@ class Api extends Core
 
                     $info['shop_type'] = explode(',', $info['shop_type']);
                     $this->data['card'][$k]['minfo'] = array();
-                    foreach ($type['shop_type'] as $tv) {
+                    foreach ($info['shop_type'] as $tv) {
                         if (isset($config_type[$tv])) {
                             $this->data['card'][$k]['minfo'][] = $config_type[$tv];
                         }