Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
justmd5 authored and StyleCIBot committed May 18, 2020
1 parent bc89b75 commit 9bbefe9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Core/Traits/FilterTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ trait FilterTrait
'speed' => 'required|integer|between:-2,2',
],
'detectkeyword' => [ //关键词检索
'callback_url' => 'required|url',
'speech' => 'required_without:speech_url',
'speech_url' => 'required_without:speech',
'key_words' => 'required',
'format' => 'required|integer|in:1',
'callback_url' => 'required|url',
'speech' => 'required_without:speech_url',
'speech_url' => 'required_without:speech',
'key_words' => 'required',
'format' => 'required|integer|in:1',
],
],
'face' => [
Expand All @@ -73,7 +73,7 @@ trait FilterTrait
'detectcrossageface' => ['source_image' => 'required', 'target_image' => 'required'],
'faceshape' => ['image' => 'required', 'mode' => 'required|in:0,1'],
'faceidentify' => ['image' => 'required', 'group_id' => 'required', 'topn' => 'required|between:1,10'],
'faceverify' => ['images' => 'required', 'person_id' => 'required|string',],
'faceverify' => ['images' => 'required', 'person_id' => 'required|string'],
'newperson' => ['image' => 'required', 'group_ids' => 'required', 'person_id' => 'required', 'person_name' => 'required'],
'delperson' => ['person_id' => 'required'],
'addface' => ['images' => 'required', 'person_id' => 'required', 'tag' => 'required'],
Expand Down

0 comments on commit 9bbefe9

Please sign in to comment.