diff --git a/test-test/src/main/java/com/test/test/domain/TestApi.java b/test-test/src/main/java/com/test/test/domain/TestApi.java index 889f46e..8e40ce6 100644 --- a/test-test/src/main/java/com/test/test/domain/TestApi.java +++ b/test-test/src/main/java/com/test/test/domain/TestApi.java @@ -53,6 +53,10 @@ public class TestApi extends BaseEntity { @Excel(name = "接口查询参数") private String param; + /** 接口请求体 Content-Type */ + @Excel(name = "接口请求体 Content-Type") + private String contentType; + /** * 接口请求体 */ diff --git a/test-test/src/main/resources/mapper/test/TestApiMapper.xml b/test-test/src/main/resources/mapper/test/TestApiMapper.xml index ef4cde5..5446865 100644 --- a/test-test/src/main/resources/mapper/test/TestApiMapper.xml +++ b/test-test/src/main/resources/mapper/test/TestApiMapper.xml @@ -12,6 +12,7 @@ + @@ -21,7 +22,7 @@ - select id, group_id, name, method, uri, header, param, body, del_flag, create_by, create_time, update_by, update_time from test_api + select id, group_id, name, method, uri, header, param, content_type, body, del_flag, create_by, create_time, update_by, update_time from test_api