修改条件筛选
This commit is contained in:
1 parent
8094365fb0
commit
588b0ce6c9
38 files changed
+722
-1570
No files matched your search
@@ -266,7 +266,8 @@ function upload($list,$file,$isSave=false)
|
||||
* $field 排序字段
|
||||
* $sort 排序方式 SORT_DESC 降序;SORT_ASC 升序
|
||||
* */
|
||||
function arraySequence($array, $field = 'age', $sort = 'SORT_DESC') {
|
||||
function arraySequence($array, $field = 'id', $sort = 'SORT_DESC') {
|
||||
|
||||
$arr = array();
|
||||
foreach ($array as $key => $value) {
|
||||
foreach ($value as $k => $val) {
|
||||
|
||||
Reference in new issue
Block a user