改进 最低 0.001
This commit is contained in:
parent
c00b97bf8e
commit
ece85f0d8e
@ -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',
|
||||
]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user