1
This commit is contained in:
parent
76a151791b
commit
80aba3fcac
@ -162,13 +162,13 @@ def get_inc_gamelist() -> list:
|
||||
# 判断是否打折,修改cuttime数值
|
||||
mm_cutOff = m_cutOff.get('cutOff')
|
||||
mprice = m_cutOff.get('price')
|
||||
if int(price) != int(mprice):
|
||||
if round(price) != round(mprice):
|
||||
temp = {}
|
||||
temp["gameid"] = gameid
|
||||
temp["platform"] = platform
|
||||
diff_gameid.append(temp)
|
||||
logger.info(
|
||||
f"find {gameid} {platform} price was changed {price} {mprice}!"
|
||||
f"find {gameid} {platform} price was changed {round(price)} {round(mprice)}!"
|
||||
)
|
||||
if not cutOff:
|
||||
item['cuttime'] = 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user