Ver Fonte

20250228 调整

贾小兵 há 1 mês atrás
pai
commit
ab720a66f7
1 ficheiros alterados com 10 adições e 0 exclusões
  1. 10 0
      application/admin/controller/student/Collection.php

+ 10 - 0
application/admin/controller/student/Collection.php

@@ -137,8 +137,18 @@ class Collection extends Backend
                     $sim_text = '手动禁用';
                 }
             }
+            if($info['sim_type']=='0001'){
+                $sim_type_text = 'FZD04B';
+            }else if($info['sim_type']=='0002'){
+                $sim_type_text = 'FZB006';
+            }else if($info['sim_type']=='0003'){
+                $sim_type_text = '防化兵型';
+            }else{
+                $sim_type_text = '';
+            }
 //            模拟器状态 0:可用初始化 1:在线 2:模拟器离线 3:网关离线 4:硬件故障异常 5:手动禁用
             $info['sim_text'] = $sim_text;
+            $info['sim_type_text'] = $sim_type_text;
         }
         if(!empty($info['starttime']))
         {