...
|
...
|
@@ -132,9 +132,8 @@ class User extends Model |
|
|
model('user')->where('id',$data['id'])->update(['avatar'=>'/uploads/user_avatar/user_id_'.$data['id'].'.jpg']);
|
|
|
$value = '/uploads/user_avatar/user_id_'.$data['id'].'.jpg';
|
|
|
}
|
|
|
echo file_exists(cdnurl($data['avatar'],true));
|
|
|
dd(file_exists(cdnurl($data['avatar'],true)));
|
|
|
if (file_exists(cdnurl($data['avatar'],true))){
|
|
|
dd(12121);
|
|
|
return cdnurl($value,true);
|
|
|
}
|
|
|
dd(this_url());
|
...
|
...
|
|