key
This commit is contained in:
parent
fd93f092b5
commit
3ae2b560c8
@ -101,7 +101,6 @@ router.beforeEach(async(to, from, next) => {
|
||||
if(!token){
|
||||
let unionid='';
|
||||
let platform_key='123456';
|
||||
alert(import.meta.env.MODE);
|
||||
if(import.meta.env.MODE==='production') {
|
||||
platform_key='dk&*dj1P'
|
||||
};
|
||||
@ -125,7 +124,7 @@ router.beforeEach(async(to, from, next) => {
|
||||
}else if(videoToken){
|
||||
const {data,code}=await api.login({
|
||||
source:2,
|
||||
platform_key:123456,
|
||||
platform_key:platform_key,
|
||||
unionid:unionid?unionid:'',
|
||||
user_iden:to.query.uuid?to.query.uuid:'',
|
||||
token:videoToken
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user