python参数顺序报错TypeError: unsupported operand type(s) for +: 'dict' and 'str'

解决方法:按照参数定义参数的顺序填写

例:

def login(s,param,base_url):



login(s,{"username": "admin","password": "admin123"},baser_url)
posted @ 2022-02-28 16:03  shenna  阅读(1192)  评论(0编辑  收藏  举报