moonsflyer 6 hónapja
szülő
commit
198f30b3d0

+ 5 - 5
app/adminapi/lists/gift_card/GiftCardInfoLists.php

@@ -111,15 +111,15 @@ class GiftCardInfoLists extends BaseAdminDataLists implements ListsExtendInterfa
 
 
         $lists = GiftCardInfo::where($this->setSearch())
         $lists = GiftCardInfo::where($this->setSearch())
             ->with(['user'])
             ->with(['user'])
-            ->append(['is_used_desc','used_user_name','batch_no','qr_code_ur'])
+            ->append(['is_used_desc','used_user_name','batch_no','qr_code_url'])
             ->limit($this->limitOffset, $this->limitLength)
             ->limit($this->limitOffset, $this->limitLength)
             ->order('id', 'desc')
             ->order('id', 'desc')
             ->select()
             ->select()
             ->toArray();
             ->toArray();
-
-        foreach ($lists as &$list) {
-            $list['qr_code_ur']  = FileService::getFileUrl($list['qr_code_ur']);
-        }
+//
+//        foreach ($lists as &$list) {
+//            $list['qr_code_path']  = FileService::getFileUrl($list['qr_code_path']);
+//        }
 
 
         return $lists;
         return $lists;
 
 

+ 0 - 4
app/common/model/GiftCardInfo.php

@@ -36,10 +36,6 @@ class GiftCardInfo extends BaseModel
 
 
     protected $deleteTime = 'delete_time';
     protected $deleteTime = 'delete_time';
 
 
-    // 设置JSON数据返回数组
-//    protected $jsonAssoc = true;
-
-// ... existing code ...
 
 
     /**
     /**
      * @notes 获取二维码URL
      * @notes 获取二维码URL