作者 lyh

gx

@@ -12,6 +12,7 @@ namespace App\Http\Controllers\Aside\Com; @@ -12,6 +12,7 @@ namespace App\Http\Controllers\Aside\Com;
12 use App\Enums\Common\Code; 12 use App\Enums\Common\Code;
13 use App\Http\Controllers\Aside\BaseController; 13 use App\Http\Controllers\Aside\BaseController;
14 use App\Http\Logic\Aside\Com\OaNoticeLogic; 14 use App\Http\Logic\Aside\Com\OaNoticeLogic;
  15 +use App\Models\Manage\Manage;
15 use App\Models\OaNotice\OaNotice; 16 use App\Models\OaNotice\OaNotice;
16 use App\Models\Project\Project; 17 use App\Models\Project\Project;
17 use Illuminate\Support\Facades\DB; 18 use Illuminate\Support\Facades\DB;
@@ -38,6 +39,7 @@ class OaNoticeController extends BaseController @@ -38,6 +39,7 @@ class OaNoticeController extends BaseController
38 }else{ 39 }else{
39 $v['project_title'] = '所有'; 40 $v['project_title'] = '所有';
40 } 41 }
  42 + $v['operator_name'] = (new Manage())->getName($v['operator_id']);
41 $lists['list'][$k] = $v; 43 $lists['list'][$k] = $v;
42 } 44 }
43 } 45 }
@@ -11,6 +11,7 @@ namespace App\Http\Logic\Aside\Com; @@ -11,6 +11,7 @@ namespace App\Http\Logic\Aside\Com;
11 11
12 use App\Http\Logic\Aside\BaseLogic; 12 use App\Http\Logic\Aside\BaseLogic;
13 use App\Models\Com\V6UpdateLog; 13 use App\Models\Com\V6UpdateLog;
  14 +use App\Models\Manage\Manage;
14 use App\Models\OaNotice\OaNotice; 15 use App\Models\OaNotice\OaNotice;
15 16
16 class OaNoticeLogic extends BaseLogic 17 class OaNoticeLogic extends BaseLogic
@@ -67,6 +68,7 @@ class OaNoticeLogic extends BaseLogic @@ -67,6 +68,7 @@ class OaNoticeLogic extends BaseLogic
67 if($info == false){ 68 if($info == false){
68 $this->fail('当前数据不存在或已被删除'); 69 $this->fail('当前数据不存在或已被删除');
69 } 70 }
  71 + $info['operator_name'] = (new Manage())->getName($info['operator_id']);
70 return $this->success($info); 72 return $this->success($info);
71 } 73 }
72 } 74 }