From 7d255a2d3c9c85acda4810d59f248e9fad8ea27c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Fri, 25 Jul 2025 19:23:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E9=80=A0env=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E6=9C=BA=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/app.ts | 2 +- config/env.ts | 6 +++--- package.json | 2 +- project.config.json | 2 +- src/utils/server.ts | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/config/app.ts b/config/app.ts index 72abdb3..a6c89c5 100644 --- a/config/app.ts +++ b/config/app.ts @@ -1,7 +1,7 @@ import { API_BASE_URL } from './env' // 租户ID - 请根据实际情况修改 -export const TenantId = 'YOUR_TENANT_ID'; +export const TenantId = '10550'; // 接口地址 - 请根据实际情况修改 export const BaseUrl = API_BASE_URL; // 当前版本 diff --git a/config/env.ts b/config/env.ts index 20febdc..f2afab4 100644 --- a/config/env.ts +++ b/config/env.ts @@ -2,14 +2,14 @@ export const ENV_CONFIG = { // 开发环境 development: { - API_BASE_URL: 'http://localhost:9200/api', - APP_NAME: 'Taro App Dev', + API_BASE_URL: 'https://cms-api.websoft.top/api', + APP_NAME: '时里院子市集', DEBUG: 'true', }, // 生产环境 production: { API_BASE_URL: 'https://cms-api.websoft.top/api', - APP_NAME: 'Taro App', + APP_NAME: '时里院子市集', DEBUG: 'false', }, // 测试环境 diff --git a/package.json b/package.json index 4a39d70..0c65844 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "template-10549", + "name": "template-10550", "version": "1.0.0", "private": true, "description": "WebSoft Inc.", diff --git a/project.config.json b/project.config.json index 9ebac9f..39e0321 100644 --- a/project.config.json +++ b/project.config.json @@ -2,7 +2,7 @@ "miniprogramRoot": "dist/", "projectname": "websoft", "description": "时里院子市集", - "appid": "your_wechat_appid", + "appid": "wx5170f9f17a813877", "setting": { "urlCheck": true, "es6": false, diff --git a/src/utils/server.ts b/src/utils/server.ts index 94d4314..fb48f69 100644 --- a/src/utils/server.ts +++ b/src/utils/server.ts @@ -2,9 +2,9 @@ import Taro from '@tarojs/taro'; import {User} from "@/api/system/user/model"; // 模版套餐ID - 请根据实际情况修改 -export const TEMPLATE_ID = 'YOUR_TEMPLATE_ID'; +export const TEMPLATE_ID = '10550'; // 服务接口 - 请根据实际情况修改 -export const SERVER_API_URL = 'https://your-server-domain.com/api'; +export const SERVER_API_URL = 'https://server.websoft.top/api'; // export const SERVER_API_URL = 'http://127.0.0.1:8000/api'; /** * 保存用户信息到本地存储