还未发布过话题
  • 麻烦问下,运行接口提示文件参数,参数错误,,我格式设置哪有问题呢

    格式设置

    得到的请求参数:
    'request': {
    'url': 'https://XXXXXXXX/lyy/rest/group/distributor/saveMaterial',
    'method': 'POST',
    'verify': False,
    'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8', 'Cookie': 'SESSION=62d8504a-fa89-49da-b506-bac396937cba; Path=/lyy/; HttpOnly'},
    'data': {'name': 'ttr', 'price': 3, 'id': '', 'materialType': '1000020', 'description': 'dddd'},
    'files': {'imageUrl': ['7.jpg', 'D:\PGRunner\PGRunner\static\images\7.jpg']}
    }