Skip to content

Commit

Permalink
增加图片说明
Browse files Browse the repository at this point in the history
  • Loading branch information
zhou-hao committed Oct 12, 2018
1 parent 21081dd commit 333befa
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ public ResponseMessage<Map<String, Object>> authorize(@RequestParam @ApiParam("
return doLogin(username, password, WebUtil.getParameters(request));
}

/**
* <img src="https://raw.githubusercontent.com/hs-web/hsweb-framework/3.0.x/hsweb-authorization/hsweb-authorization-basic/img/autz-flow.png">
*/
@SneakyThrows
protected ResponseMessage<Map<String, Object>> doLogin(String username, String password, Map<String, ?> parameter) {
Assert.hasLength(username, "用户名不能为空");
Expand Down

0 comments on commit 333befa

Please sign in to comment.