allen 3 年之前
父節點
當前提交
f2a2ed3f62
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/index/controller/Index.php

+ 1 - 1
app/index/controller/Index.php

@@ -579,7 +579,7 @@ class Index extends Controller
         $res = [];
         foreach ($awards as $val) {
             $type = '抽奖';
-            if ($val['type'] == 1) {
+            if ($val['type'] == 2) {
                 $type = '排名奖';
             }
             $res[] = [