You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							32 lines
						
					
					
						
							506 B
						
					
					
				
			
		
		
	
	
							32 lines
						
					
					
						
							506 B
						
					
					
				| import request from '@/utils/request' | |
|  | |
| export const NoticApi = { | |
| 	/** | |
| 	 * 获取标签数据 | |
| 	 */ | |
| 	getTabData: () => { | |
| 		return request({ | |
| 			url: '/system/notify-message/typeCount', | |
| 			method: 'GET', | |
| 		}) | |
| 	}, | |
| 	/** | |
| 	 * 获取列表数据 | |
| 	 */ | |
| 	getListData: params => { | |
| 		return request({ | |
| 			url: '/system/notify-message/page', | |
| 			method: 'GET', | |
| 			params | |
| 		}) | |
| 	}, | |
| 	/** | |
| 	 * 已读 | |
| 	 */ | |
| 	readNotic: id => { | |
| 		return request({ | |
| 			url: `/system/notify-message/update-read?ids=${id}`, | |
| 			method: 'PUT', | |
| 		}) | |
| 	} | |
| } |