lip hace 1 semana
padre
commit
9b321db7a0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Models/RechargeChannel.php

+ 1 - 1
app/Models/RechargeChannel.php

@@ -22,7 +22,7 @@ class RechargeChannel extends BaseModel
         }
         $channel = $query->select(['type','name'])->get()->toArray();
         $channel = array_column($channel, null, 'type');
-        return $channel;
+        return array_values($channel);
     }
 
     //获取充值通道