|
|
|
@ -72,10 +72,10 @@ class Store extends Model |
|
|
|
return (integer)$ssdb->exec('get', SsdbKeys::STORE_MONTH_SALES.date('Ym').'_'.$this->id); |
|
|
|
} |
|
|
|
|
|
|
|
public function getLogoAttribute($value) |
|
|
|
{ |
|
|
|
return $this->attachmentService->switchImgToAliOss($value, OssThumbnail::THUMBNAIL_300_Q80); |
|
|
|
} |
|
|
|
// public function getLogoAttribute($value)
|
|
|
|
// {
|
|
|
|
// return $this->attachmentService->switchImgToAliOss($value, OssThumbnail::THUMBNAIL_300_Q80);
|
|
|
|
// }
|
|
|
|
|
|
|
|
public function goods() |
|
|
|
{ |
|
|
|
|