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

修改指派人员u_id

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