mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-08 19:16:37 +08:00
feat: 返回结构修改
This commit is contained in:
parent
a2686137fc
commit
0d2ff655fa
@ -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
|
||||
|
@ -48,9 +48,7 @@ export function validUser(signature: String) {
|
||||
// 检查请求的status
|
||||
if (response.status !== 200) {
|
||||
return {
|
||||
data: {
|
||||
code: response.status
|
||||
},
|
||||
code: response.status,
|
||||
error: null
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user