This repository has been archived on 2024-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
yoshop/source/application/common/model/dealer/Capital.php
2020-04-25 22:20:29 +08:00

27 lines
485 B
PHP

<?php
namespace app\common\model\dealer;
use app\common\model\BaseModel;
/**
* 分销商资金明细模型
* Class Apply
* @package app\common\model\dealer
*/
class Capital extends BaseModel
{
protected $name = 'dealer_capital';
/**
* 分销商资金明细
* @param $data
*/
public static function add($data)
{
$model = new static;
$model->save(array_merge([
'wxapp_id' => $model::$wxapp_id
], $data));
}
}