修改条件筛选

This commit is contained in:
小松树 committed 2019-05-08 14:34:52 +08:00
1 parent 8094365fb0
commit 588b0ce6c9
38 files changed
+722 -1570

No files matched your search

+2 -1
View File
@@ -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) {