<!DOCTYPE html>
<html>
<head>
<title>SQLAuto-机器学习零代码测试、任意模板变量增删改查、一键批量生成测试数据</title>
<meta charset="utf-8" />
<meta name="keywords" content="apijson,sql,auto,sqlauto,自动生成接口文档,自动化接口回归测试,机器学习接口回归测试,回归测试,机器学习,数据库测试,SQL测试,自动化,SQL 自动化,数据库自动化"/>
<meta name="description" content="SQLAuto-机器学习零代码测试 SQL、任意增删改查、任意 SQL 模板变量、一键批量生成"/>
<!-- 登录 <<<<<<<<<<<<<<<<<<<< -->
<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/login.css">
<!-- 登录 >>>>>>>>>>>>>>>>>>>> -->
<link href="css/hint.min.css" rel="stylesheet">
<!-- <link href="css/diffview.css" rel="stylesheet"> -->
<link href="css/loading.css" rel="stylesheet">
<link href="css/main.css" rel="stylesheet">
<link rel="stylesheet" href="md/css/editormd.preview.css" />
<style >
input[type=number] {
-moz-appearance:textfield;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
</style>
</head>
<body>
<style type="text/css">
.url {
height: 100%;
border: none;
display: flex;
align-items: center;
flex-grow: 1
/* justify-content: center */
}
.transfer {
width: 50px;
height: 100%;
margin: 0;
padding: 0;
}
.send {
width: 16%;
min-width: 30px;
max-width: 100px;
height: 100%;
margin: 0;
padding: 0;
}
.statement {
position: absolute;
bottom: 0px;
width: 100%;
text-align: center;
font-size: small;
z-index: 100;
background-color: white;
color: #bbb;
border-top: #fafafa 1px solid;
}
</style>
<div id="app" style="background-color: white">
<div class="side-top">
<img src="img/logo.png" class="logo-img"/>
<a class="logo" href="http://apijson.cn" target="_blank">
<span class="on">SQLAuto</span><span >: APIJSON.cn</span>
</a>
<a v-show="isDelayShow" >2s</a>
<iframe v-show="User.id == null || User.id <= 0" src="https://ghbtns.com/github-btn.html?user=Tencent&repo=APIJSON&type=star&count=true&size=small" frameborder="0" scrolling="0" width="160px" height="18px"></iframe>
<!--只用60%避免拦截左右两侧View的触摸事件-->
<div style="width: 40%;height: 100%;left: 30%;display: inline-block;text-align: center;position: fixed;padding-top: 10px">
<a style="font-size: large;margin-left: 10px;margin-right: 10px;color: silver" href="https://github.com/Tencent/APIJSON/blob/master/Document.md" target="_blank" >文档</a>
<a style="font-size: large;margin-left: 10px;margin-right: 10px;color: silver" href="https://search.bilibili.com/all?keyword=APIJSON" target="_blank" >视频</a>
<a style="font-size: large;margin-left: 10px;margin-right: 10px;color: silver" href="https://github.com/search?o=desc&q=apijson&s=stars&type=Repositories" target="_blank" >生态</a>
</div>
<div class="top-right">
<a style="padding: 6px" v-show="User.id == null || User.id <= 0" href="https://git.code.tencent.com/Tencent_Open_Source/APIJSON" target="_blank" >
<img class="ui inline black image" height="24" src="http://apijson.cn/images/tencent_open_logo.png">
</a>
<a style="padding: 6px" v-show="User.id == null || User.id <= 0" href="https://gitee.com/Tencent/APIJSON" target="_blank">
<img class="ui inline black image" height="24" src="https://gitee.com/logo-black.svg?20171024" width="60">
</a>
<a style="padding-left: 6px" v-show="User.id == null || User.id <= 0" href="https://gitee.com/Tencent/APIJSON" target="_blank">
<img style="margin-bottom: -1px" height="18" src="https://gitee.com/Tencent/APIJSON/badge/star.svg?theme=gvp">
</a>
<a v-show="User.id != null && User.id > 0" href="javascript:void(0)" @click="logout(true)">
退出
</a>
<a v-show="User.id == null || User.id <= 0" href="javascript:void(0)" @click="showLogin(true, true)">
登录
</a>
<span class="pop-btn">
<a href="javascript:void(0)" style="padding: 14px">
{{ User.id != null && User.id > 0 ? User.name : '设置' }}
</a>
<ul class="themes pop" style="z-index: 200;padding: 0px;margin-top: 8px;width: 300px">
<a style="border-bottom: #DDD 1px solid;width: 100%" href="javascript:void(0)" @click="showConfig(! isDelegateEnabled, 9)">托管服务器代理: {{ isDelegateEnabled ? '已开启,点击关闭' : '已关闭,点击开启' }}</a>
<a style="border-bottom: #DDD 1px solid;width: 100%" href="javascript:void(0)" @click="showConfig(! isEnvCompareEnabled, 14)">对比其它环境结果: {{ isEnvCompareEnabled ? '已开启,点击关闭' : '已关闭,点击开启' }}</a>
<a style="border-bottom: #DDD 1px solid;width: 100%" href="javascript:void(0)" @click="showConfig(! isEncodeEnabled, 12)">自动 URL 转义: {{ isEncodeEnabled ? '已开启,点击关闭' : '已关闭,点击开启' }}</a>
<a style="border-bottom: #DDD 1px solid;width: 100%" href="javascript:void(0)" @click="showConfig(! isPreviewEnabled, 10)">预览左侧输入框: {{ isPreviewEnabled ? '已开启,点击关闭' : '已关闭,点击开启' }}</a>
<a v-show="User.id != null && User.id > 0" style="border-bottom: #DDD 1px solid;width: 100%" href="javascript:void(0)" @click="showConfig(! isEditResponse, 11)">当前编辑模式: {{ isEditResponse ? 'Response 后端响应结果' : 'Request 前端请求参数' }}</a>
<a style="border-bottom: #DDD 1px solid;width: 100%" href="javascript:void(0)" @click="showConfig(StringUtil.isEmpty(host, true), 3)">{{ StringUtil.isEmpty(host, true) ? '隐藏(固定)URI Host: 可用空格隔开' : '显示(编辑)URI Host: \n' + host }}</a>
<a style="border-bottom: #DDD 1px solid;width: 100%;display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden;" href="javascript:void(0)" @click="showConfig(! isHeaderShow, 4)">{{ (isHeaderShow ? '隐藏(固定)' : '显示(编辑)') + (isEditResponse ? '参数值 Argument Value' : '参数值 Argument Value' ) }}</a>
<a style="border-bottom: #DDD 1px solid;width: 100%;display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden;" href="javascript:void(0)" @click="showConfig(! isRandomShow, 5)">{{ isRandomShow ? '隐藏(固定)参数注入 Random Test' : '显示(编辑)参数注入 Random Test' }}</a>
<a style="border-bottom: #DDD 1px solid;width: 100%;display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden;" href="javascript:void(0)" @click="showConfig(! isScriptShow, 13)">{{ (isScriptShow ? '隐藏(固定)' : '显示(编辑)') + '执行脚本 JavaScript' }}</a>
<a style="border-bottom: #DDD 1px solid;width: 100%" href="javascript:void(0)" @click="showConfig(true, 2)">生成代码(封装,解析) : {{ language || '例如 Java' }}</a>
<a style="border-bottom: #DDD 1px solid;width: 100%" href="javascript:void(0)" @click="showConfig(true, 0)">数据库类型 Database: {{ database || '例如 MYSQL' }}</a>
<a style="border-bottom: #DDD 1px solid;width: 100%" href="javascript:void(0)" @click="show