Explorar o código

去除Cookie、Session模拟,取消默认body模拟参数

mxd %!s(int64=4) %!d(string=hai) anos
pai
achega
07f6f6856b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main/resources/magicapi-support/js/index.js

+ 1 - 1
src/main/resources/magicapi-support/js/index.js

@@ -9,7 +9,7 @@ var MagicEditor = {
         this.apiId = null;
         this.apiList = [];
         this.debugSessionId = null;
-        this.defaultRequestValue = '{\r\n\t"request" : {\r\n\t\t"message" : "Hello MagicAPI!"\r\n\t},\r\n\t"path" : {\r\n\t\t"id" : "123456"\r\n\t},\r\n\t"body" : {\r\n\t\t"id" : "123456"\r\n\t},\r\n\t"header" : {\r\n\t\t"token" : "tokenValue"\r\n\t},\r\n\t"cookie" : {\r\n\t\t"cookieName" : "cookieValue"\r\n\t},\r\n\t"session" : {\r\n\t\t"userId" : "123"\r\n\t}\r\n}';
+        this.defaultRequestValue = '{\r\n\t"request" : {\r\n\t\t"message" : "Hello MagicAPI!"\r\n\t},\r\n\t"path" : {\r\n\t\t"id" : "123456"\r\n\t},\r\n\t"header" : {\r\n\t\t"token" : "tokenValue"\r\n\t}';
         this.initMTA();
         this.initShortKey();
         this.initSkin();