作者 王晓刚
1 个管道 的构建 通过 耗费 1 秒

修改问题文档

... ... @@ -543,7 +543,7 @@ class Member extends Frontend
//折合svip价格
$user_province = Db::name('user_province')->where(['user_id'=>$this->auth->id,'expiration_time'=>['gt',time()]])->select();
$deduct_price = [];
$ratio_price = $price['vipprice']/30;
$ratio_price = $price['vipprice']/(365*24*60*60);
dump($ratio_price);
foreach($user_province as $key => $u_p){
$ratio_day = ($u_p['expiration_time']-time())/(24*60*60);
... ...