YApi-高效、易用、功能强大的可视化接口管理平台.htm 53 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <!DOCTYPE html>
  2. <!-- saved from url=(0045)http://114.80.87.249:50004/project/18/setting -->
  3. <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  4. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  5. <meta name="keywords" content="yapi接口管理,api管理,接口管理,api,接口,接口文档,api文档,接口管理系统">
  6. <meta name="description" content="YApi 是高效、易用、功能强大的 api 管理平台,旨在为开发、产品、测试人员提供更优雅的接口管理服务。可以帮助开发者轻松创建、发布、维护 API,YApi 还为用户提供了优秀的交互体验,开发人员只需利用平台提供的接口数据写入工具以及简单的点击操作就可以实现接口的管理。">
  7. <title>YApi-高效、易用、功能强大的可视化接口管理平台</title>
  8. <link rel="icon" type="image/png" sizes="192x192" href="http://114.80.87.249:50004/image/favicon.png">
  9. <script>
  10. document.write('<script src="/prd/assets.js?v=' + Math.random() + '"><\/script>');
  11. </script><script src="./YApi-高效、易用、功能强大的可视化接口管理平台_files/assets.js"></script>
  12. <script>
  13. document.write('<link rel="stylesheet" href="/prd/' + window.WEBPACK_ASSETS['index.js'].css + '" />');
  14. </script><link rel="stylesheet" href="./YApi-高效、易用、功能强大的可视化接口管理平台_files/index@17f2ee29b20b225e073a.css">
  15. <style id="ace_editor.css">.ace_editor { position: relative; overflow: hidden; font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace; direction: ltr; text-align: left; } .ace_scroller { position: absolute; overflow: hidden; top: 0; bottom: 0; background-color: inherit; -ms-user-select: none; -moz-user-select: none; -webkit-user-select: none; user-select: none; cursor: text; } .ace_content { position: absolute; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; min-width: 100%; } .ace_dragging .ace_scroller:before{ position: absolute; top: 0; left: 0; right: 0; bottom: 0; content: ''; background: rgba(250, 250, 250, 0.01); z-index: 1000; } .ace_dragging.ace_dark .ace_scroller:before{ background: rgba(0, 0, 0, 0.01); } .ace_selecting, .ace_selecting * { cursor: text !important; } .ace_gutter { position: absolute; overflow : hidden; width: auto; top: 0; bottom: 0; left: 0; cursor: default; z-index: 4; -ms-user-select: none; -moz-user-select: none; -webkit-user-select: none; user-select: none; } .ace_gutter-active-line { position: absolute; left: 0; right: 0; } .ace_scroller.ace_scroll-left { box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset; } .ace_gutter-cell { padding-left: 19px; padding-right: 6px; background-repeat: no-repeat; } .ace_gutter-cell.ace_error { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg=="); background-repeat: no-repeat; background-position: 2px center; } .ace_gutter-cell.ace_warning { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg=="); background-position: 2px center; } .ace_gutter-cell.ace_info { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII="); background-position: 2px center; } .ace_dark .ace_gutter-cell.ace_info { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC"); } .ace_scrollbar { position: absolute; right: 0; bottom: 0; z-index: 6; } .ace_scrollbar-inner { position: absolute; cursor: text; left: 0; top: 0; } .ace_scrollbar-v{ overflow-x: hidden; overflow-y: scroll; top: 0; } .ace_scrollbar-h { overflow-x: scroll; overflow-y: hidden; left: 0; } .ace_print-margin { position: absolute; height: 100%; } .ace_text-input { position: absolute; z-index: 0; width: 0.5em; height: 1em; opacity: 0; background: transparent; -moz-appearance: none; appearance: none; border: none; resize: none; outline: none; overflow: hidden; font: inherit; padding: 0 1px; margin: 0 -1px; text-indent: -1em; -ms-user-select: text; -moz-user-select: text; -webkit-user-select: text; user-select: text; white-space: pre!important; } .ace_text-input.ace_composition { background: inherit; color: inherit; z-index: 1000; opacity: 1; text-indent: 0; } .ace_layer { z-index: 1; position: absolute; overflow: hidden; word-wrap: normal; white-space: pre; height: 100%; width: 100%; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; pointer-events: none; } .ace_gutter-layer { position: relative; width: auto; text-align: right; pointer-events: auto; } .ace_text-layer { font: inherit !important; } .ace_cjk { display: inline-block; text-align: center; } .ace_cursor-layer { z-index: 4; } .ace_cursor { z-index: 4; position: absolute; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; border-left: 2px solid; transform: translatez(0); } .ace_slim-cursors .ace_cursor { border-left-width: 1px; } .ace_overwrite-cursors .ace_cursor { border-left-width: 0; border-bottom: 1px solid; } .ace_hidden-cursors .ace_cursor { opacity: 0.2; } .ace_smooth-blinking .ace_cursor { -webkit-transition: opacity 0.18s; transition: opacity 0.18s; } .ace_editor.ace_multiselect .ace_cursor { border-left-width: 1px; } .ace_marker-layer .ace_step, .ace_marker-layer .ace_stack { position: absolute; z-index: 3; } .ace_marker-layer .ace_selection { position: absolute; z-index: 5; } .ace_marker-layer .ace_bracket { position: absolute; z-index: 6; } .ace_marker-layer .ace_active-line { position: absolute; z-index: 2; } .ace_marker-layer .ace_selected-word { position: absolute; z-index: 4; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } .ace_line .ace_fold { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; display: inline-block; height: 11px; margin-top: -2px; vertical-align: middle; background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="), url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII="); background-repeat: no-repeat, repeat-x; background-position: center center, top left; color: transparent; border: 1px solid black; border-radius: 2px; cursor: pointer; pointer-events: auto; } .ace_dark .ace_fold { } .ace_fold:hover{ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="), url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC"); } .ace_tooltip { background-color: #FFF; background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.1)); background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1)); border: 1px solid gray; border-radius: 1px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); color: black; max-width: 100%; padding: 3px 4px; position: fixed; z-index: 999999; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; cursor: default; white-space: pre; word-wrap: break-word; line-height: normal; font-style: normal; font-weight: normal; letter-spacing: normal; pointer-events: none; } .ace_folding-enabled > .ace_gutter-cell { padding-right: 13px; } .ace_fold-widget { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; margin: 0 -12px 0 1px; display: none; width: 11px; vertical-align: top; background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg=="); background-repeat: no-repeat; background-position: center; border-radius: 3px; border: 1px solid transparent; cursor: pointer; } .ace_folding-enabled .ace_fold-widget { display: inline-block; } .ace_fold-widget.ace_end { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg=="); } .ace_fold-widget.ace_closed { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA=="); } .ace_fold-widget:hover { border: 1px solid rgba(0, 0, 0, 0.3); background-color: rgba(255, 255, 255, 0.2); box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7); } .ace_fold-widget:active { border: 1px solid rgba(0, 0, 0, 0.4); background-color: rgba(0, 0, 0, 0.05); box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8); } .ace_dark .ace_fold-widget { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC"); } .ace_dark .ace_fold-widget.ace_end { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg=="); } .ace_dark .ace_fold-widget.ace_closed { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg=="); } .ace_dark .ace_fold-widget:hover { box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2); background-color: rgba(255, 255, 255, 0.1); } .ace_dark .ace_fold-widget:active { box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2); } .ace_fold-widget.ace_invalid { background-color: #FFB4B4; border-color: #DE5555; } .ace_fade-fold-widgets .ace_fold-widget { -webkit-transition: opacity 0.4s ease 0.05s; transition: opacity 0.4s ease 0.05s; opacity: 0; } .ace_fade-fold-widgets:hover .ace_fold-widget { -webkit-transition: opacity 0.05s ease 0.05s; transition: opacity 0.05s ease 0.05s; opacity:1; } .ace_underline { text-decoration: underline; } .ace_bold { font-weight: bold; } .ace_nobold .ace_bold { font-weight: normal; } .ace_italic { font-style: italic; } .ace_error-marker { background-color: rgba(255, 0, 0,0.2); position: absolute; z-index: 9; } .ace_highlight-marker { background-color: rgba(255, 255, 0,0.2); position: absolute; z-index: 8; } .ace_br1 {border-top-left-radius : 3px;} .ace_br2 {border-top-right-radius : 3px;} .ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;} .ace_br4 {border-bottom-right-radius: 3px;} .ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;} .ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;} .ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;} .ace_br8 {border-bottom-left-radius : 3px;} .ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;} .ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;} .ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;} .ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;} .ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;} .ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;} .ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}
  16. /*# sourceURL=ace/css/ace_editor.css */</style><style id="ace-tm">.ace-tm .ace_gutter { background: #f0f0f0; color: #333; } .ace-tm .ace_print-margin { width: 1px; background: #e8e8e8; } .ace-tm .ace_fold { background-color: #6B72E6; } .ace-tm { background-color: #FFFFFF; color: black; } .ace-tm .ace_cursor { color: black; } .ace-tm .ace_invisible { color: rgb(191, 191, 191); } .ace-tm .ace_storage, .ace-tm .ace_keyword { color: blue; } .ace-tm .ace_constant { color: rgb(197, 6, 11); } .ace-tm .ace_constant.ace_buildin { color: rgb(88, 72, 246); } .ace-tm .ace_constant.ace_language { color: rgb(88, 92, 246); } .ace-tm .ace_constant.ace_library { color: rgb(6, 150, 14); } .ace-tm .ace_invalid { background-color: rgba(255, 0, 0, 0.1); color: red; } .ace-tm .ace_support.ace_function { color: rgb(60, 76, 114); } .ace-tm .ace_support.ace_constant { color: rgb(6, 150, 14); } .ace-tm .ace_support.ace_type, .ace-tm .ace_support.ace_class { color: rgb(109, 121, 222); } .ace-tm .ace_keyword.ace_operator { color: rgb(104, 118, 135); } .ace-tm .ace_string { color: rgb(3, 106, 7); } .ace-tm .ace_comment { color: rgb(76, 136, 107); } .ace-tm .ace_comment.ace_doc { color: rgb(0, 102, 255); } .ace-tm .ace_comment.ace_doc.ace_tag { color: rgb(128, 159, 191); } .ace-tm .ace_constant.ace_numeric { color: rgb(0, 0, 205); } .ace-tm .ace_variable { color: rgb(49, 132, 149); } .ace-tm .ace_xml-pe { color: rgb(104, 104, 91); } .ace-tm .ace_entity.ace_name.ace_function { color: #0000A2; } .ace-tm .ace_heading { color: rgb(12, 7, 255); } .ace-tm .ace_list { color:rgb(185, 6, 144); } .ace-tm .ace_meta.ace_tag { color:rgb(0, 22, 142); } .ace-tm .ace_string.ace_regex { color: rgb(255, 0, 0) } .ace-tm .ace_marker-layer .ace_selection { background: rgb(181, 213, 255); } .ace-tm.ace_multiselect .ace_selection.ace_start { box-shadow: 0 0 3px 0px white; } .ace-tm .ace_marker-layer .ace_step { background: rgb(252, 255, 0); } .ace-tm .ace_marker-layer .ace_stack { background: rgb(164, 229, 101); } .ace-tm .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; border: 1px solid rgb(192, 192, 192); } .ace-tm .ace_marker-layer .ace_active-line { background: rgba(0, 0, 0, 0.07); } .ace-tm .ace_gutter-active-line { background-color : #dcdcdc; } .ace-tm .ace_marker-layer .ace_selected-word { background: rgb(250, 250, 255); border: 1px solid rgb(200, 200, 250); } .ace-tm .ace_indent-guide { background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y; }
  17. /*# sourceURL=ace/css/ace-tm */</style><style> .error_widget_wrapper { background: inherit; color: inherit; border:none } .error_widget { border-top: solid 2px; border-bottom: solid 2px; margin: 5px 0; padding: 10px 40px; white-space: pre-wrap; } .error_widget.ace_error, .error_widget_arrow.ace_error{ border-color: #ff5a5a } .error_widget.ace_warning, .error_widget_arrow.ace_warning{ border-color: #F1D817 } .error_widget.ace_info, .error_widget_arrow.ace_info{ border-color: #5a5a5a } .error_widget.ace_ok, .error_widget_arrow.ace_ok{ border-color: #5aaa5a } .error_widget_arrow { position: absolute; border: solid 5px; border-top-color: transparent!important; border-right-color: transparent!important; border-left-color: transparent!important; top: -5px; } </style><style> .ace_snippet-marker { -moz-box-sizing: border-box; box-sizing: border-box; background: rgba(194, 193, 208, 0.09); border: 1px dotted rgba(211, 208, 235, 0.62); position: absolute; }</style><style> .ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line { background-color: #CAD6FA; z-index: 1; } .ace_editor.ace_autocomplete .ace_line-hover { border: 1px solid #abbffe; margin-top: -1px; background: rgba(233,233,253,0.4); } .ace_editor.ace_autocomplete .ace_line-hover { position: absolute; z-index: 2; } .ace_editor.ace_autocomplete .ace_scroller { background: none; border: none; box-shadow: none; } .ace_rightAlignedText { color: gray; display: inline-block; position: absolute; right: 4px; text-align: right; z-index: -1; } .ace_editor.ace_autocomplete .ace_completion-highlight{ color: #000; text-shadow: 0 0 0.01em; } .ace_editor.ace_autocomplete { width: 280px; z-index: 200000; background: #fbfbfb; color: #444; border: 1px lightgray solid; position: fixed; box-shadow: 2px 3px 5px rgba(0,0,0,.2); line-height: 1.4; }</style><style id="ace-xcode"> .ace-xcode .ace_gutter { background: #e8e8e8; color: #333 } .ace-xcode .ace_print-margin { width: 1px; background: #e8e8e8 } .ace-xcode { background-color: #FFFFFF; color: #000000 } .ace-xcode .ace_cursor { color: #000000 } .ace-xcode .ace_marker-layer .ace_selection { background: #B5D5FF } .ace-xcode.ace_multiselect .ace_selection.ace_start { box-shadow: 0 0 3px 0px #FFFFFF; } .ace-xcode .ace_marker-layer .ace_step { background: rgb(198, 219, 174) } .ace-xcode .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; border: 1px solid #BFBFBF } .ace-xcode .ace_marker-layer .ace_active-line { background: rgba(0, 0, 0, 0.071) } .ace-xcode .ace_gutter-active-line { background-color: rgba(0, 0, 0, 0.071) } .ace-xcode .ace_marker-layer .ace_selected-word { border: 1px solid #B5D5FF } .ace-xcode .ace_constant.ace_language, .ace-xcode .ace_keyword, .ace-xcode .ace_meta, .ace-xcode .ace_variable.ace_language { color: #C800A4 } .ace-xcode .ace_invisible { color: #BFBFBF } .ace-xcode .ace_constant.ace_character, .ace-xcode .ace_constant.ace_other { color: #275A5E } .ace-xcode .ace_constant.ace_numeric { color: #3A00DC } .ace-xcode .ace_entity.ace_other.ace_attribute-name, .ace-xcode .ace_support.ace_constant, .ace-xcode .ace_support.ace_function { color: #450084 } .ace-xcode .ace_fold { background-color: #C800A4; border-color: #000000 } .ace-xcode .ace_entity.ace_name.ace_tag, .ace-xcode .ace_support.ace_class, .ace-xcode .ace_support.ace_type { color: #790EAD } .ace-xcode .ace_storage { color: #C900A4 } .ace-xcode .ace_string { color: #DF0002 } .ace-xcode .ace_comment { color: #008E00 } .ace-xcode .ace_indent-guide { background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==) right repeat-y }
  18. /*# sourceURL=ace/css/ace-xcode */</style></head>
  19. <body>
  20. <div id="yapi" style="height: 100%;"><div class="g-main"><div class="router-main"><div class="header-box m-header ant-layout-header"><div class="content g-row"><a class="logo" href="http://114.80.87.249:50004/group"><div class="href"><span class="img"><svg class="svg" width="32px" height="32px" viewBox="0 0 64 64" version="1.1"><title>Icon</title><desc>Created with Sketch.</desc><defs><lineargradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-1"><stop stop-color="#FFFFFF" offset="0%"></stop><stop stop-color="#F2F2F2" offset="100%"></stop></lineargradient><circle id="path-2" cx="31.9988602" cy="31.9988602" r="2.92886048"></circle><filter x="-85.4%" y="-68.3%" width="270.7%" height="270.7%" filterUnits="objectBoundingBox" id="filter-3"><feoffset dx="0" dy="1" in="SourceAlpha" result="shadowOffsetOuter1"></feoffset><fegaussianblur stdDeviation="1.5" in="shadowOffsetOuter1" result="shadowBlurOuter1"></fegaussianblur><fecolormatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.159703351 0" type="matrix" in="shadowBlurOuter1"></fecolormatrix></filter></defs><g id="首页" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="大屏幕"><g id="Icon"><circle id="Oval-1" fill="url(#linearGradient-1)" cx="32" cy="32" r="32"></circle><path d="M36.7078009,31.8054514 L36.7078009,51.7110548 C36.7078009,54.2844537 34.6258634,56.3695395 32.0579205,56.3695395 C29.4899777,56.3695395 27.4099998,54.0704461 27.4099998,51.7941246 L27.4099998,31.8061972 C27.4099998,29.528395 29.4909575,27.218453 32.0589004,27.230043 C34.6268432,27.241633 36.7078009,29.528395 36.7078009,31.8054514 Z" id="blue" fill="#2359F1" fill-rule="nonzero"></path><path d="M45.2586091,17.1026914 C45.2586091,17.1026914 45.5657231,34.0524383 45.2345291,37.01141 C44.9033351,39.9703817 43.1767091,41.6667796 40.6088126,41.6667796 C38.040916,41.6667796 35.9609757,39.3676862 35.9609757,37.0913646 L35.9609757,17.1034372 C35.9609757,14.825635 38.0418959,12.515693 40.6097924,12.527283 C43.177689,12.538873 45.2586091,14.825635 45.2586091,17.1026914 Z" id="green" fill="#57CF27" fill-rule="nonzero" transform="translate(40.674608, 27.097010) rotate(60.000000) translate(-40.674608, -27.097010) "></path><path d="M28.0410158,17.0465598 L28.0410158,36.9521632 C28.0410158,39.525562 25.9591158,41.6106479 23.3912193,41.6106479 C20.8233227,41.6106479 18.7433824,39.3115545 18.7433824,37.035233 L18.7433824,17.0473055 C18.7433824,14.7695034 20.8243026,12.4595614 23.3921991,12.4711513 C25.9600956,12.4827413 28.0410158,14.7695034 28.0410158,17.0465598 Z" id="red" fill="#FF561B" fill-rule="nonzero" transform="translate(23.392199, 27.040878) rotate(-60.000000) translate(-23.392199, -27.040878) "></path><g id="inner-round"><use fill="black" fill-opacity="1" filter="url(#filter-3)" xlink:href="#path-2"></use><use fill="#F7F7F7" fill-rule="evenodd" xlink:href="#path-2"></use></g></g></g></g></svg></span></div></a><div class="breadcrumb-container"><div class="ant-breadcrumb"><span><span class="ant-breadcrumb-link"><a href="http://114.80.87.249:50004/group/16">b2c</a></span><span class="ant-breadcrumb-separator">/</span></span><span><span class="ant-breadcrumb-link">onlinepayment</span><span class="ant-breadcrumb-separator">/</span></span></div></div><div class="user-toolbar" style="position: relative; z-index: 1;"><ul><li class="toolbar-li item-search"><div class="search-wrapper"><div class="search-dropdown ant-select-show-search ant-select-auto-complete ant-select ant-select-combobox ant-select-enabled" style="width: 100%;"><div class="ant-select-selection
  21. ant-select-selection--single" role="combobox" aria-autocomplete="list" aria-haspopup="true" aria-expanded="false"><div class="ant-select-selection__rendered"><ul><li class="ant-select-search ant-select-search--inline"><div class="ant-select-search__field__wrap"><span class="search-input ant-select-search__field ant-input-affix-wrapper"><span class="ant-input-prefix"><i class="anticon anticon-search srch-icon"></i></span><input type="text" placeholder="搜索分组/项目/接口" class="ant-input" value=""></span><span class="ant-select-search__field__mirror">&nbsp;</span></div></li></ul></div><span class="ant-select-arrow" unselectable="unselectable" style="user-select: none;"><b></b></span></div></div></div></li><li class="toolbar-li"><a href="http://114.80.87.249:50004/follow"><i class="anticon anticon-star dropdown-link" style="font-size: 16px;"></i></a></li><li class="toolbar-li"><a href="http://114.80.87.249:50004/add-project"><i class="anticon anticon-plus-circle dropdown-link" style="font-size: 16px;"></i></a></li><li class="toolbar-li"><a target="_blank" href="https://yapi.ymfe.org/" rel="noopener noreferrer"><i class="anticon anticon-question-circle dropdown-link" style="font-size: 16px;"></i></a></li><li class="toolbar-li"><a class="dropdown-link ant-dropdown-trigger"><span class="avatar-image"><img src="./YApi-高效、易用、功能强大的可视化接口管理平台_files/avatar"></span><span class="name"><i class="anticon anticon-down"></i></span></a></li></ul></div></div></div><div class="router-container"><div><div><div class="m-subnav"><ul class="ant-menu g-row m-subnav-menu ant-menu-light ant-menu-root ant-menu-horizontal" role="menu" aria-activedescendant="" tabindex="0"><li class="ant-menu-item item" role="menuitem" aria-selected="false"><a href="http://114.80.87.249:50004/project/18/interface/api">接 口</a></li><li class="ant-menu-item item" role="menuitem" aria-selected="false"><a href="http://114.80.87.249:50004/project/18/activity">动 态</a></li><li class="ant-menu-item item" role="menuitem" aria-selected="false"><a href="http://114.80.87.249:50004/project/18/data">数据管理</a></li><li class="ant-menu-item item" role="menuitem" aria-selected="false"><a href="http://114.80.87.249:50004/project/18/members">成员管理</a></li><li class="ant-menu-item item ant-menu-item-selected" role="menuitem" aria-selected="true"><a href="http://114.80.87.249:50004/project/18/setting">设 置</a></li><li class="ant-menu-item item" role="menuitem" aria-selected="false"><a href="http://114.80.87.249:50004/project/18/wiki">Wiki</a></li></ul></div><div class="g-row"><div class="ant-tabs ant-tabs-top has-affix-footer tabs-large ant-tabs-card ant-tabs-no-animation"><div role="tablist" class="ant-tabs-bar" tabindex="0"><div class="ant-tabs-nav-container"><span unselectable="unselectable" class="ant-tabs-tab-prev ant-tabs-tab-btn-disabled"><span class="ant-tabs-tab-prev-icon"></span></span><span unselectable="unselectable" class="ant-tabs-tab-next ant-tabs-tab-btn-disabled"><span class="ant-tabs-tab-next-icon"></span></span><div class="ant-tabs-nav-wrap"><div class="ant-tabs-nav-scroll"><div class="ant-tabs-nav ant-tabs-nav-animated"><div class="ant-tabs-ink-bar ant-tabs-ink-bar-animated" style="display: block; transform: translate3d(196px, 0px, 0px); width: 96px;"></div><div role="tab" aria-disabled="false" aria-selected="false" class=" ant-tabs-tab">项目配置</div><div role="tab" aria-disabled="false" aria-selected="false" class=" ant-tabs-tab">环境配置</div><div role="tab" aria-disabled="false" aria-selected="true" class="ant-tabs-tab-active ant-tabs-tab">请求配置</div><div role="tab" aria-disabled="false" aria-selected="false" class=" ant-tabs-tab">token配置</div><div role="tab" aria-disabled="false" aria-selected="false" class=" ant-tabs-tab">全局mock脚本</div></div></div></div></div></div><div class="ant-tabs-content ant-tabs-content-no-animated"><div role="tabpanel" aria-hidden="true" class="ant-tabs-tabpane ant-tabs-tabpane-inactive"><div><div class="m-panel"><div class="ant-row project-setting"><div class="setting-logo ant-col-xs-6 ant-col-lg-3 ant-col-lg-offset-1"><i class="anticon anticon-global ui-logo" style="background-color: rgb(245, 49, 127);"></i></div><div class="setting-intro ant-col-xs-18 ant-col-sm-15 ant-col-lg-19"><h2 class="ui-title">b2c / onlinepayment</h2></div></div><hr class="breakline"><form class="ant-form ant-form-horizontal"><div class="ant-row ant-form-item form-item"><div class="ant-form-item-label ant-col-xs-24 ant-col-sm-6 ant-col-lg-3 ant-col-lg-offset-1"><label class="" title="项目ID">项目ID</label></div><div class="ant-form-item-control-wrapper ant-col-xs-24 ant-col-sm-14 ant-col-lg-19"><div class="ant-form-item-control"><span class="ant-form-item-children"><span>18</span></span></div></div></div><div class="ant-row ant-form-item form-item"><div class="ant-form-item-label ant-col-xs-24 ant-col-sm-6 ant-col-lg-3 ant-col-lg-offset-1"><label for="name" class="ant-form-item-required" title="项目名称">项目名称</label></div><div class="ant-form-item-control-wrapper ant-col-xs-24 ant-col-sm-14 ant-col-lg-19"><div class="ant-form-item-control has-success"><span class="ant-form-item-children"><input type="text" value="onlinepayment" id="name" data-__meta="[object Object]" data-__field="[object Object]" class="ant-input"></span></div></div></div><div class="ant-row ant-form-item form-item"><div class="ant-form-item-label ant-col-xs-24 ant-col-sm-6 ant-col-lg-3 ant-col-lg-offset-1"><label for="group_id" class="ant-form-item-required" title="所属分组">所属分组</label></div><div class="ant-form-item-control-wrapper ant-col-xs-24 ant-col-sm-14 ant-col-lg-19"><div class="ant-form-item-control has-success"><span class="ant-form-item-children"><div class="ant-select ant-select-enabled"><div class="ant-select-selection
  22. ant-select-selection--single" role="combobox" aria-autocomplete="list" aria-haspopup="true" aria-expanded="false" tabindex="0"><div class="ant-select-selection__rendered"><div class="ant-select-selection-selected-value" title="b2c" style="display: block; opacity: 1;">b2c</div></div><span class="ant-select-arrow" unselectable="unselectable" style="user-select: none;"><b></b></span></div></div></span></div></div></div><div class="ant-row ant-form-item form-item"><div class="ant-form-item-label ant-col-xs-24 ant-col-sm-6 ant-col-lg-3 ant-col-lg-offset-1"><label for="basepath" class="" title=""><span>接口基本路径&nbsp;<i class="anticon anticon-question-circle-o"></i></span></label></div><div class="ant-form-item-control-wrapper ant-col-xs-24 ant-col-sm-14 ant-col-lg-19"><div class="ant-form-item-control"><span class="ant-form-item-children"><input type="text" value="" id="basepath" data-__meta="[object Object]" data-__field="[object Object]" class="ant-input"></span></div></div></div><div class="ant-row ant-form-item form-item"><div class="ant-form-item-label ant-col-xs-24 ant-col-sm-6 ant-col-lg-3 ant-col-lg-offset-1"><label class="" title=""><span>MOCK地址&nbsp;<i class="anticon anticon-question-circle-o"></i></span></label></div><div class="ant-form-item-control-wrapper ant-col-xs-24 ant-col-sm-14 ant-col-lg-19"><div class="ant-form-item-control"><span class="ant-form-item-children"><input type="text" disabled="" value="http://114.80.87.249:50004/mock/18+$接口请求路径" class="ant-input ant-input-disabled"></span></div></div></div><div class="ant-row ant-form-item form-item"><div class="ant-form-item-label ant-col-xs-24 ant-col-sm-6 ant-col-lg-3 ant-col-lg-offset-1"><label for="desc" class="" title="描述">描述</label></div><div class="ant-form-item-control-wrapper ant-col-xs-24 ant-col-sm-14 ant-col-lg-19"><div class="ant-form-item-control has-success"><span class="ant-form-item-children"><textarea rows="8" id="desc" data-__meta="[object Object]" data-__field="[object Object]" class="ant-input">b2c网关</textarea></span></div></div></div><div class="ant-row ant-form-item form-item"><div class="ant-form-item-label ant-col-xs-24 ant-col-sm-6 ant-col-lg-3 ant-col-lg-offset-1"><label for="strice" class="" title=""><span>mock严格模式&nbsp;<i class="anticon anticon-question-circle-o"></i></span></label></div><div class="ant-form-item-control-wrapper ant-col-xs-24 ant-col-sm-14 ant-col-lg-19"><div class="ant-form-item-control has-success"><span class="ant-form-item-children"><span id="strice" data-__meta="[object Object]" data-__field="[object Object]" class="ant-switch" tabindex="0"><span class="ant-switch-inner">关</span></span></span></div></div></div><div class="ant-row ant-form-item form-item"><div class="ant-form-item-label ant-col-xs-24 ant-col-sm-6 ant-col-lg-3 ant-col-lg-offset-1"><label for="is_json5" class="" title=""><span>开启json5&nbsp;<i class="anticon anticon-question-circle-o"></i></span></label></div><div class="ant-form-item-control-wrapper ant-col-xs-24 ant-col-sm-14 ant-col-lg-19"><div class="ant-form-item-control has-success"><span class="ant-form-item-children"><span id="is_json5" data-__meta="[object Object]" data-__field="[object Object]" class="ant-switch ant-switch-checked" tabindex="0"><span class="ant-switch-inner">开</span></span></span></div></div></div><div class="ant-row ant-form-item form-item"><div class="ant-form-item-label ant-col-xs-24 ant-col-sm-6 ant-col-lg-3 ant-col-lg-offset-1"><label for="switch_notice" class="" title="默认开启邮件通知">默认开启邮件通知</label></div><div class="ant-form-item-control-wrapper ant-col-xs-24 ant-col-sm-14 ant-col-lg-19"><div class="ant-form-item-control has-success"><span class="ant-form-item-children"><span id="switch_notice" data-__meta="[object Object]" data-__field="[object Object]" class="ant-switch ant-switch-checked" tabindex="0"><span class="ant-switch-inner">开</span></span></span></div></div></div><div class="ant-row ant-form-item form-item"><div class="ant-form-item-label ant-col-xs-24 ant-col-sm-6 ant-col-lg-3 ant-col-lg-offset-1"><label for="project_type" class="ant-form-item-required" title="权限">权限</label></div><div class="ant-form-item-control-wrapper ant-col-xs-24 ant-col-sm-14 ant-col-lg-19"><div class="ant-form-item-control has-success"><span class="ant-form-item-children"><div class="ant-radio-group" id="project_type"><label class="radio ant-radio-wrapper ant-radio-wrapper-checked"><span class="ant-radio ant-radio-checked"><input type="radio" class="ant-radio-input" value="private"><span class="ant-radio-inner"></span></span><span><i class="anticon anticon-lock"></i>私有<br><span class="radio-desc">只有组长和项目开发者可以索引并查看项目信息</span></span></label><br><label class="radio ant-radio-wrapper"><span class="ant-radio"><input type="radio" class="ant-radio-input" value="public"><span class="ant-radio-inner"></span></span><span><i class="anticon anticon-unlock"></i>公开<br><span class="radio-desc">任何人都可以索引并查看项目信息</span></span></label></div></span></div></div></div></form><div class="btnwrap-changeproject"><button type="button" class="ant-btn m-btn btn-save ant-btn-primary ant-btn-lg"><i class="anticon anticon-save"></i><span>保 存</span></button></div><div class="danger-container"><div class="title"><h2 class="content"><i class="anticon anticon-exclamation-circle-o"></i> 危险操作</h2><button type="button" class="ant-btn"><span>查 看</span><i class="anticon anticon-down"></i></button></div></div></div></div></div><div role="tabpanel" aria-hidden="true" class="ant-tabs-tabpane ant-tabs-tabpane-inactive"></div><div role="tabpanel" aria-hidden="false" class="ant-tabs-tabpane ant-tabs-tabpane-active"><div class="project-request"><form class="ant-form ant-form-horizontal"><div class="ant-row ant-form-item"><div class="ant-form-item-label ant-col-xs-24 ant-col-sm-6"><label class="" title="Pre-request Script(请求参数处理脚本)">Pre-request Script(请求参数处理脚本)</label></div><div class="ant-form-item-control-wrapper ant-col-xs-24 ant-col-sm-16"><div class="ant-form-item-control"><span class="ant-form-item-children"><div class="request-editor ace_editor ace-xcode ace_focus"><textarea class="ace_text-input" wrap="off" autocorrect="off" autocapitalize="off" spellcheck="false" style="opacity: 0; left: 52px; top: 0px; height: 16px; width: 7.20125px;"></textarea><div class="ace_gutter"><div class="ace_layer ace_gutter-layer ace_folding-enabled" style="margin-top: 0px; height: 332px; width: 48px;"><div class="ace_gutter-cell " style="height: 16px;">1</div><div class="ace_gutter-cell " style="height: 16px;">2</div><div class="ace_gutter-cell " style="height: 16px;">3</div><div class="ace_gutter-cell " style="height: 16px;">4<span class="ace_fold-widget ace_start ace_open" style="height: 16px;"></span></div><div class="ace_gutter-cell ace_info" style="height: 16px;">5</div><div class="ace_gutter-cell " style="height: 16px;">6</div><div class="ace_gutter-cell " style="height: 16px;">7</div><div class="ace_gutter-cell ace_info" style="height: 16px;">8</div><div class="ace_gutter-cell " style="height: 16px;">9<span class="ace_fold-widget ace_start ace_open" style="height: 16px;"></span></div><div class="ace_gutter-cell " style="height: 16px;">10<span class="ace_fold-widget ace_start ace_open" style="height: 16px;"></span></div><div class="ace_gutter-cell " style="height: 16px;">11</div><div class="ace_gutter-cell " style="height: 16px;">12<span class="ace_fold-widget ace_start ace_open" style="height: 16px;"></span></div><div class="ace_gutter-cell " style="height: 16px;">13</div><div class="ace_gutter-cell " style="height: 16px;">14</div><div class="ace_gutter-cell " style="height: 16px;">15</div><div class="ace_gutter-cell " style="height: 16px;">16</div><div class="ace_gutter-cell " style="height: 16px;">17</div><div class="ace_gutter-cell " style="height: 16px;">18</div><div class="ace_gutter-cell " style="height: 16px;">19</div><div class="ace_gutter-cell ace_info" style="height: 16px;">20</div></div><div class="ace_gutter-active-line" style="top: 0px; height: 16px;"></div></div><div class="ace_scroller" style="left: 48px; right: 6px; bottom: 0px;"><div class="ace_content" style="margin-top: 0px; width: 913px; height: 332px; margin-left: 0px;"><div class="ace_layer ace_print-margin-layer"><div class="ace_print-margin" style="left: 580.1px; visibility: visible;"></div></div><div class="ace_layer ace_marker-layer"><div class="ace_active-line" style="height:16px;top:0px;left:0;right:0;"></div></div><div class="ace_layer ace_text-layer" style="padding: 0px 4px;"><div class="ace_line" style="height:16px"></div><div class="ace_line" style="height:16px"><span class="ace_storage ace_type">var</span> <span class="ace_identifier">pathname</span> <span class="ace_keyword ace_operator">=</span> <span class="ace_identifier">context</span><span class="ace_punctuation ace_operator">.</span><span class="ace_support ace_constant">pathname</span><span class="ace_punctuation ace_operator">;</span></div><div class="ace_line" style="height:16px"><span class="ace_storage ace_type">console</span><span class="ace_punctuation ace_operator">.</span><span class="ace_support ace_function ace_firebug">log</span><span class="ace_paren ace_lparen">(</span><span class="ace_identifier">pathname</span><span class="ace_paren ace_rparen">)</span><span class="ace_punctuation ace_operator">;</span></div><div class="ace_line" style="height:16px"><span class="ace_keyword">if</span><span class="ace_paren ace_lparen">(</span><span class="ace_identifier">pathname</span> <span class="ace_keyword ace_operator">==</span> <span class="ace_string">"/expup"</span><span class="ace_paren ace_rparen">)</span> <span class="ace_paren ace_lparen">{</span></div><div class="ace_line" style="height:16px"> <span class="ace_storage ace_type">var</span> <span class="ace_identifier">oa</span> <span class="ace_keyword ace_operator">=</span> <span class="ace_variable ace_language">Object</span><span class="ace_punctuation ace_operator">.</span><span class="ace_identifier">keys</span><span class="ace_paren ace_lparen">(</span><span class="ace_identifier">context</span><span class="ace_punctuation ace_operator">.</span><span class="ace_identifier">requestBody</span><span class="ace_paren ace_rparen">)</span><span class="ace_punctuation ace_operator">.</span><span class="ace_support ace_function">sort</span><span class="ace_paren ace_lparen">(</span><span class="ace_paren ace_rparen">)</span> <span class="ace_comment">//<span class="ace_cjk" style="width:14.4025px">请</span><span class="ace_cjk" style="width:14.4025px">求</span><span class="ace_cjk" style="width:14.4025px">参</span><span class="ace_cjk" style="width:14.4025px">数</span><span class="ace_cjk" style="width:14.4025px">名</span><span class="ace_cjk" style="width:14.4025px">按</span><span class="ace_cjk" style="width:14.4025px">照</span>ASCII<span class="ace_cjk" style="width:14.4025px">码</span><span class="ace_cjk" style="width:14.4025px">升</span><span class="ace_cjk" style="width:14.4025px">序</span><span class="ace_cjk" style="width:14.4025px">排</span><span class="ace_cjk" style="width:14.4025px">序</span></span></div><div class="ace_line" style="height:16px"></div><div class="ace_line" style="height:16px"><span class="ace_comment">//<span class="ace_cjk" style="width:14.4025px">拼</span><span class="ace_cjk" style="width:14.4025px">接</span><span class="ace_cjk" style="width:14.4025px">待</span><span class="ace_cjk" style="width:14.4025px">签</span><span class="ace_cjk" style="width:14.4025px">名</span><span class="ace_cjk" style="width:14.4025px">字</span><span class="ace_cjk" style="width:14.4025px">符</span><span class="ace_cjk" style="width:14.4025px">串</span></span></div><div class="ace_line" style="height:16px"><span class="ace_storage ace_type">var</span> <span class="ace_identifier">sortStr</span> <span class="ace_keyword ace_operator">=</span> <span class="ace_string">''</span></div><div class="ace_line" style="height:16px"><span class="ace_keyword">for</span> <span class="ace_paren ace_lparen">(</span><span class="ace_storage ace_type">var</span> <span class="ace_identifier">i</span> <span class="ace_keyword ace_operator">=</span> <span class="ace_constant ace_numeric">0</span><span class="ace_punctuation ace_operator">;</span> <span class="ace_identifier">i</span> <span class="ace_keyword ace_operator">&lt;</span> <span class="ace_identifier">oa</span><span class="ace_punctuation ace_operator">.</span><span class="ace_support ace_constant">length</span><span class="ace_punctuation ace_operator">;</span> <span class="ace_identifier">i</span><span class="ace_keyword ace_operator">++</span><span class="ace_paren ace_rparen">)</span> <span class="ace_paren ace_lparen">{</span></div><div class="ace_line" style="height:16px"><span class="ace_indent-guide"> </span> <span class="ace_keyword">if</span> <span class="ace_paren ace_lparen">(</span><span class="ace_identifier">i</span> <span class="ace_keyword ace_operator">==</span> <span class="ace_identifier">oa</span><span class="ace_punctuation ace_operator">.</span><span class="ace_support ace_constant">length</span> <span class="ace_keyword ace_operator">-</span> <span class="ace_constant ace_numeric">1</span><span class="ace_paren ace_rparen">)</span> <span class="ace_paren ace_lparen">{</span></div><div class="ace_line" style="height:16px"><span class="ace_indent-guide"> </span><span class="ace_indent-guide"> </span> <span class="ace_identifier">sortStr</span> <span class="ace_keyword ace_operator">=</span> <span class="ace_identifier">sortStr</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">oa</span><span class="ace_paren ace_lparen">[</span><span class="ace_identifier">i</span><span class="ace_paren ace_rparen">]</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">"="</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">context</span><span class="ace_punctuation ace_operator">.</span><span class="ace_identifier">requestBody</span><span class="ace_paren ace_lparen">[</span><span class="ace_identifier">oa</span><span class="ace_paren ace_lparen">[</span><span class="ace_identifier">i</span><span class="ace_paren ace_rparen">]]</span><span class="ace_punctuation ace_operator">;</span></div><div class="ace_line" style="height:16px"><span class="ace_indent-guide"> </span> <span class="ace_paren ace_rparen">}</span> <span class="ace_keyword">else</span> <span class="ace_paren ace_lparen">{</span></div><div class="ace_line" style="height:16px"><span class="ace_indent-guide"> </span><span class="ace_indent-guide"> </span> <span class="ace_identifier">sortStr</span> <span class="ace_keyword ace_operator">=</span> <span class="ace_identifier">sortStr</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">oa</span><span class="ace_paren ace_lparen">[</span><span class="ace_identifier">i</span><span class="ace_paren ace_rparen">]</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">"="</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_identifier">context</span><span class="ace_punctuation ace_operator">.</span><span class="ace_identifier">requestBody</span><span class="ace_paren ace_lparen">[</span><span class="ace_identifier">oa</span><span class="ace_paren ace_lparen">[</span><span class="ace_identifier">i</span><span class="ace_paren ace_rparen">]]</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">"&amp;"</span><span class="ace_punctuation ace_operator">;</span></div><div class="ace_line" style="height:16px"><span class="ace_indent-guide"> </span> <span class="ace_paren ace_rparen">}</span></div><div class="ace_line" style="height:16px"> <span class="ace_paren ace_rparen">}</span></div><div class="ace_line" style="height:16px"></div><div class="ace_line" style="height:16px"><span class="ace_identifier">sortStr</span> <span class="ace_keyword ace_operator">=</span> <span class="ace_identifier">sortStr</span> <span class="ace_keyword ace_operator">+</span> <span class="ace_string">'2f2c77e3718c47cfb47a89a6fbc9d361'</span><span class="ace_punctuation ace_operator">;</span></div><div class="ace_line" style="height:16px"><span class="ace_storage ace_type">console</span><span class="ace_punctuation ace_operator">.</span><span class="ace_support ace_function ace_firebug">log</span><span class="ace_paren ace_lparen">(</span><span class="ace_identifier">sortStr</span><span class="ace_paren ace_rparen">)</span><span class="ace_punctuation ace_operator">;</span></div><div class="ace_line" style="height:16px"><span class="ace_storage ace_type">var</span> <span class="ace_identifier">validate</span> <span class="ace_keyword ace_operator">=</span> <span class="ace_identifier">context</span><span class="ace_punctuation ace_operator">.</span><span class="ace_identifier">utils</span><span class="ace_punctuation ace_operator">.</span><span class="ace_identifier">sha256</span><span class="ace_paren ace_lparen">(</span><span class="ace_identifier">sortStr</span><span class="ace_paren ace_rparen">)</span><span class="ace_punctuation ace_operator">;</span></div><div class="ace_line" style="height:16px"><span class="ace_identifier">context</span><span class="ace_punctuation ace_operator">.</span><span class="ace_identifier">requestBody</span><span class="ace_punctuation ace_operator">.</span><span class="ace_identifier">sign</span> <span class="ace_keyword ace_operator">=</span> <span class="ace_identifier">validate</span></div></div><div class="ace_layer ace_marker-layer"></div><div class="ace_layer ace_cursor-layer"><div class="ace_cursor" style="left: 4px; top: 0px; width: 7.20125px; height: 16px;"></div></div></div></div><div class="ace_scrollbar ace_scrollbar-v" style="width: 11px; bottom: 0px;"><div class="ace_scrollbar-inner" style="width: 11px; height: 672px;"></div></div><div class="ace_scrollbar ace_scrollbar-h" style="display: none; height: 11px; left: 48px; right: 6px;"><div class="ace_scrollbar-inner" style="height: 11px; width: 961px;"></div></div><div style="height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; white-space: pre; font: inherit; overflow: hidden;"><div style="height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; white-space: pre; font: inherit; overflow: visible;"></div><div style="height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; white-space: pre; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; overflow: visible;">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</div></div></div></span></div></div></div><div class="ant-row ant-form-item"><div class="ant-form-item-label ant-col-xs-24 ant-col-sm-6"><label class="" title="Pre-response Script(响应数据处理脚本)">Pre-response Script(响应数据处理脚本)</label></div><div class="ant-form-item-control-wrapper ant-col-xs-24 ant-col-sm-16"><div class="ant-form-item-control"><span class="ant-form-item-children"><div class="request-editor ace_editor ace-xcode"><textarea class="ace_text-input" wrap="off" autocorrect="off" autocapitalize="off" spellcheck="false" style="opacity: 0; height: 16px; width: 7.20125px; left: 45px; top: 0px;"></textarea><div class="ace_gutter"><div class="ace_layer ace_gutter-layer ace_folding-enabled" style="margin-top: 0px; height: 332px; width: 41px;"><div class="ace_gutter-cell " style="height: 16px;">1</div></div><div class="ace_gutter-active-line" style="top: 0px; height: 16px;"></div></div><div class="ace_scroller" style="left: 41px; right: 0px; bottom: 0px;"><div class="ace_content" style="margin-top: 0px; width: 926px; height: 332px; margin-left: 0px;"><div class="ace_layer ace_print-margin-layer"><div class="ace_print-margin" style="left: 580.1px; visibility: visible;"></div></div><div class="ace_layer ace_marker-layer"><div class="ace_active-line" style="height:16px;top:0px;left:0;right:0;"></div></div><div class="ace_layer ace_text-layer" style="padding: 0px 4px;"><div class="ace_line" style="height:16px"></div></div><div class="ace_layer ace_marker-layer"></div><div class="ace_layer ace_cursor-layer ace_hidden-cursors"><div class="ace_cursor" style="left: 4px; top: 0px; width: 7.20125px; height: 16px;"></div></div></div></div><div class="ace_scrollbar ace_scrollbar-v" style="display: none; width: 11px; bottom: 0px;"><div class="ace_scrollbar-inner" style="width: 11px; height: 16px;"></div></div><div class="ace_scrollbar ace_scrollbar-h" style="display: none; height: 11px; left: 41px; right: 0px;"><div class="ace_scrollbar-inner" style="height: 11px; width: 967px;"></div></div><div style="height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; white-space: pre; font: inherit; overflow: hidden;"><div style="height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; white-space: pre; font: inherit; overflow: visible;"></div><div style="height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; white-space: pre; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; overflow: visible;">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</div></div></div></span></div></div></div><div class="ant-row ant-form-item"><div class="ant-form-item-control-wrapper ant-col-xs-24 ant-col-xs-offset-0 ant-col-sm-16 ant-col-sm-offset-8"><div class="ant-form-item-control"><span class="ant-form-item-children"><button type="button" class="ant-btn ant-btn-primary"><span>保 存</span></button></span></div></div></div></form></div></div><div role="tabpanel" aria-hidden="true" class="ant-tabs-tabpane ant-tabs-tabpane-inactive"></div><div role="tabpanel" aria-hidden="true" class="ant-tabs-tabpane ant-tabs-tabpane-inactive"></div></div></div></div></div></div></div></div><div class="footer-wrapper"><div class="ant-row footer-container"><div class="ant-col-6"><h4 class="title"><i class="anticon anticon-github icon"></i>GitHub</h4><p><a href="https://github.com/YMFE/yapi" class="link">YApi 源码仓库</a></p></div><div class="ant-col-6"><h4 class="title"><i class="anticon anticon-team icon"></i>团队</h4><p><a href="https://ymfe.org/" class="link">YMFE</a></p></div><div class="ant-col-6"><h4 class="title"><i class="anticon anticon-aliwangwang-o icon"></i>反馈</h4><p><a href="https://github.com/YMFE/yapi/issues" class="link">Github Issues</a></p><p><a href="https://github.com/YMFE/yapi/pulls" class="link">Github Pull Requests</a></p></div><div class="ant-col-6"><h4 class="title">Copyright © 2018 YMFE</h4><p><a href="https://github.com/YMFE/yapi/blob/master/CHANGELOG.md" class="link">版本: 1.3.22 </a></p><p><a href="https://yapi.ymfe.org/" class="link">使用文档</a></p></div></div></div></div></div>
  23. <script>
  24. document.write('<script src="/prd/' + window.WEBPACK_ASSETS['manifest'].js + '"><\/script>');
  25. </script><script src="./YApi-高效、易用、功能强大的可视化接口管理平台_files/manifest@f2f4bd774d6c221b3d5f.js"></script>
  26. <script>
  27. document.write('<script src="/prd/' + window.WEBPACK_ASSETS['lib3'].js + '"><\/script>');
  28. </script><script src="./YApi-高效、易用、功能强大的可视化接口管理平台_files/lib3@c4e2776af9680319a3d7.js"></script><div class="tui-tooltip" style="display: none;"><div class="arrow"></div><span class="text"></span></div>
  29. <script>
  30. document.write('<script src="/prd/' + window.WEBPACK_ASSETS['lib2'].js + '"><\/script>');
  31. </script><script src="./YApi-高效、易用、功能强大的可视化接口管理平台_files/lib2@b41e63d1ac00768540fd.js"></script>
  32. <script>
  33. document.write('<script src="/prd/' + window.WEBPACK_ASSETS['lib'].js + '"><\/script>');
  34. </script><script src="./YApi-高效、易用、功能强大的可视化接口管理平台_files/lib@85660194fef2283b4245.js"></script>
  35. <script>
  36. document.write('<script src="/prd/' + window.WEBPACK_ASSETS['index.js'].js + '"><\/script>');
  37. </script><script src="./YApi-高效、易用、功能强大的可视化接口管理平台_files/index@17f2ee29b20b225e073a.js"></script>
  38. <div id="y-request" style="display:none" key="yapi"></div></body></html>