作者 何书鹏
1 个管道 的构建 通过 耗费 4 秒

合并分支 'heshupeng' 到 'master'

商家留言默认头像



查看合并请求 !385
... ... @@ -1316,7 +1316,7 @@ class Store extends Api
$user['avatar'] = cdnurl($user['avatar']);
} else {
$user = $this->store_model->field('id,store_name as nickname,store_icon as avatar')->where('id',$v['store_id'])->find();
$user['avatar'] = cdnurl($user['avatar']);
$user['avatar'] = !empty($user['avatar']) ? cdnurl($user['avatar']) : request()->domain().'/assets/img/avatar.png';
}
$v['user'] = $user;
}
... ...