|
@@ -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";
|
|
|
+ }
|
|
|
}
|