Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵增煜
/
tzt-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
635587a2
authored
Nov 19, 2024
by
lujunyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
返回图片
parent
f08c6eef
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
app/Models/DoctorModel.php
+1
-1
app/Models/PharmacistModel.php
+1
-1
app/Models/PharmacyModel.php
+6
-6
app/Models/PrescriptionModel.php
+1
-1
No files found.
app/Models/DoctorModel.php
View file @
635587a2
...
@@ -23,7 +23,7 @@ public function user()
...
@@ -23,7 +23,7 @@ public function user()
public
function
getSignedPicAttribute
(
$value
)
public
function
getSignedPicAttribute
(
$value
)
{
{
if
(
Str
::
contains
(
$value
,
'//'
))
{
if
(
Str
::
contains
(
$value
,
'//'
)
||
!
$value
)
{
return
$value
;
return
$value
;
}
}
...
...
app/Models/PharmacistModel.php
View file @
635587a2
...
@@ -23,7 +23,7 @@ public function pharmacy()
...
@@ -23,7 +23,7 @@ public function pharmacy()
public
function
getSignedPicAttribute
(
$value
)
public
function
getSignedPicAttribute
(
$value
)
{
{
if
(
Str
::
contains
(
$value
,
'//'
))
{
if
(
Str
::
contains
(
$value
,
'//'
)
||
!
$value
)
{
return
$value
;
return
$value
;
}
}
...
...
app/Models/PharmacyModel.php
View file @
635587a2
...
@@ -58,7 +58,7 @@ public function patient()
...
@@ -58,7 +58,7 @@ public function patient()
public
function
getDrugBizLicenseAttribute
(
$value
)
public
function
getDrugBizLicenseAttribute
(
$value
)
{
{
if
(
Str
::
contains
(
$value
,
'//'
))
{
if
(
Str
::
contains
(
$value
,
'//'
)
||
!
$value
)
{
return
$value
;
return
$value
;
}
}
...
@@ -67,7 +67,7 @@ public function getDrugBizLicenseAttribute($value)
...
@@ -67,7 +67,7 @@ public function getDrugBizLicenseAttribute($value)
public
function
getBusinessLicenseAttribute
(
$value
)
public
function
getBusinessLicenseAttribute
(
$value
)
{
{
if
(
Str
::
contains
(
$value
,
'//'
))
{
if
(
Str
::
contains
(
$value
,
'//'
)
||
!
$value
)
{
return
$value
;
return
$value
;
}
}
...
@@ -76,7 +76,7 @@ public function getBusinessLicenseAttribute($value)
...
@@ -76,7 +76,7 @@ public function getBusinessLicenseAttribute($value)
public
function
getFoodBizLicenseAttribute
(
$value
)
public
function
getFoodBizLicenseAttribute
(
$value
)
{
{
if
(
Str
::
contains
(
$value
,
'//'
))
{
if
(
Str
::
contains
(
$value
,
'//'
)
||
!
$value
)
{
return
$value
;
return
$value
;
}
}
...
@@ -85,7 +85,7 @@ public function getFoodBizLicenseAttribute($value)
...
@@ -85,7 +85,7 @@ public function getFoodBizLicenseAttribute($value)
public
function
getMedDeviceBizLicenseAttribute
(
$value
)
public
function
getMedDeviceBizLicenseAttribute
(
$value
)
{
{
if
(
Str
::
contains
(
$value
,
'//'
))
{
if
(
Str
::
contains
(
$value
,
'//'
)
||
!
$value
)
{
return
$value
;
return
$value
;
}
}
...
@@ -94,7 +94,7 @@ public function getMedDeviceBizLicenseAttribute($value)
...
@@ -94,7 +94,7 @@ public function getMedDeviceBizLicenseAttribute($value)
public
function
getDrugInfoServiceCertAttribute
(
$value
)
public
function
getDrugInfoServiceCertAttribute
(
$value
)
{
{
if
(
Str
::
contains
(
$value
,
'//'
))
{
if
(
Str
::
contains
(
$value
,
'//'
)
||
!
$value
)
{
return
$value
;
return
$value
;
}
}
...
@@ -103,7 +103,7 @@ public function getDrugInfoServiceCertAttribute($value)
...
@@ -103,7 +103,7 @@ public function getDrugInfoServiceCertAttribute($value)
public
function
getPrePackagedFoodAttribute
(
$value
)
public
function
getPrePackagedFoodAttribute
(
$value
)
{
{
if
(
Str
::
contains
(
$value
,
'//'
))
{
if
(
Str
::
contains
(
$value
,
'//'
)
||
!
$value
)
{
return
$value
;
return
$value
;
}
}
...
...
app/Models/PrescriptionModel.php
View file @
635587a2
...
@@ -42,7 +42,7 @@ class PrescriptionModel extends Model
...
@@ -42,7 +42,7 @@ class PrescriptionModel extends Model
public
function
getDoctorSignedPicAttribute
(
$value
)
public
function
getDoctorSignedPicAttribute
(
$value
)
{
{
if
(
Str
::
contains
(
$value
,
'//'
))
{
if
(
Str
::
contains
(
$value
,
'//'
)
||
!
$value
)
{
return
$value
;
return
$value
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment