fix: 微信登录补充保存username和role
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Agent
2026-04-04 07:35:21 +00:00
parent 756444ef2b
commit d12eea7693
10597 changed files with 817047 additions and 3 deletions

23
node_modules/centra/model/CentraResponse.js generated vendored Normal file
View File

@@ -0,0 +1,23 @@
module.exports = class CentraResponse {
constructor (res, resOptions) {
this.coreRes = res
this.resOptions = resOptions
this.body = Buffer.alloc(0)
this.headers = res.headers
this.statusCode = res.statusCode
}
_addChunk (chunk) {
this.body = Buffer.concat([this.body, chunk])
}
async json () {
return this.statusCode === 204 ? null : JSON.parse(this.body)
}
async text () {
return this.body.toString()
}
}