lvhao 23 小時之前
父節點
當前提交
d25b123b01
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      core/CoreApp/controllers/Registration.php

+ 2 - 2
core/CoreApp/controllers/Registration.php

@@ -260,7 +260,7 @@ class Registration extends Start_Controller {
 				echo json_encode(array('msg'=>'编号或订单号填写错误','success'=>false));exit;
 				echo json_encode(array('msg'=>'编号或订单号填写错误','success'=>false));exit;
 			}
 			}
 			$red = $this->input->post('red',true);
 			$red = $this->input->post('red',true);
-			$post['ted'] = rtrim($red,',');
+			//$post['ted'] = rtrim($red,',');
 			unset($post['red']);
 			unset($post['red']);
 			if($this->registration->insert($post))
 			if($this->registration->insert($post))
         	{
         	{
@@ -319,7 +319,7 @@ class Registration extends Start_Controller {
 			}
 			}
 			$red = $this->input->post('red',true);
 			$red = $this->input->post('red',true);
 			$post['ted'] = rtrim($red,',');
 			$post['ted'] = rtrim($red,',');
-			unset($post['red']);
+			//unset($post['red']);
 			if($this->registration->save($post,$id))
 			if($this->registration->save($post,$id))
         	{
         	{
          		echo json_encode(array('msg'=>'修改成功','success'=>true));exit;
          		echo json_encode(array('msg'=>'修改成功','success'=>true));exit;