change Y20liveness cond, remove cond
This commit is contained in:
parent
c5b71bacfa
commit
73e9f924c5
1 changed files with 26 additions and 5 deletions
|
|
@ -937,15 +937,32 @@
|
||||||
DEBUGVAR EnableJsonProfileMode
|
DEBUGVAR EnableJsonProfileMode
|
||||||
DEBUGVAR IsServerProfileApplyMode
|
DEBUGVAR IsServerProfileApplyMode
|
||||||
|
|
||||||
If EnableJsonProfileMode = "true" Then
|
; If EnableJsonProfileMode = "true" Then
|
||||||
|
|
||||||
ReadProfile "ROOT/xmlprofile/main.json" "XMLProfileFromJson"
|
ReadProfile "ROOT/xmlprofile/main.json" "XMLProfileFromJson"
|
||||||
DEBUGVAR XMLProfile
|
DEBUGVAR XMLProfile
|
||||||
DEBUGVAR XMLProfileFromJson
|
DEBUGVAR XMLProfileFromJson
|
||||||
|
|
||||||
; Force mode, use "SERVER_OVERWRITE" as param
|
; Force mode, use "SERVER_OVERWRITE" as param
|
||||||
|
; Otherwise, this will use local as main diff
|
||||||
|
;
|
||||||
|
; Example 1
|
||||||
|
; Local diff with XMLProfile (External)
|
||||||
|
; External: 1-2-3
|
||||||
|
; Local: 1-2-3-4-5-6
|
||||||
|
; Result: 1-2-3
|
||||||
|
;
|
||||||
|
; Example 2
|
||||||
|
; External: A-B-C
|
||||||
|
; Local: 1-2-3-4-5-6
|
||||||
|
; Result: A-B-C
|
||||||
|
|
||||||
|
|
||||||
CompareJsonProfileToServerProfile "-"
|
CompareJsonProfileToServerProfile "-"
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
|
||||||
; XMLProfile must contain at least 1 profile to make this `IsServerProfileApplyMode` to not be "Ignore"
|
; XMLProfile must contain at least 1 profile to make this `IsServerProfileApplyMode` to not be "Ignore"
|
||||||
|
|
||||||
|
|
@ -1005,10 +1022,14 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If Y20IDCARDLIVE_ENABLE = "true" Then
|
If Y20IDCARDLIVE_ENABLE = "true" Then
|
||||||
Var EnableLiveness = "true"
|
; Var EnableLiveness = "true"
|
||||||
|
If EnableLiveness = "true" Then
|
||||||
Var Only20 = "true"
|
Var Only20 = "true"
|
||||||
Else
|
Else
|
||||||
Var EnableLiveness = "false"
|
Var Only20 = "false"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
; Var EnableLiveness = "false"
|
||||||
Var Only20 = "false"
|
Var Only20 = "false"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -1036,7 +1057,7 @@
|
||||||
DEBUGVAR Discount50
|
DEBUGVAR Discount50
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
EndIf
|
; EndIf
|
||||||
|
|
||||||
; If ClossMenu = "true"
|
; If ClossMenu = "true"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue