diff --git a/src/auth/utils.js b/src/auth/utils.js index 5b7eb61..e5440d9 100644 --- a/src/auth/utils.js +++ b/src/auth/utils.js @@ -10,9 +10,10 @@ export const hostname = 'localhost'; const hostPort = '8090'; export const hostPath = `http://${hostname}:${hostPort}`; //export const apiPath = `http://192.168.0.112:8090/api`; -// export const apiPath = `${hostPath}/api`; -export const apiPath = `/api`; +export const apiPath = `${hostPath}/api`; +// export const apiPath = `/api`; export const paymentPath = `http://pnspsdev.gld.gov.hk/payment`; +export const iAmSmartPath = `https://`; export const isUserLoggedIn = () => { diff --git a/src/pages/Payment/PaymentSuccess.js b/src/pages/Payment/PaymentSuccess.js index c018968..a9b5b8f 100644 --- a/src/pages/Payment/PaymentSuccess.js +++ b/src/pages/Payment/PaymentSuccess.js @@ -227,7 +227,7 @@ const Index = () => { - {transactionData.paymentdetail.brandname} + {transactionData.paymentdetail.brandname??(transactionData.paymentdetail.paymentmethod==="01"?"PPS":"")}