首次提交 Laravel 專案

This commit is contained in:
2025-05-18 08:52:56 +07:00
commit 5e392ae581
264 changed files with 88756 additions and 0 deletions
@@ -0,0 +1,25 @@
<?php
namespace App\Models;
use App\Services\UserFun;
use Illuminate\Database\Eloquent\Model;
class UserAccount extends Model
{
// 显式指定表名
protected $table = ' user_account';
protected $guarded = ['id'];
// 时间字段类型自动转为 Carbon 实例
protected $casts = [
'date' => 'datetime',
'amount' => 'decimal:2',
'balance' => 'decimal:2',
];
public static function CheckUserId($user_id){
}
}