From 039af32fc3185f128700b5e167767da7c99f8d22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Wed, 14 Jan 2026 17:20:45 +0800 Subject: [PATCH] =?UTF-8?q?config(app):=20=E6=9B=B4=E6=96=B0=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E9=85=8D=E7=BD=AE=E4=BB=A5=E9=80=82=E9=85=8D=E6=96=B0?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将租户ID从10550更新为10584 - 将应用名称从"时里院子市集"更新为"桂乐淘" - 更新package.json中的项目名称 - 更新project.config.json中的项目描述和APPID - 更新Vercel项目配置名称 - 更新头条小程序项目描述 - 更新服务器模板ID配置 - 更新各页面分享标题中的应用名称 - 更新订单确认页面的评论字段值 --- .vercel/project.json | 2 +- config/app.ts | 2 +- config/env.ts | 2 +- package.json | 2 +- project.config.json | 6 +++--- project.tt.json | 2 +- src/cms/category/index.tsx | 2 +- src/dealer/qrcode/index.tsx | 2 +- src/pages/cart/cart.tsx | 2 +- src/pages/category/index.tsx | 2 +- src/shop/category/index.tsx | 2 +- src/shop/orderConfirm/index.tsx | 2 +- src/utils/server.ts | 2 +- 13 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.vercel/project.json b/.vercel/project.json index 752ae2e..a4ff8d7 100644 --- a/.vercel/project.json +++ b/.vercel/project.json @@ -1 +1 @@ -{"projectName":"trae_template-10550_mhk8"} \ No newline at end of file +{"projectName":"trae_template-10584_mhk8"} diff --git a/config/app.ts b/config/app.ts index 7d73acb..4ef7855 100644 --- a/config/app.ts +++ b/config/app.ts @@ -1,7 +1,7 @@ import { API_BASE_URL } from './env' // 租户ID - 请根据实际情况修改 -export const TenantId = '10550'; +export const TenantId = '10584'; // 接口地址 - 请根据实际情况修改 export const BaseUrl = API_BASE_URL; // 当前版本 diff --git a/config/env.ts b/config/env.ts index 152eae3..eb27c6c 100644 --- a/config/env.ts +++ b/config/env.ts @@ -10,7 +10,7 @@ export const ENV_CONFIG = { // 生产环境 production: { API_BASE_URL: 'https://cms-api.websoft.top/api', - APP_NAME: '时里院子市集', + APP_NAME: '桂乐淘', DEBUG: 'false', }, // 测试环境 diff --git a/package.json b/package.json index e57ea99..cb6d20f 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "template-10550", + "name": "template-10584", "version": "1.0.0", "private": true, "description": "WebSoft Inc.", diff --git a/project.config.json b/project.config.json index 33ad7f0..443f70e 100644 --- a/project.config.json +++ b/project.config.json @@ -1,8 +1,8 @@ { "miniprogramRoot": "dist/", - "projectname": "template-10550", - "description": "时里院子市集", - "appid": "wx5170f9f17a813877", + "projectname": "template-10584", + "description": "桂乐淘", + "appid": "wxad831ba00ad6a026", "setting": { "urlCheck": true, "es6": false, diff --git a/project.tt.json b/project.tt.json index 71d3700..986f0e8 100644 --- a/project.tt.json +++ b/project.tt.json @@ -1,7 +1,7 @@ { "miniprogramRoot": "./", "projectname": "mp-react", - "description": "时里院子市集", + "description": "桂乐淘", "appid": "touristappid", "setting": { "urlCheck": true, diff --git a/src/cms/category/index.tsx b/src/cms/category/index.tsx index fe81623..75a784b 100644 --- a/src/cms/category/index.tsx +++ b/src/cms/category/index.tsx @@ -44,7 +44,7 @@ function Category() { useShareAppMessage(() => { return { - title: `${nav?.categoryName}_时里院子市集`, + title: `${nav?.categoryName}_桂乐淘`, path: `/shop/category/index?id=${categoryId}`, success: function () { console.log('分享成功'); diff --git a/src/dealer/qrcode/index.tsx b/src/dealer/qrcode/index.tsx index 90edb58..9cb8706 100644 --- a/src/dealer/qrcode/index.tsx +++ b/src/dealer/qrcode/index.tsx @@ -126,7 +126,7 @@ const DealerQrcode: React.FC = () => { // // const inviteText = `🎉 邀请您加入我的团队! // -// 扫描小程序码或搜索"时里院子市集"小程序,即可享受优质商品和服务! +// 扫描小程序码或搜索"桂乐淘"小程序,即可享受优质商品和服务! // // 💰 成为我的团队成员,一起赚取丰厚佣金 // 🎁 新用户专享优惠等你来拿 diff --git a/src/pages/cart/cart.tsx b/src/pages/cart/cart.tsx index e415a03..d7a2e37 100644 --- a/src/pages/cart/cart.tsx +++ b/src/pages/cart/cart.tsx @@ -41,7 +41,7 @@ function Cart() { useShareAppMessage(() => { return { - title: '购物车 - 时里院子市集', + title: '购物车 - 桂乐淘', success: function () { console.log('分享成功'); }, diff --git a/src/pages/category/index.tsx b/src/pages/category/index.tsx index 3592f21..27002d5 100644 --- a/src/pages/category/index.tsx +++ b/src/pages/category/index.tsx @@ -49,7 +49,7 @@ function Category() { useShareAppMessage(() => { return { - title: `${nav?.categoryName}_时里院子市集`, + title: `${nav?.categoryName}_桂乐淘`, path: `/shop/category/index?id=${categoryId}`, success: function () { console.log('分享成功'); diff --git a/src/shop/category/index.tsx b/src/shop/category/index.tsx index 4f81fd7..7899e20 100644 --- a/src/shop/category/index.tsx +++ b/src/shop/category/index.tsx @@ -42,7 +42,7 @@ function Category() { useShareAppMessage(() => { return { - title: `${nav?.categoryName}_时里院子市集`, + title: `${nav?.categoryName}_桂乐淘`, path: `/shop/category/index?id=${categoryId}`, success: function () { console.log('分享成功'); diff --git a/src/shop/orderConfirm/index.tsx b/src/shop/orderConfirm/index.tsx index b48c621..9b8caf1 100644 --- a/src/shop/orderConfirm/index.tsx +++ b/src/shop/orderConfirm/index.tsx @@ -437,7 +437,7 @@ const OrderConfirm = () => { quantity, address.id, { - comments: '时里院子市集', + comments: '桂乐淘', deliveryType: 0, buyerRemarks: orderRemark, // 🔧 确保 couponId 是正确的数字类型,且不传递 undefined diff --git a/src/utils/server.ts b/src/utils/server.ts index fb48f69..99806c8 100644 --- a/src/utils/server.ts +++ b/src/utils/server.ts @@ -2,7 +2,7 @@ import Taro from '@tarojs/taro'; import {User} from "@/api/system/user/model"; // 模版套餐ID - 请根据实际情况修改 -export const TEMPLATE_ID = '10550'; +export const TEMPLATE_ID = '10584'; // 服务接口 - 请根据实际情况修改 export const SERVER_API_URL = 'https://server.websoft.top/api'; // export const SERVER_API_URL = 'http://127.0.0.1:8000/api';