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,
|
||||
loading,
|
||||
run,
|
||||
} = useRequest(() => request.get<IHitokoto>('https://hitokoto.152710.xyz/'), {
|
||||
} = useRequest(() => request.get<IHitokoto>('https://hi.logacg.com/'), {
|
||||
throttleWait: 1000,
|
||||
});
|
||||
const backupData = {
|
||||
|
||||
+8
-12
@@ -13,16 +13,12 @@ type HitokitoType =
|
||||
| 'l'; /** 抖机灵 */
|
||||
|
||||
interface IHitokoto {
|
||||
id: number
|
||||
uuid: string
|
||||
hitokoto: string
|
||||
type: HitokitoType
|
||||
from: string
|
||||
from_who: string
|
||||
creator: string
|
||||
creator_uid: number
|
||||
reviewer: number
|
||||
commit_from: string
|
||||
created_at: string
|
||||
length: number
|
||||
id: number;
|
||||
uuid: string;
|
||||
hitokoto: string;
|
||||
type: HitokitoType;
|
||||
from: string;
|
||||
from_who: string;
|
||||
created_at: string;
|
||||
length: number;
|
||||
}
|
||||
Reference in new issue
Block a user