xxx
This commit is contained in:
@@ -400,7 +400,7 @@ def activate_device(machine_id: str, activation_code: str) -> Tuple[bool, str, O
|
||||
return True, f"激活成功,剩余{state_data['days_left']}天", state_data
|
||||
|
||||
elif result.get("code") == 400:
|
||||
error_msg = result.get("msg", "激活码无效或已被使用")
|
||||
error_msg = result.get("msg", "激活码已使用完,请勿重复使用")
|
||||
_logger.warning(f"激活失败: {error_msg}")
|
||||
return False, error_msg, None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user