|
|
|
@@ -4,6 +4,7 @@ namespace App\Http\Controllers\Web\Shop; |
|
|
|
|
|
|
|
use App\Http\Controllers\Web\BaseParam; |
|
|
|
use App\Models\HtpmsCustomer\Deposit\Deposit; |
|
|
|
use Illuminate\Validation\Rule; |
|
|
|
|
|
|
|
/** |
|
|
|
* @property string shopId |
|
|
|
@@ -15,7 +16,7 @@ class DepositChargeParam extends BaseParam |
|
|
|
{ |
|
|
|
return [ |
|
|
|
Deposit::COL_NAME_SHOP_ID => $this->str(), |
|
|
|
"amount" => $this->numeric(), |
|
|
|
"amount" => $this->numeric(["between:-100000,100000", Rule::notIn("0")]), |
|
|
|
]; |
|
|
|
} |
|
|
|
} |