优化登录界面的接口调用
This commit is contained in:
parent
a7280ca6e3
commit
55f1d659fe
@ -84,7 +84,7 @@ const fileSizeLimit = (params)=>getAction("/systemConfig/fileSizeLimit",params);
|
||||
//平台参数
|
||||
const addPlatformConfig = (params)=>postAction("/platformConfig/add",params);
|
||||
const editPlatformConfig = (params)=>putAction("/platformConfig/update",params);
|
||||
const getPlatformConfigByKey = (params)=>getAction("/platformConfig/getPlatformConfigByKey",params);
|
||||
const getPlatformConfigByKey = (params)=>getAction("/platformConfig/getInfoByKey",params);
|
||||
//用户|角色|模块关系
|
||||
const addUserBusiness = (params)=>postAction("/userBusiness/add",params);
|
||||
const editUserBusiness = (params)=>putAction("/userBusiness/update",params);
|
||||
|
||||
@ -69,7 +69,6 @@
|
||||
import { mapActions } from "vuex"
|
||||
import { timeFix } from "@/utils/util"
|
||||
import Vue from 'vue'
|
||||
import {getPlatformConfigByKey } from '@/api/api'
|
||||
import { ACCESS_TOKEN ,ENCRYPTED_STRING} from "@/store/mutation-types"
|
||||
import { putAction,postAction,getAction } from '@/api/manage'
|
||||
import { encryption , getEncryptedString } from '@/utils/encryption/aesEncrypt'
|
||||
@ -270,10 +269,8 @@
|
||||
})
|
||||
},
|
||||
getRegisterFlag(){
|
||||
getPlatformConfigByKey( {"platformKey": "register_flag"}).then((res)=>{
|
||||
if(res && res.code == 200) {
|
||||
this.registerFlag = res.data.platformValue
|
||||
}
|
||||
getAction('/platformConfig/getPlatform/registerFlag').then((res) => {
|
||||
this.registerFlag = res + ''
|
||||
})
|
||||
},
|
||||
//获取密码加密规则
|
||||
|
||||
Loading…
Reference in New Issue
Block a user