MCPcopy Create free account
hub / github.com/CoderOpen/waimai / getLogoAttribute

Method getLogoAttribute

app/Models/ChiHe/Link.php:49–57  ·  view source on GitHub ↗

* 获取设置 */

($value)

Source from the content-addressed store, hash-verified

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 /**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected