We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
//request.js __parseResponse(response, responseType, parseResponse) { //需要一个同__afterResponse一样的info参数 if (isFunction(parseResponse)) { const after = parseResponse(response, responseType); return after; }
return isFunction(response && response[responseType]) ? response[responseType]() : response;
}
__afterResponse(response, afterResponse, info) { if (isFunction(afterResponse)) { const after = afterResponse(response, info); return after; }
return response;
//service.js export async function getAuth(playload) { return $$.post('/mrpt-mobile/m_getAuth.json', playload,{key:'123'}); //我想在config.js 里面的 parseResponse里取出{key:'123'}, }
The text was updated successfully, but these errors were encountered:
-_-
Sorry, something went wrong.
-----------------_-
No branches or pull requests
//request.js
__parseResponse(response, responseType, parseResponse) { //需要一个同__afterResponse一样的info参数
if (isFunction(parseResponse)) {
const after = parseResponse(response, responseType);
return after;
}
}
__afterResponse(response, afterResponse, info) {
if (isFunction(afterResponse)) {
const after = afterResponse(response, info);
return after;
}
}
//service.js
export async function getAuth(playload) {
return $$.post('/mrpt-mobile/m_getAuth.json', playload,{key:'123'});
//我想在config.js 里面的 parseResponse里取出{key:'123'},
}
The text was updated successfully, but these errors were encountered: