Commit 3bd1e632 by lujunyi

返回完整图片,医师

parent 5c0af401
......@@ -40,4 +40,40 @@ public function getSignedPicAttribute($value)
return Storage::url($value);
}
public function getLicenseNoPicAttribute($value)
{
if (Str::contains($value, '//') || ! $value) {
return $value;
}
return Storage::url($value);
}
public function getPhysicianLicenseAttribute($value)
{
if (Str::contains($value, '//') || ! $value) {
return $value;
}
return Storage::url($value);
}
public function getIdCardFrontPicAttribute($value)
{
if (Str::contains($value, '//') || ! $value) {
return $value;
}
return Storage::url($value);
}
public function getIdCardBackPicAttribute($value)
{
if (Str::contains($value, '//') || ! $value) {
return $value;
}
return Storage::url($value);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment