Skip to content

Let's use AI to Earn!

fix: 常量位置移动

gaoSir79670ea371f7
diff --git a/.gitignore b/.gitignore
index 14ec890b..4b305da4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -43,5 +43,3 @@ release
public/bin/*
!public/bin/webkit
!public/bin/*.md
-
-gao-vite.config.ts
diff --git a/LICENSE b/LICENSE
deleted file mode 100644
index 22edc0e9..00000000
--- a/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-MIT License
-
-Copyright (c) 2023 草鞋没号
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/electron/plat/douyin/common.douyin.ts b/commont/plat/douyin/common.douyin.ts
similarity index 100%
rename from electron/plat/douyin/common.douyin.ts
rename to commont/plat/douyin/common.douyin.ts
diff --git a/electron/db/models/workData.ts b/electron/db/models/workData.ts
index da54b7b0..f348fc37 100644
--- a/electron/db/models/workData.ts
+++ b/electron/db/models/workData.ts
@@ -14,8 +14,8 @@ import type {
ILocationDataItem,
WxSphEvent,
} from '../../main/plat/plat.type';
-import { DeclarationDouyin } from '../../plat/douyin/common.douyin';
import { VisibleTypeEnum } from '../../../commont/publish/PublishEnum';
+import { DeclarationDouyin } from "../../../commont/plat/douyin/common.douyin";
// 包含一个name和一个value的对象
export interface ILableValue {
diff --git a/electron/plat/douyin/index.ts b/electron/plat/douyin/index.ts
index c9ea05a5..b7ee2500 100644
--- a/electron/plat/douyin/index.ts
+++ b/electron/plat/douyin/index.ts
@@ -23,7 +23,8 @@ import {
} from './douyin.type';
import requestNet from '../requestNet';
import { jsonToQueryString } from '../../util';
-import { DeclarationDouyin } from './common.douyin';
+
+import { DeclarationDouyin } from "../../../commont/plat/douyin/common.douyin";
export type DouyinPlatformSettingType = {
// 自主声明
diff --git a/src/views/publish/children/videoPage/components/VideoPubSetModal/children/VideoPubSetModal_DouYin.tsx b/src/views/publish/children/videoPage/components/VideoPubSetModal/children/VideoPubSetModal_DouYin.tsx
index 8f8a2de2..111aec2d 100644
--- a/src/views/publish/children/videoPage/components/VideoPubSetModal/children/VideoPubSetModal_DouYin.tsx
+++ b/src/views/publish/children/videoPage/components/VideoPubSetModal/children/VideoPubSetModal_DouYin.tsx
@@ -18,13 +18,13 @@ import {
VideoPubRestartLogin,
} from '@/views/publish/children/videoPage/components/VideoPubSetModal/components/VideoPubSetModalCommon';
import UserSelect from '../components/UserSelect';
-import { DeclarationDouyin } from '../../../../../../../../electron/plat/douyin/common.douyin';
import {
CommonActivitySelect,
CommonHotspotSelect,
} from '../../../../../components/CommonComponents/DouyinCommonComponents';
import { ILableValue } from '../../../../../../../../electron/db/models/workData';
import useVideoPubSetModal from './hooks/useVideoPubSetModal';
+import { DeclarationDouyin } from '../../../../../../../../commont/plat/douyin/common.douyin';
const HotspotSelect = ({}: IVideoPubSetModalChildProps) => {
const { setOnePubParams, currChooseAccount } = useVideoPageStore(