CAT_status was missing database info whoops
这个提交包含在:
		
							父节点
							
								
									6430b9dc11
								
							
						
					
					
						当前提交
						ff764f2535
					
				
					共有  1 个文件被更改,包括 9 次插入 和 1 次删除
				
			
		|  | @ -322,7 +322,7 @@ class API extends CI_Controller { | ||||||
| 		$obj = json_decode(file_get_contents("php://input"), true); | 		$obj = json_decode(file_get_contents("php://input"), true); | ||||||
| 
 | 
 | ||||||
| 		// Store Result to Database		
 | 		// Store Result to Database		
 | ||||||
| 		$this->cat->cat_status($obj); | 		$this->cat->update($obj); | ||||||
| 
 | 
 | ||||||
| 		// Return Message
 | 		// Return Message
 | ||||||
| 		 | 		 | ||||||
|  | @ -339,6 +339,14 @@ class API extends CI_Controller { | ||||||
| 		 | 		 | ||||||
| 		// Decode JSON and store
 | 		// Decode JSON and store
 | ||||||
| 		$obj = json_decode(file_get_contents("php://input"), true); | 		$obj = json_decode(file_get_contents("php://input"), true); | ||||||
|  | 
 | ||||||
|  | 		// Store Result to Database		
 | ||||||
|  | 		$this->cat->cat_status($obj); | ||||||
|  | 
 | ||||||
|  | 		// Return Message
 | ||||||
| 		 | 		 | ||||||
|  | 		$arr = array('status' => 'success'); | ||||||
|  | 
 | ||||||
|  | 		echo json_encode($arr); | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
|  |  | ||||||
		正在加载…
	
		在新工单中引用