wanghousheng 10 months ago
parent ba99432e02
commit 823cc9d34d
  1. 4
      app/api/controller/StoreKeeper.php

@ -196,8 +196,8 @@ class StoreKeeper extends Controller
$list = $model->getNewList($params);
if (!empty($list)) {
foreach ($list as $key => $value) {
$list[$key]['transfer']['chat_image_ids'] = [];
$list[$key]['transfer']['transfer_image_ids'] = [];
$value->transfer->chat_image_ids = [];
$value->transfer->transfer_image_ids = [];
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();
foreach ($chat_image_ids as &$chat_image_id) {

Loading…
Cancel
Save