作者 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 - 'id'=>'required' 40 + 'gsc_id'=>'required'
41 ],[ 41 ],[
42 - 'id.required' => 'GSC账号ID不能为空' 42 + 'gsc_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);
@@ -54,9 +54,9 @@ class ProjectGscController extends BaseController @@ -54,9 +54,9 @@ class ProjectGscController extends BaseController
54 */ 54 */
55 public function read(GscLogic $gscLogic){ 55 public function read(GscLogic $gscLogic){
56 $this->request->validate([ 56 $this->request->validate([
57 - 'gsc_id'=>'required' 57 + 'id'=>'required'
58 ],[ 58 ],[
59 - 'gsc_id.required' => 'GSC账号ID不能为空' 59 + 'id.required' => 'GSC账号ID不能为空'
60 ]); 60 ]);
61 $info = $gscLogic->GscRead(); 61 $info = $gscLogic->GscRead();
62 $this->response('success',Code::SUCCESS,$info); 62 $this->response('success',Code::SUCCESS,$info);