feat: swagger定时同步

This commit is contained in:
wenyann 2021-01-29 11:08:52 +08:00
parent 22e2e1db7b
commit 86c079c62a
5 changed files with 15 additions and 3 deletions

View File

@ -0,0 +1,6 @@
ALTER TABLE swagger_url_project
MODIFY COLUMN id VARCHAR(120);
ALTER TABLE swagger_url_project
MODIFY COLUMN project_id VARCHAR(120);
ALTER TABLE swagger_url_project
MODIFY COLUMN mode_id VARCHAR(120);

View File

@ -113,11 +113,11 @@ export default {
showEnvironmentSelect: true, showEnvironmentSelect: true,
modeOptions: [{ modeOptions: [{
id: 'fullCoverage', id: 'fullCoverage',
name: '全量覆盖' name: this.$t('commons.cover')
}, },
{ {
id: 'incrementalMerge', id: 'incrementalMerge',
name: '增量合并' name: this.$t('commons.not.cover')
}], }],
protocol: "", protocol: "",
platforms: [ platforms: [
@ -153,7 +153,7 @@ export default {
file: undefined, file: undefined,
swaggerUrl: '', swaggerUrl: '',
modeId: '', modeId: '',
moduleId: '' moduleId: this.$t('commons.not.cover')
}, },
rules: {}, rules: {},
currentModule: {}, currentModule: {},

View File

@ -1,5 +1,7 @@
export default { export default {
commons: { commons: {
cover:'Cover',
not_cover:'Not Cover',
import_mode: 'Import mode', import_mode: 'Import mode',
import_module: 'Import module', import_module: 'Import module',
please_fill_in_the_template: 'Please fill in the template', please_fill_in_the_template: 'Please fill in the template',

View File

@ -1,5 +1,7 @@
export default { export default {
commons: { commons: {
cover:'覆盖',
not_cover:'不覆盖',
import_mode: '导入模式', import_mode: '导入模式',
import_module: '导入模块', import_module: '导入模块',
please_fill_in_the_template: '请填写模版内容', please_fill_in_the_template: '请填写模版内容',

View File

@ -1,5 +1,7 @@
export default { export default {
commons: { commons: {
cover:'覆蓋',
not_cover:'不覆蓋',
import_mode: '導入模式', import_mode: '導入模式',
import_module: '導入模塊', import_module: '導入模塊',
please_fill_in_the_template: '請填寫模版內容', please_fill_in_the_template: '請填寫模版內容',