Explorar o código

修改默认权重

wzq %!s(int64=5) %!d(string=hai) anos
pai
achega
21446292b2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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') {