pull/1/head
wanghousheng 10 months ago
parent d3a6f9c397
commit 02512e4247
  1. 4
      app/api/controller/Recovery.php

@ -47,8 +47,8 @@ class Recovery extends Controller
{
$recovery_name = $this->request->post('recovery_name');
$category_id = intval($this->request->post('category_id'));
$order_field = $this->request->post('order_field');
$order_sort = $this->request->post('order_sort', 'desc');
$order_field = (string)$this->request->post('order_field');
$order_sort = (string)$this->request->post('order_sort', 'desc');
$where = [];
if ($recovery_name) {
$where[] = ['server_recovery.recovery_name', 'like', "%$recovery_name%"];

Loading…
Cancel
Save