bug fixed
This commit is contained in:
@@ -102,7 +102,7 @@ class _OtpPageState extends State<OtpPage> {
|
||||
if (otp == otpConfirm) {
|
||||
Navigator.pushNamed(context, '/PolicyPage');
|
||||
} else {
|
||||
Utils.showAlertDialog(context, "รหัส OTP ไม่ถูกต้อง");
|
||||
Utils.showAlertDialog(context, "Invalid OTP Code Entered");
|
||||
}
|
||||
// var param = jsonEncode(<dynamic, dynamic>{"key": Api.API_KEY, "secret": Api.API_SECRET, "token": token, "pin": otp});
|
||||
// Api.postStatus(context, Api.verify, param).then((value) => {
|
||||
@@ -162,7 +162,7 @@ class _OtpPageState extends State<OtpPage> {
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Text(
|
||||
"ขอรหัส OTP ใหม่อีกครั้ง",
|
||||
"Resend OTP",
|
||||
textAlign: TextAlign.center,
|
||||
style: GoogleFonts.kanit(
|
||||
color: Colors.blue,
|
||||
|
||||
@@ -21,7 +21,7 @@ class Api {
|
||||
|
||||
static String BaseUrlBuildingReadCard = "https://ocr.71dev.com/";
|
||||
static String BaseUrlBuilding = "https://neo.cathay-pay.com/";
|
||||
static String BaseUrlCathay = "https://cathaypay.71dev.com/cathaypay-api/api/";
|
||||
static String BaseUrlCathay = "https://neotravel.cathay-pay.com/neo-api/api/";
|
||||
|
||||
static String refresh_token = "${BaseUrlBuilding}api/v1/User/refresh";
|
||||
static String login = BaseUrlBuilding + "api/v3/User/Login";
|
||||
@@ -59,7 +59,7 @@ class Api {
|
||||
static String c2bCreate = BaseUrlBuilding + "api/v2/QR/create/C2B";
|
||||
static String c2bInitial = BaseUrlBuilding + "api/v2/Payment/transaction/initialC2B";
|
||||
static String c2bConfirm = BaseUrlBuilding + "api/v2/Payment/transaction/confirmC2B";
|
||||
static String getTransaction = BaseUrlBuilding + "api/v2/Payment/getTransactionWeb";
|
||||
static String getTransaction = BaseUrlBuilding + "api/v2/Payment/getTransaction";
|
||||
|
||||
// static String BaseUrlBuildingCathay = "https://sathorn.cathay-pay.com/";
|
||||
static String payPromptPayInitial = BaseUrlBuilding + "api/v2/EPaymentBBL/TransferedPromptPayIDInitial";
|
||||
|
||||
Reference in New Issue
Block a user