Commit 1d26bb56 by 杨树贤

优化空格清楚

parent 46ba4a9d
......@@ -27,6 +27,7 @@ class SupplierExaminationService
//保存
public function saveSupplierExamination($data)
{
$data = BatchTrim($data);
$data['examine_time'] = strtotime($data['examine_time']);
if (!empty($data['id'])) {
$data['update_time'] = time();
......
......@@ -13,6 +13,7 @@ class SupplierExaminationValidator
//因为控制器那边已经被之前的人魔改的难用的一比,而且控制器那边还接收了一大堆统一变量
public function checkSave($params)
{
$params = BatchTrim($params);
//整理下请求数据
$rules = [
"supplier_name" => "required|max:100",
......
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 sign in to comment