fix: 修正分享API地址
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Agent
2026-03-29 07:24:46 +00:00
parent f0daec8c06
commit 1c414036c7
2 changed files with 3 additions and 3 deletions

View File

@@ -217,9 +217,9 @@ export default {
},
shareOrder() {
// 构建分享链接包含订单号和客户ID
const baseUrl = getApp().globalData.h5BaseUrl || 'https://你的域名'
const h5BaseUrl = 'https://sales.violin-work.online/h5'
const customerId = this.order.customerId || ''
const shareUrl = `${baseUrl}/#/pages/share/order?orderNo=${this.order.orderNo}&customerId=${customerId}`
const shareUrl = `${h5BaseUrl}/#/pages/share/order?orderNo=${this.order.orderNo}&customerId=${customerId}`
// 复制链接到剪贴板
uni.setClipboardData({