diff --git a/src/api/apitest/apitest.js b/src/api/apitest/apitest.js index dec3297..9a2e4a0 100644 --- a/src/api/apitest/apitest.js +++ b/src/api/apitest/apitest.js @@ -35,6 +35,21 @@ export function findcount(data){ }) } +export function getHeader(data){ + return request({ + url:"/market/producttest/productheader", + method: "POST", + data: data + }) +} +export function getRequest(data){ + return request({ + url:"/market/producttest/productrequest", + method: "POST", + data: data + }) +} + export function sendrequest(options){ diff --git a/src/views/background/apidetailmessage/index.vue b/src/views/background/apidetailmessage/index.vue index f5e8de7..3c2fcb9 100644 --- a/src/views/background/apidetailmessage/index.vue +++ b/src/views/background/apidetailmessage/index.vue @@ -37,11 +37,6 @@ {{api.requestMethod}} - - - - - 返回 diff --git a/src/views/market/apitest/index.vue b/src/views/market/apitest/index.vue index c4c9531..451e46a 100644 --- a/src/views/market/apitest/index.vue +++ b/src/views/market/apitest/index.vue @@ -50,8 +50,83 @@ {{myapi.requestMethod}} + + + + + + + + + + - + + + + + + + + + + + + + + @@ -124,7 +199,7 @@ 发送请求 - + npm 发送请求 @@ -216,10 +291,19 @@