* 获取设置 */
($value)
| 47 | * 获取设置 |
| 48 | */ |
| 49 | function getLogoAttribute($value) |
| 50 | { |
| 51 | if (strpos($value,'http') === false) { |
| 52 | return url('/') . '/storage/'. $value; |
| 53 | } else { |
| 54 | return $value; |
| 55 | } |
| 56 | |
| 57 | } |
| 58 | |
| 59 | |
| 60 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected