查询:

        if($request->filled('type')){
            $where[] = ['type', strval(intval($request->input('type')))];
        }

写入:

$model->type = '1'

 

相关文章:

  • 2022-12-23
  • 2021-08-06
  • 2022-02-19
  • 2021-12-13
  • 2021-09-01
  • 2022-12-23
  • 2021-05-10
  • 2022-12-23
猜你喜欢
  • 2021-07-16
  • 2021-11-25
  • 2022-12-23
  • 2021-05-29
  • 2021-05-07
  • 2021-07-12
  • 2022-12-23
相关资源
相似解决方案