Commit 96a768f9 by hongzhong

去除错误页面中的联系电话

parent fb7d7562
...@@ -102,7 +102,7 @@ public class AppErrorController implements ErrorController{ ...@@ -102,7 +102,7 @@ public class AppErrorController implements ErrorController{
JsonResult result = new JsonResult(); JsonResult result = new JsonResult();
ErrorResponseVO errorResponseVO = new ErrorResponseVO(); ErrorResponseVO errorResponseVO = new ErrorResponseVO();
errorResponseVO.setCommonResult(new CommonResult(false,"API not exist! Please go to our home page https://www.ydinsurance.cn/, or call 13661741633.")); errorResponseVO.setCommonResult(new CommonResult(false,"API not exist! Please go to our home page https://www.ydinsurance.cn/"));
result.setData(new ResponseEntity<Map<String, Object>>(body, status)); result.setData(new ResponseEntity<Map<String, Object>>(body, status));
result.addResult(errorResponseVO); result.addResult(errorResponseVO);
...@@ -151,4 +151,4 @@ public class AppErrorController implements ErrorController{ ...@@ -151,4 +151,4 @@ public class AppErrorController implements ErrorController{
return HttpStatus.INTERNAL_SERVER_ERROR; return HttpStatus.INTERNAL_SERVER_ERROR;
} }
} }
\ No newline at end of file
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<div class="cover"> <div class="cover">
<h1>Our apologies for resource not found.</h1> <h1>Our apologies for resource not found.</h1>
<p class="lead">This API stepped out for a quick ride.</p> <p class="lead">This API stepped out for a quick ride.</p>
<p>Please go to our home page <a href ="https://www.ydinsurance.cn/" target = "_blank">https://www.ydinsurance.cn/</a>, or call 13661741633.</p> <p>Please go to our home page <a href ="https://www.ydinsurance.cn/" target = "_blank">https://www.ydinsurance.cn/</a></p>
</div> </div>
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<div class="cover"> <div class="cover">
<h1>Our apologies for internal error.</h1> <h1>Our apologies for internal error.</h1>
<p class="lead">This API stepped out for a quick ride.</p> <p class="lead">This API stepped out for a quick ride.</p>
<p>Please go to our home page <a href ="https://www.ydinsurance.cn/" target = "_blank">https://www.ydinsurance.cn/</a>, or call 13661741633.</p> <p>Please go to our home page <a href ="https://www.ydinsurance.cn/" target = "_blank">https://www.ydinsurance.cn/</a></p>
</div> </div>
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<div class="cover"> <div class="cover">
<h1>Our apologies for unknown error.</h1> <h1>Our apologies for unknown error.</h1>
<p class="lead">This API stepped out for a quick ride.</p> <p class="lead">This API stepped out for a quick ride.</p>
<p>Please go to our home page <a href ="https://www.ydinsurance.cn/" target = "_blank">https://www.ydinsurance.cn/</a>, or call 13661741633.</p> <p>Please go to our home page <a href ="https://www.ydinsurance.cn/" target = "_blank">https://www.ydinsurance.cn/</a></p>
</div> </div>
</body> </body>
</html> </html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment