小bug
This commit is contained in:
+1
-1
@@ -234,7 +234,7 @@ function format_bytes($size, $delimiter = '') {
|
|||||||
function get_attach($id, $field = null) {
|
function get_attach($id, $field = null) {
|
||||||
$basePath = request()->domain();
|
$basePath = request()->domain();
|
||||||
if (empty($id)) {
|
if (empty($id)) {
|
||||||
return $basePath . '/static/images/default.png';
|
return $basePath . '/static/common/images/default.png';
|
||||||
}
|
}
|
||||||
if (false !== strpos($id, ",")) {
|
if (false !== strpos($id, ",")) {
|
||||||
$map[] = ['id', 'IN', explode(",", $id)];
|
$map[] = ['id', 'IN', explode(",", $id)];
|
||||||
|
|||||||
Reference in New Issue
Block a user