fix formbase

This commit is contained in:
shimingxy
2019-06-02 10:01:10 +08:00
parent e62f96fa73
commit f22f2d8d57
49 changed files with 93 additions and 4427 deletions

View File

@@ -49,9 +49,10 @@ public class AuthorizeBaseEndpoint {
return application;
}
protected Accounts getAppAccounts(Applications application){
protected Accounts getAppAccounts(Applications app){
Accounts appAccount=new Accounts();
UserInfo userInfo=WebContext.getUserInfo();
Applications application= getApplication(app.getId());
if(application.getCredential()==Applications.CREDENTIALS.USER_DEFINED){
appAccount=accountsService.load(new Accounts(userInfo.getId(),application.getId()));