...
|
...
|
@@ -132,7 +132,7 @@ 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';
|
|
|
}
|
|
|
dd(@fopen($value,true), 'r');
|
|
|
dd(@fopen(cdnurl($value,true), 'r'));
|
|
|
if (file_get_contents($value,true)){
|
|
|
return cdnurl($value,true);
|
|
|
}
|
...
|
...
|
|