This commit is contained in:
2020-04-17 21:49:42 +08:00
parent e47fdd4593
commit 7a800a0134

View File

@@ -234,7 +234,7 @@ function format_bytes($size, $delimiter = '') {
function get_attach($id, $field = null) {
$basePath = request()->domain();
if (empty($id)) {
return $basePath . '/static/images/default.png';
return $basePath . '/static/common/images/default.png';
}
if (false !== strpos($id, ",")) {
$map[] = ['id', 'IN', explode(",", $id)];