|  |  | @ -73,7 +73,7 @@ public class ArticleController { | 
			
		
	
		
			
				
					|  |  |  |      * @param fromDTO | 
			
		
	
		
			
				
					|  |  |  |      * @throws Exception | 
			
		
	
		
			
				
					|  |  |  |      */ | 
			
		
	
		
			
				
					|  |  |  |     @GetMapping("savecontent") | 
			
		
	
		
			
				
					|  |  |  |     @PostMapping("savecontent") | 
			
		
	
		
			
				
					|  |  |  |     @RequirePermission(requirePermission = RequirePermissionEnum.WORK_PARTY_VOICE_PUBLISH) | 
			
		
	
		
			
				
					|  |  |  |     public Result<String> saveOrUpdateContent(@LoginUser TokenDto tokenDto,@RequestBody DraftContentFromDTO  fromDTO) throws Exception { | 
			
		
	
		
			
				
					|  |  |  |         String draftId = articleService.saveOrUpdateContent(tokenDto, fromDTO); | 
			
		
	
	
		
			
				
					|  |  | @ -171,7 +171,7 @@ public class ArticleController { | 
			
		
	
		
			
				
					|  |  |  |      * @param fromDTO | 
			
		
	
		
			
				
					|  |  |  |      * @throws Exception | 
			
		
	
		
			
				
					|  |  |  |      */ | 
			
		
	
		
			
				
					|  |  |  |     @GetMapping("saveattr") | 
			
		
	
		
			
				
					|  |  |  |     @PostMapping("saveattr") | 
			
		
	
		
			
				
					|  |  |  |     @RequirePermission(requirePermission = RequirePermissionEnum.WORK_PARTY_VOICE_PUBLISH) | 
			
		
	
		
			
				
					|  |  |  |     public Result<Boolean> saveDraftAttr(@LoginUser TokenDto tokenDto,@RequestBody DraftAttrFromDTO fromDTO) throws Exception { | 
			
		
	
		
			
				
					|  |  |  |         ValidatorUtils.validateEntity(fromDTO, DefaultGroup.class); | 
			
		
	
	
		
			
				
					|  |  | @ -184,7 +184,7 @@ public class ArticleController { | 
			
		
	
		
			
				
					|  |  |  |      * @param fromDTO | 
			
		
	
		
			
				
					|  |  |  |      * @throws Exception | 
			
		
	
		
			
				
					|  |  |  |      */ | 
			
		
	
		
			
				
					|  |  |  |     @GetMapping("previewsaveattr") | 
			
		
	
		
			
				
					|  |  |  |     @PostMapping("previewsaveattr") | 
			
		
	
		
			
				
					|  |  |  |     @RequirePermission(requirePermission = RequirePermissionEnum.WORK_PARTY_VOICE_PUBLISH) | 
			
		
	
		
			
				
					|  |  |  |     public Result<Boolean> previewSaveDraftAttr(@LoginUser TokenDto tokenDto,@RequestBody DraftAttrFromDTO fromDTO) throws Exception { | 
			
		
	
		
			
				
					|  |  |  |         ValidatorUtils.validateEntity(fromDTO, DefaultGroup.class); | 
			
		
	
	
		
			
				
					|  |  | @ -197,7 +197,7 @@ public class ArticleController { | 
			
		
	
		
			
				
					|  |  |  |      * @param draftId | 
			
		
	
		
			
				
					|  |  |  |      * @throws Exception | 
			
		
	
		
			
				
					|  |  |  |      */ | 
			
		
	
		
			
				
					|  |  |  |     @GetMapping("publish") | 
			
		
	
		
			
				
					|  |  |  |     @PostMapping("publish") | 
			
		
	
		
			
				
					|  |  |  |     @RequirePermission(requirePermission = RequirePermissionEnum.WORK_PARTY_VOICE_PUBLISH) | 
			
		
	
		
			
				
					|  |  |  |     public Result<Boolean> publishArticle(@LoginUser TokenDto tokenDto, String draftId) throws Exception { | 
			
		
	
		
			
				
					|  |  |  |         Boolean isSuccess = articleService.publish(tokenDto, draftId); | 
			
		
	
	
		
			
				
					|  |  | 
 |