API Shopping Order backend
This commit is contained in:
parent
7a040c3e19
commit
d01b4bd560
24 changed files with 1584 additions and 34 deletions
|
|
@ -261,6 +261,15 @@ class User extends Authenticatable
|
|||
return false;
|
||||
}
|
||||
|
||||
|
||||
public function isUserHasApi()
|
||||
{
|
||||
if($this->id === 3){
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue