作者 郭文星

'123'

@@ -9,7 +9,7 @@ use think\Exception; @@ -9,7 +9,7 @@ use think\Exception;
9 /** 9 /**
10 * 用户端接口 10 * 用户端接口
11 */ 11 */
12 -class Client extends Api 12 +class Client extends Base
13 { 13 {
14 protected $noNeedLogin = ['*']; 14 protected $noNeedLogin = ['*'];
15 protected $noNeedRight = ['*']; 15 protected $noNeedRight = ['*'];
@@ -148,10 +148,13 @@ class Client extends Api @@ -148,10 +148,13 @@ class Client extends Api
148 ->alias('a') 148 ->alias('a')
149 ->join('verification_store b','a.verification_store_id=b.id') 149 ->join('verification_store b','a.verification_store_id=b.id')
150 ->join('verification_activity c','a.verification_activity_id=c.id') 150 ->join('verification_activity c','a.verification_activity_id=c.id')
151 - ->field('a.id,a.type,a.order_no,c.title,b.address,b.lng,b.lat,a.price,a.payMode,DATE_FORMAT(FROM_UNIXTIME(a.paytime), "%Y-%m-%d %H:%i:%S") AS paytime') 151 + ->field('a.id,a.type,c.image,a.order_no,c.title,b.address,b.lng,b.lat,a.price,a.payMode,DATE_FORMAT(FROM_UNIXTIME(a.paytime), "%Y-%m-%d %H:%i:%S") AS paytime')
152 ->where($where) 152 ->where($where)
153 ->paginate($total, false, ['page' => $page]) 153 ->paginate($total, false, ['page' => $page])
154 ->toArray(); 154 ->toArray();
  155 + foreach ($row as $k=>$v){
  156 + $row[$k]['image']=$this->url_h5.$row[$k]['image'];
  157 + }
155 return $this->success("查询成功",$row); 158 return $this->success("查询成功",$row);
156 } 159 }
157 160