udpate
Change-Id: Id80c1a114132359739f1b4e28d6a3f2607d0e411
This commit is contained in:
parent
1107604b50
commit
edf22f688e
|
@ -43,8 +43,8 @@ class CI_Recharge_config {
|
||||||
if($pz) {
|
if($pz) {
|
||||||
foreach ($pz as $k => $v) {
|
foreach ($pz as $k => $v) {
|
||||||
$user_type_id = explode(',', $v['user_type_id']);
|
$user_type_id = explode(',', $v['user_type_id']);
|
||||||
if ($v['user_type_id'] != '*' || (!in_array($userInfo['type_id'], $user_type_id) && !in_array('*', $user_type_id))) {
|
if ($v['user_type_id'] != '*' && !in_array($userInfo['type_id'], $user_type_id) && !in_array('*', $user_type_id)) {
|
||||||
// 如果规则不含有用户类型 && 不含有*,则跳过
|
// 如果规则不是*,不含有用户类型 && 不含有*,则跳过
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if($v['gift_type'] == 1){
|
if($v['gift_type'] == 1){
|
||||||
|
|
Loading…
Reference in New Issue