|
|
@@ -25,6 +25,7 @@ use app\common\{
|
|
|
lists\ListsExcelInterface,
|
|
|
lists\ListsExtendInterface,
|
|
|
model\GiftCardInfo};
|
|
|
+use app\common\service\FileService;
|
|
|
use app\common\service\GiftCardQrCodeService;
|
|
|
|
|
|
|
|
|
@@ -116,9 +117,9 @@ class GiftCardInfoLists extends BaseAdminDataLists implements ListsExtendInterfa
|
|
|
->select()
|
|
|
->toArray();
|
|
|
|
|
|
-// foreach ($lists as &$list) {
|
|
|
-// $list['goods_snap']['image'] = FileService::getFileUrl($list['goods_snap']['image']);
|
|
|
-// }
|
|
|
+ foreach ($lists as &$list) {
|
|
|
+ $list['qr_code_ur'] = FileService::getFileUrl($list['qr_code_ur']);
|
|
|
+ }
|
|
|
|
|
|
return $lists;
|
|
|
|