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

修改项目详情

... ... @@ -18,7 +18,7 @@ class Common extends Api
{
protected $noNeedLogin = ['init'];
protected $noNeedRight = '*';
/**
* 加载初始化
... ...
... ... @@ -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;
... ...