| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211 | 
							- <?php
 
- $home_top_type = array
 
- (
 
-     1 => '显示',
 
-     2 => '不显示',
 
- );
 
- return array
 
- (
 
-     # 表名
 
-     'name' => 'manage_config',
 
-     # 显示给用户看的名称
 
-     'lang' => '门店小程序信息',
 
-     'order' => 1,
 
-     # 数据结构
 
-     'struct' => array
 
-     (
 
-         'id'        => array
 
-         (
 
-             'type'      => 'int-11',
 
-             'name'      => '平台ID',
 
-             'default'   => '',
 
-             'desc'      => '',
 
-             'match'     => 'is_numeric',
 
-         ),
 
-         'name'      => array
 
-         (
 
-             'type'      => 'varchar-32',
 
-             'name'      => '小程序名称',
 
-             'default'   => '',
 
-             'desc'      => '小程序名称',
 
-             'match'     => 'is_string',
 
-             'update'    => 'text',
 
-         ),
 
-         
 
-         'info'      => array
 
-         (
 
-             'type'      => 'varchar-1000',
 
-             'name'      => '小程序业务描述',
 
-             'default'   => '',
 
-             'desc'      => '小程序业务描述',
 
-             'match'     => 'option',
 
-             'update'    => 'textarea',
 
-         ),
 
-         'logo'      => array
 
-         (
 
-             'type'      => 'varchar-150',
 
-             'name'      => '小程序LOGO',
 
-             'default'   => '',
 
-             'desc'      => '小程序LOGO',
 
-             'match'     => 'option',
 
-             'update'    => 'image',
 
-             'key'       => '1',
 
-             'place'     => '150',
 
-         ),
 
-         'applet'       => array
 
-         (
 
-             'type'      => 'varchar-150',
 
-             'name'      => '小程序二维码',
 
-             'default'   => '',
 
-             'desc'      => '小程序二维码',
 
-             'match'     => 'option',
 
-             'update'    => 'image',
 
-             'key'       => '1',
 
-             'place'     => '150*150',
 
-         ),
 
-         'phone'      => array
 
-         (
 
-             'type'      => 'varchar-100',
 
-             'name'      => '客服电话',
 
-             'default'   => '',
 
-             'desc'      => '请输入客服电话',
 
-             'match'     => 'option',
 
-             'update'    => 'text',
 
-         ),
 
-         'dz_phone'      => array
 
-         (
 
-             'type'      => 'varchar-100',
 
-             'name'      => '对账专员电话',
 
-             'default'   => '',
 
-             'desc'      => '请输入对账专员电话',
 
-             'match'     => 'option',
 
-             'update'    => 'text',
 
-         ),
 
-         'km'      => array
 
-         (
 
-             'type'      => 'varchar-32',
 
-             'name'      => '推荐门店公里数-单位是公里,如5公里,填写5即可',
 
-             'default'   => '5',
 
-             'desc'      => '推荐门店公里数',
 
-             'match'     => 'option',
 
-             'update'    => 'text',
 
-         ),
 
-         'video'     => array
 
-         (
 
-             'type'      => 'varchar-800',
 
-             'name'      => '视频宣传片-视频格式mp4,上传大小不能超过4G',
 
-             'default'   => '',
 
-             'desc'      => '视频宣传片',
 
-             'match'     => 'option',
 
-             'update'    => 'video',
 
-             'key'       => '3',
 
-             'place'     => '150',
 
-             'upload'    => 'yun',
 
-             'large'     => true,
 
-             'cover'     => 'video_cover',//封面图字段名
 
-         ),
 
-         'video_cover'       => array
 
-         (
 
-             'type'      => 'varchar-150',
 
-             'name'      => '视频封面图-封面图自动生成,也可以更改,上传大小不能超过2M,支持JPG、PNG、GIF格式,建议上传JPG格式',
 
-             'default'   => '',
 
-             'desc'      => '封面图',
 
-             'match'     => 'option',
 
-             'update'    => 'image',
 
-             'key'       => '1',
 
-             'place'     => '750*422',
 
-         ),
 
-         'file'        => array
 
-         (
 
-             'type'      => 'varchar-150',
 
-             'name'      => '宣传文件',
 
-             'default'   => '',
 
-             'desc'      => '宣传文件',
 
-             'match'     => 'option',
 
-             'update'    => 'upload',
 
-             'key'       => '4',
 
-             'upload'    => 'yun',
 
-             'large'     => true,
 
-         ),
 
-         'rule'      => array
 
-         (
 
-             'type'      => 'text-1000',
 
-             'name'      => '门店合作规则',
 
-             'default'   => '',
 
-             'desc'      => '门店合作规则',
 
-             'match'     => 'option',
 
-             'update'    => 'editor',
 
-             'key'       => 1,
 
-         ),
 
-         'fund'      => array
 
-         (
 
-             'type'      => 'text-1000',
 
-             'name'      => '门店资金规则',
 
-             'default'   => '',
 
-             'desc'      => '门店资金规则',
 
-             'match'     => 'option',
 
-             'update'    => 'editor',
 
-             'key'       => 1,
 
-         ),
 
-         'state'     => array
 
-         (
 
-             'type'      => 'tinyint-1',
 
-             'name'      => '状态',
 
-             'default'   => '1',
 
-             'desc'      => '请选择状态',
 
-             'match'     => 'is_numeric',
 
-         ),
 
-         'cdate'     => array
 
-         (
 
-             'type'      => 'int-11',
 
-             'name'      => '录入时间',
 
-             'match'     => array('is_numeric', time()),
 
-             'desc'      => '',
 
-             # 只有insert时才生效
 
-             'insert'    => true,
 
-         ),
 
-     ),
 
-     'default' => array
 
-     (
 
-         'col' => 'name,info,cdate',
 
-         'value' => array
 
-         (
 
-             '"门店管理","门店管理",' . time(),
 
-         ),
 
-     ),
 
-     'manage' => array
 
-     (
 
-         # 后台管理不要列表页
 
-         'list' => 'update',
 
-     ),
 
-     'request' => array
 
-     (
 
-         'getFund' => array
 
-         (
 
-             # 匹配的正则或函数 选填项
 
-             'option' => array
 
-             (
 
-                 'state' => 1,
 
-             ),
 
-             'type' => 'one',
 
-             'col' => 'fund',
 
-         ),
 
-     ),
 
- );
 
 
  |