统一api错误提示

This commit is contained in:
whyour
2022-05-17 23:31:29 +08:00
parent 0927682abf
commit 1695b8c0fe
7 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -346,7 +346,7 @@ export default class UserService {
});
return { code: 200, data: { ...result, code } };
} else {
return { code: 400, data: '通知发送失败,请检查参数' };
return { code: 400, message: '通知发送失败,请检查参数' };
}
}
}