Commit 9363821d authored by hujun's avatar hujun

validate

parent 8218e8f6
...@@ -338,10 +338,10 @@ class StoreFee extends Basic ...@@ -338,10 +338,10 @@ class StoreFee extends Basic
$id = 0; $id = 0;
if ($check_url == 'index/addApplyFor') { if ($check_url == 'index/addApplyFor') {
$checkResult = $validate->scene("StoreFeeValidate.addApplyFor")->check($params); $checkResult = $validate->scene("addApplyFor")->check($params);
} else { } else {
$id = $params['id']; $id = $params['id'];
$checkResult = $validate->scene("StoreFeeValidate.editApplyFor")->check($params); $checkResult = $validate->scene("editApplyFor")->check($params);
} }
if (true !== $checkResult) { if (true !== $checkResult) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment