|
...
|
...
|
@@ -8,6 +8,7 @@ use App\Helper\Common; |
|
|
|
use App\Http\Controllers\Bside\BaseController;
|
|
|
|
use App\Jobs\PurchaserJob;
|
|
|
|
use App\Models\CustomModule\CustomModule;
|
|
|
|
use App\Models\OaNotice\OaNotice;
|
|
|
|
use App\Models\Project\DeployBuild;
|
|
|
|
use App\Models\Project\Project;
|
|
|
|
use App\Models\RouteMap\RouteMap;
|
|
...
|
...
|
@@ -325,4 +326,20 @@ class ComController extends BaseController |
|
|
|
$this->response('success',Code::SUCCESS,$data);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @remark :获取通知信息
|
|
|
|
* @name :getNoticeInfo
|
|
|
|
* @author :lyh
|
|
|
|
* @method :post
|
|
|
|
* @time :2024/6/20 16:49
|
|
|
|
*/
|
|
|
|
public function getNoticeInfo(){
|
|
|
|
$oaNoticeModel = new OaNotice();
|
|
|
|
$this->map['start_time'] = ['<=',date('Y-m-d H:i:s')];
|
|
|
|
$this->map['end_time'] = ['>=',date('Y-m-d H:i:s')];
|
|
|
|
$this->map['status'] = 0;
|
|
|
|
$lists = $oaNoticeModel->list($this->map);
|
|
|
|
$this->response('success',Code::SUCCESS,$lists);
|
|
|
|
}
|
|
|
|
|
|
|
|
} |
...
|
...
|
|