|
...
|
...
|
@@ -57,13 +57,13 @@ class GeoController extends BaseController |
|
|
|
'manager_id' => 'nullable|integer',
|
|
|
|
'company' => 'nullable|max:200',
|
|
|
|
'brand' => 'nullable|max:200',
|
|
|
|
'description' => 'nullable|max:500',
|
|
|
|
// 'description' => 'nullable|max:500',
|
|
|
|
], [
|
|
|
|
'project_id.required' => '项目ID不能为空',
|
|
|
|
'manager_id.integer' => '管理员参数非法',
|
|
|
|
'company.max' => '公司名称不能超过200个字符',
|
|
|
|
'brand.max' => '品牌名不能超过200个字符',
|
|
|
|
'description.max' => '描述不能超过500个字符',
|
|
|
|
// 'description.max' => '描述不能超过500个字符',
|
|
|
|
]);
|
|
|
|
$data = $this->logic->saveConfig($this->param);
|
|
|
|
$this->response('success', Code::SUCCESS, $data);
|
...
|
...
|
|