瀏覽代碼

finished roi api

gufengshou1 1 年之前
父節點
當前提交
4455d3a365

+ 5 - 0
ad-engine-server/src/main/java/com/tzld/piaoquan/ad/engine/server/controller/HealthController.java

@@ -6,4 +6,9 @@ import org.springframework.web.bind.annotation.RestController;
 @RestController
 @RequestMapping("/health")
 public class HealthController {
+
+    @RequestMapping("/check")
+    public String check(){
+        return "success"+System.currentTimeMillis();
+    }
 }

+ 1 - 3
ad-engine-server/src/main/resources/application.yml

@@ -59,7 +59,7 @@ pagehelper:
 
 #apollo config
 app:
-  id: ad
+  id: ad-engine
 
 apollo:
   bootstrap:
@@ -91,8 +91,6 @@ aliyun:
       request: request-log
       info: info-log
       error: error-log
-      landingTypeFilter: landingpagetype-filter-error-log
-      adPackageData: ad-package-data
     topic:
     threadpool:
       corePoolSize: 100