解决方法:按照参数定义参数的顺序填写
例:
def login(s,param,base_url):login(s,{"username": "admin","password": "admin123"},baser_url)