Commit 258de1d2 authored by xj's avatar xj
parents 6fbe8761 081e1fb6
...@@ -9,6 +9,3 @@ VUE_APP_API_PHP_URL=http://112.19.80.237:8090 ...@@ -9,6 +9,3 @@ VUE_APP_API_PHP_URL=http://112.19.80.237:8090
#宜宾 #宜宾
#VUE_APP_API_BASE_URL=http://10.12.185.213:11072 #VUE_APP_API_BASE_URL=http://10.12.185.213:11072
#正式
VUE_APP_API_PRP_RUL=http://112.19.80.237:11007
...@@ -6,3 +6,5 @@ VUE_APP_API_BASE_URL=/basics_api ...@@ -6,3 +6,5 @@ VUE_APP_API_BASE_URL=/basics_api
VUE_APP_API_PHP_URL=/zwfw_api VUE_APP_API_PHP_URL=/zwfw_api
#图片显示拼接 #图片显示拼接
VUE_APP_API_IMG_URL = VUE_APP_API_IMG_URL =
VUE_APP_API_PRP_RUL=http://112.19.80.237:11007
\ No newline at end of file
import http from "../request/http"; import http from "../request/http";
let baseURL = "http://8.136.255.30" let baseURL = "http://8.136.255.30"
let proURL = process.env.VUE_APP_API_PRP_RUL; let proURL = process.env.VUE_APP_API_BASE_URL;
// 查询客户管理列表 // 查询客户管理列表
export function getCustomer(params) { export function getCustomer(params) {
...@@ -9,5 +9,5 @@ export function getCustomer(params) { ...@@ -9,5 +9,5 @@ export function getCustomer(params) {
// 窗口列表 // 窗口列表
export function windowList(params) { export function windowList(params) {
return http.post(`${proURL}/basics_api/base/window/list`, params); return http.post(`${proURL}/base/window/list`, params);
} }
...@@ -5,20 +5,53 @@ let baseURL = process.env.VUE_APP_API_BASE_URL; ...@@ -5,20 +5,53 @@ let baseURL = process.env.VUE_APP_API_BASE_URL;
// ----------ps----------------- // ----------ps-----------------
// 查询产品信息列表 // 产品列表
export function getProduct(params) { export function getProduct(params) {
return http.post(`${baseURL}/zwfw/product/list`, params); return http.post(`${baseURL}/zwfw/product/list`, params);
} }
// 产品信息 // 保存更新产品
export function saveProduct(params) { export function saveProduct(params) {
return http.post(`${baseURL}/zwfw/product/save`, params); return http.post(`${baseURL}/zwfw/product/save`, params);
} }
// 产品信息 // 删除产品
export function deleteProduct(params) { export function deleteProduct(params) {
return http.get(`${baseURL}/zwfw/product/delete`, params); return http.get(`${baseURL}/zwfw/product/delete`, params);
} }
// 应用列表
export function getApps(params) {
return http.post(`${baseURL}/zwfw/product/apps/list`, params);
}
// 查看产品应用
export function getAppsInfo(params) {
return http.get(`${baseURL}/zwfw/product/apps/info`, params);
}
// 保存更新产品应用
export function saveApps(params) {
return http.post(`${baseURL}/zwfw/product/apps/save`, params);
}
// 删除产品应用
export function deleteApps(params) {
return http.get(`${baseURL}/zwfw/product/apps/delete`, params);
}
// 查询产品资料列表
export function getDocument(params) {
return http.post(`${baseURL}/zwfw/product/document/list`, params);
}
// 产品资料
export function getDocumentInfo(params) {
return http.get(`${baseURL}/zwfw/product/document/info`, params);
}
// 保存更新产品资料
export function saveDocument(params) {
return http.post(`${baseURL}/zwfw/product/document/save`, params);
}
// 删除产品资料
export function deleteDocument(params) {
return http.get(`${baseURL}/zwfw/product/document/delete`, params);
}
//-------------xj: -------------------- //-------------xj: --------------------
......
<template> <template>
<div class="myUploadFile"> <div class="myUploadFile">
<a-upload <a-upload :name="defaultInfo.name" :action="defaultInfo.action" :listType="defaultInfo.listType"
:name="defaultInfo.name" :multiple="defaultInfo.multiple" :showUploadList="defaultInfo.showUploadList"
:action="defaultInfo.action" :defaultFileList="defaultInfo.defaultFileList" :file-list="defaultInfo.fileList" :disabled="defaultInfo.disabled"
:listType="defaultInfo.listType" :directory="defaultInfo.directory" :data="defaultInfo.objAttach" :headers="headers"
:multiple="defaultInfo.multiple" :beforeUpload="beforeImageUpload" :remove="uploadRemove" @change="uploadChange" @preview="handlePreview">
:showUploadList="defaultInfo.showUploadList"
:defaultFileList="defaultInfo.fileList"
:disabled="defaultInfo.disabled"
:directory="defaultInfo.directory"
:data="defaultInfo.objAttach"
:headers="headers"
:beforeUpload="beforeImageUpload"
:remove="uploadRemove"
@change="uploadChange"
@preview="handlePreview"
>
<slot></slot> <slot></slot>
</a-upload> </a-upload>
<a-modal <a-modal :visible="defaultInfo.previewVisible" :footer="null" @cancel="defaultInfo.previewVisible = false">
:visible="defaultInfo.previewVisible"
:footer="null"
@cancel="defaultInfo.previewVisible = false"
>
<img alt="example" style="width: 100%" :src="defaultInfo.previewImage" /> <img alt="example" style="width: 100%" :src="defaultInfo.previewImage" />
</a-modal> </a-modal>
</div> </div>
...@@ -81,20 +66,20 @@ export default { ...@@ -81,20 +66,20 @@ export default {
if (this.defaultInfo["prePath"]) { if (this.defaultInfo["prePath"]) {
this.defaultInfo[ this.defaultInfo[
"action" "action"
] = `${this.VUE_APP_API_BASE_URL}${this.fileCommonupload}?prePath=${this.defaultInfo["prePath"]}`; ] = `${this.fileCommonupload}?prePath=${this.defaultInfo["prePath"]}`;
} else { } else {
this.defaultInfo[ this.defaultInfo[
"action" "action"
] = `${this.VUE_APP_API_BASE_URL}${this.fileCommonupload}`; ] = `${this.fileCommonupload}`;
} }
// console.log(this.defaultInfo); console.log(this.defaultInfo);
}, },
deep: true, deep: true,
immediate: true, immediate: true,
}, },
}, },
created() {}, created() { },
methods: { methods: {
uploadRemove(file) { uploadRemove(file) {
if (file.id != undefined) { if (file.id != undefined) {
...@@ -103,6 +88,10 @@ export default { ...@@ -103,6 +88,10 @@ export default {
this.defaultInfo.fileList = this.defaultInfo.fileList.filter( this.defaultInfo.fileList = this.defaultInfo.fileList.filter(
(item) => item.uid != file.uid (item) => item.uid != file.uid
); );
console.log(this.defaultInfo.fileList.length,"=--------")
if(!this.defaultInfo.fileList.length){
this.$emit("input", ""); //相对地址
}
}, },
beforeImageUpload(file, fileList) { beforeImageUpload(file, fileList) {
let whiteFileList = this.defaultInfo.whiteFileList; //文件类型限制 let whiteFileList = this.defaultInfo.whiteFileList; //文件类型限制
...@@ -128,6 +117,7 @@ export default { ...@@ -128,6 +117,7 @@ export default {
return result; return result;
}, },
uploadChange({ file, fileList }) { uploadChange({ file, fileList }) {
console.log(fileList)
if (file.status === "error") { if (file.status === "error") {
return; return;
this.$message.error(`${file.name} 上传失败.`); this.$message.error(`${file.name} 上传失败.`);
...@@ -139,7 +129,7 @@ export default { ...@@ -139,7 +129,7 @@ export default {
} else if (file.status === "removed") { } else if (file.status === "removed") {
// this.$message.success(`${file.name} 删除成功`); // this.$message.success(`${file.name} 删除成功`);
if (!this.defaultInfo.multiple && this.defaultInfo.limit == 1) { if (!this.defaultInfo.multiple && this.defaultInfo.limit == 1) {
this.$emit("input", undefined); //相对地址 this.$emit("input", ""); //相对地址
} }
} }
this.defaultInfo.fileList = fileList; this.defaultInfo.fileList = fileList;
......
...@@ -626,6 +626,15 @@ const routes = [ ...@@ -626,6 +626,15 @@ const routes = [
), ),
meta: { title: "接口信息" }, meta: { title: "接口信息" },
}, },
{
path: "dictionary",
name: "dictionary",
component: () =>
import(
/* webpackChunkName: "portDocument" */ "@/views/thePlatformIsSet/components/dictionary/dictionary.vue"
),
meta: { title: "字典管理" },
},
{ {
path: "permissionsModel", path: "permissionsModel",
name: "permissionsModel", name: "permissionsModel",
......
...@@ -31,6 +31,9 @@ ...@@ -31,6 +31,9 @@
<p> <p>
<span>预约方式:</span>{{ orderInfo.up_type=='phone'?'微官网':orderInfo.up_type=='app'?'自助终端':orderInfo.up_type=='tftb'?'天府通办':'--' }} <span>预约方式:</span>{{ orderInfo.up_type=='phone'?'微官网':orderInfo.up_type=='app'?'自助终端':orderInfo.up_type=='tftb'?'天府通办':'--' }}
</p> </p>
<p>
<span>预约事项:</span>--
</p>
</div> </div>
<div class="qrcode"> <div class="qrcode">
<!-- <img src="~@/assets/images/logo.png" alt="" /> --> <!-- <img src="~@/assets/images/logo.png" alt="" /> -->
......
...@@ -3,11 +3,7 @@ ...@@ -3,11 +3,7 @@
<div class="search_box" ref="search_box"> <div class="search_box" ref="search_box">
<h3>API服务</h3> <h3>API服务</h3>
<h4> <h4>
<a-input <a-input placeholder="请输入API名称搜索" v-model="searchVal" @pressEnter="getServiceApiList" />
placeholder="请输入API名称搜索"
v-model="searchVal"
@pressEnter="getServiceApiList"
/>
<button class="search_btn btn" @click="handleSearch"> <button class="search_btn btn" @click="handleSearch">
<span>{{ isSearch ? "重置" : "搜索" }}</span> <span>{{ isSearch ? "重置" : "搜索" }}</span>
</button> </button>
...@@ -16,13 +12,9 @@ ...@@ -16,13 +12,9 @@
<div class="stepbox" :style="{ height: contentHigh + 'px' }"> <div class="stepbox" :style="{ height: contentHigh + 'px' }">
<div class="_left"> <div class="_left">
<a-steps progress-dot direction="vertical"> <a-steps progress-dot direction="vertical">
<a-step <a-step v-for="(item, index) in stepsList" :status="active === index ? 'process' : 'wait'" :key="index">
v-for="(item, index) in stepsList"
:status="active === index ? 'process' : 'wait'"
:key="index"
>
<span slot="title" @click="handleChange(item, index)">{{ <span slot="title" @click="handleChange(item, index)">{{
item.serviceName item.productName
}}</span> }}</span>
</a-step> </a-step>
</a-steps> </a-steps>
...@@ -30,17 +22,13 @@ ...@@ -30,17 +22,13 @@
<div class="_right"> <div class="_right">
<div class="list_box step_sign"> <div class="list_box step_sign">
<div class="title-box"> <div class="title-box">
<span class="list_title">{{ curApiInfo.serviceName }}</span> <span class="list_title">{{ curApiInfo.name }}</span>
<span class="count primary">{{ curApiInfo.count }}</span> <span class="count primary">{{ curApiInfo.total }}</span>
</div> </div>
<div <div class="list flex aic jcb" v-for="v in curApiInfo.list" :key="v.id">
class="list flex aic jcb" <div class="api-name">{{ v.interfaceName }}</div>
v-for="v in curApiInfo.serviceList" <span class="service-name">{{ v.description }}</span>
:key="v.id" <a-button icon="read" type="primary" class="addclass" @click="pushroeuter(v)">
>
<div class="api-name">{{ v.apiName }}</div>
<span class="service-name">{{ v.systemServiceName }}</span>
<a-button icon="read" type="primary" class="addclass" @click="pushroeuter(v)">
查看文档 查看文档
</a-button> </a-button>
</div> </div>
...@@ -51,7 +39,8 @@ ...@@ -51,7 +39,8 @@
</template> </template>
<script> <script>
import { serviceApiList } from "@/api/APIServe.js"; // import { serviceApiList } from "@/api/APIServe.js";
import { getProduct, getInterfaceList } from "@/api/thePlatformIsSet.js";
import common from "@/mixins/common"; import common from "@/mixins/common";
export default { export default {
name: "PortalAdminVueAPIServe", name: "PortalAdminVueAPIServe",
...@@ -62,6 +51,7 @@ export default { ...@@ -62,6 +51,7 @@ export default {
stepsList: [], stepsList: [],
isSearch: false, isSearch: false,
active: 0, active: 0,
curApiInfo: {}, // 当前api信息 curApiInfo: {}, // 当前api信息
}; };
}, },
...@@ -74,22 +64,35 @@ export default { ...@@ -74,22 +64,35 @@ export default {
methods: { methods: {
getServiceApiList() { getServiceApiList() {
serviceApiList({ getProduct({
page: 1, page: 1,
size: -1, //每页条数 size: -1, //每页条数
apiName: `%${this.searchVal}%`, productName: `%${this.searchVal}%`,
}).then((res) => { }).then((res) => {
let { code, data } = res; let { code, data } = res;
if (code == 1) { if (code == 1) {
if (data.data.length) { if (data.data.length) {
this.stepsList = data.data; this.stepsList = data.data;
this.curApiInfo = data.data[0]; this.getApiDetail(data.data[0])
} else { } else {
this.curApiInfo = {}; this.curApiInfo = {};
} }
} }
}); });
}, },
getApiDetail(item) {
getInterfaceList({ page: 1, size: -1, productId: item.id }).then((res) => {
let { code, data } = res;
if (code == 1) {
this.curApiInfo = {
name: item.productName,
list: data.data,
total: data.total
}
}
});
},
handleSearch() { handleSearch() {
this.isSearch = !this.isSearch; this.isSearch = !this.isSearch;
if (this.isSearch) { if (this.isSearch) {
...@@ -104,15 +107,14 @@ export default { ...@@ -104,15 +107,14 @@ export default {
// 切换设备 // 切换设备
handleChange(row, index) { handleChange(row, index) {
this.active = index; this.active = index;
this.curApiInfo = row;
this.searchVal = ""; this.searchVal = "";
this.getApiDetail(row)
}, },
pushroeuter() { pushroeuter(v) {
this.$message.warning("暂未开通文档查看"); this.$router.push({
// this.$router.push({ path: "/home/thePlatformIsSet/portDocument",
// path: "/home/thePlatformIsSet/portDocument", query: { id: v.id },
// // query: { testoption: "test001" }, });
// });
}, },
}, },
}; };
...@@ -120,12 +122,14 @@ export default { ...@@ -120,12 +122,14 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
@headerH: 4.5rem; @headerH: 4.5rem;
.Container { .Container {
width: 100%; width: 100%;
height: 100vh; height: 100vh;
background: #f5f5f5; background: #f5f5f5;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.search_box { .search_box {
height: 300px; height: 300px;
background: url("~@/assets/images/u210.png") top no-repeat; background: url("~@/assets/images/u210.png") top no-repeat;
...@@ -134,16 +138,19 @@ export default { ...@@ -134,16 +138,19 @@ export default {
align-items: center; align-items: center;
display: flex; display: flex;
flex-flow: column; flex-flow: column;
h3 { h3 {
font-size: 2.4rem; font-size: 2.4rem;
color: #fff; color: #fff;
font-weight: bold; font-weight: bold;
padding: 4rem 0 2rem; padding: 4rem 0 2rem;
} }
h4 { h4 {
display: flex; display: flex;
align-items: center; align-items: center;
} }
/deep/.ant-input { /deep/.ant-input {
width: 30rem !important; width: 30rem !important;
margin-right: 2rem; margin-right: 2rem;
...@@ -169,7 +176,8 @@ export default { ...@@ -169,7 +176,8 @@ export default {
line-height: 42px; line-height: 42px;
padding: 0; padding: 0;
border: none; border: none;
& > span {
&>span {
position: relative; position: relative;
display: block; display: block;
width: 100%; width: 100%;
...@@ -213,8 +221,8 @@ export default { ...@@ -213,8 +221,8 @@ export default {
width: 100%; width: 100%;
} }
& > span:before, &>span:before,
& > span:after { &>span:after {
position: absolute; position: absolute;
content: ""; content: "";
left: 0; left: 0;
...@@ -227,39 +235,43 @@ export default { ...@@ -227,39 +235,43 @@ export default {
transition: all 0.3s ease; transition: all 0.3s ease;
} }
& > span:before { &>span:before {
width: 2px; width: 2px;
height: 0%; height: 0%;
} }
& > span:after { &>span:after {
height: 2px; height: 2px;
width: 0%; width: 0%;
} }
& > span:hover:before { &>span:hover:before {
height: 100%; height: 100%;
} }
& > span:hover:after { &>span:hover:after {
width: 100%; width: 100%;
} }
} }
} }
.stepbox { .stepbox {
width: 90%; width: 90%;
margin-left: 5%; margin-left: 5%;
flex: 1; flex: 1;
display: flex; display: flex;
/deep/.ant-steps-item-content { /deep/.ant-steps-item-content {
cursor: pointer; cursor: pointer;
} }
._left { ._left {
width: 300px; width: 300px;
height: 100%; height: 100%;
padding: 20px; padding: 20px;
margin-right: 20px; margin-right: 20px;
overflow: auto; overflow: auto;
&::-webkit-scrollbar { &::-webkit-scrollbar {
width: 3px; width: 3px;
height: 3px; height: 3px;
...@@ -282,6 +294,7 @@ export default { ...@@ -282,6 +294,7 @@ export default {
height: 100%; height: 100%;
padding: 20px; padding: 20px;
overflow-y: auto; overflow-y: auto;
&::-webkit-scrollbar { &::-webkit-scrollbar {
width: 3px; width: 3px;
height: 3px; height: 3px;
...@@ -297,16 +310,20 @@ export default { ...@@ -297,16 +310,20 @@ export default {
border-radius: 3px; border-radius: 3px;
background: #fff; background: #fff;
} }
.title-box { .title-box {
font-size: 24px; font-size: 24px;
.list_title { .list_title {
margin-right: 10px; margin-right: 10px;
font-weight: 600; font-weight: 600;
} }
.count { .count {
font-weight: 600; font-weight: 600;
} }
} }
.list { .list {
width: 100%; width: 100%;
height: 80px; height: 80px;
...@@ -314,38 +331,35 @@ export default { ...@@ -314,38 +331,35 @@ export default {
padding: 0px 20px; padding: 0px 20px;
background-color: #fff; background-color: #fff;
border-radius: 4px; border-radius: 4px;
.api-name { .api-name {
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
} }
.service-name { .service-name {
font-size: 14px; font-size: 14px;
} }
} }
} }
} }
&::before { &::before {
content: ""; content: "";
display: block; display: block;
width: 100%; width: 100%;
height: @headerH; height: @headerH;
background: rgb(59, 135, 255); background: rgb(59, 135, 255);
background: -moz-linear-gradient( background: -moz-linear-gradient(174deg,
174deg, rgba(59, 135, 255, 1) 24%,
rgba(59, 135, 255, 1) 24%, rgba(108, 53, 247, 1) 85%);
rgba(108, 53, 247, 1) 85% background: -webkit-linear-gradient(174deg,
); rgba(59, 135, 255, 1) 24%,
background: -webkit-linear-gradient( rgba(108, 53, 247, 1) 85%);
174deg, background: linear-gradient(174deg,
rgba(59, 135, 255, 1) 24%, rgba(59, 135, 255, 1) 24%,
rgba(108, 53, 247, 1) 85% rgba(108, 53, 247, 1) 85%);
); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3b87ff", endColorstr="#6c35f7", GradientType=1);
background: linear-gradient(
174deg,
rgba(59, 135, 255, 1) 24%,
rgba(108, 53, 247, 1) 85%
);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3b87ff",endColorstr="#6c35f7",GradientType=1);
} }
} }
</style> </style>
\ No newline at end of file
...@@ -2,89 +2,74 @@ ...@@ -2,89 +2,74 @@
<div class="Container"> <div class="Container">
<div class="content"> <div class="content">
<div class="top"> <div class="top">
<h1 class="title_text">RecognizeAccountPage - 户口页识别</h1> <h1 class="title_text">{{ detailsForm.interfaceName }}</h1>
<button class="go_back" @click="$router.go(-1)">返回上一级</button> <button class="go_back" @click="$router.go(-1)">返回上一级</button>
</div> </div>
<a-card title="接口信息" :bordered="false" class="card_box"> <a-card title="接口信息" :bordered="false" class="card_box">
<p class="text1"> <a-descriptions>
户口页识别能力可以对户口本常住人口登记卡进行结构化识别,输出姓名、籍贯、民族、性别、身份证号、出生地、出生日期、户主或户主关系、承办人签章、注册章位置、其他印章位置,共11个关键字段信息。 <a-descriptions-item label="接口名称">{{ detailsForm.interfaceName }}</a-descriptions-item>
</p> <a-descriptions-item label="版本号">{{ detailsForm.versionNumber }}</a-descriptions-item>
<div class="matter_box"> <a-descriptions-item label="请求类型">{{ detailsForm.requestType == 1 ? 'GET' : 'POST' }}</a-descriptions-item>
<p>输入限制:</p> <a-descriptions-item label="请求协议">{{ detailsForm.requestProtocol == 1 ? 'HTTP' : 'HTTPS'
<p v-for="item of 4"> }}</a-descriptions-item>
{{ item }}.图像格式:JPEG、JPG、PNG、BMP、GIF。 <a-descriptions-item label="content-type">{{ detailsForm.contentType }}</a-descriptions-item>
</p> <a-descriptions-item label="超时时长">{{ detailsForm.timeoutValue }}</a-descriptions-item>
</div> <a-descriptions-item label="限流策略">{{ detailsForm.limitStrategy == 1 ? '分钟' : '小时' }}</a-descriptions-item>
<a-descriptions-item label="访问网络" v-if="detailsForm && detailsForm.network">
<span v-for="item, idx of dict.network" v-show="detailsForm.network.indexOf(idx) != -1" :key="idx"> {{ item }}
</span>
</a-descriptions-item>
<a-descriptions-item label="接口标签" v-if="dict.interfaceTag">{{ dict.interfaceTag[detailsForm.interfaceTag]
}}</a-descriptions-item>
<a-descriptions-item label="接口来源" v-if="dict.interfaceSource">{{
dict.interfaceSource[detailsForm.interfaceSource] }}</a-descriptions-item>
<a-descriptions-item label="请求路径">{{ detailsForm.requestUrl }}</a-descriptions-item>
<br>
<a-descriptions-item label="描述" span="{3}">{{ detailsForm.description }}</a-descriptions-item>
</a-descriptions>
</a-card> </a-card>
<a-card title="请求参数" :bordered="false" class="card_box"> <a-card title="请求参数" :bordered="false" class="card_box">
<a-table <div class="flex aic jcb mb10">
bordered <a-radio-group v-model="requestPam.type" button-style="solid" disabled>
:row-key="(record) => record.key" <a-radio-button value="path"> 路径参数 </a-radio-button>
:pagination="false" <a-radio-button value="headers"> headers </a-radio-button>
:columns="tableHeaders" <a-radio-button value="query"> query </a-radio-button>
:dataSource="sourceData" <a-radio-button value="body"> body </a-radio-button>
> </a-radio-group>
<div class="flex aic">
<div class="mr10">入参是否加密</div>
<div>{{ detailsForm.inEncrypt == 1 ? '加密' : '不加密' }}</div>
</div>
</div>
<a-table size="middle" bordered :row-key="(record) => record.id" :locale="{ emptyText: '无' }" :pagination="false"
:columns="table_columns" :dataSource="requestPam.table">
</a-table>
</a-card>
<a-card title="响应数据" :bordered="false" class="card_box">
<div class="flex aic mb10" style="justify-content: flex-end;">
<div class="flex aic">
<div class="mr10">出参是否加密</div>
<div>{{ detailsForm.outEncrypt == 1 ? '加密' : '不加密' }}</div>
</div>
</div>
<a-table size="middle" bordered :row-key="(record) => record.id" :locale="{ emptyText: '无' }" :pagination="false"
:columns="table_columns" :dataSource="responsePam.table">
</a-table> </a-table>
</a-card> </a-card>
<a-card title="返回示例" :bordered="false" class="card_box"> <a-card title="返回示例" :bordered="false" class="card_box">
<p>正常返回示例</p> <p>正常返回示例</p>
<div v-highlight> <div v-highlight>
<pre> <pre>
<code class="json"> <code class="json" v-html="allResData"></code>
{ </pre>
RequestId: "8D588F22-3E14-4674-9EAE-49AE1BA10EA2", </div>
Data: { <p>错误返回示例</p>
Gender: '"Gender": "女", <div v-highlight>
TitleArea: { <pre>
Top: 17, <code class="json" v-html="errJson"></code>
Width: 30, </pre>
Height: 30,
Left: 205,
},
Angle: 0,
RegisterStampAreas: [
{
Top: 2215,
Width: 152,
Height: 138,
Left: 330,
},
],
Nationality: "彝族",
BirthPlace: "四川省雷波县",
OtherStampAreas: [
{
Top: 10,
Width: 10,
Height: 10,
Left: 10,
},
],
UndertakeStampAreas: [
{
Top: 10,
Width: 10,
Height: 10,
Left: 10,
},
],
BirthDate: "2002年12月27日",
Relation: "孙女",
NativePlace: "四川省雷波县",
Name: "杨冬",
IDNumber: "513437200212271325",
InvalidStampAreas: [
{
Top: 10,
Width: 10,
Height: 10,
Left: 10,
},
],
},
}
</code>
</pre>
</div> </div>
</a-card> </a-card>
</div> </div>
...@@ -95,6 +80,9 @@ ...@@ -95,6 +80,9 @@
import Vue from "vue"; import Vue from "vue";
import hljs from "highlight.js"; import hljs from "highlight.js";
import "highlight.js/styles/monokai-sublime.css"; import "highlight.js/styles/monokai-sublime.css";
import {
getInterfaceInfo
} from '@/api/thePlatformIsSet.js'
Vue.directive("highlight", function (el) { Vue.directive("highlight", function (el) {
let blocks = el.querySelectorAll("pre code"); let blocks = el.querySelectorAll("pre code");
blocks.forEach((block) => { blocks.forEach((block) => {
...@@ -105,59 +93,58 @@ export default { ...@@ -105,59 +93,58 @@ export default {
name: "PortalAdminVuePortDocument", name: "PortalAdminVuePortDocument",
data() { data() {
return { return {
tableHeaders: [ detailsForm: {},
{ requestPam: {},
title: "名称", responsePam: {},
dataIndex: "name", dict: {},
align: "center", table_columns: [{
}, title: "参数名",
{ align: "center",
title: "类型", dataIndex: "name"
dataIndex: "type", },
align: "center", {
}, title: "参数值类型",
{ align: "center",
title: "必填", dataIndex: "type",
dataIndex: "mustFillIn", },
align: "center", {
}, title: "默认值",
{ align: "center",
title: "描述", dataIndex: "default",
dataIndex: "describe", },
align: "center", {
}, title: "是否必填",
{ align: "center",
title: "示例值及参考API", dataIndex: "isMust",
dataIndex: "reference", customRender: (text, record, index) => `${text == 1 ? '' : ''}`,
align: "center", },
}, {
], title: "描述",
sourceData: [ align: "center",
{ dataIndex: "describe",
key: "01", width: 200
name: "ImageURL", }
type: "String",
mustFillIn: "",
describe: "图片URL地址。当前仅支持广安地域的OSS链接。",
reference:
"示例值:http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/ocr/RecognizeAccountPage/hky1.jpg",
},
{
key: "02",
name: "ImageURL",
type: "String",
mustFillIn: "",
describe: "图片URL地址。当前仅支持广安地域的OSS链接。",
reference:
"示例值:http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/ocr/RecognizeAccountPage/hky1.jpg",
},
], ],
allResData: null,
errJson: { "msg": "请选择待查看产品接口信息", "code": -1 }
}; };
}, },
mounted() {}, mounted() {
this.getInfo()
},
methods: { methods: {
getInfo() {
getInterfaceInfo({ id: this.$route.query.id }).then(res => {
this.allResData = res
res.data.network = res.data.network.split(',')
this.detailsForm = res.data
this.requestPam = JSON.parse(res.data.requestParameters)
this.responsePam = JSON.parse(res.data.responseParameters)
this.dict = res.dict
})
},
toJson(res) { toJson(res) {
return JSON.stringify(res); return JSON.stringify(res);
}, },
...@@ -167,16 +154,24 @@ export default { ...@@ -167,16 +154,24 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
@headerH: 4.5rem; @headerH: 4.5rem;
::v-deep .ant-table {
width: 100%;
}
.Container { .Container {
background: #f5f5f5; background: #f5f5f5;
.content { .content {
width: 75rem; width: 75rem;
margin: 0 auto; margin: 0 auto;
padding: 2.5rem 0; padding: 2.5rem 0;
.top { .top {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
.title_text { .title_text {
font-size: 1.2rem; font-size: 1.2rem;
margin-bottom: 1rem; margin-bottom: 1rem;
...@@ -230,41 +225,39 @@ export default { ...@@ -230,41 +225,39 @@ export default {
} }
} }
} }
.TheSample { .TheSample {
background: #f5f5f5; background: #f5f5f5;
padding: 1rem; padding: 1rem;
} }
.card_box { .card_box {
.text1 { .text1 {
margin-bottom: 1rem; margin-bottom: 1rem;
} }
& + .card_box {
&+.card_box {
margin-top: 1rem; margin-top: 1rem;
} }
} }
} }
&::before { &::before {
content: ""; content: "";
display: block; display: block;
width: 100%; width: 100%;
height: @headerH; height: @headerH;
background: rgb(59, 135, 255); background: rgb(59, 135, 255);
background: -moz-linear-gradient( background: -moz-linear-gradient(174deg,
174deg, rgba(59, 135, 255, 1) 24%,
rgba(59, 135, 255, 1) 24%, rgba(108, 53, 247, 1) 85%);
rgba(108, 53, 247, 1) 85% background: -webkit-linear-gradient(174deg,
); rgba(59, 135, 255, 1) 24%,
background: -webkit-linear-gradient( rgba(108, 53, 247, 1) 85%);
174deg, background: linear-gradient(174deg,
rgba(59, 135, 255, 1) 24%, rgba(59, 135, 255, 1) 24%,
rgba(108, 53, 247, 1) 85% rgba(108, 53, 247, 1) 85%);
); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3b87ff", endColorstr="#6c35f7", GradientType=1);
background: linear-gradient(
174deg,
rgba(59, 135, 255, 1) 24%,
rgba(108, 53, 247, 1) 85%
);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3b87ff",endColorstr="#6c35f7",GradientType=1);
} }
} }
</style> </style>
\ No newline at end of file
<template>
<div class="Container">
<div class="my-card">
<div class="head-menu">
<div>属性字典</div>
</div>
<div class="pd20">
<div class="from-item">
<div class="name">排队机分辨率:</div>
<div>
<a-tag color="blue" closable v-for="item, index in fblList" :key="index">
{{ item.name }}
</a-tag>
</div>
<a-button icon="plus" size="small" @click="addZdShow('fblList', '排队机分辨率')">添加字典值</a-button>
</div>
<div class="from-item">
<div class="name">接口标签:</div>
<div>
<a-tag color="blue" closable v-for="item, index in bqList" :key="index">
{{ item.name }}
</a-tag>
</div>
<a-button icon="plus" size="small" @click="addZdShow('bqList', '接口标签')">添加字典值</a-button>
</div>
</div>
</div>
<a-modal :title="VisibleTitle" :centered="true" :destroyOnClose="true" :visible="Visible" @cancel="Visible = false"
width="30%">
<a-form-model :label-col="{ span: 5 }" :wrapper-col="{ span: 19 }" layout="horizontal" ref="appInfoFome"
:model="appInfoFome" :rules="appInfoRules">
<a-form-model-item label="字典值" prop="productName">
<a-input placeholder="请输入字典值" allowClear v-model="appInfoFome.productName" />
</a-form-model-item>
</a-form-model>
<template slot="footer">
<a-button type="primary" class="addclass" @click="Modal_Ok">确定</a-button>
<a-button @click="resetForm">重置</a-button>
</template>
</a-modal>
</div>
</template>
<script>
import common from "@/mixins/common";
export default {
name: "dictionary",
mixins: [common],
data() {
return {
fblList: [{
name: "1920*1080"
}, {
name: "1080*1920"
}, {
name: "1280*1280"
}],
bqList: [
{ name: "政务外网" },
{ name: "便民服务" },
{ name: "三化建设" },
],
VisibleTitle: "",
Visible: false,
appInfoFome: {
productName: undefined,
siteId: JSON.parse(localStorage.getItem("siteId"))
}, //页面表单信息
appInfoRules: {
productName: [
{
required: true, //是否必选
whitespace: true, //必选时,空格是否会被视为错误
message: "请输入字典值",
trigger: "blur",
}
],
},
keyName: ""
};
},
created() {
},
mounted() {
},
methods: {
addZdShow(key, title) {
this.Visible = true
this.resetForm()
this.keyName = key
this.VisibleTitle = title
},
Modal_Ok() {
this.$refs.appInfoFome.validate((valid) => {
if (valid) {
this[this.keyName].push({
name: this.appInfoFome.productName
})
this.Visible = false
this.resetForm()
} else {
this.$message.error(`请完善表单信息!`);
return false;
}
});
},
resetForm() {
this.$nextTick(() => {
this.appInfoFome.productName = ''
});
},
},
};
</script>
<style lang="less" scoped>
.from-item {
display: flex;
align-items: center;
margin-bottom: 20px;
.name {
width: 150px;
text-align: right;
padding-right: 20px;
}
}
.Container {
width: 100%;
min-height: 100vh;
background: #f5f5f5;
padding-top: 72px;
.my-card {
margin: 40px 80px;
background: #fff;
border-radius: 6px;
overflow: hidden;
min-height: 500px;
}
.head-menu {
display: flex;
align-items: center;
border-bottom: 1px solid #efefef;
div {
height: 52px;
line-height: 52px;
font-size: 16px;
font-weight: bold;
color: #0595FD;
border-bottom: 2px solid #0595FD;
padding: 0 30px;
margin-left: 20px;
}
}
}
</style>
\ No newline at end of file
...@@ -2,83 +2,44 @@ ...@@ -2,83 +2,44 @@
<div class="PoliticsShow-Container"> <div class="PoliticsShow-Container">
<div class="header_box"> <div class="header_box">
<div> <div>
<button class="add_btn" @click="openDetails('新增',{})"> <button class="add_btn" @click="openDetails()">
<span>新增</span> <span>新增</span>
</button> </button>
</div> </div>
<span> <span>
<a-input <a-input allowClear v-model="query.interfaceName" placeholder="请输入接口名称查询">
allowClear
v-model="query.interfaceName"
placeholder="请输入接口名称查询"
>
<a-icon slot="prefix" type="search" /> <a-icon slot="prefix" type="search" />
</a-input> </a-input>
<a-select default-value="001"> <a-select v-model="query.interfaceSource">
<!-- <a-select-option <a-select-option value="">所有来源</a-select-option>
v-for="(item, index) of selectOptions" <a-select-option v-for="(item, index) of dict.interfaceSource" :key="index" :value="index">
:key="index" {{ item }}
:value="item.value" </a-select-option>
>
{{ item.label }}
</a-select-option> -->
<a-select-option value="001"> 来源001 </a-select-option>
<a-select-option value="002"> 来源002 </a-select-option>
</a-select> </a-select>
<a-select default-value="001"> <a-select v-model="query.interfaceTag">
<!-- <a-select-option <a-select-option value="">所有标签</a-select-option>
v-for="(item, index) of selectOptions" <a-select-option v-for="(item, index) of dict.interfaceTag" :key="index" :value="index">
:key="index" {{ item }}
:value="item.value" </a-select-option>
>
{{ item.label }}
</a-select-option> -->
<a-select-option value="001"> 标签001 </a-select-option>
<a-select-option value="002"> 标签002 </a-select-option>
</a-select> </a-select>
<a-select default-value="001"> <button class="search_btn" @click="getList()">搜索</button>
<!-- <a-select-option
v-for="(item, index) of selectOptions"
:key="index"
:value="item.value"
>
{{ item.label }}
</a-select-option> -->
<a-select-option value="001"> 策略001 </a-select-option>
<a-select-option value="002"> 策略002 </a-select-option>
</a-select>
<button class="search_btn">搜索</button>
</span> </span>
</div> </div>
<div class="main"> <div class="main">
<a-table <a-table size="small" bordered :row-key="(record) => record.id" :scroll="{ y: 590 }" :pagination="tablePagination"
size="small" @change="pagTableChange" :loading="tableLoading" :columns="tableHeaders" :dataSource="tableSourceData">
bordered <template slot="network" slot-scope="text, record,index">
:row-key="(record) => record.id" <span v-for="item, idx of dict.network" v-show="text.indexOf(idx) != -1" :key="idx"> {{ item }} </span>
:scroll="{ y: 590 }" </template>
:pagination="tablePagination"
@change="pagTableChange"
:loading="tableLoading"
:columns="tableHeaders"
:dataSource="tableSourceData"
>
<template slot="operation" slot-scope="text, record, index"> <template slot="operation" slot-scope="text, record, index">
<a-button type="link" @click="openDetails('详情',record)" <a-button type="link" @click="openDetails(record)">编辑</a-button>
>详情</a-button <a-popconfirm title="确定要删除此应用吗?" ok-text="确定" cancel-text="取消" @confirm="delRow(record)">
> <a-button type="link" style="color: #ff4420">删除</a-button>
<a-button type="link" @click="openDetails('编辑',record)" </a-popconfirm>
>编辑</a-button
>
<a-button type="link" style="color: #ff4420"
>删除</a-button
>
</template> </template>
</a-table> </a-table>
<Details ref="Details" /> <Details ref="Details" :dict="dict" />
</div> </div>
</div> </div>
</template> </template>
...@@ -86,7 +47,7 @@ ...@@ -86,7 +47,7 @@
<script> <script>
import table from "@/mixins/table"; import table from "@/mixins/table";
import Details from "./components/Details.vue"; import Details from "./components/Details.vue";
import {getInterfaceList} from '@/api/thePlatformIsSet.js' import { getInterfaceList, getInterfaceDelete } from '@/api/thePlatformIsSet.js'
export default { export default {
mixins: [table], mixins: [table],
name: "PortalAdminVueAlerting", name: "PortalAdminVueAlerting",
...@@ -110,18 +71,19 @@ export default { ...@@ -110,18 +71,19 @@ export default {
title: "请求类型", title: "请求类型",
align: "center", align: "center",
dataIndex: "requestType", dataIndex: "requestType",
customRender: (text, record, index) => `${record.requestType == 1 ? 'POST' : 'GET'}`, customRender: (text, record, index) => `${record.requestType == 1 ? 'POST' : 'GET'}`,
}, },
{ {
title: "标签", title: "标签",
align: "center", align: "center",
dataIndex: "interfaceTag", dataIndex: "interfaceTag",
customRender: (text, record, index) => this.dict.interfaceTag[text]
}, },
{ {
title: "请求协议", title: "请求协议",
align: "center", align: "center",
dataIndex: "requestProtocol", dataIndex: "requestProtocol",
customRender: (text, record, index) => `${record.requestProtocol == 1 ? 'HTTP' : 'HTTPS'}`, customRender: (text, record, index) => this.dict.requestProtocol[text]
}, },
{ {
title: "版本", title: "版本",
...@@ -132,19 +94,21 @@ export default { ...@@ -132,19 +94,21 @@ export default {
title: "来源", title: "来源",
align: "center", align: "center",
dataIndex: "interfaceSource", dataIndex: "interfaceSource",
customRender: (text, record, index) => `${record.interfaceSource == 1 ? '自有' : '非自有'}`, customRender: (text, record, index) => this.dict.interfaceSource[text]
}, },
{ {
title: "策略", title: "策略",
align: "center", align: "center",
dataIndex: "limitStrategy", dataIndex: "limitStrategy",
customRender: (text, record, index) => `${record.limitStrategy == 1 ? '分钟' : '小时'}`, customRender: (text, record, index) => `${record.limitStrategy == 1 ? '分钟' : '小时'}`,
}, },
{ {
title: "访问网络", title: "访问网络",
align: "center", align: "center",
dataIndex: "network", dataIndex: "network",
customRender: (text, record, index) => `${record.network == 1 ? '互联网' : '政务网'}`, scopedSlots: {
customRender: "network",
}
}, },
{ {
...@@ -157,12 +121,20 @@ export default { ...@@ -157,12 +121,20 @@ export default {
}, },
}, },
], ],
query:{ query: {
interfaceName: undefined, interfaceName: undefined,
page:1, interfaceSource: "",
size:10, interfaceTag: "",
}, productId: this.$route.query.id,
total:0 },
tablePagination: {
current: 1,
pageSize: 10
},
dict: {
},
total: 0
}; };
}, },
components: { components: {
...@@ -172,11 +144,25 @@ export default { ...@@ -172,11 +144,25 @@ export default {
this.getList(); this.getList();
}, },
methods: { methods: {
getList() { getList() {
getInterfaceList(this.query).then(res=>{ getInterfaceList({
this.tableSourceData = res.data.data page: this.tablePagination.current,
}) size: this.tablePagination.pageSize,
}, ...this.query
}).then(res => {
if (res.code == 1) {
let {
data,
total,
dict
} = res.data;
this.dict = dict;
this.tableSourceData = data;
this.tablePagination.total = total;
return data
}
})
},
QueueState(type) { QueueState(type) {
switch (type) { switch (type) {
case 0: case 0:
...@@ -188,11 +174,35 @@ export default { ...@@ -188,11 +174,35 @@ export default {
return "type0"; return "type0";
} }
}, },
openDetails(type) { delRow(item) {
this.$refs.Details.modalInfo.title = type; getInterfaceDelete({
id: item.id
}).then((res) => {
let { code, msg } = res
if (code == 1) {
this.$message.success('删除成功');
this.getList()
} else {
this.$message.error(msg);
}
})
},
openDetails(item) {
if (item) {
this.$refs.Details.modalInfo.title = "编辑接口";
this.$refs.Details.getInfo(item.id)
} else {
this.$refs.Details.modalInfo.title = "新增接口";
}
this.$refs.Details.modalInfo.visible = true; this.$refs.Details.modalInfo.visible = true;
this.$refs.Details.modalInfo.width = "55%"; this.$refs.Details.modalInfo.width = "55%";
}, },
//分页
pagTableChange(page) {
this.tablePagination.current = page.current
this.tablePagination.pageSize = page.pageSize
this.getList();
},
}, },
}; };
</script> </script>
...@@ -201,13 +211,15 @@ export default { ...@@ -201,13 +211,15 @@ export default {
/deep/.ant-spin-container { /deep/.ant-spin-container {
display: block; display: block;
} }
.PoliticsShow-Container { .PoliticsShow-Container {
.header_box { .header_box {
padding-bottom: 1rem; padding-bottom: 1rem;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
& > div {
&>div {
display: flex; display: flex;
justify-content: flex-start; justify-content: flex-start;
align-items: center; align-items: center;
...@@ -227,6 +239,7 @@ export default { ...@@ -227,6 +239,7 @@ export default {
overflow: hidden; overflow: hidden;
background: #43a4ff; background: #43a4ff;
color: ghostwhite; color: ghostwhite;
& span { & span {
position: relative; position: relative;
z-index: 10; z-index: 10;
...@@ -262,7 +275,7 @@ export default { ...@@ -262,7 +275,7 @@ export default {
} }
} }
& > span { &>span {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
...@@ -271,21 +284,26 @@ export default { ...@@ -271,21 +284,26 @@ export default {
width: 15rem !important; width: 15rem !important;
margin-right: 1rem !important; margin-right: 1rem !important;
} }
/deep/.ant-input { /deep/.ant-input {
height: 2.3rem !important; height: 2.3rem !important;
} }
/deep/.ant-select-selection { /deep/.ant-select-selection {
width: 170px !important; width: 170px !important;
height: 2.3rem !important; height: 2.3rem !important;
margin-right: 1rem !important; margin-right: 1rem !important;
} }
/deep/.ant-select-selection__rendered { /deep/.ant-select-selection__rendered {
height: 100% !important; height: 100% !important;
} }
/deep/.ant-select-selection-selected-value { /deep/.ant-select-selection-selected-value {
height: 100% !important; height: 100% !important;
line-height: 2.3rem !important; line-height: 2.3rem !important;
} }
.search_btn { .search_btn {
padding: 0.8rem 1.2rem; padding: 0.8rem 1.2rem;
border: 0; border: 0;
...@@ -317,13 +335,16 @@ export default { ...@@ -317,13 +335,16 @@ export default {
} }
} }
} }
.main { .main {
.type0 { .type0 {
color: #888888; color: #888888;
} }
.type1 { .type1 {
color: #f94545; color: #f94545;
} }
.levelState { .levelState {
padding: 5px 8px; padding: 5px 8px;
border-radius: 8px; border-radius: 8px;
...@@ -331,12 +352,15 @@ export default { ...@@ -331,12 +352,15 @@ export default {
background: #ffedeb; background: #ffedeb;
border: 1px solid #f94545; border: 1px solid #f94545;
} }
.type2 { .type2 {
color: #04ca8f; color: #04ca8f;
} }
/deep/.ant-btn-link { /deep/.ant-btn-link {
padding: 0 !important; padding: 0 !important;
& + .ant-btn-link {
&+.ant-btn-link {
margin-left: 1rem !important; margin-left: 1rem !important;
} }
} }
......
<template> <template>
<a-drawer :destroyOnClose="true" :title="modalInfo.title" :width="modalInfo.width" :visible="modalInfo.visible" <a-drawer :destroyOnClose="true" :title="modalInfo.title" :width="modalInfo.width" :visible="modalInfo.visible"
@close="modalClose"> @close="resetForm">
<a-form-model ref="ruleForm" :model="detailsForm" :rules="detailsRules" :label-col="{ span: 4 }" <a-form-model ref="ruleForm" :model="detailsForm" :rules="detailsRules" :label-col="{ span: 4 }"
:wrapper-col="{ span: 20 }"> :wrapper-col="{ span: 20 }">
<a-row :gutter="16"> <a-row :gutter="16">
...@@ -30,14 +30,18 @@ ...@@ -30,14 +30,18 @@
</a-select> </a-select>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :span="12"> <a-col :span="12">
<a-form-model-item label="请求路径" prop="requestUrl"> <a-form-model-item label="content-type" prop="contentType">
<a-input v-model="detailsForm.requestUrl" placeholder="请输入" allowClear /> <a-select v-model="detailsForm.contentType" placeholder="请选择" allowClear>
<a-select-option v-for="item, index in ctList" :key="index" :value="item">{{ item
}}</a-select-option>
</a-select>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :span="12"> <a-col :span="12">
<a-form-model-item label="超时时长" prop="requestUrl"> <a-form-model-item label="超时时长" prop="timeoutValue">
<a-input v-model="detailsForm.requestUrl" placeholder="请输入" allowClear> <a-input v-model="detailsForm.timeoutValue" placeholder="请输入" allowClear>
<template slot="suffix"></template> <template slot="suffix"></template>
</a-input> </a-input>
</a-form-model-item> </a-form-model-item>
...@@ -56,48 +60,68 @@ ...@@ -56,48 +60,68 @@
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :span="12"> <a-col :span="12">
<a-form-model-item label="描述" prop="description"> <a-form-model-item label="接口标签" prop="interfaceTag">
<a-textarea v-model="detailsForm.description" placeholder="请输入" :rows="4" /> <a-select v-model="detailsForm.interfaceTag" placeholder="请选择" allowClear>
<a-select-option v-for="(item, index) of dict.interfaceTag" :key="index" :value="index">
{{ item }}
</a-select-option>
</a-select>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :span="12"> <a-col :span="12">
<a-form-model-item label="流控信息" prop="flowControl"> <a-form-model-item label="接口来源" prop="interfaceSource">
<a-textarea v-model="detailsForm.flowControl" placeholder="请输入" :rows="4" /> <a-select v-model="detailsForm.interfaceSource" placeholder="请选择" allowClear>
<a-select-option value="1"> 自建发布 </a-select-option>
<a-select-option value="2"> 对接转化 </a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col :span="12">
<a-form-model-item label="请求路径" prop="requestUrl">
<a-input v-model="detailsForm.requestUrl" placeholder="请输入" allowClear />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :span="12"> <a-col :span="12">
<a-form-model-item label="授权信息" prop="authorizeInfo"> <a-form-model-item label="描述" prop="description">
<a-textarea v-model="detailsForm.authorizeInfo" placeholder="请输入" :rows="4" /> <a-textarea v-model="detailsForm.description" placeholder="请输入" :rows="4" />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
</a-row> </a-row>
<h1 class="title_">请求参数</h1> <h1 class="title_">请求参数</h1>
<a-radio-group v-model="type" button-style="solid"> <div class="flex aic jcb mb10">
<a-radio-button value="路径参数"> 路径参数 </a-radio-button> <a-radio-group v-model="requestPam.type" button-style="solid" @change="onReqType('new')">
<a-radio-button value="headers"> headers </a-radio-button> <a-radio-button value="path"> 路径参数 </a-radio-button>
<a-radio-button value="query"> query </a-radio-button> <a-radio-button value="headers"> headers </a-radio-button>
<a-radio-button value="body"> body </a-radio-button> <a-radio-button value="query"> query </a-radio-button>
</a-radio-group> <a-radio-button value="body"> body </a-radio-button>
</a-radio-group>
<div class="flex aic">
<div class="mr10">入参是否加密</div>
<a-radio-group v-model="detailsForm.inEncrypt">
<a-radio :value="0">不加密</a-radio>
<a-radio :value="1">加密</a-radio>
</a-radio-group>
</div>
</div>
<a-table size="middle" bordered :row-key="(record) => record.id" :pagination="false" <a-table size="middle" bordered :row-key="(record) => record.id" :locale="{ emptyText: '无' }"
:columns="table_columns" :dataSource="requestParameters[type]"> :pagination="false" :columns="table_columns" :dataSource="requestPam.table">
<template slot="参数名" slot-scope="text, record, index"> <template slot="参数名" slot-scope="text, record, index">
<a-input v-model="record.name" placeholder="请输入" allowClear /> <a-input v-model="record.name" placeholder="请输入" allowClear />
</template> </template>
<template slot="关联参数" slot-scope="text, record, index">
<a-select v-model="record.association" placeholder="请选择" allowClear>
<a-select-option value="001"> 选项001 </a-select-option>
</a-select>
</template>
<template slot="参数值类型" slot-scope="text, record, index"> <template slot="参数值类型" slot-scope="text, record, index">
<a-select v-model="record.type" placeholder="请选择" allowClear> <a-select v-model="record.type" placeholder="请选择" allowClear :disabled="record.isType">
<a-select-option value="String"> String </a-select-option> <a-select-option value="String"> String </a-select-option>
<a-select-option value="Int"> Int </a-select-option>
<a-select-option value="Object"> Object </a-select-option>
<a-select-option value="[String]"> [String] </a-select-option>
<a-select-option value="[Int]"> [Int] </a-select-option>
<a-select-option value="[Object]"> [Object] </a-select-option>
</a-select> </a-select>
</template> </template>
<template slot="jsonPath" slot-scope="text, record, index">
<a-input v-model="record.jsonPath" placeholder="请输入" allowClear />
</template>
<template slot="默认值" slot-scope="text, record, index"> <template slot="默认值" slot-scope="text, record, index">
<a-input v-model="record.default" placeholder="请输入" allowClear /> <a-input v-model="record.default" placeholder="请输入" allowClear />
</template> </template>
...@@ -112,33 +136,39 @@ ...@@ -112,33 +136,39 @@
</template> </template>
<template slot="operation" slot-scope="text, record, index"> <template slot="operation" slot-scope="text, record, index">
<a-button type="link" style="color: #ff4420">删除</a-button> <a-button type="link" @click="delTabRow('requestPam', index)" style="color: #ff4420">删除</a-button>
</template> </template>
</a-table> </a-table>
<div class="table_footer"> <div class="table_footer" v-if="requestPam.type != 'path'">
<a-button type="primary" class="addclass" @click="ceshidayin"> 添加参数 </a-button> <a-button type="primary" class="addclass" @click="onReqType('add')"> 添加参数 </a-button>
</div> </div>
<h1 class="title_">响应数据</h1> <div class="flex aic jcb mt20">
<h1 class="title_">响应数据</h1>
<div class="flex aic">
<div class="mr10">出参是否加密</div>
<a-radio-group v-model="detailsForm.outEncrypt">
<a-radio :value="0">不加密</a-radio>
<a-radio :value="1">加密</a-radio>
</a-radio-group>
</div>
</div>
<a-table size="middle" bordered :row-key="(record) => record.id" :pagination="false" <a-table size="middle" bordered :row-key="(record) => record.id" :locale="{ emptyText: '无' }"
:columns="table_columns" :dataSource="responseParameters"> :pagination="false" :columns="table_columns" :dataSource="responsePam.table">
<template slot="参数名" slot-scope="text, record, index"> <template slot="参数名" slot-scope="text, record, index">
<a-input v-model="record.name" placeholder="请输入" allowClear /> <a-input v-model="record.name" placeholder="请输入" allowClear />
</template> </template>
<template slot="关联参数" slot-scope="text, record, index">
<a-select v-model="record.association" placeholder="请选择" allowClear>
<a-select-option value="001"> 选项001 </a-select-option>
</a-select>
</template>
<template slot="参数值类型" slot-scope="text, record, index"> <template slot="参数值类型" slot-scope="text, record, index">
<a-select v-model="record.type" placeholder="请选择" allowClear> <a-select v-model="record.type" placeholder="请选择" allowClear>
<a-select-option value="String"> String </a-select-option> <a-select-option value="String"> String </a-select-option>
<a-select-option value="Int"> Int </a-select-option>
<a-select-option value="Object"> Object </a-select-option>
<a-select-option value="[String]"> [String] </a-select-option>
<a-select-option value="[Int]"> [Int] </a-select-option>
<a-select-option value="[Object]"> [Object] </a-select-option>
</a-select> </a-select>
</template> </template>
<template slot="jsonPath" slot-scope="text, record, index">
<a-input v-model="record.jsonPath" placeholder="请输入" allowClear />
</template>
<template slot="默认值" slot-scope="text, record, index"> <template slot="默认值" slot-scope="text, record, index">
<a-input v-model="record.default" placeholder="请输入" allowClear /> <a-input v-model="record.default" placeholder="请输入" allowClear />
</template> </template>
...@@ -153,361 +183,319 @@ ...@@ -153,361 +183,319 @@
</template> </template>
<template slot="operation" slot-scope="text, record, index"> <template slot="operation" slot-scope="text, record, index">
<a-button type="link" style="color: #ff4420">删除</a-button> <a-button type="link" @click="delTabRow('responsePam', index)" style="color: #ff4420">删除</a-button>
</template>
</a-table>
<div class="table_footer">
<a-button type="primary" class="addclass" @click="ceshidayin"> 添加参数 </a-button>
</div>
<!-- <h1 class="title_">错误码</h1>
<a-table size="middle" bordered :row-key="(record) => record.id" :pagination="false"
:columns="errorCode_columns" :dataSource="errorCode">
<template slot="Http Code" slot-scope="text, record, index">
<a-input v-model="record.httpCode" placeholder="请输入" allowClear />
</template>
<template slot="Error Code" slot-scope="text, record, index">
<a-input v-model="record.errorCode" placeholder="请输入" allowClear />
</template>
<template slot="错误信息" slot-scope="text, record, index">
<a-input v-model="record.errorMessage" placeholder="请输入" allowClear />
</template>
<template slot="operation" slot-scope="text, record, index">
<a-button type="link" style="color: #ff4420">删除</a-button>
</template> </template>
</a-table> </a-table>
<div class="table_footer"> <div class="table_footer">
<a-button type="primary" class="addclass" @click="ceshidayin"> 添加参数 </a-button> <a-button type="primary" class="addclass" @click="addResPam"> 添加参数 </a-button>
</div> </div>
<h1 class="title_">变更历史</h1>
<a-table size="middle" bordered :row-key="(record) => record.id" :pagination="false"
:columns="changeHistory_columns" :dataSource="changeHistory">
<template slot="变更时间" slot-scope="text, record, index">
<a-input v-model="record.time" placeholder="请输入" allowClear />
</template>
<template slot="变更内容概要" slot-scope="text, record, index">
<a-input v-model="record.content" placeholder="请输入" allowClear />
</template>
<template slot="operation" slot-scope="text, record, index">
<a-button type="link" style="color: #ff4420">删除</a-button>
</template>
</a-table>
<div class="table_footer">
<a-button type="primary" class="addclass" @click="ceshidayin"> 添加参数 </a-button>
</div> -->
<div class="drawer_footer"> <div class="drawer_footer">
<a-button type="primary" class="addclass" @click="modalSubmit"> 保存 </a-button> <a-button type="primary" class="addclass" @click="modalSubmit"> 保存 </a-button>
<a-button @click="modalClose"> 取消 </a-button> <a-button @click="resetForm"> 取消 </a-button>
</div> </div>
</a-form-model> </a-form-model>
</a-drawer> </a-drawer>
</template> </template>
<script> <script>
import modal from "../mixins/modal"; import modal from "../mixins/modal";
import { import {
getInterfaceSave getInterfaceSave, getInterfaceInfo
} from '@/api/thePlatformIsSet.js' } from '@/api/thePlatformIsSet.js'
export default { export default {
mixins: [modal], mixins: [modal],
name: "PortalAdminVuePicWorks", name: "PortalAdminVuePicWorks",
props: ["dict"],
data() { data() {
return { return {
detailsForm: { detailsForm: {
interfaceName: undefined, productId: this.$route.query.id,
versionNumber: undefined, interfaceName: undefined,
requestType: undefined, versionNumber: undefined,
requestProtocol: undefined, requestType: undefined,
requestUrl: undefined, requestProtocol: undefined,
timeoutValue: undefined, requestUrl: undefined,
timeoutValue: undefined, timeoutValue: undefined,
network: undefined, timeoutValue: undefined,
description: undefined, network: undefined,
flowControl: undefined, description: undefined,
authorizeInfo: undefined, flowControl: undefined,
authorizeInfo: undefined,
contentType: undefined,
interfaceTag: undefined,
inEncrypt: 0,
outEncrypt: 0
},
detailsRules: {
interfaceName: [{ required: true, message: "请输入", trigger: "blur" }],
versionNumber: [{ required: true, message: "请输入", trigger: "blur" }],
requestType: [{ required: true, message: "请选择", trigger: "change" }],
requestProtocol: [{ required: true, message: "请选择", trigger: "change" }],
requestUrl: [{ required: true, message: "请输入", trigger: "blur" }],
timeoutValue: [{ required: true, message: "请输入", trigger: "blur" }],
},
options: [{
label: "互联网",
value: "1",
},
{
label: "政务网",
value: "2",
},
],
table_columns: [{
title: "参数名",
align: "center",
dataIndex: "name",
scopedSlots: {
customRender: "参数名",
},
},
{
title: "参数值类型",
align: "center",
dataIndex: "type",
scopedSlots: {
customRender: "参数值类型",
},
},
{
title: "默认值",
align: "center",
dataIndex: "default",
scopedSlots: {
customRender: "默认值",
},
},
{
title: "是否必填",
align: "center",
dataIndex: "isMust",
scopedSlots: {
customRender: "是否必填",
}, },
detailsRules: { },
interfaceName: [{ {
required: true, title: "描述",
message: "请输入", align: "center",
trigger: "blur", dataIndex: "describe",
}, ], scopedSlots: {
versionNumber: [{ customRender: "描述",
required: true,
message: "请输入",
trigger: "blur",
}, ],
requestType: [{
required: true,
message: "请输入",
trigger: "change",
}, ],
requestProtocol: [{
required: true,
message: "请输入",
trigger: "change",
}, ],
requestUrl: [{
required: true,
message: "请输入",
trigger: "blur",
}, ],
timeoutValue: [{
required: true,
message: "请输入",
trigger: "blur",
}, ],
network: [{
required: true,
message: "请输入",
trigger: "change",
}, ],
}, },
options: [{ width: 200
label: "互联网", },
value: "1",
},
{
label: "政务网",
value: "2",
},
],
table_columns: [{
title: "参数名",
align: "center",
dataIndex: "name",
scopedSlots: {
customRender: "参数名",
},
},
{
title: "关联参数",
align: "center",
dataIndex: "association",
scopedSlots: {
customRender: "关联参数",
},
},
{
title: "参数值类型",
align: "center",
dataIndex: "type",
scopedSlots: {
customRender: "参数值类型",
},
},
{
title: "jsonPath",
align: "center",
dataIndex: "jsonPath",
scopedSlots: {
customRender: "jsonPath",
},
},
{
title: "默认值",
align: "center",
dataIndex: "default",
scopedSlots: {
customRender: "默认值",
},
},
{
title: "是否必填",
align: "center",
dataIndex: "isMust",
scopedSlots: {
customRender: "是否必填",
},
},
{
title: "描述",
align: "center",
dataIndex: "describe",
scopedSlots: {
customRender: "描述",
},
},
{ {
title: "操作", title: "操作",
align: "center", align: "center",
width: "60px", width: "60px",
dataIndex: "operation", dataIndex: "operation",
scopedSlots: { scopedSlots: {
customRender: "operation", customRender: "operation",
},
},
],
type: '路径参数',
requestParameters: {
'路径参数': [{
name: ``,
association: undefined,
type: undefined,
jsonPath: ``,
default: ``,
isMust: undefined,
describe: ``,
}],
'headers': [{
name: ``,
association: undefined,
type: undefined,
jsonPath: ``,
default: ``,
isMust: undefined,
describe: ``,
}],
'query': [{
name: ``,
association: undefined,
type: undefined,
jsonPath: ``,
default: ``,
isMust: undefined,
describe: ``,
}],
'body': [{
name: ``,
association: undefined,
type: undefined,
jsonPath: ``,
default: ``,
isMust: undefined,
describe: ``,
}]
}, },
responseParameters: [{ },
],
requestPam: {
type: 'path',
table: []
},
responsePam: {
table: [{
name: ``, name: ``,
association: undefined,
type: undefined, type: undefined,
jsonPath: ``,
default: ``, default: ``,
isMust: undefined, isMust: undefined,
describe: ``, describe: ``,
}],
errorCode_columns: [{
title: "Http Code",
align: "center",
dataIndex: "httpCode",
scopedSlots: {
customRender: "Http Code",
}
},
{
title: "Error Code",
align: "center",
dataIndex: "errorCode",
scopedSlots: {
customRender: "Error Code",
},
},
{
title: "错误信息",
align: "center",
dataIndex: "errorMessage",
scopedSlots: {
customRender: "错误信息",
},
},
{
title: "操作",
align: "center",
width: "60px",
dataIndex: "operation",
scopedSlots: {
customRender: "operation",
},
}
],
errorCode: [{
httpCode: ``,
errorCode: ``,
errorMessage: ``
}],
changeHistory_columns: [{
title: "变更时间",
align: "center",
dataIndex: "time",
scopedSlots: {
customRender: "变更时间",
}
},
{
title: "变更内容概要",
align: "center",
dataIndex: "content",
scopedSlots: {
customRender: "变更内容概要",
},
}
],
changeHistory: [{
time: '',
content: ''
}] }]
};
},
mounted() {},
methods: {
modalSubmit() {
this.$refs.ruleForm.validate(valid => {
if (valid) {
alert('submit!');
} else {
return false;
}
});
}, },
ceshidayin() { errorCode_columns: [{
console.log(this.请求参数_dataSource); title: "Http Code",
align: "center",
dataIndex: "httpCode",
scopedSlots: {
customRender: "Http Code",
}
},
{
title: "Error Code",
align: "center",
dataIndex: "errorCode",
scopedSlots: {
customRender: "Error Code",
},
},
{
title: "错误信息",
align: "center",
dataIndex: "errorMessage",
scopedSlots: {
customRender: "错误信息",
},
},
{
title: "操作",
align: "center",
width: "60px",
dataIndex: "operation",
scopedSlots: {
customRender: "operation",
},
}
],
errorCode: [{
httpCode: ``,
errorCode: ``,
errorMessage: ``
}],
changeHistory_columns: [{
title: "变更时间",
align: "center",
dataIndex: "time",
scopedSlots: {
customRender: "变更时间",
}
}, },
{
title: "变更内容概要",
align: "center",
dataIndex: "content",
scopedSlots: {
customRender: "变更内容概要",
},
}
],
changeHistory: [{
time: '',
content: ''
}],
ctList: ["text/html", "text/xml", "application/json", "application/xml", "application/x-www-form-urlencoded", "multipart/form-data"]
};
},
mounted() { },
methods: {
getInfo(id) {
getInterfaceInfo({ id: id }).then(res => {
res.data.network = res.data.network.split(',')
this.detailsForm = res.data
this.requestPam = JSON.parse(res.data.requestParameters)
this.responsePam = JSON.parse(res.data.responseParameters)
})
},
modalSubmit() {
this.$refs.ruleForm.validate(valid => {
if (valid) {
let json = JSON.parse(JSON.stringify(this.detailsForm))
if (json.network.length) json.network = json.network.join(',')
json.requestParameters = JSON.stringify(this.requestPam)
json.responseParameters = JSON.stringify(this.responsePam)
getInterfaceSave(json).then(res => {
let { code, msg } = res
if (code == 1) {
this.$message.success('保存成功');
this.resetForm();
this.modalInfo.visible = false
this.$parent.getList()
} else {
this.$message.error(msg);
}
})
} else {
return false;
}
});
}, },
}; //type
onReqType(type) {
let index = this.requestPam.type
if (index == 'path') {
this.requestPam.table = []
} else {
let obj = {
name: ``,
type: 'String',
default: ``,
isMust: undefined,
describe: ``,
isType: true
}
if (index == 'body') {
obj.isType = false
}
if (type == 'new') {
this.requestPam.table = [obj]
} else {
this.requestPam.table.push(obj)
}
}
},
addResPam() {
this.responsePam.table.push({
name: ``,
type: undefined,
default: ``,
isMust: undefined,
describe: ``,
})
},
delTabRow(key, index) {
this[key].table.splice(index, 1)
},
resetForm() {
this.$nextTick(() => {
this.$refs.ruleForm.resetFields();
this.detailsForm.id=""
this.requestPam = {
type: 'path',
table: []
}
this.responsePam = {
table: [{
name: ``,
type: undefined,
default: ``,
isMust: undefined,
describe: ``,
}]
}
this.modalInfo.visible = false;
});
}
},
};
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
/deep/.ant-drawer-content { /deep/.ant-drawer-content {
overflow-x: hidden !important; overflow-x: hidden !important;
} }
.drawer_footer {
z-index: 1;
text-align: left;
background: #fff;
padding: 10px 16px;
border-top: 1px solid #e9e9e9;
width: 100%;
bottom: 0;
right: 0;
position: absolute;
}
.title_ { .drawer_footer {
font-size: 16px; z-index: 1;
font-weight: bold; text-align: left;
color: #333; background: #fff;
margin-bottom: 10px; padding: 10px 16px;
} border-top: 1px solid #e9e9e9;
width: 100%;
bottom: 0;
right: 0;
position: absolute;
}
.table_footer { .title_ {
text-align: center; font-size: 16px;
padding-top: 10px; font-weight: bold;
} color: #333;
margin-bottom: 10px;
}
/deep/.ant-drawer-body { .table_footer {
margin-bottom: 100px; text-align: center;
} padding-top: 10px;
}
/deep/.ant-radio-group { /deep/.ant-drawer-body {
margin-bottom: 10px !important; margin-bottom: 100px;
} }
</style> </style>
\ No newline at end of file
...@@ -36,11 +36,7 @@ export default { ...@@ -36,11 +36,7 @@ export default {
whitespace: true, //必选时,空格是否会被视为错误 whitespace: true, //必选时,空格是否会被视为错误
message: "请输入产品名称", message: "请输入产品名称",
trigger: "blur", trigger: "blur",
}, }
// {
// pattern: /^[A-Za-z]+$/,
// message: "请输入正确的用户名格式!",
// },
], ],
}, },
}; };
......
...@@ -2,63 +2,45 @@ ...@@ -2,63 +2,45 @@
<div class="PoliticsShow-Container"> <div class="PoliticsShow-Container">
<div class="header_box"> <div class="header_box">
<div> <div>
<button class="add_btn"> <button class="add_btn" @click="openDetails()">
<span>新增</span> <span>新增</span>
</button> </button>
</div> </div>
<span> <span>
<a-input <a-input allowClear v-model="searchForm.appName" placeholder="请输入应用名称查询">
allowClear
v-model="searchName"
placeholder="请输入应用名称查询"
>
<a-icon slot="prefix" type="search" /> <a-icon slot="prefix" type="search" />
</a-input> </a-input>
<a-select default-value="001"> <a-select v-model="searchForm.deveLanguage">
<!-- <a-select-option <a-select-option value="">全部</a-select-option>
v-for="(item, index) of selectOptions" <a-select-option v-for="(item, index) of dict.deveLanguage" :key="index" :value="index">
:key="index" {{ item }}
:value="item.value" </a-select-option>
>
{{ item.label }}
</a-select-option> -->
<a-select-option value="001"> 语言001 </a-select-option>
<a-select-option value="002"> 语言002 </a-select-option>
</a-select> </a-select>
<button class="search_btn">搜索</button> <button class="search_btn" @click="getList()">搜索</button>
</span> </span>
</div> </div>
<div class="main"> <div class="main">
<a-table <a-table size="small" bordered :row-key="(record) => record.id" :scroll="{ y: 590 }" :pagination="tablePagination"
size="small" @change="pagTableChange" :loading="tableLoading" :columns="tableHeaders" :dataSource="tableSourceData">
bordered
:row-key="(record) => record.id"
:scroll="{ y: 590 }"
:pagination="tablePagination"
@change="pagTableChange"
:loading="tableLoading"
:columns="tableHeaders"
:dataSource="tableSourceData"
>
<template slot="operation" slot-scope="text, record, index"> <template slot="operation" slot-scope="text, record, index">
<a-button type="link">下载应用{{ index + 1 }}</a-button> <a-button type="link" v-if="record.appFileUrl"
<a-button type="link" @click="openDetails" @click="handleDowload(record.appFileUrl)">下载应用</a-button>
>编辑{{ index + 1 }}</a-button <a-button type="link" @click="openDetails(record)">编辑</a-button>
> <a-popconfirm title="确定要删除此应用吗?" ok-text="确定" cancel-text="取消" @confirm="delRow(record)">
<a-button type="link" style="color: #ff4420" <a-button type="link" style="color: #ff4420">删除</a-button>
>删除{{ index + 1 }}</a-button </a-popconfirm>
>
</template> </template>
</a-table> </a-table>
<Details ref="Details" /> <Details ref="Details" :deveLanguage="dict.deveLanguage" />
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import { getApps, deleteApps } from "@/api/thePlatformIsSet.js";
import table from "@/mixins/table"; import table from "@/mixins/table";
import Details from "./components/Details.vue"; import Details from "./components/Details.vue";
export default { export default {
...@@ -78,34 +60,35 @@ export default { ...@@ -78,34 +60,35 @@ export default {
{ {
title: "应用名称", title: "应用名称",
align: "center", align: "center",
dataIndex: "应用名称", dataIndex: "appName",
}, },
{ {
title: "开发语言", title: "开发语言",
align: "center", align: "center",
dataIndex: "开发语言", dataIndex: "deveLanguage",
}, },
{ {
title: "版本", title: "版本",
align: "center", align: "center",
dataIndex: "版本", dataIndex: "versionNumber",
}, },
{ {
title: "版本信息", title: "版本信息",
align: "center", align: "center",
dataIndex: "版本信息", dataIndex: "versionInfo",
}, },
{ {
title: "是否启用", title: "是否启用",
align: "center", align: "center",
dataIndex: "是否启用", dataIndex: "isEnable",
customRender: (text, record, index) => text == 1 ? '' : "",
}, },
{ {
title: "上传时间", title: "上传时间",
align: "center", align: "center",
dataIndex: "上传时间", dataIndex: "createTime",
customRender: (text, record, index) => this.$moment(text).format("YYYY年MM月DD日 HH:mm:ss"),
}, },
{ {
title: "操作", title: "操作",
align: "center", align: "center",
...@@ -116,7 +99,18 @@ export default { ...@@ -116,7 +99,18 @@ export default {
}, },
}, },
], ],
searchName: undefined, tablePagination: {
current: 1,
pageSize: 10
},
searchForm: {
deveLanguage: "",
productId: this.$route.query.id,
},
dict: {
deveLanguage: {},
isEnable: {}
}
}; };
}, },
components: { components: {
...@@ -124,23 +118,66 @@ export default { ...@@ -124,23 +118,66 @@ export default {
}, },
mounted() { mounted() {
this.setMoment(); this.setMoment();
for (let key = 0; key < 20; key++) { this.getList();
this.tableSourceData.push({
id: `00${key + 1}`,
应用名称: `排队信息查询接口${key + 1}`,
开发语言: `PHP${key + 1}`,
版本: `v${key + 1}.0`,
版本信息: `修复unit功能及部分鉴权问题${key + 1}`,
是否启用: 1,
上传时间: `2022-07-03 20:00:00`,
});
}
}, },
methods: { methods: {
openDetails() { getList(search) {
this.$refs.Details.modalInfo.title = "新增应用"; getApps({
page: this.tablePagination.current,
size: this.tablePagination.pageSize,
...this.searchForm,
...search,
}).then((res) => {
if (res.code == 1) {
let {
data,
total,
dict
} = res.data;
this.dict = dict;
this.tableSourceData = data;
this.tablePagination.total = total;
return data
}
})
},
//分页
pagTableChange(page) {
this.tablePagination.current = page.current
this.tablePagination.pageSize = page.pageSize
this.getList();
},
delRow(item) {
deleteApps({
id: item.id
}).then((res) => {
console.log(res)
let { code, msg } = res
if (code == 1) {
this.$message.success('删除成功');
this.getList()
} else {
this.$message.error(msg);
}
})
},
handleDowload(url) {
let arr = url.split('/')
const a = document.createElement("a");
a.href = process.env.VUE_APP_API_BASE_URL+'/' + url;
a.download = arr[arr.length - 1];
a.click();
},
openDetails(item) {
if (item) {
this.$refs.Details.modalInfo.title = "编辑应用";
this.$refs.Details.getInfo(item.id)
} else {
this.$refs.Details.modalInfo.title = "新增应用";
}
this.$refs.Details.modalInfo.visible = true; this.$refs.Details.modalInfo.visible = true;
this.$refs.Details.modalInfo.width = "30%"; this.$refs.Details.modalInfo.width = "30%";
}, },
}, },
}; };
...@@ -150,13 +187,15 @@ export default { ...@@ -150,13 +187,15 @@ export default {
/deep/.ant-spin-container { /deep/.ant-spin-container {
display: block; display: block;
} }
.PoliticsShow-Container { .PoliticsShow-Container {
.header_box { .header_box {
padding-bottom: 1rem; padding-bottom: 1rem;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
& > div {
&>div {
display: flex; display: flex;
justify-content: flex-start; justify-content: flex-start;
align-items: center; align-items: center;
...@@ -176,6 +215,7 @@ export default { ...@@ -176,6 +215,7 @@ export default {
overflow: hidden; overflow: hidden;
background: #43a4ff; background: #43a4ff;
color: ghostwhite; color: ghostwhite;
& span { & span {
position: relative; position: relative;
z-index: 10; z-index: 10;
...@@ -211,7 +251,7 @@ export default { ...@@ -211,7 +251,7 @@ export default {
} }
} }
& > span { &>span {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
...@@ -220,21 +260,26 @@ export default { ...@@ -220,21 +260,26 @@ export default {
width: 15rem !important; width: 15rem !important;
margin-right: 1rem !important; margin-right: 1rem !important;
} }
/deep/.ant-input { /deep/.ant-input {
height: 2.3rem !important; height: 2.3rem !important;
} }
/deep/.ant-select-selection { /deep/.ant-select-selection {
width: 170px !important; width: 170px !important;
height: 2.3rem !important; height: 2.3rem !important;
margin-right: 1rem !important; margin-right: 1rem !important;
} }
/deep/.ant-select-selection__rendered { /deep/.ant-select-selection__rendered {
height: 100% !important; height: 100% !important;
} }
/deep/.ant-select-selection-selected-value { /deep/.ant-select-selection-selected-value {
height: 100% !important; height: 100% !important;
line-height: 2.3rem !important; line-height: 2.3rem !important;
} }
.search_btn { .search_btn {
padding: 0.8rem 1.2rem; padding: 0.8rem 1.2rem;
border: 0; border: 0;
...@@ -266,13 +311,16 @@ export default { ...@@ -266,13 +311,16 @@ export default {
} }
} }
} }
.main { .main {
.type0 { .type0 {
color: #888888; color: #888888;
} }
.type1 { .type1 {
color: #f94545; color: #f94545;
} }
.levelState { .levelState {
padding: 5px 8px; padding: 5px 8px;
border-radius: 8px; border-radius: 8px;
...@@ -280,12 +328,15 @@ export default { ...@@ -280,12 +328,15 @@ export default {
background: #ffedeb; background: #ffedeb;
border: 1px solid #f94545; border: 1px solid #f94545;
} }
.type2 { .type2 {
color: #04ca8f; color: #04ca8f;
} }
/deep/.ant-btn-link { /deep/.ant-btn-link {
padding: 0 !important; padding: 0 !important;
& + .ant-btn-link {
&+.ant-btn-link {
margin-left: 1rem !important; margin-left: 1rem !important;
} }
} }
......
<template> <template>
<a-modal <a-modal :width="modalInfo.width" :visible="modalInfo.visible" :title="modalInfo.title"
:width="modalInfo.width" @cancel="modalInfo.visible = false" centered destroyOnClose>
:visible="modalInfo.visible" <a-form-model :label-col="{
:title="modalInfo.title" span: 5,
@cancel="modalInfo.visible = false" }" :wrapper-col="{
centered span: 19,
destroyOnClose }" layout="horizontal" ref="appForm" :model="appForm" :rules="appRules">
> <a-form-model-item label="应用名称" prop="appName">
<a-form-model <a-input v-model="appForm.appName" placeholder="请输入" allowClear />
:label-col="{
span: 5,
}"
:wrapper-col="{
span: 19,
}"
layout="horizontal"
ref="appForm"
:model="appForm"
:rules="appRules"
>
<a-form-model-item label="应用名称" prop="应用名称">
<a-input v-model="appForm.应用名称" placeholder="请输入" allowClear />
</a-form-model-item> </a-form-model-item>
<a-form-model-item label="开发语言" prop="开发语言"> <a-form-model-item label="开发语言" prop="deveLanguage">
<a-select v-model="appForm.开发语言" placeholder="请选择" allowClear> <a-select v-model="appForm.deveLanguage" placeholder="请选择" allowClear>
<a-select-option value="001"> 选项001 </a-select-option> <a-select-option v-for="(item, index) of deveLanguage" :key="index" :value="index">
{{ item }}
</a-select-option>
</a-select> </a-select>
</a-form-model-item> </a-form-model-item>
<a-form-model-item label="版本号" prop="版本号"> <a-form-model-item label="版本号" prop="versionNumber">
<a-input v-model="appForm.版本号" placeholder="请输入" allowClear /> <a-input v-model="appForm.versionNumber" placeholder="请输入" allowClear />
</a-form-model-item> </a-form-model-item>
<a-form-model-item label="版本信息" prop="版本信息"> <a-form-model-item label="版本信息" prop="versionInfo">
<a-textarea v-model="appForm.版本信息" placeholder="请输入" :rows="4" /> <a-textarea v-model="appForm.versionInfo" placeholder="请输入" :rows="4" />
</a-form-model-item> </a-form-model-item>
<a-form-model-item label="应用包" prop="应用包"> <a-form-model-item label="应用包" prop="appFileUrl">
<MyUpload <MyUpload v-model="appForm.appFileUrl" :uploadInfo="uploadInfo">
v-model="appForm.应用包"
:uploadInfo="uploadInfo"
@uploadChange="uploadChange"
>
<a-button style="background: #04ca8f; color: #fff">上传文件</a-button> <a-button style="background: #04ca8f; color: #fff">上传文件</a-button>
</MyUpload> </MyUpload>
</a-form-model-item> </a-form-model-item>
<a-form-model-item label="是否启用" prop="是否启用"> <a-form-model-item label="是否启用" prop="isEnable">
<a-switch v-model="appForm.是否启用" /> <a-switch v-model="appForm.isEnable" />
</a-form-model-item> </a-form-model-item>
</a-form-model> </a-form-model>
<template slot="footer"> <template slot="footer">
<a-button type="primary" class="addclass" @click="Modal_Ok">确定</a-button> <a-button type="primary" class="addclass" @click="Modal_Ok">确定</a-button>
<a-button @click="resetForm">取消</a-button> <a-button @click="resetForm">取消</a-button>
</template> </template>
</a-modal> </a-modal>
</template> </template>
<script> <script>
import { saveApps, getAppsInfo } from "@/api/thePlatformIsSet.js";
import { deepClone } from "@/utils/js/common.js"; import { deepClone } from "@/utils/js/common.js";
export default { export default {
name: "PortalAdminVueDetails", name: "PortalAdminVueDetails",
props: ["deveLanguage"],
data() { data() {
return { return {
modalInfo: { modalInfo: {
...@@ -65,12 +52,13 @@ export default { ...@@ -65,12 +52,13 @@ export default {
width: "30%", width: "30%",
}, },
appForm: { appForm: {
应用名称: undefined, productId: this.$route.query.id,
开发语言: undefined, appName: "",
版本号: undefined, deveLanguage: undefined,
版本信息: undefined, versionNumber: "",
应用包: undefined, versionInfo: "",
是否启用: true, appFileUrl: "",
isEnable: false,
}, },
uploadInfo: { uploadInfo: {
removeFileList: [], //移除文件列表 removeFileList: [], //移除文件列表
...@@ -82,23 +70,52 @@ export default { ...@@ -82,23 +70,52 @@ export default {
// 其他参数 data // 其他参数 data
// test: "001", // test: "001",
}, },
verload: 3, // 单位 M verload: 300, // 单位 M
limit: 1, //限制文件上传数量 limit: 1, //限制文件上传数量
whiteFileList: ["apk"], whiteFileList: ["apk"],
}, },
appRules: {}, appRules: {
appName: [{ required: true, message: "请输入应用名称", trigger: ['blur', 'change'] }],
deveLanguage: [{ required: true, message: "请选择开发语言", trigger: ['blur', 'change'] }],
},
}; };
}, },
mounted() {}, mounted() {
},
methods: { methods: {
uploadChange(fileInfo) { getInfo(id) {
this.uploadInfo.fileList = deepClone(fileInfo.fileList); getAppsInfo({ id: id }).then(res => {
res.data.isEnable = res.data.isEnable == 1
this.appForm = res.data
if (res.data.appFileUrl) {
this.uploadInfo.fileList = [
{
uid: id,
name: res.data.appFileUrl,
url: res.data.appFileUrl,
}
]
}
})
}, },
Modal_Ok() { Modal_Ok() {
this.$refs.appForm.validate((valid) => { this.$refs.appForm.validate((valid) => {
if (valid) { if (valid) {
console.log(this.appForm); let json = JSON.parse(JSON.stringify(this.appForm))
json.isEnable = json.isEnable ? 1 : 0
saveApps(json).then(res => {
let { code, msg } = res
if (code == 1) {
this.$message.success('保存成功');
this.resetForm();
this.modalInfo.visible = false
this.$parent.getList()
} else {
this.$message.error(msg);
}
})
} else { } else {
this.$message.error(`请完善表单信息!`); this.$message.error(`请完善表单信息!`);
return false; return false;
......
<template> <template>
<a-modal <a-modal :width="modalInfo.width" :visible="modalInfo.visible" :title="modalInfo.title"
:width="modalInfo.width" @cancel="modalInfo.visible = false" centered destroyOnClose>
:visible="modalInfo.visible" <a-form-model :label-col="{
:title="modalInfo.title" span: 4,
@cancel="modalInfo.visible = false" }" :wrapper-col="{
centered span: 20,
destroyOnClose }" layout="horizontal" ref="appForm" :model="appForm" :rules="appRules">
> <a-form-model-item label="材料名称" prop="docName">
<a-form-model <a-input v-model="appForm.docName" placeholder="请输入" allowClear />
:label-col="{
span: 4,
}"
:wrapper-col="{
span: 20,
}"
layout="horizontal"
ref="appForm"
:model="appForm"
:rules="appRules"
>
<a-form-model-item label="材料名称" prop="材料名称">
<a-input v-model="appForm.材料名称" placeholder="请输入" allowClear />
</a-form-model-item> </a-form-model-item>
<a-form-model-item label="版本号" prop="版本号"> <a-form-model-item label="版本号" prop="versionNumber">
<a-input v-model="appForm.版本号" placeholder="请输入" allowClear /> <a-input v-model="appForm.versionNumber" placeholder="请输入" allowClear />
</a-form-model-item> </a-form-model-item>
<a-form-model-item label="版本信息" prop="版本信息"> <a-form-model-item label="版本信息" prop="versionInfo">
<a-textarea v-model="appForm.版本信息" placeholder="请输入" :rows="4" /> <a-textarea v-model="appForm.versionInfo" placeholder="请输入" :rows="4" />
</a-form-model-item> </a-form-model-item>
<a-form-model-item label="材料文件" prop="材料文件"> <a-form-model-item label="材料文件" prop="docFileUrl">
<MyUpload <MyUpload v-model="appForm.docFileUrl" :uploadInfo="uploadInfo">
v-model="appForm.材料文件"
:uploadInfo="uploadInfo"
@uploadChange="uploadChange"
>
<a-button style="background: #04ca8f; color: #fff">上传文件</a-button> <a-button style="background: #04ca8f; color: #fff">上传文件</a-button>
</MyUpload> </MyUpload>
</a-form-model-item> </a-form-model-item>
</a-form-model> </a-form-model>
<template slot="footer"> <template slot="footer">
<a-button type="primary" class="addclass" @click="Modal_Ok">确定</a-button> <a-button type="primary" class="addclass" @click="Modal_Ok">确定</a-button>
<a-button @click="resetForm">取消</a-button> <a-button @click="resetForm">取消</a-button>
</template> </template>
</a-modal> </a-modal>
</template> </template>
<script> <script>
import { saveDocument, getDocumentInfo } from "@/api/thePlatformIsSet.js";
import { deepClone } from "@/utils/js/common.js"; import { deepClone } from "@/utils/js/common.js";
export default { export default {
name: "PortalAdminVueDetails", name: "PortalAdminVueDetails",
...@@ -58,38 +42,60 @@ export default { ...@@ -58,38 +42,60 @@ export default {
width: "30%", width: "30%",
}, },
appForm: { appForm: {
材料名称: undefined, productId: this.$route.query.id,
版本号: undefined, docName: "",
版本信息: undefined, versionNumber: "",
材料文件: undefined, versionInfo: "",
docFileUrl: ""
}, },
uploadInfo: { uploadInfo: {
removeFileList: [], //移除文件列表 removeFileList: [], //移除文件列表
fileList: [], //文件列表 fileList: [], //文件列表
defaultFileList: [],
multiple: false, //多文件 multiple: false, //多文件
listType: "text", //text, picture 和 picture-card listType: "text", //text, picture 和 picture-card
prePath: "file/fileupload", //附件存放相对路径 否 不填时候默认为 file/fileupload prePath: "file/fileupload", //附件存放相对路径 否 不填时候默认为 file/fileupload
objAttach: { objAttach: {},
// 其他参数 data verload: 300, // 单位 M
// test: "001",
},
verload: 3, // 单位 M
limit: 1, //限制文件上传数量 limit: 1, //限制文件上传数量
whiteFileList: ["doc"], whiteFileList: ["doc", "docx", "pdf", "xlsx", "xls"],
},
appRules: {
docName: [{ required: true, message: "请输入材料名称", trigger: ['blur', 'change'] }],
}, },
appRules: {},
}; };
}, },
mounted() {}, mounted() { },
methods: { methods: {
uploadChange(fileInfo) { getInfo(id) {
this.uploadInfo.fileList = deepClone(fileInfo.fileList); getDocumentInfo({ id: id }).then(res => {
this.appForm = res.data
if (res.data.docFileUrl) {
this.uploadInfo.fileList = [
{
uid: id,
name: res.data.docFileUrl,
url: res.data.docFileUrl,
}
]
}
})
}, },
Modal_Ok() { Modal_Ok() {
this.$refs.appForm.validate((valid) => { this.$refs.appForm.validate((valid) => {
if (valid) { if (valid) {
console.log(this.appForm); saveDocument(this.appForm).then(res => {
let { code, msg } = res
if (code == 1) {
this.$message.success('保存成功');
this.resetForm();
this.modalInfo.visible = false
this.$parent.getList()
} else {
this.$message.error(msg);
}
})
} else { } else {
this.$message.error(`请完善表单信息!`); this.$message.error(`请完善表单信息!`);
return false; return false;
......
...@@ -2,55 +2,26 @@ ...@@ -2,55 +2,26 @@
<div class="PoliticsShow-Container"> <div class="PoliticsShow-Container">
<div class="header_box"> <div class="header_box">
<div> <div>
<button class="add_btn"> <button class="add_btn" @click="openDetails()">
<span>新增</span> <span>新增</span>
</button> </button>
</div> </div>
<span> <span>
<a-input <a-input allowClear v-model="searchName" placeholder="请输入资料名称查询">
allowClear
v-model="searchName"
placeholder="请输入应用名称查询"
>
<a-icon slot="prefix" type="search" /> <a-icon slot="prefix" type="search" />
</a-input> </a-input>
<button class="search_btn" @click="getList()">搜索</button>
<a-select default-value="001">
<!-- <a-select-option
v-for="(item, index) of selectOptions"
:key="index"
:value="item.value"
>
{{ item.label }}
</a-select-option> -->
<a-select-option value="001"> 语言001 </a-select-option>
<a-select-option value="002"> 语言002 </a-select-option>
</a-select>
<button class="search_btn">搜索</button>
</span> </span>
</div> </div>
<div class="main"> <div class="main">
<a-table <a-table size="small" bordered :row-key="(record) => record.id" :scroll="{ y: 590 }" :pagination="tablePagination"
size="small" @change="pagTableChange" :loading="tableLoading" :columns="tableHeaders" :dataSource="tableSourceData">
bordered
:row-key="(record) => record.id"
:scroll="{ y: 590 }"
:pagination="tablePagination"
@change="pagTableChange"
:loading="tableLoading"
:columns="tableHeaders"
:dataSource="tableSourceData"
>
<template slot="operation" slot-scope="text, record, index"> <template slot="operation" slot-scope="text, record, index">
<a-button type="link">下载{{ index + 1 }}</a-button> <a-button type="link" v-if="record.docFileUrl" @click="handleDowload(record.docFileUrl)">下载</a-button>
<a-button type="link" @click="openDetails" <a-button type="link" @click="openDetails(record)">编辑</a-button>
>编辑{{ index + 1 }}</a-button <a-popconfirm title="确定要删除此应用吗?" ok-text="确定" cancel-text="取消" @confirm="delRow(record)">
> <a-button type="link" style="color: #ff4420">删除</a-button>
<a-button type="link" style="color: #ff4420" </a-popconfirm>
>删除{{ index + 1 }}</a-button
>
</template> </template>
</a-table> </a-table>
<Details ref="Details" /> <Details ref="Details" />
...@@ -59,6 +30,7 @@ ...@@ -59,6 +30,7 @@
</template> </template>
<script> <script>
import { getDocument, deleteDocument } from "@/api/thePlatformIsSet.js";
import table from "@/mixins/table"; import table from "@/mixins/table";
import Details from "./components/Details.vue"; import Details from "./components/Details.vue";
export default { export default {
...@@ -78,24 +50,25 @@ export default { ...@@ -78,24 +50,25 @@ export default {
{ {
title: "材料名称", title: "材料名称",
align: "center", align: "center",
dataIndex: "材料名称", dataIndex: "docName",
}, },
{ {
title: "版本", title: "版本",
align: "center", align: "center",
dataIndex: "版本", dataIndex: "versionNumber",
}, },
{ {
title: "材料信息", title: "材料信息",
align: "center", align: "center",
dataIndex: "材料信息", dataIndex: "versionInfo",
}, },
{ {
title: "上传时间", title: "上传时间",
align: "center", align: "center",
dataIndex: "上传时间", dataIndex: "createTime",
customRender: (text, record, index) => this.$moment(text).format("YYYY年MM月DD日 HH:mm:ss"),
}, },
{ {
...@@ -109,6 +82,10 @@ export default { ...@@ -109,6 +82,10 @@ export default {
}, },
], ],
searchName: undefined, searchName: undefined,
tablePagination: {
current: 1,
pageSize: 10
},
}; };
}, },
components: { components: {
...@@ -116,21 +93,66 @@ export default { ...@@ -116,21 +93,66 @@ export default {
}, },
mounted() { mounted() {
this.setMoment(); this.setMoment();
for (let key = 0; key < 20; key++) { this.getList();
this.tableSourceData.push({
id: `00${key + 1}`,
材料名称: `排队信息查询接口${key + 1}`,
版本: `v${key + 1}.0`,
材料信息: `修复unit功能及部分鉴权问题${key + 1}`,
上传时间: `2022-07-03 20:00:00`,
});
}
}, },
methods: { methods: {
openDetails() { getList(search) {
this.$refs.Details.modalInfo.title = "新增材料"; getDocument({
page: this.tablePagination.current,
size: this.tablePagination.pageSize,
docName: this.searchName,
productId: this.$route.query.id,
...search,
}).then((res) => {
if (res.code == 1) {
let {
data,
total,
dict
} = res.data;
this.dict = dict;
this.tableSourceData = data;
this.tablePagination.total = total;
return data
}
})
},
//分页
pagTableChange(page) {
this.tablePagination.current = page.current
this.tablePagination.pageSize = page.pageSize
this.getList();
},
delRow(item) {
deleteDocument({
id: item.id
}).then((res) => {
console.log(res)
let { code, msg } = res
if (code == 1) {
this.$message.success('删除成功');
this.getList()
} else {
this.$message.error(msg);
}
})
},
handleDowload(url) {
let arr = url.split('/')
const a = document.createElement("a");
a.href = process.env.VUE_APP_API_BASE_URL + '/' + url;
a.download = arr[arr.length - 1];
a.click();
},
openDetails(item) {
if (item) {
this.$refs.Details.modalInfo.title = "编辑材料";
this.$refs.Details.getInfo(item.id)
} else {
this.$refs.Details.modalInfo.title = "新增材料";
}
this.$refs.Details.modalInfo.visible = true; this.$refs.Details.modalInfo.visible = true;
this.$refs.Details.modalInfo.width = "27%"; this.$refs.Details.modalInfo.width = "30%";
}, },
}, },
}; };
...@@ -140,13 +162,15 @@ export default { ...@@ -140,13 +162,15 @@ export default {
/deep/.ant-spin-container { /deep/.ant-spin-container {
display: block; display: block;
} }
.PoliticsShow-Container { .PoliticsShow-Container {
.header_box { .header_box {
padding-bottom: 1rem; padding-bottom: 1rem;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
& > div {
&>div {
display: flex; display: flex;
justify-content: flex-start; justify-content: flex-start;
align-items: center; align-items: center;
...@@ -166,6 +190,7 @@ export default { ...@@ -166,6 +190,7 @@ export default {
overflow: hidden; overflow: hidden;
background: #43a4ff; background: #43a4ff;
color: ghostwhite; color: ghostwhite;
& span { & span {
position: relative; position: relative;
z-index: 10; z-index: 10;
...@@ -201,7 +226,7 @@ export default { ...@@ -201,7 +226,7 @@ export default {
} }
} }
& > span { &>span {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
...@@ -210,21 +235,26 @@ export default { ...@@ -210,21 +235,26 @@ export default {
width: 15rem !important; width: 15rem !important;
margin-right: 1rem !important; margin-right: 1rem !important;
} }
/deep/.ant-input { /deep/.ant-input {
height: 2.3rem !important; height: 2.3rem !important;
} }
/deep/.ant-select-selection { /deep/.ant-select-selection {
width: 170px !important; width: 170px !important;
height: 2.3rem !important; height: 2.3rem !important;
margin-right: 1rem !important; margin-right: 1rem !important;
} }
/deep/.ant-select-selection__rendered { /deep/.ant-select-selection__rendered {
height: 100% !important; height: 100% !important;
} }
/deep/.ant-select-selection-selected-value { /deep/.ant-select-selection-selected-value {
height: 100% !important; height: 100% !important;
line-height: 2.3rem !important; line-height: 2.3rem !important;
} }
.search_btn { .search_btn {
padding: 0.8rem 1.2rem; padding: 0.8rem 1.2rem;
border: 0; border: 0;
...@@ -256,13 +286,16 @@ export default { ...@@ -256,13 +286,16 @@ export default {
} }
} }
} }
.main { .main {
.type0 { .type0 {
color: #888888; color: #888888;
} }
.type1 { .type1 {
color: #f94545; color: #f94545;
} }
.levelState { .levelState {
padding: 5px 8px; padding: 5px 8px;
border-radius: 8px; border-radius: 8px;
...@@ -270,12 +303,15 @@ export default { ...@@ -270,12 +303,15 @@ export default {
background: #ffedeb; background: #ffedeb;
border: 1px solid #f94545; border: 1px solid #f94545;
} }
.type2 { .type2 {
color: #04ca8f; color: #04ca8f;
} }
/deep/.ant-btn-link { /deep/.ant-btn-link {
padding: 0 !important; padding: 0 !important;
& + .ant-btn-link {
&+.ant-btn-link {
margin-left: 1rem !important; margin-left: 1rem !important;
} }
} }
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
</a-button> </a-button>
<ul class="content"> <ul class="content">
<li class="list" v-for="item, index of listData" :key="index"> <li class="list" v-for="item, index of listData" :key="index">
<a-popover placement="leftBottom"> <a-popover placement="leftBottom" trigger="click">
<template slot="content"> <template slot="content">
<div class="popoverContent"> <div class="popoverContent">
<p> <p>
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
</a-button> </a-button>
</p> </p>
<p> <p>
<a-popconfirm title="确定要删除此产品吗?" ok-text="Yes" cancel-text="No" @confirm="delModal(item)"> <a-popconfirm title="确定要删除此产品吗?" ok-text="确定" cancel-text="取消" @confirm="delModal(item)">
<a-button type="link" size="small" style="color: #ff4d4f"> <a-button type="link" size="small" style="color: #ff4d4f">
删除 删除
</a-button> </a-button>
...@@ -91,12 +91,6 @@ export default { ...@@ -91,12 +91,6 @@ export default {
this.listData = res.data.data this.listData = res.data.data
}) })
}, },
pushroeuter() {
this.$router.push({
path: "/home/thePlatformIsSet/portDocument",
// query: { testoption: "test001" },
});
},
showModal(item) { showModal(item) {
if (item) { if (item) {
this.$refs.AddEditAppName.VisibleTitle = "编辑"; this.$refs.AddEditAppName.VisibleTitle = "编辑";
......
...@@ -19,32 +19,33 @@ CREATE TABLE `mortals_xhx_product` ( ...@@ -19,32 +19,33 @@ CREATE TABLE `mortals_xhx_product` (
-- 产品接口表 -- 产品接口表
-- ---------------------------- -- ----------------------------
DROP TABLE IF EXISTS `mortals_xhx_product_interface`; DROP TABLE IF EXISTS `mortals_xhx_product_interface`;
CREATE TABLE `mortals_xhx_product_interface` ( CREATE TABLE mortals_xhx_product_interface(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '序号,主键,自增长', `id` bigint(20) AUTO_INCREMENT COMMENT '序号,主键,自增长',
`productId` bigint(20) NOT NULL COMMENT '产品id', `productId` bigint(20) NOT NULL COMMENT '产品id',
`interfaceName` varchar(128) NOT NULL COMMENT '接口名称', `interfaceName` varchar(128) NOT NULL COMMENT '接口名称',
`versionNumber` varchar(64) NOT NULL COMMENT '版本号', `versionNumber` varchar(64) NOT NULL COMMENT '版本号',
`requestType` tinyint(2) DEFAULT '1' COMMENT '请求类型1:POST,2:GET', `requestType` tinyint(2) DEFAULT '1' COMMENT '请求类型1:POST,2:GET',
`requestProtocol` tinyint(2) DEFAULT '1' COMMENT '请求协议1:HTTP,2:HTTPS', `requestProtocol` tinyint(2) DEFAULT '1' COMMENT '请求协议1:HTTP,2:HTTPS',
`requestUrl` varchar(128) DEFAULT NULL COMMENT '请求路径', `requestUrl` varchar(128) COMMENT '请求路径',
`timeoutValue` int(8) DEFAULT NULL COMMENT '超时时间(秒)', `timeoutValue` int(8) COMMENT '超时时间(秒)',
`limitStrategy` tinyint(2) DEFAULT NULL COMMENT '限流策略1:分钟,2:小时', `limitStrategy` tinyint(2) COMMENT '限流策略1:分钟,2:小时',
`network` varchar(64) DEFAULT NULL COMMENT '访问网络1互联网2政务网', `network` varchar(64) COMMENT '访问网络1互联网2政务网',
`description` text COMMENT '接口描述', `description` text COMMENT '接口描述',
`flowControl` text COMMENT '流控信息', `contentType` varchar(128) COMMENT '内容类型',
`authorizeInfo` text COMMENT '授权信息', `interfaceTag` tinyint(2) COMMENT '标签',
`interfaceTag` tinyint(2) DEFAULT NULL COMMENT '标签', `interfaceSource` tinyint(2) DEFAULT '1' COMMENT '来源1自有2非自有',
`interfaceSource` tinyint(2) DEFAULT '1' COMMENT '来源1自有2非自有', `inEncrypt` tinyint(2) COMMENT '入参是否加密',
`requestParameters` text COMMENT '请求参数', `requestParameters` text COMMENT '请求参数',
`responseParameters` text COMMENT '响应数据', `outEncrypt` tinyint(2) COMMENT '出参是否加密',
`errorCode` text COMMENT '错误码', `responseParameters` text COMMENT '响应数据',
`changeHistory` text COMMENT '变更历史', `remark` text COMMENT '接口描述',
`createUserId` bigint(20) NOT NULL COMMENT '创建用户', `createUserId` bigint(20) NOT NULL COMMENT '创建用户',
`createTime` datetime NOT NULL COMMENT '创建时间', `createTime` datetime NOT NULL COMMENT '创建时间',
`updateUserId` bigint(20) DEFAULT NULL COMMENT '更新用户', `updateUserId` bigint(20) COMMENT '更新用户',
`updateTime` datetime DEFAULT NULL COMMENT '更新时间', `updateTime` datetime COMMENT '更新时间',
PRIMARY KEY (`id`) PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='产品接口表'; ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='产品接口';
-- ---------------------------- -- ----------------------------
-- 产品应用表 -- 产品应用表
......
...@@ -2,342 +2,342 @@ package com.mortals.xhx.module.product.model; ...@@ -2,342 +2,342 @@ package com.mortals.xhx.module.product.model;
import com.mortals.xhx.module.product.model.vo.ProductInterfaceVo; import com.mortals.xhx.module.product.model.vo.ProductInterfaceVo;
/** /**
* 产品接口实体对象 * 产品接口实体对象
* *
* @author zxfei * @author zxfei
* @date 2023-02-22 * @date 2023-05-16
*/ */
public class ProductInterfaceEntity extends ProductInterfaceVo { public class ProductInterfaceEntity extends ProductInterfaceVo {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
/** /**
* 产品id * 产品id
*/ */
private Long productId; private Long productId;
/** /**
* 接口名称 * 接口名称
*/ */
private String interfaceName; private String interfaceName;
/** /**
* 版本号 * 版本号
*/ */
private String versionNumber; private String versionNumber;
/** /**
* 请求类型1:POST,2:GET * 请求类型1:POST,2:GET
*/ */
private Integer requestType; private Integer requestType;
/** /**
* 请求协议1:HTTP,2:HTTPS * 请求协议1:HTTP,2:HTTPS
*/ */
private Integer requestProtocol; private Integer requestProtocol;
/** /**
* 请求路径 * 请求路径
*/ */
private String requestUrl; private String requestUrl;
/** /**
* 超时时间(秒) * 超时时间(秒)
*/ */
private Long timeoutValue; private Long timeoutValue;
/** /**
* 限流策略1:分钟,2:小时 * 限流策略1:分钟,2:小时
*/ */
private Integer limitStrategy; private Integer limitStrategy;
/** /**
* 访问网络1互联网2政务网 * 访问网络1互联网2政务网
*/ */
private String network; private String network;
/** /**
* 接口描述 * 接口描述
*/ */
private String description; private String description;
/** /**
* 流控信息 * 内容类型
*/ */
private String flowControl; private String contentType;
/** /**
* 授权信息 * 标签
*/ */
private String authorizeInfo;
/**
* 标签
*/
private Integer interfaceTag; private Integer interfaceTag;
/** /**
* 来源1自有2非自有 * 来源1自有2非自有
*/ */
private Integer interfaceSource; private Integer interfaceSource;
/** /**
* 请求参数 * 入参是否加密
*/ */
private Integer inEncrypt;
/**
* 请求参数
*/
private String requestParameters; private String requestParameters;
/** /**
* 响应数据 * 出参是否加密
*/ */
private String responseParameters; private Integer outEncrypt;
/** /**
* 错误码 * 响应数据
*/ */
private String errorCode; private String responseParameters;
/** /**
* 变更历史 * 接口描述
*/ */
private String changeHistory; private String remark;
public ProductInterfaceEntity(){} public ProductInterfaceEntity(){}
/** /**
* 获取 产品id * 获取 产品id
* @return Long * @return Long
*/ */
public Long getProductId(){ public Long getProductId(){
return productId; return productId;
} }
/** /**
* 设置 产品id * 设置 产品id
* @param productId * @param productId
*/ */
public void setProductId(Long productId){ public void setProductId(Long productId){
this.productId = productId; this.productId = productId;
} }
/** /**
* 获取 接口名称 * 获取 接口名称
* @return String * @return String
*/ */
public String getInterfaceName(){ public String getInterfaceName(){
return interfaceName; return interfaceName;
} }
/** /**
* 设置 接口名称 * 设置 接口名称
* @param interfaceName * @param interfaceName
*/ */
public void setInterfaceName(String interfaceName){ public void setInterfaceName(String interfaceName){
this.interfaceName = interfaceName; this.interfaceName = interfaceName;
} }
/** /**
* 获取 版本号 * 获取 版本号
* @return String * @return String
*/ */
public String getVersionNumber(){ public String getVersionNumber(){
return versionNumber; return versionNumber;
} }
/** /**
* 设置 版本号 * 设置 版本号
* @param versionNumber * @param versionNumber
*/ */
public void setVersionNumber(String versionNumber){ public void setVersionNumber(String versionNumber){
this.versionNumber = versionNumber; this.versionNumber = versionNumber;
} }
/** /**
* 获取 请求类型1:POST,2:GET * 获取 请求类型1:POST,2:GET
* @return Integer * @return Integer
*/ */
public Integer getRequestType(){ public Integer getRequestType(){
return requestType; return requestType;
} }
/** /**
* 设置 请求类型1:POST,2:GET * 设置 请求类型1:POST,2:GET
* @param requestType * @param requestType
*/ */
public void setRequestType(Integer requestType){ public void setRequestType(Integer requestType){
this.requestType = requestType; this.requestType = requestType;
} }
/** /**
* 获取 请求协议1:HTTP,2:HTTPS * 获取 请求协议1:HTTP,2:HTTPS
* @return Integer * @return Integer
*/ */
public Integer getRequestProtocol(){ public Integer getRequestProtocol(){
return requestProtocol; return requestProtocol;
} }
/** /**
* 设置 请求协议1:HTTP,2:HTTPS * 设置 请求协议1:HTTP,2:HTTPS
* @param requestProtocol * @param requestProtocol
*/ */
public void setRequestProtocol(Integer requestProtocol){ public void setRequestProtocol(Integer requestProtocol){
this.requestProtocol = requestProtocol; this.requestProtocol = requestProtocol;
} }
/** /**
* 获取 请求路径 * 获取 请求路径
* @return String * @return String
*/ */
public String getRequestUrl(){ public String getRequestUrl(){
return requestUrl; return requestUrl;
} }
/** /**
* 设置 请求路径 * 设置 请求路径
* @param requestUrl * @param requestUrl
*/ */
public void setRequestUrl(String requestUrl){ public void setRequestUrl(String requestUrl){
this.requestUrl = requestUrl; this.requestUrl = requestUrl;
} }
/** /**
* 获取 超时时间(秒) * 获取 超时时间(秒)
* @return Long * @return Long
*/ */
public Long getTimeoutValue(){ public Long getTimeoutValue(){
return timeoutValue; return timeoutValue;
} }
/** /**
* 设置 超时时间(秒) * 设置 超时时间(秒)
* @param timeoutValue * @param timeoutValue
*/ */
public void setTimeoutValue(Long timeoutValue){ public void setTimeoutValue(Long timeoutValue){
this.timeoutValue = timeoutValue; this.timeoutValue = timeoutValue;
} }
/** /**
* 获取 限流策略1:分钟,2:小时 * 获取 限流策略1:分钟,2:小时
* @return Integer * @return Integer
*/ */
public Integer getLimitStrategy(){ public Integer getLimitStrategy(){
return limitStrategy; return limitStrategy;
} }
/** /**
* 设置 限流策略1:分钟,2:小时 * 设置 限流策略1:分钟,2:小时
* @param limitStrategy * @param limitStrategy
*/ */
public void setLimitStrategy(Integer limitStrategy){ public void setLimitStrategy(Integer limitStrategy){
this.limitStrategy = limitStrategy; this.limitStrategy = limitStrategy;
} }
/** /**
* 获取 访问网络1互联网2政务网 * 获取 访问网络1互联网2政务网
* @return String * @return String
*/ */
public String getNetwork(){ public String getNetwork(){
return network; return network;
} }
/** /**
* 设置 访问网络1互联网2政务网 * 设置 访问网络1互联网2政务网
* @param network * @param network
*/ */
public void setNetwork(String network){ public void setNetwork(String network){
this.network = network; this.network = network;
} }
/** /**
* 获取 接口描述 * 获取 接口描述
* @return String * @return String
*/ */
public String getDescription(){ public String getDescription(){
return description; return description;
} }
/** /**
* 设置 接口描述 * 设置 接口描述
* @param description * @param description
*/ */
public void setDescription(String description){ public void setDescription(String description){
this.description = description; this.description = description;
} }
/** /**
* 获取 流控信息 * 获取 内容类型
* @return String * @return String
*/ */
public String getFlowControl(){ public String getContentType(){
return flowControl; return contentType;
}
/**
* 设置 流控信息
* @param flowControl
*/
public void setFlowControl(String flowControl){
this.flowControl = flowControl;
}
/**
* 获取 授权信息
* @return String
*/
public String getAuthorizeInfo(){
return authorizeInfo;
} }
/** /**
* 设置 授权信息 * 设置 内容类型
* @param authorizeInfo * @param contentType
*/ */
public void setAuthorizeInfo(String authorizeInfo){ public void setContentType(String contentType){
this.authorizeInfo = authorizeInfo; this.contentType = contentType;
} }
/** /**
* 获取 标签 * 获取 标签
* @return Integer * @return Integer
*/ */
public Integer getInterfaceTag(){ public Integer getInterfaceTag(){
return interfaceTag; return interfaceTag;
} }
/** /**
* 设置 标签 * 设置 标签
* @param interfaceTag * @param interfaceTag
*/ */
public void setInterfaceTag(Integer interfaceTag){ public void setInterfaceTag(Integer interfaceTag){
this.interfaceTag = interfaceTag; this.interfaceTag = interfaceTag;
} }
/** /**
* 获取 来源1自有2非自有 * 获取 来源1自有2非自有
* @return Integer * @return Integer
*/ */
public Integer getInterfaceSource(){ public Integer getInterfaceSource(){
return interfaceSource; return interfaceSource;
} }
/** /**
* 设置 来源1自有2非自有 * 设置 来源1自有2非自有
* @param interfaceSource * @param interfaceSource
*/ */
public void setInterfaceSource(Integer interfaceSource){ public void setInterfaceSource(Integer interfaceSource){
this.interfaceSource = interfaceSource; this.interfaceSource = interfaceSource;
} }
/** /**
* 获取 请求参数 * 获取 入参是否加密
* @return String * @return Integer
*/ */
public Integer getInEncrypt(){
return inEncrypt;
}
/**
* 设置 入参是否加密
* @param inEncrypt
*/
public void setInEncrypt(Integer inEncrypt){
this.inEncrypt = inEncrypt;
}
/**
* 获取 请求参数
* @return String
*/
public String getRequestParameters(){ public String getRequestParameters(){
return requestParameters; return requestParameters;
} }
/** /**
* 设置 请求参数 * 设置 请求参数
* @param requestParameters * @param requestParameters
*/ */
public void setRequestParameters(String requestParameters){ public void setRequestParameters(String requestParameters){
this.requestParameters = requestParameters; this.requestParameters = requestParameters;
} }
/** /**
* 获取 响应数据 * 获取 出参是否加密
* @return String * @return Integer
*/ */
public String getResponseParameters(){ public Integer getOutEncrypt(){
return responseParameters; return outEncrypt;
} }
/** /**
* 设置 响应数据 * 设置 出参是否加密
* @param responseParameters * @param outEncrypt
*/ */
public void setResponseParameters(String responseParameters){ public void setOutEncrypt(Integer outEncrypt){
this.responseParameters = responseParameters; this.outEncrypt = outEncrypt;
} }
/** /**
* 获取 错误码 * 获取 响应数据
* @return String * @return String
*/ */
public String getErrorCode(){ public String getResponseParameters(){
return errorCode; return responseParameters;
} }
/** /**
* 设置 错误码 * 设置 响应数据
* @param errorCode * @param responseParameters
*/ */
public void setErrorCode(String errorCode){ public void setResponseParameters(String responseParameters){
this.errorCode = errorCode; this.responseParameters = responseParameters;
} }
/** /**
* 获取 变更历史 * 获取 接口描述
* @return String * @return String
*/ */
public String getChangeHistory(){ public String getRemark(){
return changeHistory; return remark;
} }
/** /**
* 设置 变更历史 * 设置 接口描述
* @param changeHistory * @param remark
*/ */
public void setChangeHistory(String changeHistory){ public void setRemark(String remark){
this.changeHistory = changeHistory; this.remark = remark;
} }
...@@ -345,7 +345,7 @@ public class ProductInterfaceEntity extends ProductInterfaceVo { ...@@ -345,7 +345,7 @@ public class ProductInterfaceEntity extends ProductInterfaceVo {
@Override @Override
public int hashCode() { public int hashCode() {
return this.getId().hashCode(); return this.getId().hashCode();
} }
@Override @Override
public boolean equals(Object obj) { public boolean equals(Object obj) {
...@@ -353,7 +353,7 @@ public class ProductInterfaceEntity extends ProductInterfaceVo { ...@@ -353,7 +353,7 @@ public class ProductInterfaceEntity extends ProductInterfaceVo {
if (obj instanceof ProductInterfaceEntity) { if (obj instanceof ProductInterfaceEntity) {
ProductInterfaceEntity tmp = (ProductInterfaceEntity) obj; ProductInterfaceEntity tmp = (ProductInterfaceEntity) obj;
if (this.getId() == tmp.getId()) { if (this.getId() == tmp.getId()) {
return true; return true;
} }
} }
return false; return false;
...@@ -371,53 +371,53 @@ public class ProductInterfaceEntity extends ProductInterfaceVo { ...@@ -371,53 +371,53 @@ public class ProductInterfaceEntity extends ProductInterfaceVo {
sb.append(",limitStrategy:").append(getLimitStrategy()); sb.append(",limitStrategy:").append(getLimitStrategy());
sb.append(",network:").append(getNetwork()); sb.append(",network:").append(getNetwork());
sb.append(",description:").append(getDescription()); sb.append(",description:").append(getDescription());
sb.append(",flowControl:").append(getFlowControl()); sb.append(",contentType:").append(getContentType());
sb.append(",authorizeInfo:").append(getAuthorizeInfo());
sb.append(",interfaceTag:").append(getInterfaceTag()); sb.append(",interfaceTag:").append(getInterfaceTag());
sb.append(",interfaceSource:").append(getInterfaceSource()); sb.append(",interfaceSource:").append(getInterfaceSource());
sb.append(",inEncrypt:").append(getInEncrypt());
sb.append(",requestParameters:").append(getRequestParameters()); sb.append(",requestParameters:").append(getRequestParameters());
sb.append(",outEncrypt:").append(getOutEncrypt());
sb.append(",responseParameters:").append(getResponseParameters()); sb.append(",responseParameters:").append(getResponseParameters());
sb.append(",errorCode:").append(getErrorCode()); sb.append(",remark:").append(getRemark());
sb.append(",changeHistory:").append(getChangeHistory());
return sb.toString(); return sb.toString();
} }
public void initAttrValue(){ public void initAttrValue(){
this.productId = null; this.productId = null;
this.interfaceName = ""; this.interfaceName = "";
this.versionNumber = ""; this.versionNumber = "";
this.requestType = 1; this.requestType = 1;
this.requestProtocol = 1; this.requestProtocol = 1;
this.requestUrl = ""; this.requestUrl = "";
this.timeoutValue = null; this.timeoutValue = null;
this.limitStrategy = null; this.limitStrategy = null;
this.network = ""; this.network = "";
this.description = ""; this.description = "";
this.flowControl = ""; this.contentType = "";
this.authorizeInfo = ""; this.interfaceTag = null;
this.interfaceTag = null; this.interfaceSource = 1;
this.interfaceSource = 1; this.inEncrypt = null;
this.requestParameters = ""; this.requestParameters = "";
this.responseParameters = ""; this.outEncrypt = null;
this.errorCode = ""; this.responseParameters = "";
this.changeHistory = ""; this.remark = "";
} }
} }
\ No newline at end of file
package com.mortals.xhx.module.product.model; package com.mortals.xhx.module.product.model;
import java.util.List; import java.util.List;
import com.mortals.xhx.module.product.model.ProductInterfaceEntity;
/** /**
* 产品接口查询对象 * 产品接口查询对象
* *
* @author zxfei * @author zxfei
* @date 2023-02-22 * @date 2023-05-16
*/ */
public class ProductInterfaceQuery extends ProductInterfaceEntity { public class ProductInterfaceQuery extends ProductInterfaceEntity {
/** 开始 序号,主键,自增长 */ /** 开始 序号,主键,自增长 */
private Long idStart; private Long idStart;
...@@ -124,16 +123,11 @@ public class ProductInterfaceQuery extends ProductInterfaceEntity { ...@@ -124,16 +123,11 @@ public class ProductInterfaceQuery extends ProductInterfaceEntity {
/** 接口描述排除列表 */ /** 接口描述排除列表 */
private List <String> descriptionNotList; private List <String> descriptionNotList;
/** 流控信息 */ /** 内容类型 */
private List<String> flowControlList; private List<String> contentTypeList;
/** 流控信息排除列表 */ /** 内容类型排除列表 */
private List <String> flowControlNotList; private List <String> contentTypeNotList;
/** 授权信息 */
private List<String> authorizeInfoList;
/** 授权信息排除列表 */
private List <String> authorizeInfoNotList;
/** 开始 标签 */ /** 开始 标签 */
private Integer interfaceTagStart; private Integer interfaceTagStart;
...@@ -164,26 +158,51 @@ public class ProductInterfaceQuery extends ProductInterfaceEntity { ...@@ -164,26 +158,51 @@ public class ProductInterfaceQuery extends ProductInterfaceEntity {
/** 来源1自有2非自有排除列表 */ /** 来源1自有2非自有排除列表 */
private List <Integer> interfaceSourceNotList; private List <Integer> interfaceSourceNotList;
/** 开始 入参是否加密 */
private Integer inEncryptStart;
/** 结束 入参是否加密 */
private Integer inEncryptEnd;
/** 增加 入参是否加密 */
private Integer inEncryptIncrement;
/** 入参是否加密列表 */
private List <Integer> inEncryptList;
/** 入参是否加密排除列表 */
private List <Integer> inEncryptNotList;
/** 请求参数 */ /** 请求参数 */
private List<String> requestParametersList; private List<String> requestParametersList;
/** 请求参数排除列表 */ /** 请求参数排除列表 */
private List <String> requestParametersNotList; private List <String> requestParametersNotList;
/** 开始 出参是否加密 */
private Integer outEncryptStart;
/** 结束 出参是否加密 */
private Integer outEncryptEnd;
/** 增加 出参是否加密 */
private Integer outEncryptIncrement;
/** 出参是否加密列表 */
private List <Integer> outEncryptList;
/** 出参是否加密排除列表 */
private List <Integer> outEncryptNotList;
/** 响应数据 */ /** 响应数据 */
private List<String> responseParametersList; private List<String> responseParametersList;
/** 响应数据排除列表 */ /** 响应数据排除列表 */
private List <String> responseParametersNotList; private List <String> responseParametersNotList;
/** 错误码 */ /** 接口描述 */
private List<String> errorCodeList; private List<String> remarkList;
/** 错误码排除列表 */
private List <String> errorCodeNotList;
/** 变更历史 */
private List<String> changeHistoryList;
/** 变更历史排除列表 */ /** 接口描述排除列表 */
private List <String> changeHistoryNotList; private List <String> remarkNotList;
/** 开始 创建用户 */ /** 开始 创建用户 */
private Long createUserIdStart; private Long createUserIdStart;
...@@ -235,2010 +254,2178 @@ public class ProductInterfaceQuery extends ProductInterfaceEntity { ...@@ -235,2010 +254,2178 @@ public class ProductInterfaceQuery extends ProductInterfaceEntity {
public ProductInterfaceQuery(){} public ProductInterfaceQuery(){}
/** /**
* 获取 开始 序号,主键,自增长 * 获取 开始 序号,主键,自增长
* @return idStart * @return idStart
*/ */
public Long getIdStart(){ public Long getIdStart(){
return this.idStart; return this.idStart;
} }
/** /**
* 设置 开始 序号,主键,自增长 * 设置 开始 序号,主键,自增长
* @param idStart * @param idStart
*/ */
public void setIdStart(Long idStart){ public void setIdStart(Long idStart){
this.idStart = idStart; this.idStart = idStart;
} }
/** /**
* 获取 结束 序号,主键,自增长 * 获取 结束 序号,主键,自增长
* @return $idEnd * @return $idEnd
*/ */
public Long getIdEnd(){ public Long getIdEnd(){
return this.idEnd; return this.idEnd;
} }
/** /**
* 设置 结束 序号,主键,自增长 * 设置 结束 序号,主键,自增长
* @param idEnd * @param idEnd
*/ */
public void setIdEnd(Long idEnd){ public void setIdEnd(Long idEnd){
this.idEnd = idEnd; this.idEnd = idEnd;
} }
/** /**
* 获取 增加 序号,主键,自增长 * 获取 增加 序号,主键,自增长
* @return idIncrement * @return idIncrement
*/ */
public Long getIdIncrement(){ public Long getIdIncrement(){
return this.idIncrement; return this.idIncrement;
} }
/** /**
* 设置 增加 序号,主键,自增长 * 设置 增加 序号,主键,自增长
* @param idIncrement * @param idIncrement
*/ */
public void setIdIncrement(Long idIncrement){ public void setIdIncrement(Long idIncrement){
this.idIncrement = idIncrement; this.idIncrement = idIncrement;
} }
/** /**
* 获取 序号,主键,自增长 * 获取 序号,主键,自增长
* @return idList * @return idList
*/ */
public List<Long> getIdList(){ public List<Long> getIdList(){
return this.idList; return this.idList;
} }
/** /**
* 设置 序号,主键,自增长 * 设置 序号,主键,自增长
* @param idList * @param idList
*/ */
public void setIdList(List<Long> idList){ public void setIdList(List<Long> idList){
this.idList = idList; this.idList = idList;
} }
/** /**
* 获取 序号,主键,自增长 * 获取 序号,主键,自增长
* @return idNotList * @return idNotList
*/ */
public List<Long> getIdNotList(){ public List<Long> getIdNotList(){
return this.idNotList; return this.idNotList;
} }
/** /**
* 设置 序号,主键,自增长 * 设置 序号,主键,自增长
* @param idNotList * @param idNotList
*/ */
public void setIdNotList(List<Long> idNotList){ public void setIdNotList(List<Long> idNotList){
this.idNotList = idNotList; this.idNotList = idNotList;
} }
/** /**
* 获取 开始 产品id * 获取 开始 产品id
* @return productIdStart * @return productIdStart
*/ */
public Long getProductIdStart(){ public Long getProductIdStart(){
return this.productIdStart; return this.productIdStart;
} }
/** /**
* 设置 开始 产品id * 设置 开始 产品id
* @param productIdStart * @param productIdStart
*/ */
public void setProductIdStart(Long productIdStart){ public void setProductIdStart(Long productIdStart){
this.productIdStart = productIdStart; this.productIdStart = productIdStart;
} }
/** /**
* 获取 结束 产品id * 获取 结束 产品id
* @return $productIdEnd * @return $productIdEnd
*/ */
public Long getProductIdEnd(){ public Long getProductIdEnd(){
return this.productIdEnd; return this.productIdEnd;
} }
/** /**
* 设置 结束 产品id * 设置 结束 产品id
* @param productIdEnd * @param productIdEnd
*/ */
public void setProductIdEnd(Long productIdEnd){ public void setProductIdEnd(Long productIdEnd){
this.productIdEnd = productIdEnd; this.productIdEnd = productIdEnd;
} }
/** /**
* 获取 增加 产品id * 获取 增加 产品id
* @return productIdIncrement * @return productIdIncrement
*/ */
public Long getProductIdIncrement(){ public Long getProductIdIncrement(){
return this.productIdIncrement; return this.productIdIncrement;
} }
/** /**
* 设置 增加 产品id * 设置 增加 产品id
* @param productIdIncrement * @param productIdIncrement
*/ */
public void setProductIdIncrement(Long productIdIncrement){ public void setProductIdIncrement(Long productIdIncrement){
this.productIdIncrement = productIdIncrement; this.productIdIncrement = productIdIncrement;
} }
/** /**
* 获取 产品id * 获取 产品id
* @return productIdList * @return productIdList
*/ */
public List<Long> getProductIdList(){ public List<Long> getProductIdList(){
return this.productIdList; return this.productIdList;
} }
/** /**
* 设置 产品id * 设置 产品id
* @param productIdList * @param productIdList
*/ */
public void setProductIdList(List<Long> productIdList){ public void setProductIdList(List<Long> productIdList){
this.productIdList = productIdList; this.productIdList = productIdList;
} }
/** /**
* 获取 产品id * 获取 产品id
* @return productIdNotList * @return productIdNotList
*/ */
public List<Long> getProductIdNotList(){ public List<Long> getProductIdNotList(){
return this.productIdNotList; return this.productIdNotList;
} }
/** /**
* 设置 产品id * 设置 产品id
* @param productIdNotList * @param productIdNotList
*/ */
public void setProductIdNotList(List<Long> productIdNotList){ public void setProductIdNotList(List<Long> productIdNotList){
this.productIdNotList = productIdNotList; this.productIdNotList = productIdNotList;
} }
/** /**
* 获取 接口名称 * 获取 接口名称
* @return interfaceNameList * @return interfaceNameList
*/ */
public List<String> getInterfaceNameList(){ public List<String> getInterfaceNameList(){
return this.interfaceNameList; return this.interfaceNameList;
} }
/** /**
* 设置 接口名称 * 设置 接口名称
* @param interfaceNameList * @param interfaceNameList
*/ */
public void setInterfaceNameList(List<String> interfaceNameList){ public void setInterfaceNameList(List<String> interfaceNameList){
this.interfaceNameList = interfaceNameList; this.interfaceNameList = interfaceNameList;
} }
/** /**
* 获取 接口名称 * 获取 接口名称
* @return interfaceNameNotList * @return interfaceNameNotList
*/ */
public List<String> getInterfaceNameNotList(){ public List<String> getInterfaceNameNotList(){
return this.interfaceNameNotList; return this.interfaceNameNotList;
} }
/** /**
* 设置 接口名称 * 设置 接口名称
* @param interfaceNameNotList * @param interfaceNameNotList
*/ */
public void setInterfaceNameNotList(List<String> interfaceNameNotList){ public void setInterfaceNameNotList(List<String> interfaceNameNotList){
this.interfaceNameNotList = interfaceNameNotList; this.interfaceNameNotList = interfaceNameNotList;
} }
/** /**
* 获取 版本号 * 获取 版本号
* @return versionNumberList * @return versionNumberList
*/ */
public List<String> getVersionNumberList(){ public List<String> getVersionNumberList(){
return this.versionNumberList; return this.versionNumberList;
} }
/** /**
* 设置 版本号 * 设置 版本号
* @param versionNumberList * @param versionNumberList
*/ */
public void setVersionNumberList(List<String> versionNumberList){ public void setVersionNumberList(List<String> versionNumberList){
this.versionNumberList = versionNumberList; this.versionNumberList = versionNumberList;
} }
/** /**
* 获取 版本号 * 获取 版本号
* @return versionNumberNotList * @return versionNumberNotList
*/ */
public List<String> getVersionNumberNotList(){ public List<String> getVersionNumberNotList(){
return this.versionNumberNotList; return this.versionNumberNotList;
} }
/** /**
* 设置 版本号 * 设置 版本号
* @param versionNumberNotList * @param versionNumberNotList
*/ */
public void setVersionNumberNotList(List<String> versionNumberNotList){ public void setVersionNumberNotList(List<String> versionNumberNotList){
this.versionNumberNotList = versionNumberNotList; this.versionNumberNotList = versionNumberNotList;
} }
/** /**
* 获取 开始 请求类型1:POST,2:GET * 获取 开始 请求类型1:POST,2:GET
* @return requestTypeStart * @return requestTypeStart
*/ */
public Integer getRequestTypeStart(){ public Integer getRequestTypeStart(){
return this.requestTypeStart; return this.requestTypeStart;
} }
/** /**
* 设置 开始 请求类型1:POST,2:GET * 设置 开始 请求类型1:POST,2:GET
* @param requestTypeStart * @param requestTypeStart
*/ */
public void setRequestTypeStart(Integer requestTypeStart){ public void setRequestTypeStart(Integer requestTypeStart){
this.requestTypeStart = requestTypeStart; this.requestTypeStart = requestTypeStart;
} }
/** /**
* 获取 结束 请求类型1:POST,2:GET * 获取 结束 请求类型1:POST,2:GET
* @return $requestTypeEnd * @return $requestTypeEnd
*/ */
public Integer getRequestTypeEnd(){ public Integer getRequestTypeEnd(){
return this.requestTypeEnd; return this.requestTypeEnd;
} }
/** /**
* 设置 结束 请求类型1:POST,2:GET * 设置 结束 请求类型1:POST,2:GET
* @param requestTypeEnd * @param requestTypeEnd
*/ */
public void setRequestTypeEnd(Integer requestTypeEnd){ public void setRequestTypeEnd(Integer requestTypeEnd){
this.requestTypeEnd = requestTypeEnd; this.requestTypeEnd = requestTypeEnd;
} }
/** /**
* 获取 增加 请求类型1:POST,2:GET * 获取 增加 请求类型1:POST,2:GET
* @return requestTypeIncrement * @return requestTypeIncrement
*/ */
public Integer getRequestTypeIncrement(){ public Integer getRequestTypeIncrement(){
return this.requestTypeIncrement; return this.requestTypeIncrement;
} }
/** /**
* 设置 增加 请求类型1:POST,2:GET * 设置 增加 请求类型1:POST,2:GET
* @param requestTypeIncrement * @param requestTypeIncrement
*/ */
public void setRequestTypeIncrement(Integer requestTypeIncrement){ public void setRequestTypeIncrement(Integer requestTypeIncrement){
this.requestTypeIncrement = requestTypeIncrement; this.requestTypeIncrement = requestTypeIncrement;
} }
/** /**
* 获取 请求类型1:POST,2:GET * 获取 请求类型1:POST,2:GET
* @return requestTypeList * @return requestTypeList
*/ */
public List<Integer> getRequestTypeList(){ public List<Integer> getRequestTypeList(){
return this.requestTypeList; return this.requestTypeList;
} }
/** /**
* 设置 请求类型1:POST,2:GET * 设置 请求类型1:POST,2:GET
* @param requestTypeList * @param requestTypeList
*/ */
public void setRequestTypeList(List<Integer> requestTypeList){ public void setRequestTypeList(List<Integer> requestTypeList){
this.requestTypeList = requestTypeList; this.requestTypeList = requestTypeList;
} }
/** /**
* 获取 请求类型1:POST,2:GET * 获取 请求类型1:POST,2:GET
* @return requestTypeNotList * @return requestTypeNotList
*/ */
public List<Integer> getRequestTypeNotList(){ public List<Integer> getRequestTypeNotList(){
return this.requestTypeNotList; return this.requestTypeNotList;
} }
/** /**
* 设置 请求类型1:POST,2:GET * 设置 请求类型1:POST,2:GET
* @param requestTypeNotList * @param requestTypeNotList
*/ */
public void setRequestTypeNotList(List<Integer> requestTypeNotList){ public void setRequestTypeNotList(List<Integer> requestTypeNotList){
this.requestTypeNotList = requestTypeNotList; this.requestTypeNotList = requestTypeNotList;
} }
/** /**
* 获取 开始 请求协议1:HTTP,2:HTTPS * 获取 开始 请求协议1:HTTP,2:HTTPS
* @return requestProtocolStart * @return requestProtocolStart
*/ */
public Integer getRequestProtocolStart(){ public Integer getRequestProtocolStart(){
return this.requestProtocolStart; return this.requestProtocolStart;
} }
/** /**
* 设置 开始 请求协议1:HTTP,2:HTTPS * 设置 开始 请求协议1:HTTP,2:HTTPS
* @param requestProtocolStart * @param requestProtocolStart
*/ */
public void setRequestProtocolStart(Integer requestProtocolStart){ public void setRequestProtocolStart(Integer requestProtocolStart){
this.requestProtocolStart = requestProtocolStart; this.requestProtocolStart = requestProtocolStart;
} }
/** /**
* 获取 结束 请求协议1:HTTP,2:HTTPS * 获取 结束 请求协议1:HTTP,2:HTTPS
* @return $requestProtocolEnd * @return $requestProtocolEnd
*/ */
public Integer getRequestProtocolEnd(){ public Integer getRequestProtocolEnd(){
return this.requestProtocolEnd; return this.requestProtocolEnd;
} }
/** /**
* 设置 结束 请求协议1:HTTP,2:HTTPS * 设置 结束 请求协议1:HTTP,2:HTTPS
* @param requestProtocolEnd * @param requestProtocolEnd
*/ */
public void setRequestProtocolEnd(Integer requestProtocolEnd){ public void setRequestProtocolEnd(Integer requestProtocolEnd){
this.requestProtocolEnd = requestProtocolEnd; this.requestProtocolEnd = requestProtocolEnd;
} }
/** /**
* 获取 增加 请求协议1:HTTP,2:HTTPS * 获取 增加 请求协议1:HTTP,2:HTTPS
* @return requestProtocolIncrement * @return requestProtocolIncrement
*/ */
public Integer getRequestProtocolIncrement(){ public Integer getRequestProtocolIncrement(){
return this.requestProtocolIncrement; return this.requestProtocolIncrement;
} }
/** /**
* 设置 增加 请求协议1:HTTP,2:HTTPS * 设置 增加 请求协议1:HTTP,2:HTTPS
* @param requestProtocolIncrement * @param requestProtocolIncrement
*/ */
public void setRequestProtocolIncrement(Integer requestProtocolIncrement){ public void setRequestProtocolIncrement(Integer requestProtocolIncrement){
this.requestProtocolIncrement = requestProtocolIncrement; this.requestProtocolIncrement = requestProtocolIncrement;
} }
/** /**
* 获取 请求协议1:HTTP,2:HTTPS * 获取 请求协议1:HTTP,2:HTTPS
* @return requestProtocolList * @return requestProtocolList
*/ */
public List<Integer> getRequestProtocolList(){ public List<Integer> getRequestProtocolList(){
return this.requestProtocolList; return this.requestProtocolList;
} }
/** /**
* 设置 请求协议1:HTTP,2:HTTPS * 设置 请求协议1:HTTP,2:HTTPS
* @param requestProtocolList * @param requestProtocolList
*/ */
public void setRequestProtocolList(List<Integer> requestProtocolList){ public void setRequestProtocolList(List<Integer> requestProtocolList){
this.requestProtocolList = requestProtocolList; this.requestProtocolList = requestProtocolList;
} }
/** /**
* 获取 请求协议1:HTTP,2:HTTPS * 获取 请求协议1:HTTP,2:HTTPS
* @return requestProtocolNotList * @return requestProtocolNotList
*/ */
public List<Integer> getRequestProtocolNotList(){ public List<Integer> getRequestProtocolNotList(){
return this.requestProtocolNotList; return this.requestProtocolNotList;
} }
/** /**
* 设置 请求协议1:HTTP,2:HTTPS * 设置 请求协议1:HTTP,2:HTTPS
* @param requestProtocolNotList * @param requestProtocolNotList
*/ */
public void setRequestProtocolNotList(List<Integer> requestProtocolNotList){ public void setRequestProtocolNotList(List<Integer> requestProtocolNotList){
this.requestProtocolNotList = requestProtocolNotList; this.requestProtocolNotList = requestProtocolNotList;
} }
/** /**
* 获取 请求路径 * 获取 请求路径
* @return requestUrlList * @return requestUrlList
*/ */
public List<String> getRequestUrlList(){ public List<String> getRequestUrlList(){
return this.requestUrlList; return this.requestUrlList;
} }
/** /**
* 设置 请求路径 * 设置 请求路径
* @param requestUrlList * @param requestUrlList
*/ */
public void setRequestUrlList(List<String> requestUrlList){ public void setRequestUrlList(List<String> requestUrlList){
this.requestUrlList = requestUrlList; this.requestUrlList = requestUrlList;
} }
/** /**
* 获取 请求路径 * 获取 请求路径
* @return requestUrlNotList * @return requestUrlNotList
*/ */
public List<String> getRequestUrlNotList(){ public List<String> getRequestUrlNotList(){
return this.requestUrlNotList; return this.requestUrlNotList;
} }
/** /**
* 设置 请求路径 * 设置 请求路径
* @param requestUrlNotList * @param requestUrlNotList
*/ */
public void setRequestUrlNotList(List<String> requestUrlNotList){ public void setRequestUrlNotList(List<String> requestUrlNotList){
this.requestUrlNotList = requestUrlNotList; this.requestUrlNotList = requestUrlNotList;
} }
/** /**
* 获取 开始 超时时间(秒) * 获取 开始 超时时间(秒)
* @return timeoutValueStart * @return timeoutValueStart
*/ */
public Long getTimeoutValueStart(){ public Long getTimeoutValueStart(){
return this.timeoutValueStart; return this.timeoutValueStart;
} }
/** /**
* 设置 开始 超时时间(秒) * 设置 开始 超时时间(秒)
* @param timeoutValueStart * @param timeoutValueStart
*/ */
public void setTimeoutValueStart(Long timeoutValueStart){ public void setTimeoutValueStart(Long timeoutValueStart){
this.timeoutValueStart = timeoutValueStart; this.timeoutValueStart = timeoutValueStart;
} }
/** /**
* 获取 结束 超时时间(秒) * 获取 结束 超时时间(秒)
* @return $timeoutValueEnd * @return $timeoutValueEnd
*/ */
public Long getTimeoutValueEnd(){ public Long getTimeoutValueEnd(){
return this.timeoutValueEnd; return this.timeoutValueEnd;
} }
/** /**
* 设置 结束 超时时间(秒) * 设置 结束 超时时间(秒)
* @param timeoutValueEnd * @param timeoutValueEnd
*/ */
public void setTimeoutValueEnd(Long timeoutValueEnd){ public void setTimeoutValueEnd(Long timeoutValueEnd){
this.timeoutValueEnd = timeoutValueEnd; this.timeoutValueEnd = timeoutValueEnd;
} }
/** /**
* 获取 增加 超时时间(秒) * 获取 增加 超时时间(秒)
* @return timeoutValueIncrement * @return timeoutValueIncrement
*/ */
public Long getTimeoutValueIncrement(){ public Long getTimeoutValueIncrement(){
return this.timeoutValueIncrement; return this.timeoutValueIncrement;
} }
/** /**
* 设置 增加 超时时间(秒) * 设置 增加 超时时间(秒)
* @param timeoutValueIncrement * @param timeoutValueIncrement
*/ */
public void setTimeoutValueIncrement(Long timeoutValueIncrement){ public void setTimeoutValueIncrement(Long timeoutValueIncrement){
this.timeoutValueIncrement = timeoutValueIncrement; this.timeoutValueIncrement = timeoutValueIncrement;
} }
/** /**
* 获取 超时时间(秒) * 获取 超时时间(秒)
* @return timeoutValueList * @return timeoutValueList
*/ */
public List<Long> getTimeoutValueList(){ public List<Long> getTimeoutValueList(){
return this.timeoutValueList; return this.timeoutValueList;
} }
/** /**
* 设置 超时时间(秒) * 设置 超时时间(秒)
* @param timeoutValueList * @param timeoutValueList
*/ */
public void setTimeoutValueList(List<Long> timeoutValueList){ public void setTimeoutValueList(List<Long> timeoutValueList){
this.timeoutValueList = timeoutValueList; this.timeoutValueList = timeoutValueList;
} }
/** /**
* 获取 超时时间(秒) * 获取 超时时间(秒)
* @return timeoutValueNotList * @return timeoutValueNotList
*/ */
public List<Long> getTimeoutValueNotList(){ public List<Long> getTimeoutValueNotList(){
return this.timeoutValueNotList; return this.timeoutValueNotList;
} }
/** /**
* 设置 超时时间(秒) * 设置 超时时间(秒)
* @param timeoutValueNotList * @param timeoutValueNotList
*/ */
public void setTimeoutValueNotList(List<Long> timeoutValueNotList){ public void setTimeoutValueNotList(List<Long> timeoutValueNotList){
this.timeoutValueNotList = timeoutValueNotList; this.timeoutValueNotList = timeoutValueNotList;
} }
/** /**
* 获取 开始 限流策略1:分钟,2:小时 * 获取 开始 限流策略1:分钟,2:小时
* @return limitStrategyStart * @return limitStrategyStart
*/ */
public Integer getLimitStrategyStart(){ public Integer getLimitStrategyStart(){
return this.limitStrategyStart; return this.limitStrategyStart;
} }
/** /**
* 设置 开始 限流策略1:分钟,2:小时 * 设置 开始 限流策略1:分钟,2:小时
* @param limitStrategyStart * @param limitStrategyStart
*/ */
public void setLimitStrategyStart(Integer limitStrategyStart){ public void setLimitStrategyStart(Integer limitStrategyStart){
this.limitStrategyStart = limitStrategyStart; this.limitStrategyStart = limitStrategyStart;
} }
/** /**
* 获取 结束 限流策略1:分钟,2:小时 * 获取 结束 限流策略1:分钟,2:小时
* @return $limitStrategyEnd * @return $limitStrategyEnd
*/ */
public Integer getLimitStrategyEnd(){ public Integer getLimitStrategyEnd(){
return this.limitStrategyEnd; return this.limitStrategyEnd;
} }
/** /**
* 设置 结束 限流策略1:分钟,2:小时 * 设置 结束 限流策略1:分钟,2:小时
* @param limitStrategyEnd * @param limitStrategyEnd
*/ */
public void setLimitStrategyEnd(Integer limitStrategyEnd){ public void setLimitStrategyEnd(Integer limitStrategyEnd){
this.limitStrategyEnd = limitStrategyEnd; this.limitStrategyEnd = limitStrategyEnd;
} }
/** /**
* 获取 增加 限流策略1:分钟,2:小时 * 获取 增加 限流策略1:分钟,2:小时
* @return limitStrategyIncrement * @return limitStrategyIncrement
*/ */
public Integer getLimitStrategyIncrement(){ public Integer getLimitStrategyIncrement(){
return this.limitStrategyIncrement; return this.limitStrategyIncrement;
} }
/** /**
* 设置 增加 限流策略1:分钟,2:小时 * 设置 增加 限流策略1:分钟,2:小时
* @param limitStrategyIncrement * @param limitStrategyIncrement
*/ */
public void setLimitStrategyIncrement(Integer limitStrategyIncrement){ public void setLimitStrategyIncrement(Integer limitStrategyIncrement){
this.limitStrategyIncrement = limitStrategyIncrement; this.limitStrategyIncrement = limitStrategyIncrement;
} }
/** /**
* 获取 限流策略1:分钟,2:小时 * 获取 限流策略1:分钟,2:小时
* @return limitStrategyList * @return limitStrategyList
*/ */
public List<Integer> getLimitStrategyList(){ public List<Integer> getLimitStrategyList(){
return this.limitStrategyList; return this.limitStrategyList;
} }
/** /**
* 设置 限流策略1:分钟,2:小时 * 设置 限流策略1:分钟,2:小时
* @param limitStrategyList * @param limitStrategyList
*/ */
public void setLimitStrategyList(List<Integer> limitStrategyList){ public void setLimitStrategyList(List<Integer> limitStrategyList){
this.limitStrategyList = limitStrategyList; this.limitStrategyList = limitStrategyList;
} }
/** /**
* 获取 限流策略1:分钟,2:小时 * 获取 限流策略1:分钟,2:小时
* @return limitStrategyNotList * @return limitStrategyNotList
*/ */
public List<Integer> getLimitStrategyNotList(){ public List<Integer> getLimitStrategyNotList(){
return this.limitStrategyNotList; return this.limitStrategyNotList;
} }
/** /**
* 设置 限流策略1:分钟,2:小时 * 设置 限流策略1:分钟,2:小时
* @param limitStrategyNotList * @param limitStrategyNotList
*/ */
public void setLimitStrategyNotList(List<Integer> limitStrategyNotList){ public void setLimitStrategyNotList(List<Integer> limitStrategyNotList){
this.limitStrategyNotList = limitStrategyNotList; this.limitStrategyNotList = limitStrategyNotList;
} }
/** /**
* 获取 访问网络1互联网2政务网 * 获取 访问网络1互联网2政务网
* @return networkList * @return networkList
*/ */
public List<String> getNetworkList(){ public List<String> getNetworkList(){
return this.networkList; return this.networkList;
} }
/** /**
* 设置 访问网络1互联网2政务网 * 设置 访问网络1互联网2政务网
* @param networkList * @param networkList
*/ */
public void setNetworkList(List<String> networkList){ public void setNetworkList(List<String> networkList){
this.networkList = networkList; this.networkList = networkList;
} }
/** /**
* 获取 访问网络1互联网2政务网 * 获取 访问网络1互联网2政务网
* @return networkNotList * @return networkNotList
*/ */
public List<String> getNetworkNotList(){ public List<String> getNetworkNotList(){
return this.networkNotList; return this.networkNotList;
} }
/** /**
* 设置 访问网络1互联网2政务网 * 设置 访问网络1互联网2政务网
* @param networkNotList * @param networkNotList
*/ */
public void setNetworkNotList(List<String> networkNotList){ public void setNetworkNotList(List<String> networkNotList){
this.networkNotList = networkNotList; this.networkNotList = networkNotList;
} }
/** /**
* 获取 接口描述 * 获取 接口描述
* @return descriptionList * @return descriptionList
*/ */
public List<String> getDescriptionList(){ public List<String> getDescriptionList(){
return this.descriptionList; return this.descriptionList;
} }
/** /**
* 设置 接口描述 * 设置 接口描述
* @param descriptionList * @param descriptionList
*/ */
public void setDescriptionList(List<String> descriptionList){ public void setDescriptionList(List<String> descriptionList){
this.descriptionList = descriptionList; this.descriptionList = descriptionList;
} }
/** /**
* 获取 接口描述 * 获取 接口描述
* @return descriptionNotList * @return descriptionNotList
*/ */
public List<String> getDescriptionNotList(){ public List<String> getDescriptionNotList(){
return this.descriptionNotList; return this.descriptionNotList;
} }
/** /**
* 设置 接口描述 * 设置 接口描述
* @param descriptionNotList * @param descriptionNotList
*/ */
public void setDescriptionNotList(List<String> descriptionNotList){ public void setDescriptionNotList(List<String> descriptionNotList){
this.descriptionNotList = descriptionNotList; this.descriptionNotList = descriptionNotList;
} }
/** /**
* 获取 流控信息 * 获取 内容类型
* @return flowControlList * @return contentTypeList
*/ */
public List<String> getFlowControlList(){ public List<String> getContentTypeList(){
return this.flowControlList; return this.contentTypeList;
}
/**
* 设置 流控信息
* @param flowControlList
*/
public void setFlowControlList(List<String> flowControlList){
this.flowControlList = flowControlList;
} }
/** /**
* 获取 流控信息 * 设置 内容类型
* @return flowControlNotList * @param contentTypeList
*/ */
public List<String> getFlowControlNotList(){ public void setContentTypeList(List<String> contentTypeList){
return this.flowControlNotList; this.contentTypeList = contentTypeList;
} }
/** /**
* 设置 流控信息 * 获取 内容类型
* @param flowControlNotList * @return contentTypeNotList
*/ */
public void setFlowControlNotList(List<String> flowControlNotList){ public List<String> getContentTypeNotList(){
this.flowControlNotList = flowControlNotList; return this.contentTypeNotList;
} }
/** /**
* 获取 授权信息 * 设置 内容类型
* @return authorizeInfoList * @param contentTypeNotList
*/ */
public List<String> getAuthorizeInfoList(){ public void setContentTypeNotList(List<String> contentTypeNotList){
return this.authorizeInfoList; this.contentTypeNotList = contentTypeNotList;
} }
/** /**
* 设置 授权信息 * 获取 开始 标签
* @param authorizeInfoList * @return interfaceTagStart
*/ */
public void setAuthorizeInfoList(List<String> authorizeInfoList){
this.authorizeInfoList = authorizeInfoList;
}
/**
* 获取 授权信息
* @return authorizeInfoNotList
*/
public List<String> getAuthorizeInfoNotList(){
return this.authorizeInfoNotList;
}
/**
* 设置 授权信息
* @param authorizeInfoNotList
*/
public void setAuthorizeInfoNotList(List<String> authorizeInfoNotList){
this.authorizeInfoNotList = authorizeInfoNotList;
}
/**
* 获取 开始 标签
* @return interfaceTagStart
*/
public Integer getInterfaceTagStart(){ public Integer getInterfaceTagStart(){
return this.interfaceTagStart; return this.interfaceTagStart;
} }
/** /**
* 设置 开始 标签 * 设置 开始 标签
* @param interfaceTagStart * @param interfaceTagStart
*/ */
public void setInterfaceTagStart(Integer interfaceTagStart){ public void setInterfaceTagStart(Integer interfaceTagStart){
this.interfaceTagStart = interfaceTagStart; this.interfaceTagStart = interfaceTagStart;
} }
/** /**
* 获取 结束 标签 * 获取 结束 标签
* @return $interfaceTagEnd * @return $interfaceTagEnd
*/ */
public Integer getInterfaceTagEnd(){ public Integer getInterfaceTagEnd(){
return this.interfaceTagEnd; return this.interfaceTagEnd;
} }
/** /**
* 设置 结束 标签 * 设置 结束 标签
* @param interfaceTagEnd * @param interfaceTagEnd
*/ */
public void setInterfaceTagEnd(Integer interfaceTagEnd){ public void setInterfaceTagEnd(Integer interfaceTagEnd){
this.interfaceTagEnd = interfaceTagEnd; this.interfaceTagEnd = interfaceTagEnd;
} }
/** /**
* 获取 增加 标签 * 获取 增加 标签
* @return interfaceTagIncrement * @return interfaceTagIncrement
*/ */
public Integer getInterfaceTagIncrement(){ public Integer getInterfaceTagIncrement(){
return this.interfaceTagIncrement; return this.interfaceTagIncrement;
} }
/** /**
* 设置 增加 标签 * 设置 增加 标签
* @param interfaceTagIncrement * @param interfaceTagIncrement
*/ */
public void setInterfaceTagIncrement(Integer interfaceTagIncrement){ public void setInterfaceTagIncrement(Integer interfaceTagIncrement){
this.interfaceTagIncrement = interfaceTagIncrement; this.interfaceTagIncrement = interfaceTagIncrement;
} }
/** /**
* 获取 标签 * 获取 标签
* @return interfaceTagList * @return interfaceTagList
*/ */
public List<Integer> getInterfaceTagList(){ public List<Integer> getInterfaceTagList(){
return this.interfaceTagList; return this.interfaceTagList;
} }
/** /**
* 设置 标签 * 设置 标签
* @param interfaceTagList * @param interfaceTagList
*/ */
public void setInterfaceTagList(List<Integer> interfaceTagList){ public void setInterfaceTagList(List<Integer> interfaceTagList){
this.interfaceTagList = interfaceTagList; this.interfaceTagList = interfaceTagList;
} }
/** /**
* 获取 标签 * 获取 标签
* @return interfaceTagNotList * @return interfaceTagNotList
*/ */
public List<Integer> getInterfaceTagNotList(){ public List<Integer> getInterfaceTagNotList(){
return this.interfaceTagNotList; return this.interfaceTagNotList;
} }
/** /**
* 设置 标签 * 设置 标签
* @param interfaceTagNotList * @param interfaceTagNotList
*/ */
public void setInterfaceTagNotList(List<Integer> interfaceTagNotList){ public void setInterfaceTagNotList(List<Integer> interfaceTagNotList){
this.interfaceTagNotList = interfaceTagNotList; this.interfaceTagNotList = interfaceTagNotList;
} }
/** /**
* 获取 开始 来源1自有2非自有 * 获取 开始 来源1自有2非自有
* @return interfaceSourceStart * @return interfaceSourceStart
*/ */
public Integer getInterfaceSourceStart(){ public Integer getInterfaceSourceStart(){
return this.interfaceSourceStart; return this.interfaceSourceStart;
} }
/** /**
* 设置 开始 来源1自有2非自有 * 设置 开始 来源1自有2非自有
* @param interfaceSourceStart * @param interfaceSourceStart
*/ */
public void setInterfaceSourceStart(Integer interfaceSourceStart){ public void setInterfaceSourceStart(Integer interfaceSourceStart){
this.interfaceSourceStart = interfaceSourceStart; this.interfaceSourceStart = interfaceSourceStart;
} }
/** /**
* 获取 结束 来源1自有2非自有 * 获取 结束 来源1自有2非自有
* @return $interfaceSourceEnd * @return $interfaceSourceEnd
*/ */
public Integer getInterfaceSourceEnd(){ public Integer getInterfaceSourceEnd(){
return this.interfaceSourceEnd; return this.interfaceSourceEnd;
} }
/** /**
* 设置 结束 来源1自有2非自有 * 设置 结束 来源1自有2非自有
* @param interfaceSourceEnd * @param interfaceSourceEnd
*/ */
public void setInterfaceSourceEnd(Integer interfaceSourceEnd){ public void setInterfaceSourceEnd(Integer interfaceSourceEnd){
this.interfaceSourceEnd = interfaceSourceEnd; this.interfaceSourceEnd = interfaceSourceEnd;
} }
/** /**
* 获取 增加 来源1自有2非自有 * 获取 增加 来源1自有2非自有
* @return interfaceSourceIncrement * @return interfaceSourceIncrement
*/ */
public Integer getInterfaceSourceIncrement(){ public Integer getInterfaceSourceIncrement(){
return this.interfaceSourceIncrement; return this.interfaceSourceIncrement;
} }
/** /**
* 设置 增加 来源1自有2非自有 * 设置 增加 来源1自有2非自有
* @param interfaceSourceIncrement * @param interfaceSourceIncrement
*/ */
public void setInterfaceSourceIncrement(Integer interfaceSourceIncrement){ public void setInterfaceSourceIncrement(Integer interfaceSourceIncrement){
this.interfaceSourceIncrement = interfaceSourceIncrement; this.interfaceSourceIncrement = interfaceSourceIncrement;
} }
/** /**
* 获取 来源1自有2非自有 * 获取 来源1自有2非自有
* @return interfaceSourceList * @return interfaceSourceList
*/ */
public List<Integer> getInterfaceSourceList(){ public List<Integer> getInterfaceSourceList(){
return this.interfaceSourceList; return this.interfaceSourceList;
} }
/** /**
* 设置 来源1自有2非自有 * 设置 来源1自有2非自有
* @param interfaceSourceList * @param interfaceSourceList
*/ */
public void setInterfaceSourceList(List<Integer> interfaceSourceList){ public void setInterfaceSourceList(List<Integer> interfaceSourceList){
this.interfaceSourceList = interfaceSourceList; this.interfaceSourceList = interfaceSourceList;
} }
/** /**
* 获取 来源1自有2非自有 * 获取 来源1自有2非自有
* @return interfaceSourceNotList * @return interfaceSourceNotList
*/ */
public List<Integer> getInterfaceSourceNotList(){ public List<Integer> getInterfaceSourceNotList(){
return this.interfaceSourceNotList; return this.interfaceSourceNotList;
} }
/** /**
* 设置 来源1自有2非自有 * 设置 来源1自有2非自有
* @param interfaceSourceNotList * @param interfaceSourceNotList
*/ */
public void setInterfaceSourceNotList(List<Integer> interfaceSourceNotList){ public void setInterfaceSourceNotList(List<Integer> interfaceSourceNotList){
this.interfaceSourceNotList = interfaceSourceNotList; this.interfaceSourceNotList = interfaceSourceNotList;
} }
/** /**
* 获取 请求参数 * 获取 开始 入参是否加密
* @return requestParametersList * @return inEncryptStart
*/ */
public Integer getInEncryptStart(){
return this.inEncryptStart;
}
/**
* 设置 开始 入参是否加密
* @param inEncryptStart
*/
public void setInEncryptStart(Integer inEncryptStart){
this.inEncryptStart = inEncryptStart;
}
/**
* 获取 结束 入参是否加密
* @return $inEncryptEnd
*/
public Integer getInEncryptEnd(){
return this.inEncryptEnd;
}
/**
* 设置 结束 入参是否加密
* @param inEncryptEnd
*/
public void setInEncryptEnd(Integer inEncryptEnd){
this.inEncryptEnd = inEncryptEnd;
}
/**
* 获取 增加 入参是否加密
* @return inEncryptIncrement
*/
public Integer getInEncryptIncrement(){
return this.inEncryptIncrement;
}
/**
* 设置 增加 入参是否加密
* @param inEncryptIncrement
*/
public void setInEncryptIncrement(Integer inEncryptIncrement){
this.inEncryptIncrement = inEncryptIncrement;
}
/**
* 获取 入参是否加密
* @return inEncryptList
*/
public List<Integer> getInEncryptList(){
return this.inEncryptList;
}
/**
* 设置 入参是否加密
* @param inEncryptList
*/
public void setInEncryptList(List<Integer> inEncryptList){
this.inEncryptList = inEncryptList;
}
/**
* 获取 入参是否加密
* @return inEncryptNotList
*/
public List<Integer> getInEncryptNotList(){
return this.inEncryptNotList;
}
/**
* 设置 入参是否加密
* @param inEncryptNotList
*/
public void setInEncryptNotList(List<Integer> inEncryptNotList){
this.inEncryptNotList = inEncryptNotList;
}
/**
* 获取 请求参数
* @return requestParametersList
*/
public List<String> getRequestParametersList(){ public List<String> getRequestParametersList(){
return this.requestParametersList; return this.requestParametersList;
} }
/** /**
* 设置 请求参数 * 设置 请求参数
* @param requestParametersList * @param requestParametersList
*/ */
public void setRequestParametersList(List<String> requestParametersList){ public void setRequestParametersList(List<String> requestParametersList){
this.requestParametersList = requestParametersList; this.requestParametersList = requestParametersList;
} }
/** /**
* 获取 请求参数 * 获取 请求参数
* @return requestParametersNotList * @return requestParametersNotList
*/ */
public List<String> getRequestParametersNotList(){ public List<String> getRequestParametersNotList(){
return this.requestParametersNotList; return this.requestParametersNotList;
} }
/** /**
* 设置 请求参数 * 设置 请求参数
* @param requestParametersNotList * @param requestParametersNotList
*/ */
public void setRequestParametersNotList(List<String> requestParametersNotList){ public void setRequestParametersNotList(List<String> requestParametersNotList){
this.requestParametersNotList = requestParametersNotList; this.requestParametersNotList = requestParametersNotList;
} }
/** /**
* 获取 响应数据 * 获取 开始 出参是否加密
* @return responseParametersList * @return outEncryptStart
*/ */
public List<String> getResponseParametersList(){ public Integer getOutEncryptStart(){
return this.responseParametersList; return this.outEncryptStart;
} }
/** /**
* 设置 响应数据 * 设置 开始 出参是否加密
* @param responseParametersList * @param outEncryptStart
*/ */
public void setResponseParametersList(List<String> responseParametersList){ public void setOutEncryptStart(Integer outEncryptStart){
this.responseParametersList = responseParametersList; this.outEncryptStart = outEncryptStart;
} }
/** /**
* 获取 响应数据 * 获取 结束 出参是否加密
* @return responseParametersNotList * @return $outEncryptEnd
*/ */
public List<String> getResponseParametersNotList(){ public Integer getOutEncryptEnd(){
return this.responseParametersNotList; return this.outEncryptEnd;
} }
/** /**
* 设置 响应数据 * 设置 结束 出参是否加密
* @param responseParametersNotList * @param outEncryptEnd
*/ */
public void setResponseParametersNotList(List<String> responseParametersNotList){ public void setOutEncryptEnd(Integer outEncryptEnd){
this.responseParametersNotList = responseParametersNotList; this.outEncryptEnd = outEncryptEnd;
}
/**
* 获取 增加 出参是否加密
* @return outEncryptIncrement
*/
public Integer getOutEncryptIncrement(){
return this.outEncryptIncrement;
}
/**
* 设置 增加 出参是否加密
* @param outEncryptIncrement
*/
public void setOutEncryptIncrement(Integer outEncryptIncrement){
this.outEncryptIncrement = outEncryptIncrement;
} }
/** /**
* 获取 错误码 * 获取 出参是否加密
* @return errorCodeList * @return outEncryptList
*/ */
public List<String> getErrorCodeList(){ public List<Integer> getOutEncryptList(){
return this.errorCodeList; return this.outEncryptList;
} }
/** /**
* 设置 错误码 * 设置 出参是否加密
* @param errorCodeList * @param outEncryptList
*/ */
public void setErrorCodeList(List<String> errorCodeList){ public void setOutEncryptList(List<Integer> outEncryptList){
this.errorCodeList = errorCodeList; this.outEncryptList = outEncryptList;
} }
/** /**
* 获取 错误码 * 获取 出参是否加密
* @return errorCodeNotList * @return outEncryptNotList
*/ */
public List<String> getErrorCodeNotList(){ public List<Integer> getOutEncryptNotList(){
return this.errorCodeNotList; return this.outEncryptNotList;
} }
/** /**
* 设置 错误码 * 设置 出参是否加密
* @param errorCodeNotList * @param outEncryptNotList
*/ */
public void setErrorCodeNotList(List<String> errorCodeNotList){ public void setOutEncryptNotList(List<Integer> outEncryptNotList){
this.errorCodeNotList = errorCodeNotList; this.outEncryptNotList = outEncryptNotList;
} }
/** /**
* 获取 变更历史 * 获取 响应数据
* @return changeHistoryList * @return responseParametersList
*/ */
public List<String> getChangeHistoryList(){ public List<String> getResponseParametersList(){
return this.changeHistoryList; return this.responseParametersList;
} }
/** /**
* 设置 变更历史 * 设置 响应数据
* @param changeHistoryList * @param responseParametersList
*/ */
public void setChangeHistoryList(List<String> changeHistoryList){ public void setResponseParametersList(List<String> responseParametersList){
this.changeHistoryList = changeHistoryList; this.responseParametersList = responseParametersList;
} }
/** /**
* 获取 变更历史 * 获取 响应数据
* @return changeHistoryNotList * @return responseParametersNotList
*/ */
public List<String> getChangeHistoryNotList(){ public List<String> getResponseParametersNotList(){
return this.changeHistoryNotList; return this.responseParametersNotList;
} }
/** /**
* 设置 变更历史 * 设置 响应数据
* @param changeHistoryNotList * @param responseParametersNotList
*/ */
public void setChangeHistoryNotList(List<String> changeHistoryNotList){ public void setResponseParametersNotList(List<String> responseParametersNotList){
this.changeHistoryNotList = changeHistoryNotList; this.responseParametersNotList = responseParametersNotList;
} }
/** /**
* 获取 开始 创建用户 * 获取 接口描述
* @return createUserIdStart * @return remarkList
*/ */
public List<String> getRemarkList(){
return this.remarkList;
}
/**
* 设置 接口描述
* @param remarkList
*/
public void setRemarkList(List<String> remarkList){
this.remarkList = remarkList;
}
/**
* 获取 接口描述
* @return remarkNotList
*/
public List<String> getRemarkNotList(){
return this.remarkNotList;
}
/**
* 设置 接口描述
* @param remarkNotList
*/
public void setRemarkNotList(List<String> remarkNotList){
this.remarkNotList = remarkNotList;
}
/**
* 获取 开始 创建用户
* @return createUserIdStart
*/
public Long getCreateUserIdStart(){ public Long getCreateUserIdStart(){
return this.createUserIdStart; return this.createUserIdStart;
} }
/** /**
* 设置 开始 创建用户 * 设置 开始 创建用户
* @param createUserIdStart * @param createUserIdStart
*/ */
public void setCreateUserIdStart(Long createUserIdStart){ public void setCreateUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart; this.createUserIdStart = createUserIdStart;
} }
/** /**
* 获取 结束 创建用户 * 获取 结束 创建用户
* @return $createUserIdEnd * @return $createUserIdEnd
*/ */
public Long getCreateUserIdEnd(){ public Long getCreateUserIdEnd(){
return this.createUserIdEnd; return this.createUserIdEnd;
} }
/** /**
* 设置 结束 创建用户 * 设置 结束 创建用户
* @param createUserIdEnd * @param createUserIdEnd
*/ */
public void setCreateUserIdEnd(Long createUserIdEnd){ public void setCreateUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd; this.createUserIdEnd = createUserIdEnd;
} }
/** /**
* 获取 增加 创建用户 * 获取 增加 创建用户
* @return createUserIdIncrement * @return createUserIdIncrement
*/ */
public Long getCreateUserIdIncrement(){ public Long getCreateUserIdIncrement(){
return this.createUserIdIncrement; return this.createUserIdIncrement;
} }
/** /**
* 设置 增加 创建用户 * 设置 增加 创建用户
* @param createUserIdIncrement * @param createUserIdIncrement
*/ */
public void setCreateUserIdIncrement(Long createUserIdIncrement){ public void setCreateUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement; this.createUserIdIncrement = createUserIdIncrement;
} }
/** /**
* 获取 创建用户 * 获取 创建用户
* @return createUserIdList * @return createUserIdList
*/ */
public List<Long> getCreateUserIdList(){ public List<Long> getCreateUserIdList(){
return this.createUserIdList; return this.createUserIdList;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdList * @param createUserIdList
*/ */
public void setCreateUserIdList(List<Long> createUserIdList){ public void setCreateUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList; this.createUserIdList = createUserIdList;
} }
/** /**
* 获取 创建用户 * 获取 创建用户
* @return createUserIdNotList * @return createUserIdNotList
*/ */
public List<Long> getCreateUserIdNotList(){ public List<Long> getCreateUserIdNotList(){
return this.createUserIdNotList; return this.createUserIdNotList;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdNotList * @param createUserIdNotList
*/ */
public void setCreateUserIdNotList(List<Long> createUserIdNotList){ public void setCreateUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList; this.createUserIdNotList = createUserIdNotList;
} }
/** /**
* 获取 开始 创建时间 * 获取 开始 创建时间
* @return createTimeStart * @return createTimeStart
*/ */
public String getCreateTimeStart(){ public String getCreateTimeStart(){
return this.createTimeStart; return this.createTimeStart;
} }
/** /**
* 设置 开始 创建时间 * 设置 开始 创建时间
* @param createTimeStart * @param createTimeStart
*/ */
public void setCreateTimeStart(String createTimeStart){ public void setCreateTimeStart(String createTimeStart){
this.createTimeStart = createTimeStart; this.createTimeStart = createTimeStart;
} }
/** /**
* 获取 结束 创建时间 * 获取 结束 创建时间
* @return createTimeEnd * @return createTimeEnd
*/ */
public String getCreateTimeEnd(){ public String getCreateTimeEnd(){
return this.createTimeEnd; return this.createTimeEnd;
} }
/** /**
* 设置 结束 创建时间 * 设置 结束 创建时间
* @param createTimeEnd * @param createTimeEnd
*/ */
public void setCreateTimeEnd(String createTimeEnd){ public void setCreateTimeEnd(String createTimeEnd){
this.createTimeEnd = createTimeEnd; this.createTimeEnd = createTimeEnd;
} }
/** /**
* 获取 开始 更新用户 * 获取 开始 更新用户
* @return updateUserIdStart * @return updateUserIdStart
*/ */
public Long getUpdateUserIdStart(){ public Long getUpdateUserIdStart(){
return this.updateUserIdStart; return this.updateUserIdStart;
} }
/** /**
* 设置 开始 更新用户 * 设置 开始 更新用户
* @param updateUserIdStart * @param updateUserIdStart
*/ */
public void setUpdateUserIdStart(Long updateUserIdStart){ public void setUpdateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart; this.updateUserIdStart = updateUserIdStart;
} }
/** /**
* 获取 结束 更新用户 * 获取 结束 更新用户
* @return $updateUserIdEnd * @return $updateUserIdEnd
*/ */
public Long getUpdateUserIdEnd(){ public Long getUpdateUserIdEnd(){
return this.updateUserIdEnd; return this.updateUserIdEnd;
} }
/** /**
* 设置 结束 更新用户 * 设置 结束 更新用户
* @param updateUserIdEnd * @param updateUserIdEnd
*/ */
public void setUpdateUserIdEnd(Long updateUserIdEnd){ public void setUpdateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd; this.updateUserIdEnd = updateUserIdEnd;
} }
/** /**
* 获取 增加 更新用户 * 获取 增加 更新用户
* @return updateUserIdIncrement * @return updateUserIdIncrement
*/ */
public Long getUpdateUserIdIncrement(){ public Long getUpdateUserIdIncrement(){
return this.updateUserIdIncrement; return this.updateUserIdIncrement;
} }
/** /**
* 设置 增加 更新用户 * 设置 增加 更新用户
* @param updateUserIdIncrement * @param updateUserIdIncrement
*/ */
public void setUpdateUserIdIncrement(Long updateUserIdIncrement){ public void setUpdateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement; this.updateUserIdIncrement = updateUserIdIncrement;
} }
/** /**
* 获取 更新用户 * 获取 更新用户
* @return updateUserIdList * @return updateUserIdList
*/ */
public List<Long> getUpdateUserIdList(){ public List<Long> getUpdateUserIdList(){
return this.updateUserIdList; return this.updateUserIdList;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdList * @param updateUserIdList
*/ */
public void setUpdateUserIdList(List<Long> updateUserIdList){ public void setUpdateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList; this.updateUserIdList = updateUserIdList;
} }
/** /**
* 获取 更新用户 * 获取 更新用户
* @return updateUserIdNotList * @return updateUserIdNotList
*/ */
public List<Long> getUpdateUserIdNotList(){ public List<Long> getUpdateUserIdNotList(){
return this.updateUserIdNotList; return this.updateUserIdNotList;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdNotList * @param updateUserIdNotList
*/ */
public void setUpdateUserIdNotList(List<Long> updateUserIdNotList){ public void setUpdateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList; this.updateUserIdNotList = updateUserIdNotList;
} }
/** /**
* 获取 开始 更新时间 * 获取 开始 更新时间
* @return updateTimeStart * @return updateTimeStart
*/ */
public String getUpdateTimeStart(){ public String getUpdateTimeStart(){
return this.updateTimeStart; return this.updateTimeStart;
} }
/** /**
* 设置 开始 更新时间 * 设置 开始 更新时间
* @param updateTimeStart * @param updateTimeStart
*/ */
public void setUpdateTimeStart(String updateTimeStart){ public void setUpdateTimeStart(String updateTimeStart){
this.updateTimeStart = updateTimeStart; this.updateTimeStart = updateTimeStart;
} }
/** /**
* 获取 结束 更新时间 * 获取 结束 更新时间
* @return updateTimeEnd * @return updateTimeEnd
*/ */
public String getUpdateTimeEnd(){ public String getUpdateTimeEnd(){
return this.updateTimeEnd; return this.updateTimeEnd;
} }
/** /**
* 设置 结束 更新时间 * 设置 结束 更新时间
* @param updateTimeEnd * @param updateTimeEnd
*/ */
public void setUpdateTimeEnd(String updateTimeEnd){ public void setUpdateTimeEnd(String updateTimeEnd){
this.updateTimeEnd = updateTimeEnd; this.updateTimeEnd = updateTimeEnd;
} }
/** /**
* 设置 序号,主键,自增长 * 设置 序号,主键,自增长
* @param id * @param id
*/ */
public ProductInterfaceQuery id(Long id){ public ProductInterfaceQuery id(Long id){
setId(id); setId(id);
return this; return this;
} }
/** /**
* 设置 开始 序号,主键,自增长 * 设置 开始 序号,主键,自增长
* @param idStart * @param idStart
*/ */
public ProductInterfaceQuery idStart(Long idStart){ public ProductInterfaceQuery idStart(Long idStart){
this.idStart = idStart; this.idStart = idStart;
return this; return this;
} }
/** /**
* 设置 结束 序号,主键,自增长 * 设置 结束 序号,主键,自增长
* @param idEnd * @param idEnd
*/ */
public ProductInterfaceQuery idEnd(Long idEnd){ public ProductInterfaceQuery idEnd(Long idEnd){
this.idEnd = idEnd; this.idEnd = idEnd;
return this; return this;
} }
/** /**
* 设置 增加 序号,主键,自增长 * 设置 增加 序号,主键,自增长
* @param idIncrement * @param idIncrement
*/ */
public ProductInterfaceQuery idIncrement(Long idIncrement){ public ProductInterfaceQuery idIncrement(Long idIncrement){
this.idIncrement = idIncrement; this.idIncrement = idIncrement;
return this; return this;
} }
/** /**
* 设置 序号,主键,自增长 * 设置 序号,主键,自增长
* @param idList * @param idList
*/ */
public ProductInterfaceQuery idList(List<Long> idList){ public ProductInterfaceQuery idList(List<Long> idList){
this.idList = idList; this.idList = idList;
return this; return this;
} }
/** /**
* 设置 序号,主键,自增长 * 设置 序号,主键,自增长
* @param idNotList * @param idNotList
*/ */
public ProductInterfaceQuery idNotList(List<Long> idNotList){ public ProductInterfaceQuery idNotList(List<Long> idNotList){
this.idNotList = idNotList; this.idNotList = idNotList;
return this; return this;
} }
/** /**
* 设置 产品id * 设置 产品id
* @param productId * @param productId
*/ */
public ProductInterfaceQuery productId(Long productId){ public ProductInterfaceQuery productId(Long productId){
setProductId(productId); setProductId(productId);
return this; return this;
} }
/** /**
* 设置 开始 产品id * 设置 开始 产品id
* @param productIdStart * @param productIdStart
*/ */
public ProductInterfaceQuery productIdStart(Long productIdStart){ public ProductInterfaceQuery productIdStart(Long productIdStart){
this.productIdStart = productIdStart; this.productIdStart = productIdStart;
return this; return this;
} }
/** /**
* 设置 结束 产品id * 设置 结束 产品id
* @param productIdEnd * @param productIdEnd
*/ */
public ProductInterfaceQuery productIdEnd(Long productIdEnd){ public ProductInterfaceQuery productIdEnd(Long productIdEnd){
this.productIdEnd = productIdEnd; this.productIdEnd = productIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 产品id * 设置 增加 产品id
* @param productIdIncrement * @param productIdIncrement
*/ */
public ProductInterfaceQuery productIdIncrement(Long productIdIncrement){ public ProductInterfaceQuery productIdIncrement(Long productIdIncrement){
this.productIdIncrement = productIdIncrement; this.productIdIncrement = productIdIncrement;
return this; return this;
} }
/** /**
* 设置 产品id * 设置 产品id
* @param productIdList * @param productIdList
*/ */
public ProductInterfaceQuery productIdList(List<Long> productIdList){ public ProductInterfaceQuery productIdList(List<Long> productIdList){
this.productIdList = productIdList; this.productIdList = productIdList;
return this; return this;
} }
/** /**
* 设置 产品id * 设置 产品id
* @param productIdNotList * @param productIdNotList
*/ */
public ProductInterfaceQuery productIdNotList(List<Long> productIdNotList){ public ProductInterfaceQuery productIdNotList(List<Long> productIdNotList){
this.productIdNotList = productIdNotList; this.productIdNotList = productIdNotList;
return this; return this;
} }
/** /**
* 设置 接口名称 * 设置 接口名称
* @param interfaceName * @param interfaceName
*/ */
public ProductInterfaceQuery interfaceName(String interfaceName){ public ProductInterfaceQuery interfaceName(String interfaceName){
setInterfaceName(interfaceName); setInterfaceName(interfaceName);
return this; return this;
} }
/** /**
* 设置 接口名称 * 设置 接口名称
* @param interfaceNameList * @param interfaceNameList
*/ */
public ProductInterfaceQuery interfaceNameList(List<String> interfaceNameList){ public ProductInterfaceQuery interfaceNameList(List<String> interfaceNameList){
this.interfaceNameList = interfaceNameList; this.interfaceNameList = interfaceNameList;
return this; return this;
} }
/** /**
* 设置 版本号 * 设置 版本号
* @param versionNumber * @param versionNumber
*/ */
public ProductInterfaceQuery versionNumber(String versionNumber){ public ProductInterfaceQuery versionNumber(String versionNumber){
setVersionNumber(versionNumber); setVersionNumber(versionNumber);
return this; return this;
} }
/** /**
* 设置 版本号 * 设置 版本号
* @param versionNumberList * @param versionNumberList
*/ */
public ProductInterfaceQuery versionNumberList(List<String> versionNumberList){ public ProductInterfaceQuery versionNumberList(List<String> versionNumberList){
this.versionNumberList = versionNumberList; this.versionNumberList = versionNumberList;
return this; return this;
} }
/** /**
* 设置 请求类型1:POST,2:GET * 设置 请求类型1:POST,2:GET
* @param requestType * @param requestType
*/ */
public ProductInterfaceQuery requestType(Integer requestType){ public ProductInterfaceQuery requestType(Integer requestType){
setRequestType(requestType); setRequestType(requestType);
return this; return this;
} }
/** /**
* 设置 开始 请求类型1:POST,2:GET * 设置 开始 请求类型1:POST,2:GET
* @param requestTypeStart * @param requestTypeStart
*/ */
public ProductInterfaceQuery requestTypeStart(Integer requestTypeStart){ public ProductInterfaceQuery requestTypeStart(Integer requestTypeStart){
this.requestTypeStart = requestTypeStart; this.requestTypeStart = requestTypeStart;
return this; return this;
} }
/** /**
* 设置 结束 请求类型1:POST,2:GET * 设置 结束 请求类型1:POST,2:GET
* @param requestTypeEnd * @param requestTypeEnd
*/ */
public ProductInterfaceQuery requestTypeEnd(Integer requestTypeEnd){ public ProductInterfaceQuery requestTypeEnd(Integer requestTypeEnd){
this.requestTypeEnd = requestTypeEnd; this.requestTypeEnd = requestTypeEnd;
return this; return this;
} }
/** /**
* 设置 增加 请求类型1:POST,2:GET * 设置 增加 请求类型1:POST,2:GET
* @param requestTypeIncrement * @param requestTypeIncrement
*/ */
public ProductInterfaceQuery requestTypeIncrement(Integer requestTypeIncrement){ public ProductInterfaceQuery requestTypeIncrement(Integer requestTypeIncrement){
this.requestTypeIncrement = requestTypeIncrement; this.requestTypeIncrement = requestTypeIncrement;
return this; return this;
} }
/** /**
* 设置 请求类型1:POST,2:GET * 设置 请求类型1:POST,2:GET
* @param requestTypeList * @param requestTypeList
*/ */
public ProductInterfaceQuery requestTypeList(List<Integer> requestTypeList){ public ProductInterfaceQuery requestTypeList(List<Integer> requestTypeList){
this.requestTypeList = requestTypeList; this.requestTypeList = requestTypeList;
return this; return this;
} }
/** /**
* 设置 请求类型1:POST,2:GET * 设置 请求类型1:POST,2:GET
* @param requestTypeNotList * @param requestTypeNotList
*/ */
public ProductInterfaceQuery requestTypeNotList(List<Integer> requestTypeNotList){ public ProductInterfaceQuery requestTypeNotList(List<Integer> requestTypeNotList){
this.requestTypeNotList = requestTypeNotList; this.requestTypeNotList = requestTypeNotList;
return this; return this;
} }
/** /**
* 设置 请求协议1:HTTP,2:HTTPS * 设置 请求协议1:HTTP,2:HTTPS
* @param requestProtocol * @param requestProtocol
*/ */
public ProductInterfaceQuery requestProtocol(Integer requestProtocol){ public ProductInterfaceQuery requestProtocol(Integer requestProtocol){
setRequestProtocol(requestProtocol); setRequestProtocol(requestProtocol);
return this; return this;
} }
/** /**
* 设置 开始 请求协议1:HTTP,2:HTTPS * 设置 开始 请求协议1:HTTP,2:HTTPS
* @param requestProtocolStart * @param requestProtocolStart
*/ */
public ProductInterfaceQuery requestProtocolStart(Integer requestProtocolStart){ public ProductInterfaceQuery requestProtocolStart(Integer requestProtocolStart){
this.requestProtocolStart = requestProtocolStart; this.requestProtocolStart = requestProtocolStart;
return this; return this;
} }
/** /**
* 设置 结束 请求协议1:HTTP,2:HTTPS * 设置 结束 请求协议1:HTTP,2:HTTPS
* @param requestProtocolEnd * @param requestProtocolEnd
*/ */
public ProductInterfaceQuery requestProtocolEnd(Integer requestProtocolEnd){ public ProductInterfaceQuery requestProtocolEnd(Integer requestProtocolEnd){
this.requestProtocolEnd = requestProtocolEnd; this.requestProtocolEnd = requestProtocolEnd;
return this; return this;
} }
/** /**
* 设置 增加 请求协议1:HTTP,2:HTTPS * 设置 增加 请求协议1:HTTP,2:HTTPS
* @param requestProtocolIncrement * @param requestProtocolIncrement
*/ */
public ProductInterfaceQuery requestProtocolIncrement(Integer requestProtocolIncrement){ public ProductInterfaceQuery requestProtocolIncrement(Integer requestProtocolIncrement){
this.requestProtocolIncrement = requestProtocolIncrement; this.requestProtocolIncrement = requestProtocolIncrement;
return this; return this;
} }
/** /**
* 设置 请求协议1:HTTP,2:HTTPS * 设置 请求协议1:HTTP,2:HTTPS
* @param requestProtocolList * @param requestProtocolList
*/ */
public ProductInterfaceQuery requestProtocolList(List<Integer> requestProtocolList){ public ProductInterfaceQuery requestProtocolList(List<Integer> requestProtocolList){
this.requestProtocolList = requestProtocolList; this.requestProtocolList = requestProtocolList;
return this; return this;
} }
/** /**
* 设置 请求协议1:HTTP,2:HTTPS * 设置 请求协议1:HTTP,2:HTTPS
* @param requestProtocolNotList * @param requestProtocolNotList
*/ */
public ProductInterfaceQuery requestProtocolNotList(List<Integer> requestProtocolNotList){ public ProductInterfaceQuery requestProtocolNotList(List<Integer> requestProtocolNotList){
this.requestProtocolNotList = requestProtocolNotList; this.requestProtocolNotList = requestProtocolNotList;
return this; return this;
} }
/** /**
* 设置 请求路径 * 设置 请求路径
* @param requestUrl * @param requestUrl
*/ */
public ProductInterfaceQuery requestUrl(String requestUrl){ public ProductInterfaceQuery requestUrl(String requestUrl){
setRequestUrl(requestUrl); setRequestUrl(requestUrl);
return this; return this;
} }
/** /**
* 设置 请求路径 * 设置 请求路径
* @param requestUrlList * @param requestUrlList
*/ */
public ProductInterfaceQuery requestUrlList(List<String> requestUrlList){ public ProductInterfaceQuery requestUrlList(List<String> requestUrlList){
this.requestUrlList = requestUrlList; this.requestUrlList = requestUrlList;
return this; return this;
} }
/** /**
* 设置 超时时间(秒) * 设置 超时时间(秒)
* @param timeoutValue * @param timeoutValue
*/ */
public ProductInterfaceQuery timeoutValue(Long timeoutValue){ public ProductInterfaceQuery timeoutValue(Long timeoutValue){
setTimeoutValue(timeoutValue); setTimeoutValue(timeoutValue);
return this; return this;
} }
/** /**
* 设置 开始 超时时间(秒) * 设置 开始 超时时间(秒)
* @param timeoutValueStart * @param timeoutValueStart
*/ */
public ProductInterfaceQuery timeoutValueStart(Long timeoutValueStart){ public ProductInterfaceQuery timeoutValueStart(Long timeoutValueStart){
this.timeoutValueStart = timeoutValueStart; this.timeoutValueStart = timeoutValueStart;
return this; return this;
} }
/** /**
* 设置 结束 超时时间(秒) * 设置 结束 超时时间(秒)
* @param timeoutValueEnd * @param timeoutValueEnd
*/ */
public ProductInterfaceQuery timeoutValueEnd(Long timeoutValueEnd){ public ProductInterfaceQuery timeoutValueEnd(Long timeoutValueEnd){
this.timeoutValueEnd = timeoutValueEnd; this.timeoutValueEnd = timeoutValueEnd;
return this; return this;
} }
/** /**
* 设置 增加 超时时间(秒) * 设置 增加 超时时间(秒)
* @param timeoutValueIncrement * @param timeoutValueIncrement
*/ */
public ProductInterfaceQuery timeoutValueIncrement(Long timeoutValueIncrement){ public ProductInterfaceQuery timeoutValueIncrement(Long timeoutValueIncrement){
this.timeoutValueIncrement = timeoutValueIncrement; this.timeoutValueIncrement = timeoutValueIncrement;
return this; return this;
} }
/** /**
* 设置 超时时间(秒) * 设置 超时时间(秒)
* @param timeoutValueList * @param timeoutValueList
*/ */
public ProductInterfaceQuery timeoutValueList(List<Long> timeoutValueList){ public ProductInterfaceQuery timeoutValueList(List<Long> timeoutValueList){
this.timeoutValueList = timeoutValueList; this.timeoutValueList = timeoutValueList;
return this; return this;
} }
/** /**
* 设置 超时时间(秒) * 设置 超时时间(秒)
* @param timeoutValueNotList * @param timeoutValueNotList
*/ */
public ProductInterfaceQuery timeoutValueNotList(List<Long> timeoutValueNotList){ public ProductInterfaceQuery timeoutValueNotList(List<Long> timeoutValueNotList){
this.timeoutValueNotList = timeoutValueNotList; this.timeoutValueNotList = timeoutValueNotList;
return this; return this;
} }
/** /**
* 设置 限流策略1:分钟,2:小时 * 设置 限流策略1:分钟,2:小时
* @param limitStrategy * @param limitStrategy
*/ */
public ProductInterfaceQuery limitStrategy(Integer limitStrategy){ public ProductInterfaceQuery limitStrategy(Integer limitStrategy){
setLimitStrategy(limitStrategy); setLimitStrategy(limitStrategy);
return this; return this;
} }
/** /**
* 设置 开始 限流策略1:分钟,2:小时 * 设置 开始 限流策略1:分钟,2:小时
* @param limitStrategyStart * @param limitStrategyStart
*/ */
public ProductInterfaceQuery limitStrategyStart(Integer limitStrategyStart){ public ProductInterfaceQuery limitStrategyStart(Integer limitStrategyStart){
this.limitStrategyStart = limitStrategyStart; this.limitStrategyStart = limitStrategyStart;
return this; return this;
} }
/** /**
* 设置 结束 限流策略1:分钟,2:小时 * 设置 结束 限流策略1:分钟,2:小时
* @param limitStrategyEnd * @param limitStrategyEnd
*/ */
public ProductInterfaceQuery limitStrategyEnd(Integer limitStrategyEnd){ public ProductInterfaceQuery limitStrategyEnd(Integer limitStrategyEnd){
this.limitStrategyEnd = limitStrategyEnd; this.limitStrategyEnd = limitStrategyEnd;
return this; return this;
} }
/** /**
* 设置 增加 限流策略1:分钟,2:小时 * 设置 增加 限流策略1:分钟,2:小时
* @param limitStrategyIncrement * @param limitStrategyIncrement
*/ */
public ProductInterfaceQuery limitStrategyIncrement(Integer limitStrategyIncrement){ public ProductInterfaceQuery limitStrategyIncrement(Integer limitStrategyIncrement){
this.limitStrategyIncrement = limitStrategyIncrement; this.limitStrategyIncrement = limitStrategyIncrement;
return this; return this;
} }
/** /**
* 设置 限流策略1:分钟,2:小时 * 设置 限流策略1:分钟,2:小时
* @param limitStrategyList * @param limitStrategyList
*/ */
public ProductInterfaceQuery limitStrategyList(List<Integer> limitStrategyList){ public ProductInterfaceQuery limitStrategyList(List<Integer> limitStrategyList){
this.limitStrategyList = limitStrategyList; this.limitStrategyList = limitStrategyList;
return this; return this;
} }
/** /**
* 设置 限流策略1:分钟,2:小时 * 设置 限流策略1:分钟,2:小时
* @param limitStrategyNotList * @param limitStrategyNotList
*/ */
public ProductInterfaceQuery limitStrategyNotList(List<Integer> limitStrategyNotList){ public ProductInterfaceQuery limitStrategyNotList(List<Integer> limitStrategyNotList){
this.limitStrategyNotList = limitStrategyNotList; this.limitStrategyNotList = limitStrategyNotList;
return this; return this;
} }
/** /**
* 设置 访问网络1互联网2政务网 * 设置 访问网络1互联网2政务网
* @param network * @param network
*/ */
public ProductInterfaceQuery network(String network){ public ProductInterfaceQuery network(String network){
setNetwork(network); setNetwork(network);
return this; return this;
} }
/** /**
* 设置 访问网络1互联网2政务网 * 设置 访问网络1互联网2政务网
* @param networkList * @param networkList
*/ */
public ProductInterfaceQuery networkList(List<String> networkList){ public ProductInterfaceQuery networkList(List<String> networkList){
this.networkList = networkList; this.networkList = networkList;
return this; return this;
} }
/** /**
* 设置 接口描述 * 设置 接口描述
* @param description * @param description
*/ */
public ProductInterfaceQuery description(String description){ public ProductInterfaceQuery description(String description){
setDescription(description); setDescription(description);
return this; return this;
} }
/** /**
* 设置 接口描述 * 设置 接口描述
* @param descriptionList * @param descriptionList
*/ */
public ProductInterfaceQuery descriptionList(List<String> descriptionList){ public ProductInterfaceQuery descriptionList(List<String> descriptionList){
this.descriptionList = descriptionList; this.descriptionList = descriptionList;
return this; return this;
} }
/**
* 设置 流控信息
* @param flowControl
*/
public ProductInterfaceQuery flowControl(String flowControl){
setFlowControl(flowControl);
return this;
}
/** /**
* 设置 流控信息 * 设置 内容类型
* @param flowControlList * @param contentType
*/ */
public ProductInterfaceQuery flowControlList(List<String> flowControlList){ public ProductInterfaceQuery contentType(String contentType){
this.flowControlList = flowControlList; setContentType(contentType);
return this; return this;
} }
/**
/** * 设置 内容类型
* 设置 授权信息 * @param contentTypeList
* @param authorizeInfo */
*/ public ProductInterfaceQuery contentTypeList(List<String> contentTypeList){
public ProductInterfaceQuery authorizeInfo(String authorizeInfo){ this.contentTypeList = contentTypeList;
setAuthorizeInfo(authorizeInfo); return this;
return this;
} }
/** /**
* 设置 授权信息 * 设置 标签
* @param authorizeInfoList * @param interfaceTag
*/ */
public ProductInterfaceQuery authorizeInfoList(List<String> authorizeInfoList){ public ProductInterfaceQuery interfaceTag(Integer interfaceTag){
this.authorizeInfoList = authorizeInfoList; setInterfaceTag(interfaceTag);
return this; return this;
} }
/** /**
* 设置 标签 * 设置 开始 标签
* @param interfaceTag * @param interfaceTagStart
*/ */
public ProductInterfaceQuery interfaceTag(Integer interfaceTag){
setInterfaceTag(interfaceTag);
return this;
}
/**
* 设置 开始 标签
* @param interfaceTagStart
*/
public ProductInterfaceQuery interfaceTagStart(Integer interfaceTagStart){ public ProductInterfaceQuery interfaceTagStart(Integer interfaceTagStart){
this.interfaceTagStart = interfaceTagStart; this.interfaceTagStart = interfaceTagStart;
return this; return this;
} }
/** /**
* 设置 结束 标签 * 设置 结束 标签
* @param interfaceTagEnd * @param interfaceTagEnd
*/ */
public ProductInterfaceQuery interfaceTagEnd(Integer interfaceTagEnd){ public ProductInterfaceQuery interfaceTagEnd(Integer interfaceTagEnd){
this.interfaceTagEnd = interfaceTagEnd; this.interfaceTagEnd = interfaceTagEnd;
return this; return this;
} }
/** /**
* 设置 增加 标签 * 设置 增加 标签
* @param interfaceTagIncrement * @param interfaceTagIncrement
*/ */
public ProductInterfaceQuery interfaceTagIncrement(Integer interfaceTagIncrement){ public ProductInterfaceQuery interfaceTagIncrement(Integer interfaceTagIncrement){
this.interfaceTagIncrement = interfaceTagIncrement; this.interfaceTagIncrement = interfaceTagIncrement;
return this; return this;
} }
/** /**
* 设置 标签 * 设置 标签
* @param interfaceTagList * @param interfaceTagList
*/ */
public ProductInterfaceQuery interfaceTagList(List<Integer> interfaceTagList){ public ProductInterfaceQuery interfaceTagList(List<Integer> interfaceTagList){
this.interfaceTagList = interfaceTagList; this.interfaceTagList = interfaceTagList;
return this; return this;
} }
/** /**
* 设置 标签 * 设置 标签
* @param interfaceTagNotList * @param interfaceTagNotList
*/ */
public ProductInterfaceQuery interfaceTagNotList(List<Integer> interfaceTagNotList){ public ProductInterfaceQuery interfaceTagNotList(List<Integer> interfaceTagNotList){
this.interfaceTagNotList = interfaceTagNotList; this.interfaceTagNotList = interfaceTagNotList;
return this; return this;
} }
/** /**
* 设置 来源1自有2非自有 * 设置 来源1自有2非自有
* @param interfaceSource * @param interfaceSource
*/ */
public ProductInterfaceQuery interfaceSource(Integer interfaceSource){ public ProductInterfaceQuery interfaceSource(Integer interfaceSource){
setInterfaceSource(interfaceSource); setInterfaceSource(interfaceSource);
return this; return this;
} }
/** /**
* 设置 开始 来源1自有2非自有 * 设置 开始 来源1自有2非自有
* @param interfaceSourceStart * @param interfaceSourceStart
*/ */
public ProductInterfaceQuery interfaceSourceStart(Integer interfaceSourceStart){ public ProductInterfaceQuery interfaceSourceStart(Integer interfaceSourceStart){
this.interfaceSourceStart = interfaceSourceStart; this.interfaceSourceStart = interfaceSourceStart;
return this; return this;
} }
/** /**
* 设置 结束 来源1自有2非自有 * 设置 结束 来源1自有2非自有
* @param interfaceSourceEnd * @param interfaceSourceEnd
*/ */
public ProductInterfaceQuery interfaceSourceEnd(Integer interfaceSourceEnd){ public ProductInterfaceQuery interfaceSourceEnd(Integer interfaceSourceEnd){
this.interfaceSourceEnd = interfaceSourceEnd; this.interfaceSourceEnd = interfaceSourceEnd;
return this; return this;
} }
/** /**
* 设置 增加 来源1自有2非自有 * 设置 增加 来源1自有2非自有
* @param interfaceSourceIncrement * @param interfaceSourceIncrement
*/ */
public ProductInterfaceQuery interfaceSourceIncrement(Integer interfaceSourceIncrement){ public ProductInterfaceQuery interfaceSourceIncrement(Integer interfaceSourceIncrement){
this.interfaceSourceIncrement = interfaceSourceIncrement; this.interfaceSourceIncrement = interfaceSourceIncrement;
return this; return this;
} }
/** /**
* 设置 来源1自有2非自有 * 设置 来源1自有2非自有
* @param interfaceSourceList * @param interfaceSourceList
*/ */
public ProductInterfaceQuery interfaceSourceList(List<Integer> interfaceSourceList){ public ProductInterfaceQuery interfaceSourceList(List<Integer> interfaceSourceList){
this.interfaceSourceList = interfaceSourceList; this.interfaceSourceList = interfaceSourceList;
return this; return this;
} }
/** /**
* 设置 来源1自有2非自有 * 设置 来源1自有2非自有
* @param interfaceSourceNotList * @param interfaceSourceNotList
*/ */
public ProductInterfaceQuery interfaceSourceNotList(List<Integer> interfaceSourceNotList){ public ProductInterfaceQuery interfaceSourceNotList(List<Integer> interfaceSourceNotList){
this.interfaceSourceNotList = interfaceSourceNotList; this.interfaceSourceNotList = interfaceSourceNotList;
return this; return this;
} }
/**
* 设置 入参是否加密
* @param inEncrypt
*/
public ProductInterfaceQuery inEncrypt(Integer inEncrypt){
setInEncrypt(inEncrypt);
return this;
}
/**
* 设置 开始 入参是否加密
* @param inEncryptStart
*/
public ProductInterfaceQuery inEncryptStart(Integer inEncryptStart){
this.inEncryptStart = inEncryptStart;
return this;
}
/**
* 设置 结束 入参是否加密
* @param inEncryptEnd
*/
public ProductInterfaceQuery inEncryptEnd(Integer inEncryptEnd){
this.inEncryptEnd = inEncryptEnd;
return this;
}
/**
* 设置 增加 入参是否加密
* @param inEncryptIncrement
*/
public ProductInterfaceQuery inEncryptIncrement(Integer inEncryptIncrement){
this.inEncryptIncrement = inEncryptIncrement;
return this;
}
/**
* 设置 入参是否加密
* @param inEncryptList
*/
public ProductInterfaceQuery inEncryptList(List<Integer> inEncryptList){
this.inEncryptList = inEncryptList;
return this;
}
/**
* 设置 入参是否加密
* @param inEncryptNotList
*/
public ProductInterfaceQuery inEncryptNotList(List<Integer> inEncryptNotList){
this.inEncryptNotList = inEncryptNotList;
return this;
}
/** /**
* 设置 请求参数 * 设置 请求参数
* @param requestParameters * @param requestParameters
*/ */
public ProductInterfaceQuery requestParameters(String requestParameters){ public ProductInterfaceQuery requestParameters(String requestParameters){
setRequestParameters(requestParameters); setRequestParameters(requestParameters);
return this; return this;
} }
/** /**
* 设置 请求参数 * 设置 请求参数
* @param requestParametersList * @param requestParametersList
*/ */
public ProductInterfaceQuery requestParametersList(List<String> requestParametersList){ public ProductInterfaceQuery requestParametersList(List<String> requestParametersList){
this.requestParametersList = requestParametersList; this.requestParametersList = requestParametersList;
return this; return this;
}
/**
* 设置 出参是否加密
* @param outEncrypt
*/
public ProductInterfaceQuery outEncrypt(Integer outEncrypt){
setOutEncrypt(outEncrypt);
return this;
} }
/**
* 设置 开始 出参是否加密
* @param outEncryptStart
*/
public ProductInterfaceQuery outEncryptStart(Integer outEncryptStart){
this.outEncryptStart = outEncryptStart;
return this;
}
/** /**
* 设置 响应数据 * 设置 结束 出参是否加密
* @param responseParameters * @param outEncryptEnd
*/ */
public ProductInterfaceQuery responseParameters(String responseParameters){ public ProductInterfaceQuery outEncryptEnd(Integer outEncryptEnd){
setResponseParameters(responseParameters); this.outEncryptEnd = outEncryptEnd;
return this; return this;
} }
/** /**
* 设置 响应数据 * 设置 增加 出参是否加密
* @param responseParametersList * @param outEncryptIncrement
*/ */
public ProductInterfaceQuery responseParametersList(List<String> responseParametersList){ public ProductInterfaceQuery outEncryptIncrement(Integer outEncryptIncrement){
this.responseParametersList = responseParametersList; this.outEncryptIncrement = outEncryptIncrement;
return this; return this;
}
/**
* 设置 出参是否加密
* @param outEncryptList
*/
public ProductInterfaceQuery outEncryptList(List<Integer> outEncryptList){
this.outEncryptList = outEncryptList;
return this;
}
/**
* 设置 出参是否加密
* @param outEncryptNotList
*/
public ProductInterfaceQuery outEncryptNotList(List<Integer> outEncryptNotList){
this.outEncryptNotList = outEncryptNotList;
return this;
} }
/** /**
* 设置 错误码 * 设置 响应数据
* @param errorCode * @param responseParameters
*/ */
public ProductInterfaceQuery errorCode(String errorCode){ public ProductInterfaceQuery responseParameters(String responseParameters){
setErrorCode(errorCode); setResponseParameters(responseParameters);
return this; return this;
} }
/** /**
* 设置 错误码 * 设置 响应数据
* @param errorCodeList * @param responseParametersList
*/ */
public ProductInterfaceQuery errorCodeList(List<String> errorCodeList){ public ProductInterfaceQuery responseParametersList(List<String> responseParametersList){
this.errorCodeList = errorCodeList; this.responseParametersList = responseParametersList;
return this; return this;
} }
/** /**
* 设置 变更历史 * 设置 接口描述
* @param changeHistory * @param remark
*/ */
public ProductInterfaceQuery changeHistory(String changeHistory){ public ProductInterfaceQuery remark(String remark){
setChangeHistory(changeHistory); setRemark(remark);
return this; return this;
} }
/** /**
* 设置 变更历史 * 设置 接口描述
* @param changeHistoryList * @param remarkList
*/ */
public ProductInterfaceQuery changeHistoryList(List<String> changeHistoryList){ public ProductInterfaceQuery remarkList(List<String> remarkList){
this.changeHistoryList = changeHistoryList; this.remarkList = remarkList;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserId * @param createUserId
*/ */
public ProductInterfaceQuery createUserId(Long createUserId){ public ProductInterfaceQuery createUserId(Long createUserId){
setCreateUserId(createUserId); setCreateUserId(createUserId);
return this; return this;
} }
/** /**
* 设置 开始 创建用户 * 设置 开始 创建用户
* @param createUserIdStart * @param createUserIdStart
*/ */
public ProductInterfaceQuery createUserIdStart(Long createUserIdStart){ public ProductInterfaceQuery createUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart; this.createUserIdStart = createUserIdStart;
return this; return this;
} }
/** /**
* 设置 结束 创建用户 * 设置 结束 创建用户
* @param createUserIdEnd * @param createUserIdEnd
*/ */
public ProductInterfaceQuery createUserIdEnd(Long createUserIdEnd){ public ProductInterfaceQuery createUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd; this.createUserIdEnd = createUserIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 创建用户 * 设置 增加 创建用户
* @param createUserIdIncrement * @param createUserIdIncrement
*/ */
public ProductInterfaceQuery createUserIdIncrement(Long createUserIdIncrement){ public ProductInterfaceQuery createUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement; this.createUserIdIncrement = createUserIdIncrement;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdList * @param createUserIdList
*/ */
public ProductInterfaceQuery createUserIdList(List<Long> createUserIdList){ public ProductInterfaceQuery createUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList; this.createUserIdList = createUserIdList;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdNotList * @param createUserIdNotList
*/ */
public ProductInterfaceQuery createUserIdNotList(List<Long> createUserIdNotList){ public ProductInterfaceQuery createUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList; this.createUserIdNotList = createUserIdNotList;
return this; return this;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserId * @param updateUserId
*/ */
public ProductInterfaceQuery updateUserId(Long updateUserId){ public ProductInterfaceQuery updateUserId(Long updateUserId){
setUpdateUserId(updateUserId); setUpdateUserId(updateUserId);
return this; return this;
} }
/** /**
* 设置 开始 更新用户 * 设置 开始 更新用户
* @param updateUserIdStart * @param updateUserIdStart
*/ */
public ProductInterfaceQuery updateUserIdStart(Long updateUserIdStart){ public ProductInterfaceQuery updateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart; this.updateUserIdStart = updateUserIdStart;
return this; return this;
} }
/** /**
* 设置 结束 更新用户 * 设置 结束 更新用户
* @param updateUserIdEnd * @param updateUserIdEnd
*/ */
public ProductInterfaceQuery updateUserIdEnd(Long updateUserIdEnd){ public ProductInterfaceQuery updateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd; this.updateUserIdEnd = updateUserIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 更新用户 * 设置 增加 更新用户
* @param updateUserIdIncrement * @param updateUserIdIncrement
*/ */
public ProductInterfaceQuery updateUserIdIncrement(Long updateUserIdIncrement){ public ProductInterfaceQuery updateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement; this.updateUserIdIncrement = updateUserIdIncrement;
return this; return this;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdList * @param updateUserIdList
*/ */
public ProductInterfaceQuery updateUserIdList(List<Long> updateUserIdList){ public ProductInterfaceQuery updateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList; this.updateUserIdList = updateUserIdList;
return this; return this;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdNotList * @param updateUserIdNotList
*/ */
public ProductInterfaceQuery updateUserIdNotList(List<Long> updateUserIdNotList){ public ProductInterfaceQuery updateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList; this.updateUserIdNotList = updateUserIdNotList;
return this; return this;
} }
/** /**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) * 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList * @return orConditionList
*/ */
public List<ProductInterfaceQuery> getOrConditionList(){ public List<ProductInterfaceQuery> getOrConditionList(){
return this.orConditionList; return this.orConditionList;
} }
/** /**
* 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) * 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @param orConditionList * @param orConditionList
*/ */
public void setOrConditionList(List<ProductInterfaceQuery> orConditionList){ public void setOrConditionList(List<ProductInterfaceQuery> orConditionList){
this.orConditionList = orConditionList; this.orConditionList = orConditionList;
} }
/** /**
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) * 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @return andConditionList * @return andConditionList
*/ */
public List<ProductInterfaceQuery> getAndConditionList(){ public List<ProductInterfaceQuery> getAndConditionList(){
return this.andConditionList; return this.andConditionList;
} }
/** /**
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) * 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @param andConditionList * @param andConditionList
*/ */
public void setAndConditionList(List<ProductInterfaceQuery> andConditionList){ public void setAndConditionList(List<ProductInterfaceQuery> andConditionList){
this.andConditionList = andConditionList; this.andConditionList = andConditionList;
} }
......
...@@ -33,9 +33,12 @@ public class ProductInterfaceController extends BaseCRUDJsonBodyMappingControlle ...@@ -33,9 +33,12 @@ public class ProductInterfaceController extends BaseCRUDJsonBodyMappingControlle
this.addDict(model, "requestType", paramService.getParamBySecondOrganize("ProductInterface","requestType")); this.addDict(model, "requestType", paramService.getParamBySecondOrganize("ProductInterface","requestType"));
this.addDict(model, "requestProtocol", paramService.getParamBySecondOrganize("ProductInterface","requestProtocol")); this.addDict(model, "requestProtocol", paramService.getParamBySecondOrganize("ProductInterface","requestProtocol"));
this.addDict(model, "limitStrategy", paramService.getParamBySecondOrganize("ProductInterface","limitStrategy")); this.addDict(model, "limitStrategy", paramService.getParamBySecondOrganize("ProductInterface","limitStrategy"));
this.addDict(model, "contentType", paramService.getParamBySecondOrganize("ProductInterface","contentType"));
this.addDict(model, "network", paramService.getParamBySecondOrganize("ProductInterface","network")); this.addDict(model, "network", paramService.getParamBySecondOrganize("ProductInterface","network"));
this.addDict(model, "interfaceTag", paramService.getParamBySecondOrganize("ProductInterface","interfaceTag")); this.addDict(model, "interfaceTag", paramService.getParamBySecondOrganize("ProductInterface","interfaceTag"));
this.addDict(model, "interfaceSource", paramService.getParamBySecondOrganize("ProductInterface","interfaceSource")); this.addDict(model, "interfaceSource", paramService.getParamBySecondOrganize("ProductInterface","interfaceSource"));
this.addDict(model, "inEncrypt", paramService.getParamBySecondOrganize("ProductApps","isEnable"));
this.addDict(model, "outEncrypt", paramService.getParamBySecondOrganize("ProductApps","isEnable"));
super.init(model, context); super.init(model, context);
} }
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment