flatL暂存
This commit is contained in:
3
App.vue
3
App.vue
@@ -51,7 +51,6 @@ function getUserInfo() {
|
|||||||
const sm2_privateKey = config.appInfo.sm2PrivateKey;
|
const sm2_privateKey = config.appInfo.sm2PrivateKey;
|
||||||
let sm2_encrypt_result = data.data;
|
let sm2_encrypt_result = data.data;
|
||||||
let sm2_decrypt_result = sm2_Decrypt(sm2_encrypt_result, sm2_privateKey);
|
let sm2_decrypt_result = sm2_Decrypt(sm2_encrypt_result, sm2_privateKey);
|
||||||
console.log(sm2_decrypt_result);
|
|
||||||
if (typeof sm2_decrypt_result == 'string') sm2_decrypt_result = JSON.parse(sm2_decrypt_result);
|
if (typeof sm2_decrypt_result == 'string') sm2_decrypt_result = JSON.parse(sm2_decrypt_result);
|
||||||
|
|
||||||
// 其次,对sm2解密后的结果进行 aes解密
|
// 其次,对sm2解密后的结果进行 aes解密
|
||||||
@@ -100,7 +99,7 @@ function oncloseWindow() {
|
|||||||
|
|
||||||
function loginCallback(userInfo) {
|
function loginCallback(userInfo) {
|
||||||
let params = {
|
let params = {
|
||||||
username: userInfo,
|
userInfo,
|
||||||
};
|
};
|
||||||
$api.createRequest('/app/login', params, 'post').then((resData) => {
|
$api.createRequest('/app/login', params, 'post').then((resData) => {
|
||||||
useUserStore()
|
useUserStore()
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
export default {
|
export default {
|
||||||
baseUrl: 'https://fw.rc.qingdao.gov.cn/rgpp-api/api', // 内网
|
// baseUrl: 'https://fw.rc.qingdao.gov.cn/rgpp-api/api', // 内网
|
||||||
// baseUrl: 'https://qd.zhaopinzao8dian.com/api', // 测试
|
baseUrl: 'https://qd.zhaopinzao8dian.com/api', // 测试
|
||||||
// baseUrl: 'http://192.168.3.29:8081',
|
// baseUrl: 'http://192.168.3.29:8081',
|
||||||
// baseUrl: 'http://10.213.6.207:19010/api',
|
// baseUrl: 'http://10.213.6.207:19010/api',
|
||||||
// 语音转文字
|
// 语音转文字
|
||||||
|
|||||||
Reference in New Issue
Block a user