
--
-- 表的结构 `wa_address`
--

CREATE TABLE `wa_address` (
  `id` int(11) NOT NULL,
  `user_id` int(11) DEFAULT NULL COMMENT '用户id',
  `consignee` varchar(255) CHARACTER SET utf8mb4 DEFAULT '' COMMENT '收货人',
  `phone` char(50) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '手机号',
  `province` varchar(255) CHARACTER SET utf8mb4 DEFAULT '' COMMENT '省',
  `city` varchar(255) CHARACTER SET utf8mb4 DEFAULT '' COMMENT '市',
  `area` varchar(255) CHARACTER SET utf8mb4 DEFAULT '' COMMENT '区',
  `address` varchar(255) CHARACTER SET utf8mb4 DEFAULT '' COMMENT '详细地址',
  `is_default` tinyint(1) NOT NULL COMMENT '是否默认',
  `created_at` datetime DEFAULT NULL COMMENT '创建时间',
  `updated_at` datetime DEFAULT NULL COMMENT '更新时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户地址' ROW_FORMAT=DYNAMIC;

-- --------------------------------------------------------

--
-- 表的结构 `wa_admins`
--

CREATE TABLE `wa_admins` (
  `id` int(10) UNSIGNED NOT NULL COMMENT 'ID',
  `username` varchar(32) NOT NULL COMMENT '用户名',
  `nickname` varchar(40) NOT NULL COMMENT '昵称',
  `password` varchar(255) NOT NULL COMMENT '密码',
  `avatar` varchar(255) DEFAULT '/app/admin/avatar.png' COMMENT '头像',
  `email` varchar(100) DEFAULT NULL COMMENT '邮箱',
  `mobile` varchar(16) DEFAULT NULL COMMENT '手机',
  `qrcode` varchar(255) DEFAULT '' COMMENT '二维码',
  `created_at` datetime DEFAULT NULL COMMENT '创建时间',
  `updated_at` datetime DEFAULT NULL COMMENT '更新时间',
  `login_at` datetime DEFAULT NULL COMMENT '登录时间',
  `status` tinyint(4) DEFAULT NULL COMMENT '禁用'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='管理员表' ROW_FORMAT=DYNAMIC;

-- --------------------------------------------------------

--
-- 表的结构 `wa_admin_roles`
--

CREATE TABLE `wa_admin_roles` (
  `id` int(11) NOT NULL COMMENT '主键',
  `role_id` int(11) NOT NULL COMMENT '角色id',
  `admin_id` int(11) NOT NULL COMMENT '管理员id'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='管理员角色表' ROW_FORMAT=DYNAMIC;

-- --------------------------------------------------------

--
-- 表的结构 `wa_alipay`
--

CREATE TABLE `wa_alipay` (
  `id` int(11) NOT NULL,
  `user_id` int(11) DEFAULT NULL COMMENT '用户id',
  `username` varchar(255) CHARACTER SET utf8mb4 DEFAULT '' COMMENT '姓名',
  `account` varchar(255) CHARACTER SET utf8mb4 DEFAULT '' COMMENT '支付宝账户',
  `qrcode` varchar(255) CHARACTER SET utf8mb4 DEFAULT '' COMMENT '收款码',
  `phone` char(50) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '手机号',
  `created_at` datetime DEFAULT NULL COMMENT '创建时间',
  `updated_at` datetime DEFAULT NULL COMMENT '更新时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户支付宝' ROW_FORMAT=DYNAMIC;

-- --------------------------------------------------------

--
-- 表的结构 `wa_bank`
--

CREATE TABLE `wa_bank` (
  `id` int(11) NOT NULL,
  `user_id` int(11) DEFAULT NULL COMMENT '用户id',
  `username` varchar(255) CHARACTER SET utf8mb4 DEFAULT '' COMMENT '姓名',
  `bank` varchar(255) CHARACTER SET utf8mb4 DEFAULT '' COMMENT '开户行',
  `account` varchar(255) CHARACTER SET utf8mb4 DEFAULT '' COMMENT '银行卡账号',
  `phone` char(50) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '手机号',
  `created_at` datetime DEFAULT NULL COMMENT '创建时间',
  `updated_at` datetime DEFAULT NULL COMMENT '更新时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户银行卡' ROW_FORMAT=DYNAMIC;

-- --------------------------------------------------------

--
-- 表的结构 `wa_banner`
--

CREATE TABLE `wa_banner` (
  `id` int(10) UNSIGNED NOT NULL COMMENT '主键',
  `image` varchar(255) NOT NULL COMMENT '图片',
  `url` varchar(255) DEFAULT '' COMMENT '跳转地址',
  `weight` int(11) DEFAULT '0' COMMENT '排序',
  `created_at` datetime NOT NULL COMMENT '创建时间',
  `updated_at` datetime NOT NULL COMMENT '更新时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='轮播图' ROW_FORMAT=DYNAMIC;

-- --------------------------------------------------------

--
-- 表的结构 `wa_category`
--

CREATE TABLE `wa_category` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 NOT NULL COMMENT '分类名称',
  `weight` int(11) DEFAULT '0' COMMENT '排序',
  `status` tinyint(4) NOT NULL DEFAULT '1' COMMENT '状态:1=显示,0=隐藏',
  `created_at` datetime NOT NULL COMMENT '创建时间',
  `updated_at` datetime NOT NULL COMMENT '更新时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商品分类表' ROW_FORMAT=DYNAMIC;

-- --------------------------------------------------------

--
-- 表的结构 `wa_coupon_log`
--

CREATE TABLE `wa_coupon_log` (
  `id` int(10) UNSIGNED NOT NULL,
  `user_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT '会员ID',
  `type` tinyint(1) DEFAULT '1' COMMENT '类型:1=收入,2=支出,3=提现驳回',
  `money` decimal(13,3) NOT NULL DEFAULT '0.000' COMMENT '变更金额',
  `before` decimal(13,3) NOT NULL DEFAULT '0.000' COMMENT '变更前',
  `after` decimal(13,3) NOT NULL DEFAULT '0.000' COMMENT '变更后',
  `memo` varchar(255) CHARACTER SET utf8mb4 DEFAULT '' COMMENT '备注',
  `created_at` datetime NOT NULL COMMENT '创建时间',
  `updated_at` datetime NOT NULL COMMENT '更新时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='优惠劵变动表' ROW_FORMAT=DYNAMIC;

-- --------------------------------------------------------

--
-- 表的结构 `wa_goods`
--

CREATE TABLE `wa_goods` (
  `id` int(11) NOT NULL,
  `goods_category_id` int(11) DEFAULT NULL COMMENT '分类',
  `images` varchar(1500) CHARACTER SET utf8mb4 NOT NULL COMMENT '商品图',
  `title` varchar(255) CHARACTER SET utf8mb4 NOT NULL COMMENT '标题',
  `price` decimal(10,2) UNSIGNED NOT NULL DEFAULT '0.00' COMMENT '售价',
  `line_price` decimal(10,2) UNSIGNED NOT NULL DEFAULT '0.00' COMMENT '原价',
  `stock_num` int(11) NOT NULL DEFAULT '0' COMMENT '库存',
  `sales_volume` int(11) DEFAULT '0' COMMENT '显示销量',
  `content` text CHARACTER SET utf8mb4 COMMENT '商品详情',
  `notes` text CHARACTER SET utf8mb4 COMMENT '购买须知',
  `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态:0=下架,1=上架',
  `created_at` datetime NOT NULL COMMENT '创建时间',
  `updated_at` datetime NOT NULL COMMENT '更新时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商品表' ROW_FORMAT=DYNAMIC;

-- --------------------------------------------------------

--
-- 表的结构 `wa_merchandise`
--

CREATE TABLE `wa_merchandise` (
  `id` int(11) NOT NULL,
  `old_id` int(11) DEFAULT '0' COMMENT '从N订单转拍过来',
  `user_id` int(11) NOT NULL COMMENT '卖家',
  `title` varchar(255) CHARACTER SET utf8mb4 DEFAULT '' COMMENT '标题',
  `image` varchar(1500) CHARACTER SET utf8mb4 DEFAULT '' COMMENT '商品图',
  `price` decimal(10,2) UNSIGNED NOT NULL DEFAULT '0.00' COMMENT '售价',
  `is_show` tinyint(1) DEFAULT '1' COMMENT '是否显示:0=否,1=是',
  `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态:0=已售,1=未售',
  `created_at` datetime NOT NULL COMMENT '创建时间',
  `updated_at` datetime NOT NULL COMMENT '更新时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='寄售商品' ROW_FORMAT=DYNAMIC;

-- --------------------------------------------------------

--
-- 表的结构 `wa_money_log`
--

CREATE TABLE `wa_money_log` (
  `id` int(10) UNSIGNED NOT NULL,
  `user_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT '会员ID',
  `type` tinyint(1) DEFAULT '1' COMMENT '类型:1=收入,2=支出',
  `money` decimal(13,3) NOT NULL DEFAULT '0.000' COMMENT '变更余额',
  `before` decimal(13,3) NOT NULL DEFAULT '0.000' COMMENT '变更前余额',
  `after` decimal(13,3) NOT NULL DEFAULT '0.000' COMMENT '变更后余额',
  `memo` varchar(255) CHARACTER SET utf8mb4 DEFAULT '' COMMENT '备注',
  `created_at` datetime NOT NULL COMMENT '创建时间',
  `updated_at` datetime NOT NULL COMMENT '更新时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='余额变动表' ROW_FORMAT=DYNAMIC;

-- --------------------------------------------------------

--
-- 表的结构 `wa_options`
--

CREATE TABLE `wa_options` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL COMMENT '键',
  `value` longtext NOT NULL COMMENT '值',
  `created_at` datetime NOT NULL DEFAULT '2022-08-15 00:00:00' COMMENT '创建时间',
  `updated_at` datetime NOT NULL DEFAULT '2022-08-15 00:00:00' COMMENT '更新时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='选项表' ROW_FORMAT=DYNAMIC;

-- --------------------------------------------------------

--
-- 表的结构 `wa_order`
--

CREATE TABLE `wa_order` (
  `id` int(10) UNSIGNED NOT NULL,
  `old_id` int(11) DEFAULT NULL COMMENT '从N订单转拍过来',
  `seller_id` int(11) NOT NULL COMMENT '卖家',
  `buyer_id` int(11) DEFAULT '0' COMMENT '买家',
  `order_sn` varchar(255) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '订单编号',
  `total_money` decimal(10,2) DEFAULT '0.00' COMMENT '支付金额',
  `pay_time` datetime DEFAULT NULL COMMENT '支付时间',
  `pay_img` varchar(255) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '支付凭证',
  `status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '订单状态:0=待付款,1=已支付,2=已完成',
  `is_resell` tinyint(1) DEFAULT '0' COMMENT '是否转拍:0=否,1=是',
  `is_show` tinyint(1) DEFAULT '1' COMMENT '是否显示:0=否,1=是',
  `is_cancel` tinyint(1) DEFAULT '0' COMMENT '是否取消:0=否,1=是',
  `consignee` char(50) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '收货人',
  `phone` char(50) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '手机号',
  `province` char(50) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '省',
  `city` char(50) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '市',
  `area` char(50) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '区',
  `address` varchar(255) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '详细地址',
  `merchandise_id` int(11) DEFAULT '0' COMMENT '抢购商品id',
  `confirm_time` datetime DEFAULT NULL COMMENT '完成时间',
  `buy_time` datetime DEFAULT NULL COMMENT '抢购时间',
  `created_at` datetime NOT NULL COMMENT '创建时间',
  `updated_at` datetime NOT NULL COMMENT '更新时间',
  `buy_ip` varchar(50) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '抢购ip',
  `cancel_ip` varchar(50) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '取消ip'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='订单表' ROW_FORMAT=DYNAMIC;

-- --------------------------------------------------------

--
-- 表的结构 `wa_roles`
--

CREATE TABLE `wa_roles` (
  `id` int(10) UNSIGNED NOT NULL COMMENT '主键',
  `name` varchar(80) NOT NULL COMMENT '角色组',
  `rules` text COMMENT '权限',
  `created_at` datetime NOT NULL COMMENT '创建时间',
  `updated_at` datetime NOT NULL COMMENT '更新时间',
  `pid` int(10) UNSIGNED DEFAULT NULL COMMENT '父级'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='管理员角色' ROW_FORMAT=DYNAMIC;

-- --------------------------------------------------------

--
-- 表的结构 `wa_rules`
--

CREATE TABLE `wa_rules` (
  `id` int(10) UNSIGNED NOT NULL COMMENT '主键',
  `title` varchar(255) NOT NULL COMMENT '标题',
  `icon` varchar(255) DEFAULT NULL COMMENT '图标',
  `key` varchar(255) NOT NULL COMMENT '标识',
  `pid` int(10) UNSIGNED DEFAULT '0' COMMENT '上级菜单',
  `created_at` datetime NOT NULL COMMENT '创建时间',
  `updated_at` datetime NOT NULL COMMENT '更新时间',
  `href` varchar(255) DEFAULT NULL COMMENT 'url',
  `type` int(11) NOT NULL DEFAULT '1' COMMENT '类型',
  `weight` int(11) DEFAULT '0' COMMENT '排序'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='权限规则' ROW_FORMAT=DYNAMIC;

-- --------------------------------------------------------

--
-- 表的结构 `wa_selfbonus_log`
--

CREATE TABLE `wa_selfbonus_log` (
  `id` int(10) UNSIGNED NOT NULL,
  `user_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT '会员ID',
  `type` tinyint(1) DEFAULT '1' COMMENT '类型:1=收入,2=支出',
  `money` decimal(13,3) NOT NULL DEFAULT '0.000' COMMENT '变更金额',
  `before` decimal(13,3) NOT NULL DEFAULT '0.000' COMMENT '变更前',
  `after` decimal(13,3) NOT NULL DEFAULT '0.000' COMMENT '变更后',
  `memo` varchar(255) CHARACTER SET utf8mb4 DEFAULT '' COMMENT '备注',
  `created_at` datetime NOT NULL COMMENT '创建时间',
  `updated_at` datetime NOT NULL COMMENT '更新时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='个人奖金变动表' ROW_FORMAT=DYNAMIC;

-- --------------------------------------------------------

--
-- 表的结构 `wa_setting`
--

CREATE TABLE `wa_setting` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT '变量名',
  `group` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT '分组',
  `title` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT '变量标题',
  `tip` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT '变量描述',
  `value` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci COMMENT '变量值'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='设置配置表' ROW_FORMAT=DYNAMIC;

-- --------------------------------------------------------

--
-- 表的结构 `wa_sharebonus_log`
--

CREATE TABLE `wa_sharebonus_log` (
  `id` int(10) UNSIGNED NOT NULL,
  `user_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT '会员ID',
  `type` tinyint(1) DEFAULT '1' COMMENT '类型:1=收入,2=支出,3=提现驳回',
  `money` decimal(13,3) NOT NULL DEFAULT '0.000' COMMENT '变更金额',
  `before` decimal(13,3) NOT NULL DEFAULT '0.000' COMMENT '变更前',
  `after` decimal(13,3) NOT NULL DEFAULT '0.000' COMMENT '变更后',
  `memo` varchar(255) CHARACTER SET utf8mb4 DEFAULT '' COMMENT '备注',
  `created_at` datetime NOT NULL COMMENT '创建时间',
  `updated_at` datetime NOT NULL COMMENT '更新时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='推广奖金变动表' ROW_FORMAT=DYNAMIC;

-- --------------------------------------------------------

--
-- 表的结构 `wa_sms`
--

CREATE TABLE `wa_sms` (
  `id` int(10) UNSIGNED NOT NULL COMMENT '主键',
  `mobile` varchar(16) CHARACTER SET utf8mb4 NOT NULL COMMENT '手机',
  `event` varchar(16) CHARACTER SET utf8mb4 NOT NULL COMMENT '事件名',
  `code` varchar(10) CHARACTER SET utf8mb4 NOT NULL COMMENT '验证码',
  `times` int(11) DEFAULT '0' COMMENT '验证次数',
  `ip` varchar(50) CHARACTER SET utf8mb4 NOT NULL COMMENT 'ip',
  `created_at` datetime DEFAULT NULL COMMENT '创建时间',
  `updated_at` datetime DEFAULT NULL COMMENT '更新时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='短信验证码' ROW_FORMAT=DYNAMIC;

-- --------------------------------------------------------

--
-- 表的结构 `wa_uploads`
--

CREATE TABLE `wa_uploads` (
  `id` int(11) NOT NULL COMMENT '主键',
  `name` varchar(128) NOT NULL COMMENT '名称',
  `url` varchar(255) NOT NULL COMMENT '文件',
  `admin_id` int(11) DEFAULT NULL COMMENT '管理员',
  `file_size` int(11) NOT NULL COMMENT '文件大小',
  `mime_type` varchar(255) NOT NULL COMMENT 'mime类型',
  `image_width` int(11) DEFAULT NULL COMMENT '图片宽度',
  `image_height` int(11) DEFAULT NULL COMMENT '图片高度',
  `ext` varchar(128) NOT NULL COMMENT '扩展名',
  `storage` varchar(255) NOT NULL DEFAULT 'local' COMMENT '存储位置',
  `created_at` date DEFAULT NULL COMMENT '上传时间',
  `category` varchar(128) DEFAULT NULL COMMENT '类别',
  `updated_at` date DEFAULT NULL COMMENT '更新时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='附件' ROW_FORMAT=DYNAMIC;

-- --------------------------------------------------------

--
-- 表的结构 `wa_users`
--

CREATE TABLE `wa_users` (
  `id` int(10) UNSIGNED NOT NULL COMMENT '主键',
  `pid` int(11) DEFAULT '0' COMMENT '父id',
  `username` varchar(32) NOT NULL COMMENT '用户名',
  `nickname` varchar(40) NOT NULL COMMENT '昵称',
  `mobile` varchar(16) DEFAULT NULL COMMENT '手机',
  `password` varchar(255) DEFAULT NULL COMMENT '密码',
  `salt` varchar(128) DEFAULT NULL COMMENT '密码盐',
  `sex` enum('0','1') NOT NULL DEFAULT '1' COMMENT '性别',
  `avatar` varchar(255) DEFAULT NULL COMMENT '头像',
  `invite` varchar(11) DEFAULT NULL COMMENT '邀请码',
  `level` tinyint(4) NOT NULL DEFAULT '1' COMMENT '等级',
  `birthday` date DEFAULT NULL COMMENT '生日',
  `money` decimal(13,3) NOT NULL DEFAULT '0.000' COMMENT '余额(元)',
  `coupon` decimal(13,3) NOT NULL DEFAULT '0.000' COMMENT '优惠券',
  `self_bonus` decimal(13,3) NOT NULL DEFAULT '0.000' COMMENT '我的奖金',
  `share_bonus` decimal(13,3) NOT NULL DEFAULT '0.000' COMMENT '推广奖金',
  `score` int(11) NOT NULL DEFAULT '0' COMMENT '积分',
  `last_time` datetime DEFAULT NULL COMMENT '登录时间',
  `last_ip` varchar(50) DEFAULT NULL COMMENT '登录ip',
  `join_time` datetime DEFAULT NULL COMMENT '注册时间',
  `join_ip` varchar(50) DEFAULT NULL COMMENT '注册ip',
  `token` varchar(50) DEFAULT NULL COMMENT 'token',
  `created_at` datetime DEFAULT NULL COMMENT '创建时间',
  `updated_at` datetime DEFAULT NULL COMMENT '更新时间',
  `status` tinyint(4) NOT NULL DEFAULT '1' COMMENT '禁用',
  `viptime` datetime DEFAULT NULL COMMENT 'VIP截止时间',
  `is_vip` tinyint(1) DEFAULT '0' COMMENT '是否可提前抢购',
  `contract` varchar(255) DEFAULT '' COMMENT '合同',
  `max_order` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT '最高可抢单数',
  `is_resell` tinyint(1) DEFAULT '1' COMMENT '是否可以转拍'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户表' ROW_FORMAT=DYNAMIC;

-- --------------------------------------------------------

--
-- 表的结构 `wa_withdraw`
--

CREATE TABLE `wa_withdraw` (
  `id` int(10) UNSIGNED NOT NULL COMMENT 'ID',
  `transfer_no` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '提现编号',
  `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户',
  `cate` tinyint(1) NOT NULL DEFAULT '0' COMMENT '类型:2=优惠劵,4=推广奖金',
  `account_type` tinyint(1) DEFAULT '1' COMMENT '提现账号类型:1=银行卡,2=支付宝',
  `account_id` int(11) DEFAULT '0' COMMENT '提现账号id',
  `account_info` text CHARACTER SET utf8mb4 COMMENT '提现账号信息',
  `money` decimal(13,2) NOT NULL DEFAULT '0.00' COMMENT '金额',
  `handling_fee` decimal(13,2) NOT NULL DEFAULT '0.00' COMMENT '手续费',
  `actual_amount` decimal(13,2) NOT NULL DEFAULT '0.00' COMMENT '实际到账金额',
  `status` tinyint(3) UNSIGNED NOT NULL DEFAULT '0' COMMENT '状态:0=待审核,1=通过,2=驳回',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT '备注',
  `created_at` datetime NOT NULL COMMENT '申请时间',
  `updated_at` datetime DEFAULT NULL COMMENT '更新时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='提现表' ROW_FORMAT=DYNAMIC;


