作者 郭鑫
1 个管道 的构建 通过 耗费 0 秒

测试问题修改

@@ -135,13 +135,13 @@ class AdminResumeController extends AdminBaseController @@ -135,13 +135,13 @@ class AdminResumeController extends AdminBaseController
135 if($data['type'] == 4){ 135 if($data['type'] == 4){
136 // 判断是否重复提交 136 // 判断是否重复提交
137 $where_log['type'] = 2; 137 $where_log['type'] = 2;
138 - $where_log['compareId'] = $data['id']; 138 + $where_log['elseId'] = $data['id'];
139 $isSet = Db::name('Refund')->where($where_log)->find(); 139 $isSet = Db::name('Refund')->where($where_log)->find();
140 if($isSet){ 140 if($isSet){
141 $this->apiResponse('0','请勿重复操作!'); 141 $this->apiResponse('0','请勿重复操作!');
142 } 142 }
143 $add_log['type'] = 2; 143 $add_log['type'] = 2;
144 - $add_log['compareId'] = $data['id']; 144 + $add_log['elseId'] = $data['id'];
145 $add_log['content'] = $data['refund']; 145 $add_log['content'] = $data['refund'];
146 $add_log['create_time'] = time(); 146 $add_log['create_time'] = time();
147 $add_log['update_time'] = time(); 147 $add_log['update_time'] = time();