|
|
|
@ -12,7 +12,7 @@ import { axios } from '@/utils/request'
|
|
|
|
|
* @author yubaoshan
|
|
|
|
|
* @date 2020/12/23 15:00
|
|
|
|
|
*/
|
|
|
|
|
export function codeGeneratePage (parameter) {
|
|
|
|
|
export function codeGeneratePage(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/codeGenerate/page',
|
|
|
|
|
method: 'get',
|
|
|
|
@ -26,7 +26,7 @@ export function codeGeneratePage (parameter) {
|
|
|
|
|
* @author yubaoshan
|
|
|
|
|
* @date 2020/12/23 15:00
|
|
|
|
|
*/
|
|
|
|
|
export function codeGenerateAdd (parameter) {
|
|
|
|
|
export function codeGenerateAdd(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/codeGenerate/add',
|
|
|
|
|
method: 'post',
|
|
|
|
@ -40,7 +40,7 @@ export function codeGenerateAdd (parameter) {
|
|
|
|
|
* @author yubaoshan
|
|
|
|
|
* @date 2020/12/23 15:00
|
|
|
|
|
*/
|
|
|
|
|
export function codeGenerateEdit (parameter) {
|
|
|
|
|
export function codeGenerateEdit(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/codeGenerate/edit',
|
|
|
|
|
method: 'post',
|
|
|
|
@ -54,7 +54,7 @@ export function codeGenerateEdit (parameter) {
|
|
|
|
|
* @author yubaoshan
|
|
|
|
|
* @date 2020/12/23 15:00
|
|
|
|
|
*/
|
|
|
|
|
export function codeGenerateDelete (parameter) {
|
|
|
|
|
export function codeGenerateDelete(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/codeGenerate/delete',
|
|
|
|
|
method: 'post',
|
|
|
|
@ -68,7 +68,7 @@ export function codeGenerateDelete (parameter) {
|
|
|
|
|
* @author yubaoshan
|
|
|
|
|
* @date 2020/12/23 15:00
|
|
|
|
|
*/
|
|
|
|
|
export function codeGenerateInformationList (parameter) {
|
|
|
|
|
export function codeGenerateInformationList(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/codeGenerate/InformationList',
|
|
|
|
|
method: 'get',
|
|
|
|
@ -83,7 +83,7 @@ export function codeGenerateInformationList (parameter) {
|
|
|
|
|
* @param {*} tableName 表名
|
|
|
|
|
* @return {*}
|
|
|
|
|
*/
|
|
|
|
|
export function codeGenerateColumnList (tableName) {
|
|
|
|
|
export function codeGenerateColumnList(tableName) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: `/codeGenerate/ColumnList/${tableName}`,
|
|
|
|
|
method: 'get'
|
|
|
|
@ -96,7 +96,7 @@ export function codeGenerateColumnList (tableName) {
|
|
|
|
|
* @author yubaoshan
|
|
|
|
|
* @date 2020/12/23 15:00
|
|
|
|
|
*/
|
|
|
|
|
export function codeGenerateRunLocal (parameter) {
|
|
|
|
|
export function codeGenerateRunLocal(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/codeGenerate/runLocal',
|
|
|
|
|
method: 'post',
|
|
|
|
@ -110,7 +110,7 @@ export function codeGenerateRunLocal (parameter) {
|
|
|
|
|
* @author yubaoshan
|
|
|
|
|
* @date 2020/12/23 15:00
|
|
|
|
|
*/
|
|
|
|
|
export function codeGenerateRunDown (parameter) {
|
|
|
|
|
export function codeGenerateRunDown(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/codeGenerate/runDown',
|
|
|
|
|
method: 'get',
|
|
|
|
|