...
|
...
|
@@ -123,8 +123,11 @@ class WechatPay extends HomeBase |
|
|
$svip_passtime = time() + 365*24*60*60;
|
|
|
}
|
|
|
$userModel->updateData(['id'=>$user['id']],['svip_passtime'=>$svip_passtime]);
|
|
|
Log::write('11'.date('Y-m-d H:i:s',time()).json_encode($user,JSON_UNESCAPED_UNICODE),'notice');
|
|
|
Log::write('22'.date('Y-m-d H:i:s',time()).json_encode($store,JSON_UNESCAPED_UNICODE),'notice');
|
|
|
if(!empty($store)){
|
|
|
$storeModel->updateData(['id'=>$user['id']],['svip_passtime'=>$svip_passtime,'viptype'=>2]);
|
|
|
Log::write('33'.date('Y-m-d H:i:s',time()).json_encode($store,JSON_UNESCAPED_UNICODE),'notice');
|
|
|
}
|
|
|
}
|
|
|
$arr['status'] = "2";
|
...
|
...
|
|