quanwei
2025-12-19 408c463c5b66bba2aa1c81d8dca23e04c1608e24
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
27
28
29
30
31
32
<?php
 
namespace app\common\model\shop;
 
use app\common\model\BaseModel;
 
/**
 * 模型
 */
class FbCashApply extends BaseModel
{
    protected $name = 'fb_cash_apply';
    protected $pk = 'id';
 
 
    /**
     * 获取应用信息
     */
    public static function detail($cash_id)
    {
        $where["cash_id"] = $cash_id;
        return (new static())->where($where)->find();
    }
 
    /**
     * 获取详情
     */
    public static function getDetailByCondition($where)
    {
        return (new static())->where($where)->find();
    }
}