This commit is contained in:
2020-01-11 20:56:30 -05:00
parent 03c1c13cd7
commit a446291e57
6 changed files with 34 additions and 44 deletions
+12 -1
View File
@@ -1,12 +1,23 @@
import { Injectable } from '@angular/core';
import { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';
@Injectable({
providedIn: 'root'
})
export class UserService {
constructor() { }
//constructor() { }
apiKey = '99dfe35fcb7de1ee';
url;
oauth_url: string = "https://savvyoauth2.sworks.chiefsoft.net/api/v1";
constructor(private http: HttpClient) {
console.log('Hello UserService Provider');
this.url = 'https://www.chiefsoft.net/SAVVY/user';
this.url = 'https://adminsavvy.sworks.float.sg/SAVVY/user';
}
connectUser(){
alert('1202020');