| 
														
															@@ -136,7 +136,7 @@ class Api extends Core 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         $data = Dever::db('card/code')->find(array('card' => $card, 'status' => 2)); 
														 | 
														
														 | 
														
															         $data = Dever::db('card/code')->find(array('card' => $card, 'status' => 2)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         if (!$data) { 
														 | 
														
														 | 
														
															         if (!$data) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            Dever::alert('品礼卡卡号错误或礼品卡已兑换'); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            Dever::alert('礼品卡卡号错误或礼品卡已兑换'); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         $update['where_id'] = $data['id']; 
														 | 
														
														 | 
														
															         $update['where_id'] = $data['id']; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         $update['dh_uid'] = $this->uid; 
														 | 
														
														 | 
														
															         $update['dh_uid'] = $this->uid; 
														 |