quanwei
2025-12-10 898043fc97d2ab8b793fd317a049b874ed207c6d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
 
namespace app\common\model\plus\vip;
 
use app\common\model\BaseModel;
 
/**
 * VIP专区资金明细模型
 */
class Capital extends BaseModel
{
    protected $name = 'vip_area_capital';
    protected $pk = 'id';
 
    /**
     * VIP专区资金明细
     * @param $data
     */
    public static function add($data)
    {
        $model = new static;
        $model->save(array_merge([
            'app_id' => $model::$app_id
        ], $data));
    }
}