* 获取设置 */
($value)
| 42 | * 获取设置 |
| 43 | */ |
| 44 | function getImageAttribute($value) |
| 45 | { |
| 46 | if (strpos($value,'http') === false) { |
| 47 | return url('/') . '/storage/'. $value; |
| 48 | } else { |
| 49 | return $value; |
| 50 | } |
| 51 | |
| 52 | } |
| 53 | |
| 54 | /** |
| 55 | * 设置 |
nothing calls this directly
no outgoing calls
no test coverage detected