feat: 同步今日小程序与后台迭代版本
集中提交今日 API、管理端、小程序与部署文档调整,确保 Gitea 主分支与本地最新开发版本一致。 Made-with: Cursor
This commit is contained in:
@@ -71,6 +71,13 @@ function generateOrderId(productType) {
|
||||
function wxPay(options) {
|
||||
const { orderId, amount = 0, description, productType, testResultId, deepProductId, enterpriseId, success, fail } = options
|
||||
|
||||
if (app.globalData && app.globalData.miniprogramAuditMode) {
|
||||
const msg = '版本审核期间不可发起支付'
|
||||
wx.showToast({ title: msg, icon: 'none' })
|
||||
if (typeof fail === 'function') fail(new Error(msg))
|
||||
return
|
||||
}
|
||||
|
||||
try {
|
||||
const analyticsMod = require('./analytics')
|
||||
if (analyticsMod && typeof analyticsMod.track === 'function') {
|
||||
|
||||
Reference in New Issue
Block a user