mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
完善SDK
This commit is contained in:
@@ -83,11 +83,6 @@ module.exports = class BaseRequest {
|
||||
* @returns 返回结果
|
||||
*/
|
||||
parseResponse(responseData) {
|
||||
let data = responseData['error_response'];
|
||||
if (!data) {
|
||||
const dataNodeName = this.getMethod().replace(/\./g, '_') + '_response';
|
||||
data = responseData[dataNodeName];
|
||||
}
|
||||
return data;
|
||||
return responseData;
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user