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

项目溯源码

@@ -133,6 +133,9 @@ class Message extends Api @@ -133,6 +133,9 @@ class Message extends Api
133 $data['createtime'] = date('Y-m-d H:i:s',$data['createtime']); 133 $data['createtime'] = date('Y-m-d H:i:s',$data['createtime']);
134 }else{ 134 }else{
135 //不是 135 //不是
  136 + if($info['content'] == ''){
  137 + //判断是否为认证审核消息
  138 + }
136 $data = Db::name('message') 139 $data = Db::name('message')
137 ->where('id',$id) 140 ->where('id',$id)
138 ->field('id,title,content,createtime,type') 141 ->field('id,title,content,createtime,type')
@@ -859,6 +859,7 @@ class Project extends Api @@ -859,6 +859,7 @@ class Project extends Api
859 ->page($page,$pageNum) 859 ->page($page,$pageNum)
860 ->select(); 860 ->select();
861 foreach ($data as &$v){ 861 foreach ($data as &$v){
  862 + $v['image'] = 'http://q2ugvq3qf.bkt.clouddn.com'.$v['image'];
862 $v['farm_name'] = $farm['name']; 863 $v['farm_name'] = $farm['name'];
863 } 864 }
864 $this->success('success',$data); 865 $this->success('success',$data);