@@ -959,5 +959,19 @@ return array
'type' => 'one',
'col' => 'id',
),
+
+ 'getOne' => array
+ (
+ # 匹配的正则或函数 选填项
+ 'option' => array
+ 'role' => 'yes',
+ 'area' => 'yes',
+ 'status' => 2,
+ 'state' => 1,
+ ),
+ 'type' => 'one',
+ 'col' => '*',
);