dbmsv4 init...3
This commit is contained in:
parent
3de5fd617b
commit
a0724e5d0f
@ -225,13 +225,13 @@ abstract class CommonService
|
||||
$fields = array_keys($formDatas);
|
||||
$this->getFormService()->setFormFields($fields);
|
||||
$this->getFormService()->setFormRules('modify', $fields);
|
||||
// if (static::class === ServerService::class) {
|
||||
// var_dump($this->getFormService()->getFormRules());
|
||||
// echo "<HR>";
|
||||
// var_dump($entity->toArray());
|
||||
// echo "<HR>";
|
||||
// dd($formDatas);
|
||||
// }
|
||||
if (static::class === PaymentService::class) {
|
||||
var_dump($this->getFormService()->getFormRules());
|
||||
echo "<HR>";
|
||||
var_dump($formDatas);
|
||||
dd($entity->toArray());
|
||||
echo "<HR>";
|
||||
}
|
||||
// 데이터 검증
|
||||
if (!$this->getFormService()->validate($formDatas)) {
|
||||
throw new ValidationException(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user