...
|
...
|
@@ -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;
|
|
|
}
|
...
|
...
|
|