|
|
|
@@ -34,11 +34,14 @@ class RegisterController extends WebController |
|
|
|
$param = $this->param; |
|
|
|
|
|
|
|
// 重複チェック |
|
|
|
if (ShopNoRelation::whereShopId($param->shopId) |
|
|
|
->whereParkingManagementCode($param->parkingManagementCode) |
|
|
|
if (ShopNoRelation::byKey( |
|
|
|
$param->shopId, |
|
|
|
$param->parkingManagementCode, |
|
|
|
QRServiceUsage::認証方式 |
|
|
|
) |
|
|
|
->exists() |
|
|
|
) { |
|
|
|
ParamException::throw(ColumnName::PARKING_MANAGEMENT_CODE, trans("validation.exists")); |
|
|
|
ParamException::throw(ColumnName::PARKING_MANAGEMENT_CODE, trans("validation.unique")); |
|
|
|
} |
|
|
|
|
|
|
|
$relation = new ShopNoRelation(); |
|
|
|
|