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

gengxin

@@ -2,14 +2,9 @@ @@ -2,14 +2,9 @@
2 2
3 namespace app\api\controller; 3 namespace app\api\controller;
4 4
5 -<<<<<<< HEAD  
6 -use app\admin\model\UserGift;  
7 -=======  
8 ->>>>>>> a581f565d7001443e0e948aa4657b9a91c3e12fb  
9 use app\common\controller\Api; 5 use app\common\controller\Api;
10 use app\common\model\Activity; 6 use app\common\model\Activity;
11 use app\common\model\Card; 7 use app\common\model\Card;
12 -use app\common\model\Order;  
13 use app\common\model\TradeOrder; 8 use app\common\model\TradeOrder;
14 use app\common\model\User; 9 use app\common\model\User;
15 use app\common\model\UserCard; 10 use app\common\model\UserCard;
@@ -170,8 +165,5 @@ class Active extends Api @@ -170,8 +165,5 @@ class Active extends Api
170 $response->send(); 165 $response->send();
171 } 166 }
172 167
173 -<<<<<<< HEAD  
174 168
175 -=======  
176 ->>>>>>> a581f565d7001443e0e948aa4657b9a91c3e12fb  
177 } 169 }
@@ -48,11 +48,7 @@ class UserCard extends Model @@ -48,11 +48,7 @@ class UserCard extends Model
48 $data[] = db('activity')->where('id',$v)->find(); 48 $data[] = db('activity')->where('id',$v)->find();
49 } 49 }
50 foreach ($data as $k => $v1){ 50 foreach ($data as $k => $v1){
51 -<<<<<<< HEAD  
52 $data[$k]['images'] = isset($v1['images']) && $v1['images'] ? cdnurl($v1['images'],true) : ''; 51 $data[$k]['images'] = isset($v1['images']) && $v1['images'] ? cdnurl($v1['images'],true) : '';
53 -=======  
54 - $data[$k]['images'] = cdnurl($v1['images'],true);  
55 ->>>>>>> a581f565d7001443e0e948aa4657b9a91c3e12fb  
56 } 52 }
57 return $data; 53 return $data;
58 } 54 }