|
@@ -101,7 +101,7 @@ return array
|
|
|
(
|
|
|
'type' => 'int-11',
|
|
|
'name' => '优惠券结束时间',
|
|
|
- 'match' => 'is_numeric',
|
|
|
+ 'match' => 'option',
|
|
|
'desc' => '优惠券结束时间',
|
|
|
'update' => 'date',
|
|
|
//'list' => 'date("Y-m-d H:i:s", {sdate})',
|
|
@@ -112,13 +112,33 @@ return array
|
|
|
(
|
|
|
'type' => 'int-11',
|
|
|
'name' => '优惠券生效时间',
|
|
|
- 'match' => 'is_numeric',
|
|
|
+ 'match' => 'option',
|
|
|
'desc' => '优惠券生效时间',
|
|
|
'update' => 'date',
|
|
|
//'list' => 'date("Y-m-d H:i:s", {sdate})',
|
|
|
'callback' => 'maketime',
|
|
|
),
|
|
|
|
|
|
+ 'fixed_term' => array
|
|
|
+ (
|
|
|
+ 'type' => 'int-11',
|
|
|
+ 'name' => '固定时长',
|
|
|
+ 'default' => '',
|
|
|
+ 'desc' => '固定时长',
|
|
|
+ 'match' => 'option',
|
|
|
+ 'update' => 'text',
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'fixed_begin_term' => array
|
|
|
+ (
|
|
|
+ 'type' => 'int-11',
|
|
|
+ 'name' => '延迟开始的时间',
|
|
|
+ 'default' => '',
|
|
|
+ 'desc' => '延迟开始的时间',
|
|
|
+ 'match' => 'option',
|
|
|
+ 'update' => 'text',
|
|
|
+ ),
|
|
|
+
|
|
|
'hr2' => array
|
|
|
(
|
|
|
'name' => '基本设置',
|