Administrator
8 小时以前 d163fc446359d66afa10e2ab63e860887aa8732c
output/output_util.py
@@ -1,8 +1,8 @@
import time
from l2 import l2_data_util
def money_desc(money):
    if abs(money) > 100000000:
    if abs(money) >= 100000000:
        return f"{round(money / 100000000, 2)}亿"
    else:
        return f"{round(money / 10000, 2)}万"
@@ -12,3 +12,5 @@
    if timestamp:
        return time.strftime("%H:%M:%S", time.localtime(int(timestamp)))
    return ""