wugg 8 kuukautta sitten
vanhempi
commit
f48d5463fb
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      app/bug/model/WorkSubscr.php

+ 1 - 1
app/bug/model/WorkSubscr.php

@@ -49,7 +49,7 @@ use think\Exception;use think\model\concern\SoftDelete;class WorkSubscr extends
     public static function GetActionById($id){
         $info = self::findOrEmpty($id);
         if($info->is_check==1) throw new \Exception("功能权限申请存在数据未审核",1004);
-        $list = WorkSubinfo::where(["sub_id"=>$id,"status"=>2])->column("action_id,type");
+        $list = WorkSubinfo::where(["sub_id"=>$id,"status"=>1])->column("action_id,type");
         $result = $info->action;
             $tempAdd=[];
         	$tempRemove=[];