Accept Merge Request #204: (feature/hant -> develop)

Merge Request: 修改订单编号

Created By: @todayswind
Accepted By: @todayswind
URL: https://g-bcrc3009.coding.net/p/allocatr/d/allocatr/git/merge/204?initial=true
This commit is contained in:
todayswind 2025-07-01 21:46:45 +08:00 committed by Coding
commit 06cce62601

View File

@ -911,7 +911,7 @@ class Order extends Backend
$where[] = [implode("|", $searcharr), "LIKE", "%{$search}%"];
}
$index = 0;
$op = (array)json_decode($op, true);
foreach ($filter as $k => $v) {
if ($k == 'user.nickname' || $k == 'is_timeout') continue;
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];
}