From 4d5c34e8fa48fd9411b502791e4f6ae5ef4b251a Mon Sep 17 00:00:00 2001 From: WeiRan <2392355487@qq.com> Date: Sat, 7 Sep 2024 12:12:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E4=B8=9A=E7=AE=A1=E7=90=86=E5=AE=8C?= =?UTF-8?q?=E5=96=84=E6=96=B0=E5=A2=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/apitest/apitest.js | 15 +++ .../background/apidetailmessage/index.vue | 5 - src/views/market/apitest/index.vue | 110 +++++++++++++++++- 3 files changed, 121 insertions(+), 9 deletions(-) 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 @@