文件
yjyf/server/application/admin/model/WalletLog.php
MiAn 5dd04b2f24 feat: 新增后台人工充值功能及支付结果页
- 新增后台人工充值模块,支持上传支付凭证
- 新增支付结果查询接口及页面
- 新增订单支付成功跳转结果页逻辑
- 更新钱包流水类型标签区分充值方式
- 新增插件路由 PHP 8 兼容错误报告设置
2026-11-19 16:22:14 +08:00

36 行
777 B
PHP

<?php
namespace app\admin\model;
use think\Model;
class WalletLog extends Model
{
protected $name = 'wallet_log';
protected $autoWriteTimestamp = 'integer';
protected $createTime = 'createtime';
protected $updateTime = false;
protected $deleteTime = false;
public function getUserTypeList()
{
return [
'master' => '认证师傅',
'user' => '业主/企业用户',
];
}
public function getTypeList()
{
return [
'recharge' => '账户充值',
'consume' => '余额消费',
'refund' => '退回/退款',
'settle' => '佣金结算',
'withdraw' => '余额提现',
'income' => '奖励补贴',
];
}
}