1.提交缺失的东西

This commit is contained in:
2025-05-16 13:23:45 +08:00
parent 2d6296280b
commit de1f9aff97
2 changed files with 6 additions and 4 deletions

View File

@ -25,7 +25,9 @@ use think\Model;
class Goods extends Model{
//商品图片
public function getImageAttr($value,$data){
public function getImageAttr($value, $data){
if($value){
return UrlServer::getFileUrl($value);
}