Kaynağa Gözat

修改默认权重

wzq 5 yıl önce
ebeveyn
işleme
21446292b2
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      app/Repositories/Post/PostRepository.php

+ 1 - 1
app/Repositories/Post/PostRepository.php

@@ -136,7 +136,7 @@ class PostRepository
                 'available_bean' => $this->availableBean(),
                 'will_collect_bean' => rand(100, 200),
                 'collect_bean' => 0,
-                'weight' => 0
+                'weight' => 999
             ]);
 
             if (!empty($request['imgs']) && $request['type'] == 'image') {