ScreenModule.php 354 B

123456789101112131415161718
  1. <?php
  2. namespace app\common\model;
  3. use think\Db;
  4. class ScreenModule extends Base{
  5. protected $autoWriteTimestamp = 'datetime';
  6. protected $createTime = 'create_time';
  7. protected $updateTime = 'update_time';
  8. public function updates(){
  9. $data = request()->post();
  10. return $this->updateInfo($data,'ScreenModule','');
  11. }
  12. }