|  | @@ -101,7 +101,7 @@ public class NewsController extends BaseController {
 | 
											
												
													
														|  |  	@ApiOperation("新增资讯")
 |  |  	@ApiOperation("新增资讯")
 | 
											
												
													
														|  |  	@PostMapping(value = "/add", consumes = MediaType.APPLICATION_FORM_URLENCODED_VALUE, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
 |  |  	@PostMapping(value = "/add", consumes = MediaType.APPLICATION_FORM_URLENCODED_VALUE, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
 | 
											
												
													
														|  |  	@AuditLogAnnotation(operateName = "资讯新增",interfaceURL = "news/add")
 |  |  	@AuditLogAnnotation(operateName = "资讯新增",interfaceURL = "news/add")
 | 
											
												
													
														|  | -//	@PreAuthorize("@pcs.hasPermissions('news/add')")
 |  | 
 | 
											
												
													
														|  | 
 |  | +	@PreAuthorize("@pcs.hasPermissions('news/add')")
 | 
											
												
													
														|  |  	public Object add(SysNewsInformation newsInfo) {
 |  |  	public Object add(SysNewsInformation newsInfo) {
 | 
											
												
													
														|  |  		return succeed(sysNewsInformationService.insert(newsInfo));
 |  |  		return succeed(sysNewsInformationService.insert(newsInfo));
 | 
											
												
													
														|  |  	}
 |  |  	}
 | 
											
										
											
												
													
														|  | @@ -109,7 +109,7 @@ public class NewsController extends BaseController {
 | 
											
												
													
														|  |  	@ApiOperation("更新资讯")
 |  |  	@ApiOperation("更新资讯")
 | 
											
												
													
														|  |  	@PostMapping(value = "/update", consumes = MediaType.APPLICATION_FORM_URLENCODED_VALUE, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
 |  |  	@PostMapping(value = "/update", consumes = MediaType.APPLICATION_FORM_URLENCODED_VALUE, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
 | 
											
												
													
														|  |  	@AuditLogAnnotation(operateName = "资讯更新",interfaceURL = "news/update")
 |  |  	@AuditLogAnnotation(operateName = "资讯更新",interfaceURL = "news/update")
 | 
											
												
													
														|  | -//	@PreAuthorize("@pcs.hasPermissions('news/update')")
 |  | 
 | 
											
												
													
														|  | 
 |  | +	@PreAuthorize("@pcs.hasPermissions('news/update')")
 | 
											
												
													
														|  |  	public Object update(SysNewsInformation newsInfo) {
 |  |  	public Object update(SysNewsInformation newsInfo) {
 | 
											
												
													
														|  |  		Date date = new Date();
 |  |  		Date date = new Date();
 | 
											
												
													
														|  |  		newsInfo.setUpdateTime(date);
 |  |  		newsInfo.setUpdateTime(date);
 | 
											
										
											
												
													
														|  | @@ -120,7 +120,7 @@ public class NewsController extends BaseController {
 | 
											
												
													
														|  |  	@ApiOperation("删除")
 |  |  	@ApiOperation("删除")
 | 
											
												
													
														|  |  	@PostMapping(value = "/del/{id}", consumes = MediaType.APPLICATION_FORM_URLENCODED_VALUE, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
 |  |  	@PostMapping(value = "/del/{id}", consumes = MediaType.APPLICATION_FORM_URLENCODED_VALUE, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
 | 
											
												
													
														|  |  	@AuditLogAnnotation(operateName = "资讯删除",interfaceURL = "news/del")
 |  |  	@AuditLogAnnotation(operateName = "资讯删除",interfaceURL = "news/del")
 | 
											
												
													
														|  | -//	@PreAuthorize("@pcs.hasPermissions('news/del')")
 |  | 
 | 
											
												
													
														|  | 
 |  | +	@PreAuthorize("@pcs.hasPermissions('news/del')")
 | 
											
												
													
														|  |  	public Object add(@PathVariable("id") Long id) {
 |  |  	public Object add(@PathVariable("id") Long id) {
 | 
											
												
													
														|  |  		return succeed(sysNewsInformationService.deleteWithLogical(id));
 |  |  		return succeed(sysNewsInformationService.deleteWithLogical(id));
 | 
											
												
													
														|  |  	}
 |  |  	}
 |