|
@@ -32,6 +32,7 @@ enum Api {
|
|
isAppAdminOrDevOrOpe = '/sys/applicationInfo/isAppAdminOrDevOrOpe',
|
|
isAppAdminOrDevOrOpe = '/sys/applicationInfo/isAppAdminOrDevOrOpe',
|
|
isAppAdmin = '/sys/applicationInfo/isAppAdmin',
|
|
isAppAdmin = '/sys/applicationInfo/isAppAdmin',
|
|
checkMenuInfoisExist = '/sys/permission/checkPermDuplication',
|
|
checkMenuInfoisExist = '/sys/permission/checkPermDuplication',
|
|
|
|
+ checkAppNameisExist = '/sys/applicationInfo/appNameIsExist',
|
|
workFlowTest1 = '/sys/applicationInfo/test1',
|
|
workFlowTest1 = '/sys/applicationInfo/test1',
|
|
workFlowTest2 = '/sys/applicationInfo/test2'
|
|
workFlowTest2 = '/sys/applicationInfo/test2'
|
|
}
|
|
}
|
|
@@ -45,7 +46,9 @@ export const JFlow_Test1=()=>{
|
|
export const checkMenuInfoisExist=(params)=>{
|
|
export const checkMenuInfoisExist=(params)=>{
|
|
return defHttp.get({url: Api.checkMenuInfoisExist+"?url="+params+"&alwaysShow="+false}, { errorMessageMode: false, successMessageMode: false })
|
|
return defHttp.get({url: Api.checkMenuInfoisExist+"?url="+params+"&alwaysShow="+false}, { errorMessageMode: false, successMessageMode: false })
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+export const checkAppNameisExist=(params)=>{
|
|
|
|
+ return defHttp.get({url: Api.checkAppNameisExist+"?appName="+params}, { errorMessageMode: false, successMessageMode: false })
|
|
|
|
+}
|
|
export const isAppAdmin=()=>{
|
|
export const isAppAdmin=()=>{
|
|
return defHttp.get({url: Api.isAppAdmin})
|
|
return defHttp.get({url: Api.isAppAdmin})
|
|
}
|
|
}
|