|
|
@@ -33,7 +33,6 @@ class TrainingBlockConfigValidate extends BaseValidate
|
|
|
protected $rule = [
|
|
|
'id' => 'require',
|
|
|
'identity_source' => 'require',
|
|
|
- 'block_number' => 'require',
|
|
|
'block_setting' => 'require',
|
|
|
];
|
|
|
|
|
|
@@ -45,7 +44,6 @@ class TrainingBlockConfigValidate extends BaseValidate
|
|
|
protected $field = [
|
|
|
'id' => 'id',
|
|
|
'identity_source' => '身份来源0普通工程师 1见习工程师 2团队负责人工程师',
|
|
|
- 'block_number' => '板块编号',
|
|
|
'block_setting' => '板块项内容设置json',
|
|
|
];
|
|
|
|
|
|
@@ -58,7 +56,7 @@ class TrainingBlockConfigValidate extends BaseValidate
|
|
|
*/
|
|
|
public function sceneAdd()
|
|
|
{
|
|
|
- return $this->only(['identity_source','block_number','block_setting']);
|
|
|
+ return $this->only(['identity_source','block_setting']);
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -70,7 +68,7 @@ class TrainingBlockConfigValidate extends BaseValidate
|
|
|
*/
|
|
|
public function sceneEdit()
|
|
|
{
|
|
|
- return $this->only(['id','identity_source','block_number','block_setting']);
|
|
|
+ return $this->only(['id','identity_source','block_setting']);
|
|
|
}
|
|
|
|
|
|
|