修改订单编号
This commit is contained in:
parent
16b65a1fcd
commit
149042b538
|
|
@ -911,7 +911,7 @@ class Order extends Backend
|
||||||
$where[] = [implode("|", $searcharr), "LIKE", "%{$search}%"];
|
$where[] = [implode("|", $searcharr), "LIKE", "%{$search}%"];
|
||||||
}
|
}
|
||||||
$index = 0;
|
$index = 0;
|
||||||
|
$op = (array)json_decode($op, true);
|
||||||
foreach ($filter as $k => $v) {
|
foreach ($filter as $k => $v) {
|
||||||
if ($k == 'user.nickname' || $k == 'is_timeout') continue;
|
if ($k == 'user.nickname' || $k == 'is_timeout') continue;
|
||||||
if (!preg_match('/^[a-zA-Z0-9_\-\.]+$/', $k)) {
|
if (!preg_match('/^[a-zA-Z0-9_\-\.]+$/', $k)) {
|
||||||
|
|
@ -1047,6 +1047,7 @@ class Order extends Backend
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
return [$where, $sort, $order, $offset, $limit, $page, $alias, $bind];
|
return [$where, $sort, $order, $offset, $limit, $page, $alias, $bind];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user