Swdz-WangHaiJun 4 년 전
부모
커밋
7d5a150d85
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      app/Admin/Actions/Community/Docter/Failed.php
  2. 1 1
      app/Admin/Actions/Community/Docter/Pass.php

+ 1 - 1
app/Admin/Actions/Community/Docter/Failed.php

xqd
@@ -15,7 +15,7 @@ class Failed extends RowAction
     protected $selector = '.failed';
 
     public $name = '驳回';
-    public function handle(Request $request)
+    public function handle()
     {
         DB::beginTransaction();
         try {

+ 1 - 1
app/Admin/Actions/Community/Docter/Pass.php

xqd
@@ -21,7 +21,7 @@ class Pass extends RowAction
         $name = $this->row->docter->name;
         try{
             $DocOrg = new DocterOrganization();
-            $DocOrg->where('id',$id)->update(['state'=>1]);
+            $DocOrg->where('id',$id)->update(['state'=>3]);
 //            $count = $DocOrg->where('state','!=',1)->where('docter_id',$docter_id)->count();
 //            if($count == 0){
 //                Docter::where(['id'=>$docter_id])->update(['is_then'=>1]);