parent
1aa546b13e
commit
653a8f2412
1 changed files with 3 additions and 1 deletions
|
|
@ -21,6 +21,8 @@ class CreateProductRequest extends ProductRequest
|
|||
*/
|
||||
public function rules()
|
||||
{
|
||||
return [];
|
||||
return [
|
||||
'product_key' => 'required',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue