...
|
...
|
@@ -109,6 +109,7 @@ class WechatPay extends HomeBase |
|
|
}else{
|
|
|
$vip_passtime = time() + 365*24*60*60;
|
|
|
}
|
|
|
cache('h',$vip_passtime);
|
|
|
$userModel->updateData(['id'=>$user['id']],['vip_passtime'=>$vip_passtime,'province_ids'=>",".$data['province_ids'].","]);
|
|
|
cache('c',"QQQQ");
|
|
|
}else if($data['vip_type'] == '2'){
|
...
|
...
|
@@ -118,6 +119,7 @@ class WechatPay extends HomeBase |
|
|
}else{
|
|
|
$svip_passtime = time() + 365*24*60*60;
|
|
|
}
|
|
|
cache('g',$svip_passtime);
|
|
|
cache('d',$userModel->updateData(['id'=>$user['id']],['svip_passtime'=>$svip_passtime]));
|
|
|
}
|
|
|
$arr['status'] = "2";
|
...
|
...
|
|