diff --git a/src/app/core/service/auth/cathay-auth.service.ts b/src/app/core/service/auth/cathay-auth.service.ts index 6db09e2..7ec9fd3 100644 --- a/src/app/core/service/auth/cathay-auth.service.ts +++ b/src/app/core/service/auth/cathay-auth.service.ts @@ -12,13 +12,13 @@ export class CathayAuthService extends BaseService { public http: HttpClient ) { super('', http) - super.fullUrl = `${this.API_URL}/v1/User` + super.fullUrl = `${this.API_URL}/v3/User` } login(payload: { 'mobileDeviceId': string, 'userName': string, 'password': string }) { return this.http.post(`${this.fullUrl}/login`, payload) } - + // https://sathorn.cathay-pay.com/api/v3/User/login genToken() { return this.http.get(`${environment.APIURL}/api/common/user_login/token`)