first commit

This commit is contained in:
annnj-company
2026-04-17 18:29:53 +08:00
parent e49fa5a215
commit 130c1026c4
5615 changed files with 1639145 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<?php
namespace app\model;
use think\Db;
class BankAccount extends Base
{
//获取银行账户列表
public function getBankAccount($where, $paginate) {
$info = self::where($where)
->field('id,name,update_time,type,bank_account,bank_card,bank,status')
->order('update_time', 'desc')
->paginate($paginate)
->toArray();
foreach($info['data'] as &$v){
$v['update_time'] = date('Y-m-d H:i:s', $v['update_time']);
$v['type_str'] = getDictionaryName('ACCOUNT_PURPOSE', $v['type']);
$v['status_str'] = $v['status'] == 1 ? '正常启用' : '异常停用';
}
return $info;
}
}