|
@@ -1,6 +1,7 @@
|
|
|
package com.tzld.piaoquan.risk.control.controller;
|
|
|
|
|
|
import com.tzld.piaoquan.risk.control.common.annotation.NoRequestLog;
|
|
|
+import com.tzld.piaoquan.risk.control.common.annotation.UnAuth;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
@@ -22,6 +23,7 @@ public class IndexController {
|
|
|
* @return
|
|
|
*/
|
|
|
@NoRequestLog
|
|
|
+ @UnAuth
|
|
|
@GetMapping("/healthcheck")
|
|
|
public String healthcheck() {
|
|
|
LOGGER.info("I'm ok");
|