diff --git a/.env.development b/.env.development index 0cd2290..e5d5e04 100644 --- a/.env.development +++ b/.env.development @@ -1,25 +1,9 @@ # 系统环境 VITE_APP_ENV=development -# 请求地址 (商业模式会走这条地址) -VITE_APP_REQUEST_HOST=https://api.aizj.top/api - -# 内置请求地址和KEY设置 -VITE_APP_AI_BASE_URL=https://api.openai.com - -# Api 请求使用的 key, 支持多个 key,以逗号分隔(,) -VITE_APP_AI_KEYS= - -# 多个 key 时的调度策略模式 随机(random) -VITE_APP_AI_KEY_STRATEGY=random +# 请求地址 +VITE_APP_REQUEST_HOST=http://127.0.0.1:3200 # APP 名称&Logo VITE_APP_TITLE=ChatGpt -VITE_APP_LOGO=https://cdn.jsdelivr.net/gh/duogongneng/testuitc/svg-1681898659579.svg - -# web 应用模式 -# 商业模式 --- business -# 代理模式 --- proxy -# 混合模式 --- mix -VITE_APP_MODE=mix - +VITE_APP_LOGO=https://u1.dl0.cn/icon/openailogo.svg diff --git a/.env.production b/.env.production index 43be341..d91a8e4 100644 --- a/.env.production +++ b/.env.production @@ -1,24 +1,9 @@ # 系统环境 VITE_APP_ENV=production -# 请求地址 (商业模式会走这条地址) -VITE_APP_REQUEST_HOST=https://api.aizj.top/api - -# 内置请求地址和KEY设置 -VITE_APP_AI_BASE_URL=https://api.openai.com - -# Api 请求使用的 key, 支持多个 key,以逗号分隔(,) -VITE_APP_AI_KEYS= - -# 多个 key 时的调度策略模式 随机(random) -VITE_APP_AI_KEY_STRATEGY=random +# 请求地址 +VITE_APP_REQUEST_HOST= # APP 名称&Logo VITE_APP_TITLE=ChatGpt -VITE_APP_LOGO=https://cdn.jsdelivr.net/gh/duogongneng/testuitc/svg-1681898659579.svg - -# web 应用模式 -# 商业模式 --- business -# 代理模式 --- proxy -# 混合模式 --- mix -VITE_APP_MODE=proxy +VITE_APP_LOGO=https://u1.dl0.cn/icon/openailogo.svg diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 3daafd6..dcddc00 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -5,8 +5,7 @@ module.exports = { 'node': true, 'es6': true }, - 'overrides': [ - ], + 'overrides': [], 'parser': '@typescript-eslint/parser', 'parserOptions': { 'ecmaVersion': 'latest', diff --git a/.gitignore b/.gitignore index dc1104f..9219a16 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ node_modules dist dist-ssr *.local +.vite # Editor directories and files .vscode/* @@ -24,3 +25,34 @@ dist-ssr *.njsproj *.sln *.sw? + + +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js + +# testing +/coverage + +# next.js +/.next/ +/out/ + +# production +/build + +# misc +*.pem + +# local env files +.env*.local + +# vercel +.vercel + +# typescript +*.tsbuildinfo +next-env.d.ts diff --git a/README-CN.md b/README-CN.md index 917a1d2..4d7eabe 100644 --- a/README-CN.md +++ b/README-CN.md @@ -3,38 +3,47 @@
{item.amount}元
+ {item.integral ?{item.price / 100}元
余额:{balance.number}