|
@@ -78,9 +78,11 @@ class UserServiceValidate extends BaseValidate
|
|
|
public function sceneDisclaimer(){
|
|
public function sceneDisclaimer(){
|
|
|
return $this->only(['disclaimer']);
|
|
return $this->only(['disclaimer']);
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ public function sceneMechanical(){
|
|
|
|
|
+ return $this->only(['type']);
|
|
|
|
|
+ }
|
|
|
public function sceneAddMechanicalCate(){
|
|
public function sceneAddMechanicalCate(){
|
|
|
- return $this->only(['name']);
|
|
|
|
|
|
|
+ return $this->only(['name','type']);
|
|
|
}
|
|
}
|
|
|
public function sceneEditCate(){
|
|
public function sceneEditCate(){
|
|
|
return $this->only(['name']);
|
|
return $this->only(['name']);
|