|
@@ -615,6 +615,7 @@ class ApiController extends Controller
|
|
$data['checkbox'] = $form_set['checkbox'] . ':' . $data['checkbox'];
|
|
$data['checkbox'] = $form_set['checkbox'] . ':' . $data['checkbox'];
|
|
}
|
|
}
|
|
unset($data['type']);
|
|
unset($data['type']);
|
|
|
|
+ Log::info($data);
|
|
$res = FormData::create($data);
|
|
$res = FormData::create($data);
|
|
if(empty($res)) {
|
|
if(empty($res)) {
|
|
return response()->json(['status' => 'fail', 'info' => '保存失败']);
|
|
return response()->json(['status' => 'fail', 'info' => '保存失败']);
|