java~用域名回显照片

Posted 每天性感一点点

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了java~用域名回显照片相关的知识,希望对你有一定的参考价值。


/**
* 域名回显照片
*/
@RequestMapping(value = "/dpPhoto")
public String dpPhoto(HttpServletRequest request,
HttpServletResponse response) throws Exception {
String activity_id = request.getParameter("activity_id");
if (activity_id.equals("") || activity_id == null) {
return null;
} else {
List<MEETING_register_activeityData> data = activeityService.echo(activity_id);
String path = data.get(0).getMetting_discipline();
log.info("纪律修改域名");
String code_path = path.replaceAll("/u02/webapps", "http://wcmuat.yundasys.com:8086");         //将数据库的u02数据改为相对应域名
if (code_path.equals("") || code_path == null) {
return null;
} else {
return code_path;
}
}
}

以上是关于java~用域名回显照片的主要内容,如果未能解决你的问题,请参考以下文章

springboot项目图片上传,回显;使用外部静态资源路径回显图片

springboot项目图片上传,回显;使用外部静态资源路径回显图片

jq 实现照片上传回显(支持火狐和高版本IE,谷歌反应慢,有大神可以补充)

Java安全之反序列化回显与内存马

百度WebUploader上传图片,图片回显编辑,查看

canvas处理压缩照片并回显:https://cengjingdeshuige.oss-cn-beijing.aliyuncs.com/20180512/cannovs%E5%AD%A6%E4%B9