# coding: utf-8

import requests


def sku_relations():
    # 发送 GET 请求
    url = "https://order.3oj.com/api/platform_sku_list"
    response = requests.get(url)
    if response.status_code == 200:
        # 将 JSON 响应解析为 Python 字典
        data = response.json()
        sku_list = data.get("data")
        return sku_list
    else:
        raise Exception("获取sku关系异常")