'发送中', 2 => '发送成功', 3 => '发送失败', ); return array ( # 表名 'name' => 'msg_log', # 显示给用户看的名称 'lang' => '模板消息日志', 'order' => 90, # 数据结构 'struct' => array ( 'id' => array ( 'type' => 'int-11', 'name' => 'ID', 'default' => '', 'desc' => '', 'match' => 'is_numeric', 'search' => 'order', 'list' => true, ), 'project_id' => array ( 'type' => 'int-11', 'name' => '项目', 'default' => '', 'desc' => '请输入项目', 'match' => 'is_numeric', 'list' => 'Dever::load("token/project-one#name", {project_id})', ), 'msg_id' => array ( 'type' => 'int-11', 'name' => '消息id', 'default' => '', 'desc' => '消息id', 'match' => 'is_numeric', 'update' => 'text', 'list' => 'Dever::load("wechat_applet/msg-one#name", {msg_id})', ), 'touser' => array ( 'type' => 'varchar-120', 'name' => '接收者', 'default' => '', 'desc' => '接收者', 'match' => 'is_string', 'update' => 'text', 'list' => true, ), 'path' => array ( 'type' => 'varchar-200', 'name' => '跳转页面', 'default' => '', 'desc' => '跳转页面', 'match' => 'option', 'update' => 'textarea', //'list' => true, ), 'data' => array ( 'type' => 'text-255', 'name' => '模板内容', 'default' => '', 'desc' => '模板内容', 'match' => 'option', 'update' => 'textarea', //'list' => true, ), 'form_id' => array ( 'type' => 'varchar-300', 'name' => '表单或者支付id', 'default' => '', 'desc' => '表单或者支付id', 'match' => 'option', 'update' => 'textarea', //'list' => true, ), 'emphasis_keyword' => array ( 'type' => 'varchar-200', 'name' => '模板需要放大的关键词', 'default' => '', 'desc' => '模板需要放大的关键词', 'match' => 'option', 'update' => 'textarea', //'list' => true, ), 'num' => array ( 'type' => 'int-11', 'name' => '发送次数', 'default' => '0', 'desc' => '发送次数', 'match' => 'option', //'search' => 'order', 'list' => true, ), 'result' => array ( 'type' => 'text-255', 'name' => '微信返回信息', 'default' => '', 'desc' => '微信返回信息', 'match' => 'option', 'update' => 'textarea', 'list' => true, 'modal' => '查看详情', ), 'status' => array ( 'type' => 'tinyint-1', 'name' => '状态', 'default' => '1', 'desc' => '状态', 'match' => 'is_numeric', 'update' => 'select', 'option' => $status, 'list' => true, ), 'state' => array ( 'type' => 'tinyint-1', 'name' => '状态', 'default' => '1', 'desc' => '请选择状态', 'match' => 'is_numeric', ), 'cdate' => array ( 'type' => 'int-11', 'name' => '更新时间', 'match' => array('is_numeric', time()), 'desc' => '', 'default' => '', 'list' => 'date("Y-m-d H:i:s", {cdate})', ), ), //'top' => Dever::config('base', 'wechat_applet')->top, 'manage' => array ( 'delete' => false, 'insert' => false, 'edit' => false, ), );