123456789101112131415161718 |
- <?php
- namespace app\common\model;
- use app\hander\HelpHander;
- use think\Db;
- use think\Exception;
- use think\Model;
- class BudgetDepLog extends Model
- {
- public function add($data){
- $data['create_time'] = date('Y-m-d H:i:s');
- $ret = Db::name('budget_dep_log')->insert($data);
- return $ret?true:false;
- }
- }
|