Unverified Commit 75e8463a authored by liuzheng712's avatar liuzheng712

Merge branch 'dev'

parents 88a86b58 34040570
...@@ -71,8 +71,8 @@ export class HttpService { ...@@ -71,8 +71,8 @@ export class HttpService {
} }
get_guacamole_token(username: string, assetID: string, systemUserID: string) { get_guacamole_token(username: string, assetID: string, systemUserID: string) {
return this.http.post('/guacamole/api/tokens?asset_id=' + assetID + '&system_user_id=' + systemUserID, { return this.http.post('/guacamole/api/tokens', {
username: username, password: 'zheng' username: username, password: 'zheng', asset_id: assetID, system_user_id: systemUserID
}, {headers: new HttpHeaders().set('Content-Type', 'application/x-www-form-urlencoded')}); }, {headers: new HttpHeaders().set('Content-Type', 'application/x-www-form-urlencoded')});
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment