6 changed files with 94 additions and 20 deletions
-
35app/Controller/v3/HomeController.php
-
30app/Model/v3/ServicePersonnel.php
-
39app/Service/v3/Implementations/UserCenterBlockService.php
-
6app/Service/v3/Implementations/UserInfoService.php
-
2app/Service/v3/Interfaces/UserCenterBlockServiceInterface.php
-
2app/Service/v3/Interfaces/UserInfoServiceInterface.php
@ -0,0 +1,30 @@ |
|||||
|
<?php |
||||
|
|
||||
|
declare (strict_types=1); |
||||
|
namespace App\Model\v3; |
||||
|
|
||||
|
use App\Model\Model; |
||||
|
|
||||
|
class ServicePersonnel extends Model |
||||
|
{ |
||||
|
/** |
||||
|
* The table associated with the model. |
||||
|
* |
||||
|
* @var string |
||||
|
*/ |
||||
|
protected $table = 'lanzu_service_personnel'; |
||||
|
/** |
||||
|
* The attributes that are mass assignable. |
||||
|
* |
||||
|
* @var array |
||||
|
*/ |
||||
|
protected $fillable = []; |
||||
|
/** |
||||
|
* The attributes that should be cast to native types. |
||||
|
* |
||||
|
* @var array |
||||
|
*/ |
||||
|
// protected $casts = [
|
||||
|
// 'set_reward' => 'array'
|
||||
|
// ];
|
||||
|
} |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue