|
@@ -76,7 +76,7 @@ class Tree extends BaseModel
|
|
|
public static function sendToUper(int $point): bool
|
|
public static function sendToUper(int $point): bool
|
|
|
{
|
|
{
|
|
|
$get = 132;
|
|
$get = 132;
|
|
|
- $info = self::where('tree_num', $point)->find();
|
|
|
|
|
|
|
+ $info = self::where('tree_num', $point - 1)->find();
|
|
|
$layer = 0;
|
|
$layer = 0;
|
|
|
$up_point = $point;
|
|
$up_point = $point;
|
|
|
$res = true;
|
|
$res = true;
|