Kirin 3 年之前
父節點
當前提交
d0f709b87d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/models/user/Achievement.php

+ 1 - 1
app/models/user/Achievement.php

@@ -16,7 +16,7 @@ class Achievement extends BaseModel
         foreach ($group_award as $key => $row) {
             $award[$key] = $row['award'];
         }
-        array_multisort($data, $award, SORT_DESC);
+        array_multisort($group_award, $award, SORT_DESC);
         var_dump($group_award);
         exit;
         foreach ($uids as $v) {