Skip to content

Instantly share code, notes, and snippets.

@OMGZui
Created December 26, 2022 04:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save OMGZui/fa79fe2c01b6aab04bc6ce5139b98e13 to your computer and use it in GitHub Desktop.
Save OMGZui/fa79fe2c01b6aab04bc6ce5139b98e13 to your computer and use it in GitHub Desktop.
public Response test(Session session){
UserInfo user = UserDao.queryByUserId(session.getUserId());
if(user==null){
reutrn new Response();
}
return do(session.getUserId());
}
public Response do(UserInfo user){
......
return new Response();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment