@staticmethod
def _productid_selector(details: dict) ->str:
    """从传入的商品信息中选择数量最多的那一个的ID"""
    if not details:
        return str()
    exchanged = dict(zip(details.values(), details.keys()))
    maxgood = exchanged[max(exchanged)]
    return str(maxgood.id)
