mac 1 week ago
parent
commit
f15abe827c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/controller/UserController.php

+ 2 - 2
app/controller/UserController.php

@@ -320,11 +320,11 @@ class UserController
             }
         }
 
-        $has47 = Db::table('wa_stream')
+        $has53 = Db::table('wa_stream')
             ->where('user_id', $request->user_data['id'])
             ->where('type', streamType53)
             ->exists();
-        if (empty($has47)) {
+        if (empty($has53)) {
             StreamBusiness::addStream($request->user_data['id'], 10000000, streamType53, moldType23, moldTypefild23);
             StreamBusiness::addStream($request->user_data['id'], 66000, streamType53, moldType22, moldTypefild22);
             StreamBusiness::addStream($request->user_data['id'], 10000000, streamType53, moldType10, moldTypefild10);