fix: lock resousers

This commit is contained in:
zzc
2026-03-11 16:36:54 +08:00
parent c2b889ac8f
commit 9c4f0c5650
3 changed files with 37 additions and 18 deletions

View File

@@ -110,12 +110,15 @@ export const createTracking = async (data) => {
});
};
export const watchAdReward = async (token) => {
export const watchAdReward = async (token, scene, type, resourceId) => {
return request({
url: "/api/ad/reward",
method: "POST",
data: {
rewardToken: token,
scene,
type,
resourceId,
},
});
};