...
This commit is contained in:
parent
84ad85816a
commit
6c114b04eb
1 changed files with 96 additions and 14 deletions
|
|
@ -66,6 +66,34 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If TNumberTaobinMember = "" Then
|
||||||
|
|
||||||
|
Else
|
||||||
|
If PayWithQR = 1 Then
|
||||||
|
Var VendingTSID = VendingTSIDTmp
|
||||||
|
Else
|
||||||
|
Var VendingTSID = ""
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Var BmiYear = PointTaobinStr
|
||||||
|
Var PointCrm = ""
|
||||||
|
If FromConsent = 1 Then
|
||||||
|
Var PointCrm = "pdpa1"
|
||||||
|
EndIf
|
||||||
|
Var GetScore = VendingTSID
|
||||||
|
If TaobinErrorNetwork = 0 Then
|
||||||
|
AddData 11 TNumberTaobinMember BmiYear PointCrm GetScore
|
||||||
|
Else
|
||||||
|
Var PointCrm = ""
|
||||||
|
AddData 14 TNumberTaobinMember BmiYear PointCrm GetScore
|
||||||
|
EndIf
|
||||||
|
Var TNumberTaobinMember = ""
|
||||||
|
Var VendingTSID = ""
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -110,19 +138,19 @@
|
||||||
GetPayInfo TelephoneNumber ECommerce ServiceType ServiceParameter SessionID OperatorName CreditAmount1 ServiceAmountFlow GetScore tc
|
GetPayInfo TelephoneNumber ECommerce ServiceType ServiceParameter SessionID OperatorName CreditAmount1 ServiceAmountFlow GetScore tc
|
||||||
;Var Timeout = 0
|
;Var Timeout = 0
|
||||||
Var ActionOKCase = 2
|
Var ActionOKCase = 2
|
||||||
|
|
||||||
|
SAVELOG "back_to_main from line > 142."
|
||||||
|
Open "ROOT/taobin_project/xml/page_drinkfail2.xml"
|
||||||
|
|
||||||
Else
|
Else
|
||||||
|
|
||||||
SAVELOG "back_to_main from line > 116."
|
SAVELOG "back_to_main from line > 147."
|
||||||
Open "ROOT/taobin_project/xml/page_drinkfail2.xml"
|
Open "ROOT/taobin_project/xml/page_drinkfail2.xml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
Else
|
Else
|
||||||
|
|
||||||
If ActionOKCase = 2 Then
|
|
||||||
SAVELOG "back_to_main from line > 123."
|
|
||||||
Open "ROOT/taobin_project/xml/page_drinkfail2.xml"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -169,6 +197,9 @@
|
||||||
GetPayInfo TelephoneNumber ECommerce ServiceType ServiceParameter SessionID OperatorName CreditAmount1 ServiceAmountFlow GetScore tc
|
GetPayInfo TelephoneNumber ECommerce ServiceType ServiceParameter SessionID OperatorName CreditAmount1 ServiceAmountFlow GetScore tc
|
||||||
;Var Timeout = 0
|
;Var Timeout = 0
|
||||||
Var ActionOKCase = 2
|
Var ActionOKCase = 2
|
||||||
|
|
||||||
|
SAVELOG "back_to_main from line > 204."
|
||||||
|
Open "ROOT/taobin_project/xml/page_drinkfail2.xml"
|
||||||
|
|
||||||
Else
|
Else
|
||||||
SAVELOG "back_to_main from line > 173."
|
SAVELOG "back_to_main from line > 173."
|
||||||
|
|
@ -177,10 +208,7 @@
|
||||||
|
|
||||||
Else
|
Else
|
||||||
|
|
||||||
If ActionOKCase = 2 Then
|
|
||||||
SAVELOG "back_to_main from line > 180."
|
|
||||||
Open "ROOT/taobin_project/xml/page_drinkfail2.xml"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
</EventActionError>
|
</EventActionError>
|
||||||
|
|
@ -240,9 +268,46 @@
|
||||||
|
|
||||||
If waitAckPay = 2 Then
|
If waitAckPay = 2 Then
|
||||||
If Timeout > 60 Then
|
If Timeout > 60 Then
|
||||||
|
|
||||||
|
If CodeChannel = 1 Then
|
||||||
|
Var SessionID2 = SelectSlot + ":"
|
||||||
|
Var SessionID2 = SessionID2 + ExtendData
|
||||||
|
|
||||||
|
Var CreditAmount1 = ""
|
||||||
|
Var ServiceAmountFlow = ""
|
||||||
|
Var TelephoneNumber = "0899999999"
|
||||||
|
Var ServiceType = "coffee"
|
||||||
|
Var ECommerce = ""
|
||||||
|
Var ECommerce = ECommerce + PriceDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + DiscountDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + SessionID2
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + SelectDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + "C00"
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + CodeNumber
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + "C"
|
||||||
|
Var ServiceParameter = "max"
|
||||||
|
Var ServiceCharge = 0
|
||||||
|
Var AccountType = "new"
|
||||||
|
Var testservice = "kbank"
|
||||||
|
Var tc = ""
|
||||||
|
Var GetScore = ""
|
||||||
|
Var OperatorName = ""
|
||||||
|
Var SessionID = ""
|
||||||
|
|
||||||
|
GetPayInfo TelephoneNumber ECommerce ServiceType ServiceParameter SessionID OperatorName CreditAmount1 ServiceAmountFlow GetScore tc
|
||||||
|
;Var Timeout = 0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
SAVELOG "back_to_main from line > 241."
|
|
||||||
Open "ROOT/taobin_project/xml/page_drinkfail2.xml"
|
SAVELOG "back_to_main from line > 309."
|
||||||
|
Open "ROOT/taobin_project/xml/page_drinkfail2.xml"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -282,8 +347,16 @@
|
||||||
|
|
||||||
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceAmount2 ServiceCharge Donate
|
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceAmount2 ServiceCharge Donate
|
||||||
|
|
||||||
|
|
||||||
|
If CodeChannel = 0 Then
|
||||||
|
SAVELOG "back_to_main from line > 315."
|
||||||
|
Open "ROOT/taobin_project/xml/page_drinkfail2.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var waitAckPay = 2
|
||||||
|
Var Timeout = 5
|
||||||
Var ActionOKCase = 1
|
Var ActionOKCase = 1
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -318,8 +391,16 @@
|
||||||
Var SessionID2 = ""
|
Var SessionID2 = ""
|
||||||
|
|
||||||
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceAmount2 ServiceCharge Donate
|
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceAmount2 ServiceCharge Donate
|
||||||
|
|
||||||
|
If CodeChannel = 0 Then
|
||||||
|
SAVELOG "back_to_main from line > 357."
|
||||||
|
Open "ROOT/taobin_project/xml/page_drinkfail2.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var waitAckPay = 2
|
||||||
|
Var Timeout = 5
|
||||||
Var ActionOKCase = 1
|
Var ActionOKCase = 1
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -349,6 +430,7 @@
|
||||||
|
|
||||||
Var ActionOKCase = 1
|
Var ActionOKCase = 1
|
||||||
If CodeChannel = 0 Then
|
If CodeChannel = 0 Then
|
||||||
|
SAVELOG "back_to_main from line > 391."
|
||||||
Open "ROOT/taobin_project/xml/page_drinkfail2.xml"
|
Open "ROOT/taobin_project/xml/page_drinkfail2.xml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -365,7 +447,7 @@
|
||||||
If MachineState_Result = 1 Then
|
If MachineState_Result = 1 Then
|
||||||
If waitAckPay = 0 Then
|
If waitAckPay = 0 Then
|
||||||
|
|
||||||
Var waitAckPay = 1
|
Var waitAckPay = 0
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
|
|
||||||
Var ProcessText = ""
|
Var ProcessText = ""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue