...
|
...
|
@@ -127,7 +127,7 @@ class WechatPay extends HomeBase |
|
|
if($user['expiration_time'] > time()){
|
|
|
$arr1['expiration_time'] = $user['expiration_time'] + (365*24*60*60);
|
|
|
}
|
|
|
Db::name('user_province')->where(['id'=>$user_province])->update($arr1);
|
|
|
Db::name('user_province')->where(['id'=>$user_province['id']])->update($arr1);
|
|
|
}else{
|
|
|
Db::name('user_province')->insert($arr1);
|
|
|
}
|
...
|
...
|
|