mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-13 12:02:51 +00:00
perf: 接龙接口-强化排序
This commit is contained in:
parent
0919e415ec
commit
3a26f420b8
@ -2198,6 +2198,10 @@ class DialogController extends AbstractController
|
|||||||
$list = array_reverse(array_values($list));
|
$list = array_reverse(array_values($list));
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
|
usort($list, function($a, $b) {
|
||||||
|
return $a['id'] - $b['id'];
|
||||||
|
});
|
||||||
|
//
|
||||||
$msgData = [
|
$msgData = [
|
||||||
'text' => $text,
|
'text' => $text,
|
||||||
'list' => $list,
|
'list' => $list,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user