Merge branch 'hotfix/payment_rule' of 47.111.118.107:wmtx/sdk into hotfix/payment_rule

master
tping 4 years ago
commit b77256d66c

@ -65,7 +65,7 @@ function is_idcard( $idcard ) {
$arr_ch = array('1', '0', 'X', '9', '8', '7', '6', '5', '4', '3', '2');
$sign = 0;
for ( $i = 0; $i < 17; $i++ ) {
$b = (int) $id[$i];
$b = (int) $id{$i};
$w = $arr_int[$i];
$sign += $b * $w;
}

Loading…
Cancel
Save