feat: #10000 图片路径修改
This commit is contained in:
parent
ea355d3395
commit
c18f939810
@ -25,7 +25,7 @@ class Goods extends Model
|
||||
|
||||
public function getImgUrlAttribute($value)
|
||||
{
|
||||
if (false !== strpos($value, 'ju8hn6/erp/shop')) {
|
||||
if (0 === strpos($value, 'ju8hn6/erp/shop')) {
|
||||
$value = config('filesystems.disks.aliyun.url') . $value;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user