Browse Source

修改默认权重

wzq 5 years ago
parent
commit
21446292b2
1 changed files with 1 additions and 1 deletions
  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(),
                 'available_bean' => $this->availableBean(),
                 'will_collect_bean' => rand(100, 200),
                 'will_collect_bean' => rand(100, 200),
                 'collect_bean' => 0,
                 'collect_bean' => 0,
-                'weight' => 0
+                'weight' => 999
             ]);
             ]);
 
 
             if (!empty($request['imgs']) && $request['type'] == 'image') {
             if (!empty($request['imgs']) && $request['type'] == 'image') {