wanghousheng 8 months ago
parent 7971d2aff5
commit 0212a03fdf
  1. 4
      app/api/controller/StoreKeeper.php

@ -194,8 +194,8 @@ class StoreKeeper extends Controller
} else { } else {
$model = new OrderModel; $model = new OrderModel;
$list = $model->getNewList($params); $list = $model->getNewList($params);
if (!empty($list['data'])) { if (!empty($list->data)) {
foreach ($list['data'] as $value) { foreach ($list->data as $value) {
if (!empty($value->transfer) && !empty($value->transfer->chat_image_id)) { if (!empty($value->transfer) && !empty($value->transfer->chat_image_id)) {
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();

Loading…
Cancel
Save