refactor(接口测试): curl导入优化

This commit is contained in:
WangXu10 2024-09-20 11:38:30 +08:00 committed by Craftsman
parent 308b568931
commit 377ca6d609
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ public interface CurlPatternConstants {
/**
* --form 请求体
*/
Pattern HTTP_FROM_BODY_PATTERN = Pattern.compile("--form\\s+'(.*?)'|-F\\s+'(.*?)'");
Pattern HTTP_FROM_BODY_PATTERN = Pattern.compile("--form\\s+['\"](.*?)['\"]|-F\\s+['\"](.*?)['\"]");
/**