redis.ts getMap方法会有类型转换的错误
Closed this issue · 3 comments
Ignorantforce commented
redis.ts
error: ⨯ Unable to compile TypeScript:
app/service/redis.ts(59,5): error TS2322: Type 'Record<string, string>' is not assignable to type 'T'.
'Record<string, string>' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint '{}'.
Ignorantforce commented
接口项目好像有问题
调用你线上的接口,admin1 123456发现无法登陆
landluck commented
账号密码被重置了,我改回来了
Ignorantforce commented
@landluck
= =b,二楼忘记说了,前端登录访问接口 user/login,会报404错误