Commit 26b173b1 authored by haiyoucuv's avatar haiyoucuv

11

parent e6e73ddd
......@@ -31,8 +31,6 @@ class GameStore {
const data = JSON.parse(AESDecrypt(d, "7A2F4B8D1E6C3905", "cDOiBC1n2QrkAY2P")) as any;
console.log(data);
this.gameInfo.levelIdxArr = LevelArr.map((_, index) => index);
this.gameInfo.levelIdxArr.sort(() => Math.random() - 0.5);
this.gameInfo.levelIndex = -1;
......@@ -60,7 +58,6 @@ class GameStore {
timestamp: Date.now(),
};
const param = AESEncrypt(JSON.stringify(d), "7A2F4B8D1E6C3905", "cDOiBC1n2QrkAY2P");
console.log(d);
const { success, data } = await API.middleSubmit({ param });
return success;
......@@ -78,7 +75,6 @@ class GameStore {
score,
timestamp: Date.now(),
};
console.log(d);
const param = AESEncrypt(JSON.stringify(d), "7A2F4B8D1E6C3905", "cDOiBC1n2QrkAY2P");
const { success, data } = await API.submit({ param });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment