Commit 501875bf authored by rlgy's avatar rlgy

update

parent 6cd0623e
......@@ -33,7 +33,7 @@ class GuessController extends BaseController
$response = new ResponseBuild();
foreach ($field as $key => $value) {
if (isset($request[$value])) {
if (isset($request[$value]) && !empty($request[$value])) {
$$value = $request[$value];
} else {
$response->build(ResponseBuild::STATUS_PARAMS_NOT_VALIDATE, $value . ' can not be blank');
......
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