|
@@ -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;
|
|
|
|
|
|