This commit is contained in:
2025-04-08 23:07:13 +08:00
parent 7774286b9a
commit af270ee1e1
+2
View File
@@ -1,4 +1,5 @@
import base64
from functools import cache
adv = [
{
@@ -229,6 +230,7 @@ def get_adv_list():
return adv
@cache
def get_adv_info(value):
value = base64.b64decode(value).decode()
parent_id, child_id, option_id = map(int, (value[:2], value[2:4], value[4:6]))