wanghousheng 8 months ago
parent c0eaf9adec
commit ba99432e02
  1. 2
      app/api/controller/StoreKeeper.php

@ -196,6 +196,8 @@ class StoreKeeper extends Controller
$list = $model->getNewList($params); $list = $model->getNewList($params);
if (!empty($list)) { if (!empty($list)) {
foreach ($list as $key => $value) { foreach ($list as $key => $value) {
$list[$key]['transfer']['chat_image_ids'] = [];
$list[$key]['transfer']['transfer_image_ids'] = [];
if (!empty($value['transfer']['chat_image_id'])) { if (!empty($value['transfer']['chat_image_id'])) {
$chat_image_ids = UploadFile::whereIn('file_id', explode(",", $value['transfer']['chat_image_id']))->field('file_id,file_path,file_type,storage,domain')->select(); $chat_image_ids = UploadFile::whereIn('file_id', explode(",", $value['transfer']['chat_image_id']))->field('file_id,file_path,file_type,storage,domain')->select();
foreach ($chat_image_ids as &$chat_image_id) { foreach ($chat_image_ids as &$chat_image_id) {

Loading…
Cancel
Save