认证-参数项收集-bug:url中有空格导致飞书消息发送失败

This commit is contained in:
liyawei
2022-08-05 16:44:18 +08:00
parent e4e4f7cadc
commit d82ac1fe77
@@ -72,6 +72,7 @@ import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.multipart.MultipartFile;
import org.yaml.snakeyaml.util.UriEncoder;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
@@ -2651,7 +2652,7 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
} catch (Exception e) {
log.error("通过实体类获取URL出现异常:" + e.getMessage(), e);
}
return requestURL.toString();
return UriEncoder.encode(requestURL.toString());
}
/**