添加模型token验证

This commit is contained in:
songgaoshuai 2023-06-07 13:52:43 +08:00
parent 0808d0ce49
commit 8891fb4fd9

View File

@ -251,15 +251,15 @@ FLOWABLE.APP_URL = {
/* OTHER URLS */ /* OTHER URLS */
getEditorUsersUrl: function () { getEditorUsersUrl: function () {
return FLOWABLE.CONFIG.contextModelerRestRoot + '/rest/editor-users'; return FLOWABLE.CONFIG.contextModelerRestRoot + '/rest/editor-users?Authorization=Bearer '+window.parent.this.token;
}, },
getEditorGroupsUrl: function () { getEditorGroupsUrl: function () {
return FLOWABLE.CONFIG.contextModelerRestRoot + '/rest/editor-groups'; return FLOWABLE.CONFIG.contextModelerRestRoot + '/rest/editor-groups?Authorization=Bearer '+window.parent.this.token;
}, },
getAboutInfoUrl: function () { getAboutInfoUrl: function () {
return FLOWABLE.CONFIG.contextModelerRestRoot + '/rest/about-info'; return FLOWABLE.CONFIG.contextModelerRestRoot + '/rest/about-info?Authorization=Bearer '+window.parent.this.token;
} }
}; };