fix: #1793
This commit is contained in:
1 parent
e9bbc82f37
commit
fc26077283
2 files changed
+9
-13
No files matched your search
@@ -20,7 +20,7 @@ export default function Hitokoto () {
|
|||||||
error,
|
error,
|
||||||
loading,
|
loading,
|
||||||
run,
|
run,
|
||||||
} = useRequest(() => request.get<IHitokoto>('https://hitokoto.152710.xyz/'), {
|
} = useRequest(() => request.get<IHitokoto>('https://hi.logacg.com/'), {
|
||||||
throttleWait: 1000,
|
throttleWait: 1000,
|
||||||
});
|
});
|
||||||
const backupData = {
|
const backupData = {
|
||||||
|
|||||||
+8
-12
@@ -13,16 +13,12 @@ type HitokitoType =
|
|||||||
| 'l'; /** 抖机灵 */
|
| 'l'; /** 抖机灵 */
|
||||||
|
|
||||||
interface IHitokoto {
|
interface IHitokoto {
|
||||||
id: number
|
id: number;
|
||||||
uuid: string
|
uuid: string;
|
||||||
hitokoto: string
|
hitokoto: string;
|
||||||
type: HitokitoType
|
type: HitokitoType;
|
||||||
from: string
|
from: string;
|
||||||
from_who: string
|
from_who: string;
|
||||||
creator: string
|
created_at: string;
|
||||||
creator_uid: number
|
length: number;
|
||||||
reviewer: number
|
|
||||||
commit_from: string
|
|
||||||
created_at: string
|
|
||||||
length: number
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user