首页修改,jk8修改,历史记录相关,api权限

This commit is contained in:
2026-06-04 10:53:45 +08:00
parent 95684c784e
commit 1975d24db3
16 changed files with 565 additions and 96 deletions

View File

@@ -3,6 +3,7 @@
namespace app\admin\model;
use think\Model;
use think\model\relation\HasMany;
/**
* Bank
@@ -46,4 +47,9 @@ class Bank extends Model
{
return is_null($value) ? null : (float)$value;
}
public function MoneyLog(): hasMany
{
return $this->hasMany(UserMoneyLog::class, 'bank_id');
}
}