This commit is contained in:
2025-07-22 15:40:37 +08:00
parent 796b5af67d
commit d3f39dab68
8 changed files with 9 additions and 10 deletions

View File

@@ -69,9 +69,8 @@ export function copyText(text: string) {
/**
* 分享商品链接
* @param goodsId 商品ID
* @param goodsName 商品名称
*/
export function shareGoodsLink(goodsId: string | number, goodsName?: string) {
export function shareGoodsLink(goodsId: string | number) {
// 构建分享链接,这里需要根据你的实际域名调整
const baseUrl = 'https://your-domain.com'; // 请替换为你的实际域名
const shareUrl = `${baseUrl}/shop/goodsDetail/index?id=${goodsId}`;

View File

@@ -4,7 +4,7 @@ import {User} from "@/api/system/user/model";
// 模版套餐ID
export const TEMPLATE_ID = 10258;
// 服务接口
export const SERVER_API_URL = 'https://server.gxwebsoft.com/api';
export const SERVER_API_URL = 'https://server.websoft.top/api';
// export const SERVER_API_URL = 'http://127.0.0.1:8000/api';
/**
* 保存用户信息到本地存储