|
|
@@ -71,6 +71,7 @@ class DeviceRepairController
|
|
|
// if (!$validate->check($data)) {
|
|
|
// return json(['code' => 0, 'msg' => $validate->getError()]);
|
|
|
// }
|
|
|
+ var_dump($data);die();
|
|
|
$rs=DeviceRepairModel::where('order_id', $data['order_id'])->where('product_id', $data['product_id'])->find();
|
|
|
if ($rs){
|
|
|
// return json(['code' => 0, 'msg' => '您已提交过报修单,请勿重复提交']);
|