Wubing преди 1 ден
родител
ревизия
bc8e415bcd
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      http/charge.js

+ 2 - 2
http/charge.js

@@ -841,8 +841,8 @@ proto.addUsdtAsync = P.coroutine(function* (query, method, res){var response = {
 		return this.writeOut(response, res);
 	}
 	var winloseStr = query["winlose"]
-	if (!winlose) {
-		console.warn("845:",winlose)
+	if (!winloseStr) {
+		console.warn("845:",winloseStr)
 		response.code = 401
 		response.message = "winlose invalid"
 		return this.writeOut(response, res);