这版是公共号授权版

This commit is contained in:
cao123
2026-08-12 11:47:51 +08:00
parent d0776f9676
commit e47df01af9
18 changed files with 365 additions and 378 deletions
+1 -1
View File
@@ -1,7 +1,6 @@
// package-live/wxroom/index.ts
import VolcMiniSdk, { EVENTS } from "../volc-mini-sdk/index";
import { request } from "../../utils/request";
import { appId } from "../../env";
import { aesDecrypt, aesEncrypt } from "../../utils/crypto";
import { AES_KEY, AES_IV } from "../../env";
import { receiveRedPacket, lockPromise } from "../../utils/util";
@@ -206,6 +205,7 @@ Page({
}
}),
handleReceive: lockPromise(async function (data: any) {
const appId = wx.getStorageSync("appId");
const params = {
appId: appId,
outRewardsId: data.redPacketId,