|
@@ -136,7 +136,7 @@ class ActionProcess extends Base
|
|
|
public function update()
|
|
|
{
|
|
|
|
|
|
- $param = $this->request->filter('trim')->only(['token', 'id', 'process_id', 'action_type', 'operation_type', 'status_name', 'order_process', 'next_action_ids', 'remark' => '', 'status', 'is_del','is_master'=>APModel::$is_master_no], 'post');
|
|
|
+ $param = $this->request->filter('trim')->only(['token', 'id', 'process_id', 'action_type', 'operation_type', 'status_name', 'order_process', 'next_action_ids', 'remark' => '', 'status', 'is_del','is_master'], 'post');
|
|
|
|
|
|
$val = Validate::rule([
|
|
|
'token' => 'require',
|
|
@@ -149,7 +149,7 @@ class ActionProcess extends Base
|
|
|
'next_action_ids|下一节点' => 'array|requireIf:action_type,' . APModel::$action_type_start . '|requireIf:action_type,' . APModel::$action_type_process,
|
|
|
'is_del|是否删除' => 'eq:' . APModel::$is_deleted,
|
|
|
'status|状态' => 'in:' . APModel::$status_disable . ',' . APModel::$status_normal,
|
|
|
- 'is_master|是否主节点' => 'require|number|in:' . APModel::$is_master_yes . ',' . APModel::$is_master_no
|
|
|
+ 'is_master|是否主节点' => 'number|in:' . APModel::$is_master_yes . ',' . APModel::$is_master_no
|
|
|
]);
|
|
|
|
|
|
|