...
|
...
|
@@ -221,6 +221,10 @@ class Project extends Api |
|
|
->find();
|
|
|
$look_num = $data['look_num']+1;
|
|
|
Db::name('project')->where('id',$id)->update(['look_num'=>$look_num]);
|
|
|
$data['image'] = explode(',',$data['image']);
|
|
|
foreach ($data['image'] as &$val){
|
|
|
$val = 'http://q2ugvq3qf.bkt.clouddn.com'.$val;
|
|
|
}
|
|
|
$data['images'] = explode(',',$data['images']);
|
|
|
foreach ($data['images'] as &$v){
|
|
|
$v = 'http://q2ugvq3qf.bkt.clouddn.com'.$v;
|
...
|
...
|
|