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:
commit
06cce62601
|
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user