作者 郭盛
1 个管道 的构建 通过 耗费 1 秒

文件下载调试

... ... @@ -672,6 +672,7 @@ class User extends Api
unset($data['keyword'][$k]);
}
}
$base_url = $data['water_url'];
$click_num = $data['click_num'] + 1;
Db::name('pic')->where('id',$pic_id)->update(['click_num'=>$click_num]);
$data['accredit'] = $rule.$accredit['thumbnail'];
... ... @@ -681,7 +682,7 @@ class User extends Api
if(!file_exists($path)) {
mkdir($path,0777,true);
}
file_put_contents($path,$a);
file_put_contents('.'.$base_url,$a);
$data['vip_price'] = $data['price'] * 0.75;
... ...