三连胜提交

This commit is contained in:
COMPUTER\EDY
2026-10-16 16:24:28 +08:00
parent 400e0f81b9
commit aa1e079d22
108 changed files with 13748 additions and 1002 deletions
+2 -2
View File
@@ -1633,7 +1633,7 @@ export default class Utils {
}
//设置连胜次数
static setWinStreak(callBack) {
static setWinStreak(callBack, fields?: { winStreak?: number; threeWinStreak?: number }) {
//@ts-ignore
if ((typeof wx !== 'undefined' && wx !== null) || (typeof tt !== 'undefined' && tt !== null)) {
let uid = cc.fx.StorageMessage.getStorage("uid");
@@ -1644,7 +1644,7 @@ export default class Utils {
let setData = {
uid: cc.fx.GameConfig.GM_INFO.uid,
action: 'save',
winStreak: cc.fx.GameConfig.GM_INFO.winStreak,
...(fields || { winStreak: cc.fx.GameConfig.GM_INFO.winStreak }),
}
Utils.POST("setWinStreak", setData, res => {
if (res.code === 1) {