|
|
@ -3512,7 +3512,7 @@ class InsurerController extends BaseController |
|
|
|
$result['success'] = false; |
|
|
|
$result['success'] = false; |
|
|
|
$result['msg'] = '保存失败'; |
|
|
|
$result['msg'] = '保存失败'; |
|
|
|
|
|
|
|
|
|
|
|
if ($request->isPost) { |
|
|
|
if ($request->isPost && $this->my->id == 1) { |
|
|
|
$id = $request->post('order_id', 0); |
|
|
|
$id = $request->post('order_id', 0); |
|
|
|
|
|
|
|
|
|
|
|
$order_info = OrderT::findOne($id); |
|
|
|
$order_info = OrderT::findOne($id); |
|
|
@ -3537,6 +3537,8 @@ class InsurerController extends BaseController |
|
|
|
$tran->rollBack(); |
|
|
|
$tran->rollBack(); |
|
|
|
$result['msg'] = $e->getMessage(); |
|
|
|
$result['msg'] = $e->getMessage(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
}else { |
|
|
|
|
|
|
|
$result['msg'] = '当前用户无此权限'; |
|
|
|
} |
|
|
|
} |
|
|
|
return $result; |
|
|
|
return $result; |
|
|
|
} |
|
|
|
} |
|
|
|