|
@@ -58,6 +58,9 @@ $ad_type = array
|
|
|
4 => '切屏广告',
|
|
|
);
|
|
|
|
|
|
+$link_type = Dever::config('base', 'project')->type;
|
|
|
+$link_type[100] = '链接';
|
|
|
+
|
|
|
return array
|
|
|
(
|
|
|
# 表名
|
|
@@ -232,10 +235,24 @@ return array
|
|
|
'show' => 'ad_type=3',
|
|
|
),
|
|
|
|
|
|
+ 'link_type' => array
|
|
|
+ (
|
|
|
+ 'type' => 'int-11',
|
|
|
+ 'name' => '资源类型',
|
|
|
+ 'default' => '100',
|
|
|
+ 'desc' => '资源类型',
|
|
|
+ 'match' => 'is_numeric',
|
|
|
+ 'option' => $link_type,
|
|
|
+ 'update' => 'radio',
|
|
|
+ //'search' => 'select',
|
|
|
+ //'list' => true,
|
|
|
+ 'control' => 'link_type',
|
|
|
+ ),
|
|
|
+
|
|
|
'link' => array
|
|
|
(
|
|
|
'type' => 'varchar-500',
|
|
|
- 'name' => '跳转链接',
|
|
|
+ 'name' => '资源地址-如果是链接,则资源地址是链接,资源地址就是电子刊ID',
|
|
|
'default' => '',
|
|
|
'desc' => '请输入跳转链接',
|
|
|
'match' => 'option',
|