// messages.js module.exports = { user: { // 成功消息 created: 'user created', updated: 'user updated', deleted: 'user deleted', login: 'login successful', logout: 'logout successful', // 错误消息 not_found: 'user not found', alreadyExists: 'user already exists', accountPasswordNotMatch: 'account and password not match', accountNotMatch: 'account not match', passwordNotMatch: 'password not match', passwordIncorrect: 'password incorrect' }, server: { error: 'server error' } }