Commit 858b5680 by kaisa

feat:更新

parent 1e719147
Showing with 1 additions and 2 deletions
...@@ -1073,6 +1073,7 @@ ...@@ -1073,6 +1073,7 @@
} }
function bet(gid, type) { function bet(gid, type) {
betSound();
$.ajax({ $.ajax({
url: $ip + "/rocketlaunch/playGame", url: $ip + "/rocketlaunch/playGame",
type: "post", type: "post",
...@@ -1083,7 +1084,6 @@ ...@@ -1083,7 +1084,6 @@
chipItem: type, chipItem: type,
}, },
success: function (data) { success: function (data) {
betSound();
// console.log('用户登船',data) // console.log('用户登船',data)
if (data.code == -116) { if (data.code == -116) {
if (sessionStorage.lang == 2 || sessionStorage.lang == 0) if (sessionStorage.lang == 2 || sessionStorage.lang == 0)
...@@ -1105,7 +1105,6 @@ ...@@ -1105,7 +1105,6 @@
layer.msg(data.msg); layer.msg(data.msg);
} else { } else {
myDiamond(); myDiamond();
if (type == 1) var addNum = 100; if (type == 1) var addNum = 100;
else if (type == 2) var addNum = 1000; else if (type == 2) var addNum = 1000;
else if (type == 3) var addNum = 10000; else if (type == 3) var addNum = 10000;
......
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 sign in to comment