Commit 2470c039 authored by hujun's avatar hujun

id

parent 4319849c
......@@ -97,7 +97,7 @@ class Transfer extends Basic
$m_img = new SubletImgModel();
foreach($list as $k=>$v) {
$image = $m_img->getSubletImg('file_name', ['sublet_id'=>$v['sublet_id'], 'status'=>0]);
$image = $m_img->getSubletImg('file_name', ['sublet_id'=>$v['id'], 'status'=>0]);
if ($image) {
foreach($image as $kk=>$vv) {
$list[$k]['image'][$kk] = 'static/chat_image/'.$vv['file_name'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment