|
@@ -14,7 +14,7 @@ class AdvValidate extends Validate
|
|
|
'adv_name|名称' => 'require|max:64',
|
|
|
'adv_title|标题' => 'require|max:64',
|
|
|
'adv_carrier载体页面' => 'max:64',
|
|
|
- 'adv_media|多媒体信息' => 'isJson',
|
|
|
+// 'adv_media|多媒体信息' => 'isJson',
|
|
|
'adv_href|跳转链接' => 'max:64',
|
|
|
'adv_config_json|配置信息' => 'isJson',
|
|
|
'content_sort|排序' => 'integer',
|
|
@@ -26,9 +26,9 @@ class AdvValidate extends Validate
|
|
|
protected $message = [];
|
|
|
|
|
|
protected $scene = [
|
|
|
- 'add' => ['join_adv_category_id', 'adv_status', 'adv_category', 'adv_name', 'adv_title', 'adv_carrier', 'adv_media',
|
|
|
+ 'add' => ['join_adv_category_id', 'adv_status', 'adv_category', 'adv_name', 'adv_title', 'adv_carrier',
|
|
|
'adv_href', 'adv_config_json', 'content_sort', 'content_groupby', 'content_remark', 'content_extend_json'],
|
|
|
- 'update' => ['adv_id', 'join_adv_category_id', 'adv_status', 'adv_category', 'adv_name', 'adv_title', 'adv_carrier', 'adv_media',
|
|
|
+ 'update' => ['adv_id', 'join_adv_category_id', 'adv_status', 'adv_category', 'adv_name', 'adv_title', 'adv_carrier',
|
|
|
'adv_href', 'adv_config_json', 'content_sort', 'content_groupby', 'content_remark', 'content_extend_json'],
|
|
|
];
|
|
|
|