|
@@ -42,7 +42,7 @@ return array
|
|
|
'default' => '',
|
|
|
'desc' => '请输入项目',
|
|
|
'match' => 'is_numeric',
|
|
|
- 'list' => true,
|
|
|
+ 'list' => 'Dever::load("token/project-one#name", {project_id})',
|
|
|
),
|
|
|
|
|
|
'name' => array
|
|
@@ -147,4 +147,22 @@ return array
|
|
|
'同步订阅模板' => 'wechat_applet/subscribe.sync',
|
|
|
),
|
|
|
),
|
|
|
+
|
|
|
+ 'request' => array
|
|
|
+ (
|
|
|
+ 'getAll' => array
|
|
|
+ (
|
|
|
+ # 匹配的正则或函数 选填项
|
|
|
+ 'option' => array
|
|
|
+ (
|
|
|
+ 'project_id' => 'yes',
|
|
|
+ 'key' => array('yes', 'like'),
|
|
|
+ 'state' => 1,
|
|
|
+ ),
|
|
|
+ 'type' => 'all',
|
|
|
+ 'order' => array('cdate' => 'desc'),
|
|
|
+ 'limit' => '0,3',
|
|
|
+ 'col' => '*',
|
|
|
+ ),
|
|
|
+ )
|
|
|
);
|