Commit 85d3ad9a authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/explore' into 'master'

fxi See merge request !196
parents 01c6fc5f e7aaf555
......@@ -32,7 +32,7 @@ class ExploreApp extends BaseActiveRecord
return [
[['name', 'icon', 'app_url', 'slogan', 'type', 'sort', 'status', 'platform_id', 'app_category_id'], 'required'],
[['type', 'sort', 'status', 'platform_id', 'app_category_id'], 'integer'],
['slogan', 'length', 'max'=> 50],
['slogan', 'string', 'max'=> 50],
[['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