12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <?php
- return array
- (
- # 表名
- 'name' => 'config',
- # 显示给用户看的名称
- 'lang' => '新增兑换码',
- 'order' => 1,
- 'menu' => false,
- 'end' => array
- (
- 'update' => 'code/lib/manage.create',
- 'insert' => 'code/lib/manage.create',
- ),
- # 数据结构
- 'struct' => array
- (
- 'id' => array
- (
- 'type' => 'int-11',
- 'name' => '系统ID',
- 'default' => '',
- 'desc' => '',
- 'match' => 'is_numeric',
- 'value' => Dever::input('where_id'),
- ),
-
- 'product_id' => array
- (
- 'type' => 'int-11',
- 'name' => '选择小刊',
- 'default' => '',
- 'desc' => '选择小刊',
- 'match' => 'option',
- 'update' => 'select',
- 'update_search' => 'journal/lib/manage.search_journal',
- ),
-
- 'num' => array
- (
- 'type' => 'varchar-32',
- 'name' => '兑换码数量',
- 'default' => '',
- 'desc' => '请输入兑换码数量',
- 'match' => 'is_string',
- 'update' => 'text',
- 'value' => '',
- ),
- 'cdate' => array
- (
- 'type' => 'int-11',
- 'name' => '录入时间',
- 'match' => array('is_numeric', time()),
- 'desc' => '',
- # 只有insert时才生效
- 'insert' => true,
- ),
- ),
- 'manage' => array
- (
- # 后台管理不要列表页
- 'list' => 'update',
- ),
- );
|