...
|
...
|
@@ -676,7 +676,8 @@ class User extends Api |
|
|
$click_num = $data['click_num'] + 1;
|
|
|
Db::name('pic')->where('id',$pic_id)->update(['click_num'=>$click_num]);
|
|
|
$data['accredit'] = $rule.$accredit['thumbnail'];
|
|
|
$a = file_get_contents($data['water_url']);
|
|
|
$qiniu_url = $rule.$data['water_url'];
|
|
|
$a = file_get_contents($qiniu_url);
|
|
|
$path = './uploads/'.explode('/',$base_url)[2].'/';
|
|
|
if(!file_exists($path)) {
|
|
|
mkdir($path,0777,true);
|
...
|
...
|
|