我是傻逼
This commit is contained in:
@@ -64,9 +64,9 @@ def apiBuyTicket(userId:int, ticketType:int, price:int, playerRating:int, playCo
|
||||
},
|
||||
"userCharge": {
|
||||
"chargeId": ticketType,
|
||||
"stock": 0,
|
||||
"stock": 1,
|
||||
"purchaseDate": nowTime.strftime("%Y-%m-%d %H:%M:%S.0"),
|
||||
"validDate": nowTime + timedelta(days=90).replace(hour=4, minute=0, second=0).strftime("%Y-%m-%d %H:%M:%S")
|
||||
"validDate": (nowTime + timedelta(days=90)).replace(hour=4, minute=0, second=0).strftime("%Y-%m-%d %H:%M:%S")
|
||||
}
|
||||
})
|
||||
# 发送请求,返回最终得到的 Json String 回执
|
||||
@@ -99,7 +99,7 @@ if __name__ == "__main__":
|
||||
logger.info("登录失败")
|
||||
exit()
|
||||
try:
|
||||
logger.info(implWipeTickets(userId, currentLoginTimestamp, loginResult))
|
||||
logger.info(implBuyTicket(userId, 2)) # 购买倍票
|
||||
#logger.info(apiQueryTicket(userId))
|
||||
finally:
|
||||
logger.info(apiLogout(currentLoginTimestamp, userId))
|
||||
|
||||
Reference in New Issue
Block a user