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'; /** * 保存用户信息到本地存储