<?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();
|
}
|
}
|