移除 不需要的内容

This commit is contained in:
iVampireSP.com 2022-11-20 21:10:46 +08:00
parent a0020f5285
commit 5bc90b2b18
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -193,10 +193,10 @@ public function module(): BelongsToAlias
return $this->belongsTo(Module::class);
}
public function workOrders(): HasManyAlias
{
return $this->hasMany(WorkOrder::class);
}
// public function workOrders(): HasManyAlias
// {
// return $this->hasMany(WorkOrder::class);
// }
// cost
@ -313,7 +313,7 @@ public function cost($amount = null, $auto = true): bool
}
// 测试 余额支付
echo '拿到的价格' . $real_price . '元' . PHP_EOL;
// echo '拿到的价格' . $real_price . '元' . PHP_EOL;
if ($auto) {
// 获取本月天数
@ -322,7 +322,7 @@ public function cost($amount = null, $auto = true): bool
// 本月每天的每小时的价格
$real_price = $real_price / $days / 24;
echo '计算' . $real_price . '元' . PHP_EOL;
// echo '计算' . $real_price . '元' . PHP_EOL;
}