Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parseResponse 函数是否能够增加请求参数 #2

Open
q264771003 opened this issue Apr 9, 2021 · 0 comments
Open

parseResponse 函数是否能够增加请求参数 #2

q264771003 opened this issue Apr 9, 2021 · 0 comments

Comments

@q264771003
Copy link

//service.js
export async function getAuth(playload) {
return $$.post('/mrpt-mobile/m_getAuth.json', playload,{key:'123'});
}

//config.js
parseResponse: ((response,responseType) ==> {
//我想在这里拿到请求参数,即{key:'123'}
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant