作者 lyh

gx

@@ -37,9 +37,9 @@ class ProjectGscController extends BaseController @@ -37,9 +37,9 @@ class ProjectGscController extends BaseController
37 */ 37 */
38 public function domainLists(GscLogic $gscLogic){ 38 public function domainLists(GscLogic $gscLogic){
39 $this->request->validate([ 39 $this->request->validate([
40 - 'gsc_id'=>'required' 40 + 'id'=>'required'
41 ],[ 41 ],[
42 - 'gsc_id.required' => 'GSC账号ID不能为空' 42 + 'id.required' => 'GSC账号ID不能为空'
43 ]); 43 ]);
44 $lists = $gscLogic->DomainLists($this->map,$this->page,$this->row,$this->order); 44 $lists = $gscLogic->DomainLists($this->map,$this->page,$this->row,$this->order);
45 $this->response('success',Code::SUCCESS,$lists); 45 $this->response('success',Code::SUCCESS,$lists);