|
@@ -122,6 +122,9 @@ class Audit extends BaseController
|
|
|
}
|
|
}
|
|
|
//审核驳回
|
|
//审核驳回
|
|
|
if ($post['type'] == -1) {
|
|
if ($post['type'] == -1) {
|
|
|
|
|
+ if(empty($post['mono'])){
|
|
|
|
|
+ return app('json')->fail( '请输入驳回理由');
|
|
|
|
|
+ }
|
|
|
(new InfoAudit)
|
|
(new InfoAudit)
|
|
|
->where('id', $post['id'])
|
|
->where('id', $post['id'])
|
|
|
->save([
|
|
->save([
|
|
@@ -223,6 +226,9 @@ class Audit extends BaseController
|
|
|
}
|
|
}
|
|
|
//审核驳回
|
|
//审核驳回
|
|
|
if ($post['type'] == -1) {
|
|
if ($post['type'] == -1) {
|
|
|
|
|
+ if(empty($post['mono'])){
|
|
|
|
|
+ return app('json')->fail( '请输入驳回理由');
|
|
|
|
|
+ }
|
|
|
(new TypeAudit)
|
|
(new TypeAudit)
|
|
|
->where('id', $post['id'])
|
|
->where('id', $post['id'])
|
|
|
->save([
|
|
->save([
|