| 
														
															@@ -5,9 +5,12 @@ import com.tzld.longarticle.recommend.server.model.vo.IntermediateIndicatorsExpo 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import com.tzld.longarticle.recommend.server.model.vo.NewSortStrategyExport; 
														 | 
														
														 | 
														
															 import com.tzld.longarticle.recommend.server.model.vo.NewSortStrategyExport; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import com.tzld.longarticle.recommend.server.service.recommend.DataDashboardService; 
														 | 
														
														 | 
														
															 import com.tzld.longarticle.recommend.server.service.recommend.DataDashboardService; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import com.tzld.longarticle.recommend.server.util.DateUtils; 
														 | 
														
														 | 
														
															 import com.tzld.longarticle.recommend.server.util.DateUtils; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import com.tzld.longarticle.recommend.server.util.feishu.FeiShu; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import lombok.extern.slf4j.Slf4j; 
														 | 
														
														 | 
														
															 import lombok.extern.slf4j.Slf4j; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import org.junit.jupiter.api.Test; 
														 | 
														
														 | 
														
															 import org.junit.jupiter.api.Test; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import org.springframework.boot.test.context.SpringBootTest; 
														 | 
														
														 | 
														
															 import org.springframework.boot.test.context.SpringBootTest; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import org.springframework.data.util.Pair; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import org.springframework.http.HttpHeaders; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import javax.annotation.Resource; 
														 | 
														
														 | 
														
															 import javax.annotation.Resource; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import java.util.List; 
														 | 
														
														 | 
														
															 import java.util.List; 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -38,4 +41,14 @@ public class DataDashboardTest { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         dataDashboardService.producePlanAuditExport(dateStrList); 
														 | 
														
														 | 
														
															         dataDashboardService.producePlanAuditExport(dateStrList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    @Test 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    public void delFeishuSheet() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        List<String> delDateStrList = DateUtils.getBeforeDays(null, null, 14); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        Pair<String, Integer> token = FeiShu.requestAccessToken(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        HttpHeaders httpHeaders = new HttpHeaders(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        httpHeaders.add("Authorization", "Bearer " + token.getFirst()); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        dataDashboardService.delFeishuSheet(httpHeaders, "7d4e12", 2, delDateStrList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 |