|
@@ -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=[];
|