123456789101112131415161718 |
- <?php
- namespace app\common\model;
- use think\Db;
- class ScreenTemplate extends Base{
- protected $autoWriteTimestamp = 'datetime';
- protected $createTime = 'create_time';
- protected $updateTime = 'update_time';
- public function updates(){
- $data = request()->post();
- return $this->updateInfo($data,'ScreenTemplate','');
- }
- }
|