Skip to content

SessionJapUserStoresave()方法参数问题 #5

Description

@Vector6662

SessionJapUserStore的save()方法我认为似乎有一些问题。方法体中的这行代码:

JapTokenHelper.saveUserToken(japUser.getUserId(), token);

需要japUser实例的Id作为参数,但有时japUser并没有设置Id属性,比如实现japuserservice接口中模拟的数据就没有模拟其中的Id属性。
没有设置Id更多是开发者的疏忽,但是目前的报错似乎不是很友好。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions