正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -132,7 +132,7 @@ class User extends Model | @@ -132,7 +132,7 @@ class User extends Model | ||
132 | model('user')->where('id',$data['id'])->update(['avatar'=>'/uploads/user_avatar/user_id_'.$data['id'].'.jpg']); | 132 | model('user')->where('id',$data['id'])->update(['avatar'=>'/uploads/user_avatar/user_id_'.$data['id'].'.jpg']); |
133 | $value = '/uploads/user_avatar/user_id_'.$data['id'].'.jpg'; | 133 | $value = '/uploads/user_avatar/user_id_'.$data['id'].'.jpg'; |
134 | } | 134 | } |
135 | - dd(@fopen($value,true), 'r'); | 135 | + dd(@fopen(cdnurl($value,true), 'r')); |
136 | if (file_get_contents($value,true)){ | 136 | if (file_get_contents($value,true)){ |
137 | return cdnurl($value,true); | 137 | return cdnurl($value,true); |
138 | } | 138 | } |
-
请 注册 或 登录 后发表评论