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

修改指派人员u_id

@@ -32,7 +32,7 @@ class ReformController extends RestBaseController @@ -32,7 +32,7 @@ class ReformController extends RestBaseController
32 * @param name:video type:file require:0 default: other desc:视频凭证 32 * @param name:video type:file require:0 default: other desc:视频凭证
33 * @param name:audio type:file require:0 default: other desc:音频凭证 33 * @param name:audio type:file require:0 default: other desc:音频凭证
34 * @param name:description type:string require:1 default: other desc:故障问题描述 34 * @param name:description type:string require:1 default: other desc:故障问题描述
35 - * @param name:uid type:inter require:1 default: other desc:指派人员id 35 + * @param name:u_id type:inter require:1 default: other desc:指派人员id
36 */ 36 */
37 public function addReformPost(){ 37 public function addReformPost(){
38 if($this->request->isPost()){ 38 if($this->request->isPost()){
@@ -71,8 +71,8 @@ class ReformController extends RestBaseController @@ -71,8 +71,8 @@ class ReformController extends RestBaseController
71 $data['images'] = $common->relationUrl($data['images']); 71 $data['images'] = $common->relationUrl($data['images']);
72 72
73 //指派人员uid 73 //指派人员uid
74 - $data['h_uid'] = $data['uid'];  
75 - unset($data['uid']); 74 + $data['h_uid'] = $data['u_id'];
  75 + unset($data['u_id']);
76 76
77 $reformModel = new ReformModel(); 77 $reformModel = new ReformModel();
78 $res = $reformModel->create($data); 78 $res = $reformModel->create($data);
@@ -32,7 +32,7 @@ class RepairController extends RestBaseController @@ -32,7 +32,7 @@ class RepairController extends RestBaseController
32 * @param name:video type:file require:0 default: other desc:视频凭证 32 * @param name:video type:file require:0 default: other desc:视频凭证
33 * @param name:audio type:file require:0 default: other desc:音频凭证 33 * @param name:audio type:file require:0 default: other desc:音频凭证
34 * @param name:description type:string require:1 default: other desc:故障问题描述 34 * @param name:description type:string require:1 default: other desc:故障问题描述
35 - * @param name:uid type:inter require:1 default: other desc:指派人员id 35 + * @param name:u_id type:inter require:1 default: other desc:指派人员id
36 */ 36 */
37 public function addRepairPost(){ 37 public function addRepairPost(){
38 if($this->request->isPost()){ 38 if($this->request->isPost()){
@@ -70,8 +70,8 @@ class RepairController extends RestBaseController @@ -70,8 +70,8 @@ class RepairController extends RestBaseController
70 $data['images'] = $common->relationUrl($data['images']); 70 $data['images'] = $common->relationUrl($data['images']);
71 71
72 //指派人员uid 72 //指派人员uid
73 - $data['h_uid'] = $data['uid'];  
74 - unset($data['uid']); 73 + $data['h_uid'] = $data['u_id'];
  74 + unset($data['u_id']);
75 75
76 $repairModel = new RepairModel(); 76 $repairModel = new RepairModel();
77 $res = $repairModel->create($data); 77 $res = $repairModel->create($data);