|
@@ -78,7 +78,11 @@ class NoticeController extends BaseAdminController
|
|
|
public function getInformation()
|
|
public function getInformation()
|
|
|
{
|
|
{
|
|
|
$params = $this->request->post();
|
|
$params = $this->request->post();
|
|
|
- $result = NoticeLogic::getInformation($params);
|
|
|
|
|
|
|
+ if(isset($params['business_codes']) && !empty($params['business_codes'])){
|
|
|
|
|
+ $result = NoticeLogic::getInformationBatch($params);
|
|
|
|
|
+ }else{
|
|
|
|
|
+ $result = NoticeLogic::getInformation($params);
|
|
|
|
|
+ }
|
|
|
if ($result) {
|
|
if ($result) {
|
|
|
return $this->success('获取成功', $result);
|
|
return $this->success('获取成功', $result);
|
|
|
}
|
|
}
|