git fetch && archive로 동작 변경.

This commit is contained in:
2018-04-01 03:21:51 +09:00
parent 9c19e4e92b
commit 1804b72638
4 changed files with 199 additions and 4 deletions
+1 -4
View File
@@ -31,12 +31,9 @@ $v->rule('required', [
'show_img_level'
]);
if(!$v->validate()){
$errors = array_values((array)$v->errors());
$errors = array_map(function($value){return join(', ', $value);}, $errors);
$errors = join(', ', $errors);
Json::die([
'result'=>false,
'reason'=>$errors
'reason'=>$v->errorStr()
]);
}