丁云鹏 1 tahun lalu
induk
melakukan
f45ab972e8

+ 5 - 0
recommend-server-service/src/main/java/com/tzld/piaoquan/recommend/server/web/RecommendController.java

@@ -5,6 +5,7 @@ import com.tzld.piaoquan.recommend.server.gen.recommend.RecommendResponse;
 import com.tzld.piaoquan.recommend.server.service.RecommendService;
 import com.tzld.piaoquan.recommend.server.util.JSONUtils;
 import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
 import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
@@ -29,4 +30,8 @@ public class RecommendController {
         return JSONUtils.toJson(response);
     }
 
+    @GetMapping("/ok")
+    public String ok() {
+        return "ok";
+    }
 }