config: 更新域名为 soul.quwanzhi.com
This commit is contained in:
@@ -17,7 +17,7 @@ const WECHAT_PAY_CONFIG = {
|
|||||||
appSecret: '85d3fa31584d06acdb1de4a597d25b7b', // 小程序AppSecret
|
appSecret: '85d3fa31584d06acdb1de4a597d25b7b', // 小程序AppSecret
|
||||||
mchId: '1318592501', // 商户号
|
mchId: '1318592501', // 商户号
|
||||||
mchKey: 'wx3e31b068be59ddc131b068be59ddc2', // API密钥
|
mchKey: 'wx3e31b068be59ddc131b068be59ddc2', // API密钥
|
||||||
notifyUrl: 'https://soul.cunbao.net/api/miniprogram/pay/notify', // 支付回调地址
|
notifyUrl: 'https://soul.quwanzhi.com/api/miniprogram/pay/notify', // 支付回调地址
|
||||||
}
|
}
|
||||||
|
|
||||||
// 生成随机字符串
|
// 生成随机字符串
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
App({
|
App({
|
||||||
globalData: {
|
globalData: {
|
||||||
// API基础地址
|
// API基础地址
|
||||||
baseUrl: 'https://soul.cunbao.net',
|
baseUrl: 'https://soul.quwanzhi.com',
|
||||||
|
|
||||||
// 小程序配置
|
// 小程序配置
|
||||||
appId: 'wxb8bbb2b10dec74aa',
|
appId: 'wxb8bbb2b10dec74aa',
|
||||||
|
|||||||
@@ -277,7 +277,7 @@ ${id === 'preface' || id === 'epilogue' || id.startsWith('appendix') || id === '
|
|||||||
copyLink() {
|
copyLink() {
|
||||||
const userInfo = app.globalData.userInfo
|
const userInfo = app.globalData.userInfo
|
||||||
const referralCode = userInfo?.referralCode || ''
|
const referralCode = userInfo?.referralCode || ''
|
||||||
const shareUrl = `https://soul.ckb.fit/read/${this.data.sectionId}${referralCode ? '?ref=' + referralCode : ''}`
|
const shareUrl = `https://soul.quwanzhi.com/read/${this.data.sectionId}${referralCode ? '?ref=' + referralCode : ''}`
|
||||||
|
|
||||||
wx.setClipboardData({
|
wx.setClipboardData({
|
||||||
data: shareUrl,
|
data: shareUrl,
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ Page({
|
|||||||
|
|
||||||
// 复制邀请链接
|
// 复制邀请链接
|
||||||
copyLink() {
|
copyLink() {
|
||||||
const link = `https://soul.ckb.fit/?ref=${this.data.referralCode}`
|
const link = `https://soul.quwanzhi.com/?ref=${this.data.referralCode}`
|
||||||
wx.setClipboardData({
|
wx.setClipboardData({
|
||||||
data: link,
|
data: link,
|
||||||
success: () => wx.showToast({ title: '链接已复制', icon: 'success' })
|
success: () => wx.showToast({ title: '链接已复制', icon: 'success' })
|
||||||
|
|||||||
Reference in New Issue
Block a user