Ver Fonte

fix bug

Wubing há 5 dias atrás
pai
commit
25b486315b
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      http/charge.js

+ 1 - 1
http/charge.js

@@ -817,7 +817,7 @@ proto.addUsdtAsync = P.coroutine(function* (query, method, res){var response = {
 		return this.writeOut(response, res);
 	}
 	var usdt_amount = query["usdt_amount"]
-	if (!usdt_amount || usdt_amount == 0) {
+	if (!usdt_amount) {
 		response.code = 401
 		response.message = "token invalid"
 		return this.writeOut(response, res);