打包
This commit is contained in:
parent
86de361ff8
commit
632cec0873
File diff suppressed because one or more lines are too long
@ -99,7 +99,8 @@ export const request = (url, data = {}, method = 'post', loading = false, conten
|
|||||||
const res = await api.h5Login({
|
const res = await api.h5Login({
|
||||||
token: video_token
|
token: video_token
|
||||||
});
|
});
|
||||||
let result = res.data;
|
let result = res.data.data;
|
||||||
|
consoe.log(result);
|
||||||
if (window.location.href.indexOf('//casedata.igandan.com')>-1) {
|
if (window.location.href.indexOf('//casedata.igandan.com')>-1) {
|
||||||
uni.setStorageSync("AUTH_TOKEN_CASEDATA",result.token);
|
uni.setStorageSync("AUTH_TOKEN_CASEDATA",result.token);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user