Commit adcbbc53 authored by shajiaiming's avatar shajiaiming

fix

parent f891431f
...@@ -32,6 +32,7 @@ class ExploreApp extends BaseActiveRecord ...@@ -32,6 +32,7 @@ class ExploreApp extends BaseActiveRecord
return [ return [
[['name', 'icon', 'app_url', 'slogan', 'type', 'sort', 'status', 'platform_id', 'app_category_id'], 'required'], [['name', 'icon', 'app_url', 'slogan', 'type', 'sort', 'status', 'platform_id', 'app_category_id'], 'required'],
[['type', 'sort', 'status', 'platform_id', 'app_category_id'], 'integer'], [['type', 'sort', 'status', 'platform_id', 'app_category_id'], 'integer'],
['slogan', 'length', 'max'=> 50],
[['icon'], 'url'] [['icon'], 'url']
]; ];
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment