feat: 返回结构修改

This commit is contained in:
“张嘉宁” 2023-04-04 16:45:42 +08:00
parent a2686137fc
commit 0d2ff655fa
2 changed files with 2 additions and 4 deletions

View File

@ -680,7 +680,7 @@ export function Home() {
location.href = `//work-order.zhiketong.net/#/process/create-ticket?processId=117`;
};
console.log('render', { isAllow, isRequestErr, isW:isWorkWechat()});
console.log('render', { isAllow, isNotInLan, isRequestErr, isW:isWorkWechat()});
return !isLoading ? (
<div

View File

@ -48,9 +48,7 @@ export function validUser(signature: String) {
// 检查请求的status
if (response.status !== 200) {
return {
data: {
code: response.status
},
code: response.status,
error: null
}
}