|
@@ -17,6 +17,12 @@ $cate = function()
|
|
|
return $array;
|
|
|
};
|
|
|
|
|
|
+$push = array
|
|
|
+(
|
|
|
+ 1 => '不推送',
|
|
|
+ 2 => '推送到精品网',
|
|
|
+);
|
|
|
+
|
|
|
return array
|
|
|
(
|
|
|
# 表名
|
|
@@ -31,6 +37,7 @@ return array
|
|
|
'update_audit' => 'audit/lib/core.audit',
|
|
|
'update_status' => 'audit/lib/core.status',
|
|
|
'update_reorder' => 'audit/lib/core.reorder',
|
|
|
+ 'update_push' => 'audit/lib/core.push',
|
|
|
),
|
|
|
# 数据结构
|
|
|
'struct' => array
|
|
@@ -125,6 +132,20 @@ return array
|
|
|
'list' => true,
|
|
|
'edit' => true,
|
|
|
),
|
|
|
+
|
|
|
+ 'push' => array
|
|
|
+ (
|
|
|
+ 'type' => 'int-11',
|
|
|
+ 'name' => '推送设置',
|
|
|
+ 'default' => '1',
|
|
|
+ 'desc' => '推送设置',
|
|
|
+ 'match' => 'is_numeric',
|
|
|
+ //'update' => 'select',
|
|
|
+ 'option' => $push,
|
|
|
+ 'search' => 'select',
|
|
|
+ 'list' => true,
|
|
|
+ 'edit' => true,
|
|
|
+ ),
|
|
|
|
|
|
'pdate' => array
|
|
|
(
|