改进 最低 0.001

This commit is contained in:
iVampireSP.com 2023-02-11 13:48:03 +08:00
parent c00b97bf8e
commit ece85f0d8e
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -127,7 +127,7 @@ public function destroy($host): JsonResponse
public function cost(Request $request, Host $host): JsonResponse
{
$this->validate($request, [
'amount' => 'required|numeric|min:0.01',
'amount' => 'required|numeric|min:0.0001',
'description' => 'nullable|string:max:255',
]);