-- MySQL dump 10.13  Distrib 5.5.62, for Linux (x86_64)
--
-- Host: localhost    Database: www_219ka_com
-- ------------------------------------------------------
-- Server version	5.5.62-log

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `announce_log`
--

DROP TABLE IF EXISTS `announce_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `announce_log` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户ID',
  `article_id` int(11) NOT NULL DEFAULT '0' COMMENT '公告ID',
  `create_at` int(11) NOT NULL DEFAULT '0' COMMENT '阅读时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `announce_log`
--

LOCK TABLES `announce_log` WRITE;
/*!40000 ALTER TABLE `announce_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `announce_log` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `app_menu`
--

DROP TABLE IF EXISTS `app_menu`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `app_menu` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `function_id` int(11) NOT NULL COMMENT '唯一值',
  `menu` text NOT NULL COMMENT '菜单项',
  PRIMARY KEY (`id`),
  UNIQUE KEY `app_menu_id_uindex` (`id`),
  UNIQUE KEY `app_menu_function_id_uindex` (`function_id`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8 COMMENT='客户端菜单';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `app_menu`
--

LOCK TABLES `app_menu` WRITE;
/*!40000 ALTER TABLE `app_menu` DISABLE KEYS */;
/*!40000 ALTER TABLE `app_menu` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `app_version`
--

DROP TABLE IF EXISTS `app_version`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `app_version` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `platform` enum('android','ios') NOT NULL COMMENT '平台',
  `package` varchar(255) NOT NULL COMMENT '安装包下载地址',
  `create_at` int(10) NOT NULL COMMENT '发布时间',
  `version` varchar(255) NOT NULL COMMENT '安装包版本',
  `remark` text NOT NULL COMMENT '更新说明',
  `create_ip` varchar(255) NOT NULL COMMENT '上传 IP',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='客户端版本';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `app_version`
--

LOCK TABLES `app_version` WRITE;
/*!40000 ALTER TABLE `app_version` DISABLE KEYS */;
/*!40000 ALTER TABLE `app_version` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `article`
--

DROP TABLE IF EXISTS `article`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `article` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `cate_id` int(10) unsigned NOT NULL DEFAULT '0',
  `title` varchar(50) NOT NULL DEFAULT '',
  `title_img` varchar(255) NOT NULL DEFAULT '' COMMENT '标题图',
  `description` text NOT NULL COMMENT '文章描述',
  `content` text NOT NULL,
  `status` tinyint(4) NOT NULL DEFAULT '0',
  `views` int(10) unsigned NOT NULL DEFAULT '0',
  `create_at` int(10) unsigned NOT NULL,
  `update_at` int(10) unsigned NOT NULL DEFAULT '0',
  `is_system` tinyint(4) NOT NULL DEFAULT '0' COMMENT '1表示系统调用到的页面，禁止删除',
  `top` int(10) NOT NULL DEFAULT '0' COMMENT '置顶时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `article`
--

LOCK TABLES `article` WRITE;
/*!40000 ALTER TABLE `article` DISABLE KEYS */;
INSERT INTO `article` VALUES (2,2,'1.怎么入驻自动发卡平台,成为商户?','','','&lt;p&gt;通过平台的账户注册功能，即可免费入驻自动发卡平台。&lt;/p&gt;\r\n',1,1,1572354102,0,0,0),(3,2,'2.怎么登录自动发卡平台商户后台?','','','&lt;p&gt;点此右上角&amp;ldquo;登录&amp;rdquo;按钮进入&lt;/p&gt;\r\n',1,2,1572354126,0,0,0),(4,2,'4.发卡平台可以卖些什么？','','','&lt;p&gt;虚拟商品(例如软件注册码，论坛帐号等等)，不可以卖实物（例如衣服，水果等等）&lt;/p&gt;\r\n',1,2,1572354183,0,0,0),(5,2,'5.账户的金额满多少自动结算？','','','&lt;p&gt;商户账户金额满10.00元，当天晚上12点后，系统自动帮您提现，财务将于第二天12点前结算到您预留的账户，不满10.00元可以申请手动提现。&lt;/p&gt;\r\n',1,3,1572354219,0,0,0),(6,2,'6.财务结算商户方式有那些？','','','&lt;p&gt;支持支付宝、银行卡，后期我们还会增加微信结算。&lt;/p&gt;\r\n',1,4,1572354265,0,0,0),(7,2,'7.如果买家已经付款,但是他说没有收到卡密该怎么办？','','','&lt;p&gt;请直接联系自动发卡平台客服QQ解决。&lt;/p&gt;\r\n',1,7,1572354257,0,0,0),(8,2,'8.自动发卡平台安全吗？','','','&lt;p&gt;非常安全，自动发卡平台运用先进的安全技术保护用户在自动发卡平台账户中存储的个人信息、账户信息以及交易记录的安全。&lt;/p&gt;\r\n\r\n&lt;p&gt;自动发卡平台拥有完善的全监测系统，可以及时发现网站的非正常访问并做相应的安全响应&lt;/p&gt;\r\n',1,6,1572354249,0,0,0);
/*!40000 ALTER TABLE `article` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `article_category`
--

DROP TABLE IF EXISTS `article_category`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `article_category` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pid` int(10) unsigned NOT NULL DEFAULT '0',
  `path` varchar(1024) NOT NULL,
  `name` varchar(30) NOT NULL DEFAULT '',
  `alias` varchar(30) NOT NULL DEFAULT '',
  `remark` varchar(255) NOT NULL DEFAULT '',
  `status` tinyint(4) NOT NULL DEFAULT '0',
  `create_at` int(10) unsigned NOT NULL,
  `update_at` int(10) unsigned DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `article_category`
--

LOCK TABLES `article_category` WRITE;
/*!40000 ALTER TABLE `article_category` DISABLE KEYS */;
INSERT INTO `article_category` VALUES (1,0,'0','系统公告','notice','系统公告',1,1520268395,0),(2,0,'0','常见问题','faq','常见问题',1,1520268562,0),(3,0,'0','系统单页','single','系统单页禁止删除',1,1524220912,0),(8,0,'0','新闻动态','xwdt','新闻动态',1,1560825443,0),(9,0,'0','通知公告','tgtz','通知公告',1,1560825460,0),(10,0,'0','技术支持','jszc','技术支持',1,1560825474,0),(11,0,'0','结算公告','settlement','结算公告',1,1572355794,0);
/*!40000 ALTER TABLE `article_category` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `auto_unfreeze`
--

DROP TABLE IF EXISTS `auto_unfreeze`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `auto_unfreeze` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '用户id',
  `money` decimal(10,3) unsigned NOT NULL DEFAULT '0.000' COMMENT '冻结金额',
  `unfreeze_time` int(11) NOT NULL DEFAULT '0' COMMENT '解冻时间',
  `created_at` int(11) NOT NULL DEFAULT '0' COMMENT '更新时间',
  `trade_no` varchar(255) NOT NULL DEFAULT '0' COMMENT '冻结资金来源订单号',
  `status` tinyint(4) NOT NULL DEFAULT '1' COMMENT '冻结资金记录状态，1：可用，-1：不可用（订单申诉中等情况）',
  PRIMARY KEY (`id`),
  KEY `unfreeze_time` (`unfreeze_time`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='订单金额T+1日自动解冻表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `auto_unfreeze`
--

LOCK TABLES `auto_unfreeze` WRITE;
/*!40000 ALTER TABLE `auto_unfreeze` DISABLE KEYS */;
/*!40000 ALTER TABLE `auto_unfreeze` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `cash`
--

DROP TABLE IF EXISTS `cash`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cash` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `type` tinyint(3) unsigned NOT NULL COMMENT '收款产品类型 1支付宝 2微信',
  `collect_info` varchar(1024) NOT NULL DEFAULT '' COMMENT '提现信息',
  `money` decimal(10,2) unsigned NOT NULL COMMENT '提现金额',
  `fee` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '手续费',
  `actual_money` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '实际到账',
  `status` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '状态 0审核中 1审核通过 2审核未通过',
  `create_at` int(10) unsigned NOT NULL COMMENT '创建时间',
  `complete_at` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '完成时间',
  `collect_img` tinytext COMMENT '收款二维码',
  `auto_cash` tinyint(4) NOT NULL DEFAULT '0' COMMENT '1 表示自动提现',
  `bank_name` varchar(50) NOT NULL DEFAULT '' COMMENT '银行名称',
  `bank_branch` varchar(150) NOT NULL DEFAULT '' COMMENT '开户地址',
  `bank_card` varchar(50) NOT NULL DEFAULT '' COMMENT '银行卡号',
  `realname` varchar(50) NOT NULL DEFAULT '' COMMENT '真实姓名',
  `idcard_number` varchar(50) NOT NULL DEFAULT '' COMMENT '身份证号码',
  `orderid` varchar(50) NOT NULL DEFAULT '' COMMENT '订单号',
  `account` int(11) NOT NULL DEFAULT '0' COMMENT '代付账号',
  `daifu_status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '代付状态（0，未申请，1，已申请）',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `cash`
--

LOCK TABLES `cash` WRITE;
/*!40000 ALTER TABLE `cash` DISABLE KEYS */;
/*!40000 ALTER TABLE `cash` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `cash_channel`
--

DROP TABLE IF EXISTS `cash_channel`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cash_channel` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL COMMENT '代付渠道名',
  `code` varchar(255) NOT NULL COMMENT '代付渠道代码',
  `account_fields` text NOT NULL COMMENT '代付所需的字段',
  `type` tinyint(4) NOT NULL DEFAULT '1' COMMENT '1支付宝，2微信，3银行',
  `status` tinyint(4) NOT NULL DEFAULT '1' COMMENT '渠道状态，0关闭，1开启',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `cash_channel`
--

LOCK TABLES `cash_channel` WRITE;
/*!40000 ALTER TABLE `cash_channel` DISABLE KEYS */;
INSERT INTO `cash_channel` VALUES (1,'千游银行卡代付','qianyoupay','appKey:appKey|screctKey:screctKey',3,0),(2,'千游支付宝代付','QianyouAlipay','appKey:appKey|screctKey:screctKey',1,0),(3,'支付宝官方','Alipay','AppID:AppID|AppSecret:AppSecret|alipayrsaPublicKey:alipayrsaPublicKey',1,1),(4,'微信官方','Wxpay','appid:appid|AppSecret:AppSecret|MCHID:MCHID|KEY:KEY|',2,1);
/*!40000 ALTER TABLE `cash_channel` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `cash_channel_account`
--

DROP TABLE IF EXISTS `cash_channel_account`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cash_channel_account` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `channel_id` int(10) unsigned NOT NULL COMMENT '渠道ID',
  `name` varchar(32) NOT NULL DEFAULT '' COMMENT '账户名',
  `params` text NOT NULL COMMENT '参数',
  `status` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '状态 1启用 0禁用',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `cash_channel_account`
--

LOCK TABLES `cash_channel_account` WRITE;
/*!40000 ALTER TABLE `cash_channel_account` DISABLE KEYS */;
/*!40000 ALTER TABLE `cash_channel_account` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `channel`
--

DROP TABLE IF EXISTS `channel`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `channel` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '通道ID',
  `title` varchar(255) NOT NULL DEFAULT '' COMMENT '通道名称',
  `code` varchar(50) NOT NULL DEFAULT '' COMMENT '通道代码',
  `code_api` varchar(50) NOT NULL DEFAULT '' COMMENT '支付接口编码',
  `status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '状态 1 开启 0 关闭',
  `mch_id` varchar(50) NOT NULL DEFAULT '' COMMENT '商户号',
  `signkey` varchar(255) NOT NULL DEFAULT '' COMMENT '签名KEY',
  `appid` varchar(50) NOT NULL DEFAULT '' COMMENT 'APPID(账号)',
  `appsecret` varchar(50) NOT NULL DEFAULT '' COMMENT 'APPSECRET(密钥)',
  `gateway` varchar(255) NOT NULL DEFAULT '' COMMENT '网关地址',
  `return_url` varchar(255) NOT NULL DEFAULT '' COMMENT '页面通知（优先级）',
  `notify_url` varchar(255) NOT NULL DEFAULT '' COMMENT '服务器通知（优先级）',
  `lowrate` decimal(10,4) unsigned NOT NULL DEFAULT '0.0000' COMMENT '充值费率',
  `highrate` decimal(10,4) unsigned NOT NULL DEFAULT '0.0000' COMMENT '封顶费率',
  `costrate` decimal(10,4) unsigned NOT NULL DEFAULT '0.0000' COMMENT '成本费率',
  `rate_api` decimal(10,4) unsigned NOT NULL COMMENT '充值费率',
  `accounting_date` tinyint(3) unsigned NOT NULL DEFAULT '1' COMMENT '结算时间 1、D0 2、D1 3、T0 4、T1',
  `max_money` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '单笔限额 0为最高不限额',
  `min_money` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '单笔限额',
  `limit_time` varchar(19) NOT NULL DEFAULT '' COMMENT '限时',
  `account_fields` varchar(1024) NOT NULL DEFAULT '' COMMENT '账户字段',
  `polling` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '接口模式 0单独 1轮询',
  `account_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '账号ID',
  `weight` text COMMENT '权重',
  `updatetime` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
  `paytype` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '支付类型 1 微信扫码 2 微信公众号 3 支付宝扫码 4 支付宝手机 5 网银支付 6',
  `show_name` varchar(255) NOT NULL DEFAULT '' COMMENT '前台展示名称',
  `is_available` tinyint(4) NOT NULL DEFAULT '0' COMMENT '接口可用 0通用 1手机 2电脑',
  `default_fields` varchar(1024) NOT NULL DEFAULT '' COMMENT '字段默认值',
  `applyurl` varchar(255) NOT NULL DEFAULT '' COMMENT '申请地址',
  `is_install` tinyint(4) NOT NULL DEFAULT '0',
  `sort` int(10) NOT NULL DEFAULT '0' COMMENT '渠道排序',
  PRIMARY KEY (`id`),
  UNIQUE KEY `channel_code_uindex` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=187 DEFAULT CHARSET=utf8 COMMENT='支付供应商';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `channel`
--

LOCK TABLES `channel` WRITE;
/*!40000 ALTER TABLE `channel` DISABLE KEYS */;
INSERT INTO `channel` VALUES (5,'卡酷云科支付宝wap','KaKuAliWap','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户Id:userid|商户密钥:userkey|防封域名（可选）:refer',0,0,'[]',0,198,'卡酷云科支付宝wap',1,'','http://www.kaku.xin',0,0),(7,'卡酷云科花呗wap','KaKuHbWap','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户Id:userid|商户密钥:userkey|防封域名（可选）:refer',0,0,'[]',0,200,'卡酷云科花呗wap',1,'','http://www.kaku.xin',0,0),(8,'卡酷云科微信扫码','KaKuWxScan','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户Id:userid|商户密钥:userkey|防封域名（可选）:refer',0,0,'[]',0,201,'卡酷云科微信扫码',2,'','http://www.kaku.xin',0,0),(9,'卡酷云科微信公众号','KaKuWxGzh','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户Id:userid|商户密钥:userkey|防封域名（可选）:refer',0,0,'[]',0,202,'卡酷云科微信公众号',1,'','http://www.kaku.xin',0,0),(24,'思慧支付宝','Sihuih5','',0,'','','','','','','',0.0300,0.0300,0.0100,0.0000,1,0.00,0.00,'','商户Id:userid|商户密钥:userkey|防封域名（可选）:refer',0,0,'[]',0,34,'思慧支付宝',0,'','https://6anr.cn',0,0),(25,'思慧微信H5','Sihuiwxh5','',0,'','','','','','','',0.0300,0.0300,0.0100,0.0000,1,0.00,0.00,'','商户Id:userid|商户密钥:userkey|防封域名（可选）:refer',0,0,'[]',0,140,'思慧微信H5',0,'','https://6anr.cn',0,0),(56,'支付宝扫码','AlipayScan','alipayscan',1,'','','','','','','',0.0200,0.0400,0.0060,0.0150,1,0.00,0.00,'','alipay_public_key:alipay_public_key|merchant_private_key:merchant_private_key|app_id:app_id|防封域名（可选）:refer',0,4,'[]',0,3,'',2,'charset=UTF-8','https://open.alipay.com/platform/homeRoleSelection.htm',1,0),(59,'支付宝H5','AlipayWap','alipaywap',1,'','','','','','','',0.0200,0.0000,0.0060,0.0000,1,0.00,0.00,'','alipay_public_key:alipay_public_key|merchant_private_key:merchant_private_key|app_id:app_id|防封域名（可选）:refer',0,5,'[]',0,4,'',1,'charset=UTF-8','https://open.alipay.com/platform/homeRoleSelection.htm',1,0),(60,'点缀微信扫码','DzWxScan','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','appid:appid|appsecret:appsecret|防封域名（可选）:refer',0,0,'[]',0,1,'',0,'','',0,0),(61,'点缀支付宝扫码','DzAliScan','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','appid:appid|appsecret:appsecret|防封域名（可选）:refer',0,0,'[]',0,3,'',0,'','',0,0),(62,'点缀微信公众号','DzWxGzh','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','appid:appid|appsecret:appsecret|是否使用自有公众号（0否，1是）:usepublic|防封域名（可选）:refer',0,0,'[]',0,2,'',0,'','',0,0),(63,'15173Wap微信支付','Lh15173WapPay','',0,'','','','','','','',0.0100,0.0100,0.0100,0.0000,1,0.00,0.00,'','bargainor_id:bargainor_id|key:key|防封域名（可选）:refer',0,16,'[]',0,18,'',1,'','',0,0),(64,'拉卡微信支付','LkWxPay','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','userid:userid|userkey:userkey|防封域名（可选）:refer',0,17,'[]',0,19,'',0,'','',0,0),(65,'拉卡微信H5支付','LkWxH5Pay','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','userid:userid|userkey:userkey|防封域名（可选）:refer',0,18,'[]',0,20,'',0,'','',0,0),(66,'拉卡支付宝扫码支付','LkAlipayScanPay','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','userid:userid|userkey:userkey|防封域名（可选）:refer',0,19,'[]',0,21,'',0,'','',0,0),(67,'快接微信扫码支付','KjWxSanPay','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','merchant_no:merchant_no|appkey:appkey|api_url:api_url|防封域名（可选）:refer',0,20,'[]',0,22,'',0,'','',0,0),(68,'快接微信H5支付','KjWxH5Pay','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','merchant_no:merchant_no|appkey:appkey|api_url:api_url|防封域名（可选）:refer',0,21,'[]',0,23,'',0,'','',0,0),(69,'快接支付宝即时到账','KjAlipayScanPay','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','merchant_no:merchant_no|appkey:appkey|api_url:api_url|防封域名（可选）:refer',0,22,'[]',0,24,'',0,'','',0,0),(70,'快接微信H5支付','KjAlipayH5Pay','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','merchant_no:merchant_no|appkey:appkey|api_url:api_url|防封域名（可选）:refer',0,0,'[]',0,26,'',0,'','',0,0),(71,'微信H5支付','WxpayH5','wxpayh5',1,'','','','','','','',0.0200,0.0000,0.0060,0.0000,1,0.00,0.00,'','appid:appid|mch_id:mch_id|signkey:signkey|防封域名（可选）:refer',0,0,'[]',0,27,'',1,'','',1,0),(72,'微信扫码','WxpayScan','003',1,'','','','','','','',0.0200,0.0000,0.0060,0.0000,1,0.00,0.00,'','appid:appid|mch_id:mch_id|signkey:signkey|notify_url:notify_url|防封域名（可选）:refer',0,6,'[]',0,1,'',2,'','',1,0),(73,'12kaQQ钱包扫码','Ka12QqNative','',0,'','','','','','','',0.0300,0.0500,0.0200,0.0000,1,0.00,0.00,'','商户编号:customerid|api秘钥:apikey|防封域名（可选）:refer',0,0,NULL,0,30,'12kaQQ钱包扫码',1,'','',0,0),(74,'12kaQQ钱包wap','Ka12QqWap','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户编号:customerid|api秘钥:apikey|防封域名（可选）:refer',0,0,NULL,0,31,'12kaQQ钱包wap',2,'','',0,0),(75,'12ka网银快捷','Ka12QuickBank','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户编号:customerid|api秘钥:apikey|防封域名（可选）:refer',0,0,NULL,0,32,'12ka网银快捷',1,'','',0,0),(76,'12卡网银快捷WAP','Ka12QuickWap','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户编号:customerid|api秘钥:apikey|防封域名（可选）:refer',0,0,NULL,0,33,'12卡网银快捷WAP',1,'','',0,0),(77,'五秒-支付宝扫码','Ka12AlipayScan','',0,'','','','','','','',0.0300,0.0000,0.0100,0.0000,1,0.00,0.00,'','商户编号:customerid|api秘钥:apikey|防封域名（可选）:refer',0,0,NULL,0,34,'五秒-支付宝扫码',2,'','',0,0),(78,'五秒-支付宝wap','Ka12AlipayWap','',0,'','','','','','','',0.0300,0.0000,0.0100,0.0000,1,0.00,0.00,'','商户编号:customerid|api秘钥:apikey|防封域名（可选）:refer',0,0,NULL,0,35,'五秒-支付宝wap',1,'','',0,0),(79,'五秒-微信扫码','Ka12WxScan','',0,'','','','','','','',0.0300,0.0000,0.0100,0.0000,1,0.00,0.00,'','商户编号:customerid|api秘钥:apikey|防封域名（可选）:refer',0,0,NULL,0,36,'五秒-微信扫码',2,'','',0,0),(80,'五秒-微信wap','Ka12WxWap','',0,'','','','','','','',0.0300,0.0000,0.0100,0.0000,1,0.00,0.00,'','商户编号:customerid|api秘钥:apikey|防封域名（可选）:refer',0,0,NULL,0,37,'五秒-微信wap',1,'','',0,0),(81,'15173QQ扫码支付','Lh15173QqPay','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','bargainor_id:bargainor_id|key:key|防封域名（可选）:refer',0,0,NULL,0,39,'15173QQ扫码支付',0,'','',0,0),(82,'码支付微信扫码','CodePayWxScan','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','码支付ID:id|通信秘钥:key|防封域名（可选）:refer',0,0,'',0,38,'码支付微信扫码',2,'','',0,0),(83,'码支付qq扫码','CodePayQqScan','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','码支付ID:id|通信秘钥:key|防封域名（可选）:refer',0,0,'',0,40,'码支付qq扫码',0,'','',0,0),(84,'码支付支付宝扫码','CodePayAliScan','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','码支付ID:id|通信秘钥:key|防封域名（可选）:refer',0,0,'',0,41,'码支付支付宝扫码',0,'','',0,0),(85,'点缀QQ扫码','DzQqScan','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','appid:appid|appsecret:appsecret|防封域名（可选）:refer',0,0,'[]',0,8,'点缀支付PC',1,'','',0,0),(86,'黔贵金服支付宝扫码','QgjfAlipayScan','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户号:mch_id|密钥:key|防封域名（可选）:refer',0,0,'[]',0,51,'黔贵金服支付宝扫码',2,'','',0,0),(87,'黔贵金服微信扫码','QgjfWxScan','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户号:mch_id|密钥:key|防封域名（可选）:refer',0,0,'[]',0,52,'黔贵金服微信扫码',2,'','',0,0),(88,'黔贵金服QQ钱包扫码','QgjfQqNative','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户号:mch_id|密钥:key|防封域名（可选）:refer',0,0,'[]',0,53,'黔贵金服QQ钱包扫码',2,'','',0,0),(89,'黔贵金服公众号','QgjfWxGzh','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户号:mch_id|密钥:key|防封域名（可选）:refer',0,0,'[]',0,54,'黔贵金服公众号',1,'','',0,0),(90,'黔贵金服支付宝Wap','QgjfAlipayWap','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户号:mch_id|密钥:key|防封域名（可选）:refer',0,0,'[]',0,55,'黔贵金服支付宝WAP',1,'','',0,0),(91,'黔贵金服微信WAP','QgjfWxWap','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户号:mch_id|密钥:key|防封域名（可选）:refer',0,0,'[]',0,56,'黔贵金服微信WAP',1,'','',0,0),(92,'点缀支付宝即时到账','DzAliToPay','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','appid:appid|appsecret:appsecret|防封域名（可选）:refer',0,0,'[]',0,57,'点缀支付宝即时到账',1,'','',0,0),(93,'点缀支付京东钱包扫码','DzJdScan','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','appid:appid|appsecret:appsecret|防封域名（可选）:refer',0,0,'[]',0,58,'点缀支付京东钱包扫码',0,'','',0,0),(94,'掌灵付微信H5','ZlfWxH5','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','appid:appid|key:key|防封域名（可选）:refer',0,0,'[]',0,59,'掌灵付微信H5',1,'','',0,0),(95,'掌灵付京东H5','ZlfJdH5','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','appid:appid|key:key|防封域名（可选）:refer',0,0,'[]',0,60,'掌灵付京东H5',1,'','',0,0),(96,'掌灵付京东扫码','ZlfJdScan','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','appid:appid|key:key|防封域名（可选）:refer',0,0,'[]',0,89,'掌灵付京东扫码',2,'','',0,0),(97,'掌灵付微信扫码','ZlfWxScan','',0,'','','','','','','',0.0350,0.0000,0.0100,0.0000,1,0.00,0.00,'','appid:appid|key:key|防封域名（可选）:refer|防封域名（可选）:refer',0,0,'[]',0,47,'掌灵付微信扫码',2,'','',0,0),(98,'掌灵付QQ钱包扫码','ZlfQqScan','',0,'','','','','','','',0.0350,0.0000,0.0100,0.0000,1,0.00,0.00,'','appid:appid|key:key|防封域名（可选）:refer|防封域名（可选）:refer',0,0,'[]',0,48,'掌灵付QQ扫码',2,'','',0,0),(99,'QQ钱包扫码','QqNative','006',1,'','','','','','','',0.0300,0.0300,0.0100,0.0000,1,0.00,0.00,'','mch_id:mch_id|key:key|防封域名（可选）:refer',0,0,'[]',0,8,'官方QQ扫码',0,'','',1,0),(100,'点缀微信H5','DzWxH5','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','appid:appid|appsecret:appsecret|防封域名（可选）:refer',0,0,'[]',0,61,'点缀微信H5',1,'','',0,0),(101,'优畅上海微信H5','YcshWxH5','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户Id:mch_id|商户密钥:appsecret|防封域名（可选）:refer',0,0,'[]',0,62,'优畅微信H5',1,'','',0,0),(102,'优畅上海微信扫码','YcshWxScan','',0,'','','','','','','',0.0200,0.0000,0.0070,0.0000,1,0.00,0.00,'','商户Id:mch_id|商户密钥:appsecret|防封域名（可选）:refer',0,0,'[]',0,63,'优畅上海微信扫码',2,'','',0,0),(103,'优畅上海微信公众号','YcshWxGzh','',0,'','','','','','','',0.0200,0.0000,0.0070,0.0000,1,0.00,0.00,'','商户Id:mch_id|商户密钥:appsecret|微信公众号appid:appid|防封域名（可选）:refer',0,0,'[]',0,64,'优畅上海微信公众号',1,'','',0,0),(104,'海鸟微信公众号','HnPayWxGzh','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户Id:appid| 商户号:merchant|商户密钥:key|是否使用自有公众号（0否，1是）:publicappid|防封域名（可选）:refer',0,0,'[]',0,67,'海鸟微信公众号',0,'','',0,0),(105,'海鸟微信扫码','HnPayWxScan','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户Id:appid|商户号:merchant|商户密钥:key|防封域名（可选）:refer',0,0,'[]',0,68,'海鸟微信扫码',0,'','',0,0),(106,'海鸟微信H5','HnPayWxH5','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户Id:appid|商户号:merchant|商户密钥:key|防封域名（可选）:refer',0,0,'[]',0,69,'海鸟微信H5',0,'','',0,0),(107,'海鸟微信qq扫码','HnPayQqScan','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户Id:appid|商户号:merchant|商户密钥:key|防封域名（可选）:refer',0,0,'[]',0,70,'海鸟微信qq扫码',0,'','',0,0),(108,'海鸟支付宝扫码','HnPayAliScan','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户Id:appid|商户号:merchant|商户密钥:key|防封域名（可选）:refer',0,0,'[]',0,71,'海鸟支付宝扫码',0,'','',0,0),(109,'完美数卡微信扫码','WmskWxScan','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户Id:customerid|商户密钥:key|防封域名（可选）:refer',0,0,'[]',0,78,'完美数卡微信扫码',0,'','',0,0),(110,'完美数卡支付宝扫码','WmskAliScan','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户Id:customerid|商户密钥:key|防封域名（可选）:refer',0,0,'[]',0,79,'完美数卡支付宝扫码',0,'','',0,0),(111,'完美数卡QQ扫码','WmskQqScan','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户Id:customerid|商户密钥:key|防封域名（可选）:refer',0,0,'[]',0,80,'完美数卡QQ扫码',0,'','',0,0),(112,'完美数卡QQWap','WmskQqWap','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户Id:customerid|商户密钥:key|防封域名（可选）:refer',0,0,'[]',0,81,'完美数卡QQWap',0,'','',0,0),(113,'完美数卡微信Wap','WmskWxWap','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户Id:customerid|商户密钥:key|防封域名（可选）:refer',0,0,'[]',0,82,'完美数卡微信Wap',0,'','',0,0),(114,'完美数卡支付宝Wap','WmskAliWap','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户Id:customerid|商户密钥:key|防封域名（可选）:refer',0,0,'[]',0,83,'完美数卡支付宝Wap',0,'','',0,0),(115,'掌灵付支付宝扫码','ZlfAliScan','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','appid:appid|key:key|防封域名（可选）:refer',0,0,'[]',0,87,'掌灵付支付宝扫码',0,'','',0,0),(116,'QPay支付宝','QPayAli','',0,'','','','','','','',0.0300,0.0000,0.0040,0.0000,1,0.00,0.00,'','网关:gateway|用户id:uid|token:token|防封域名（可选）:refer',0,7,'[]',0,14,'',0,'','',0,0),(117,'QPay微信','QPayWx','',0,'','','','','','','',0.0100,0.0000,0.0010,0.0000,1,0.00,0.00,'','网关:gateway|用户id:uid|token:token|防封域名（可选）:refer',0,0,'[]',0,15,'',0,'gateway=https://pay.qpayapi.com','',0,0),(118,'15173微信扫描支付','Lh15173PcPay','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','bargainor_id:bargainor_id|key:key|防封域名（可选）:refer',0,15,'[]',0,17,'',0,'','',0,0),(119,'蜂鸟支付宝扫码支付','FnAliScan','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','appid:appid|secret:secret|merchant_no:merchant_no|防封域名（可选）:refer',0,0,'[]',0,42,'',2,'','',0,0),(120,'蜂鸟支付宝WAP支付','FnAliWap','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','appid:appid|secret:secret|merchant_no:merchant_no|防封域名（可选）:refer',0,0,'[]',0,43,'',1,'','',0,0),(121,'蜂鸟微信扫码支付','FnWxScan','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','appid:appid|secret:secret|merchant_no:merchant_no|sub_appid:sub_appid|防封域名（可选）:refer',0,0,'[]',0,44,'',2,'','',0,0),(122,'蜂鸟微信公众号支付','FnWxJspay','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','appid:appid|secret:secret|merchant_no:merchant_no|wx_appid:wx_appid|wx_secret:wx_secret|防封域名（可选）:refer',0,0,'[]',0,45,'',1,'','',0,0),(123,'蜂鸟QQ钱包扫码支付','FnQqScan','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','appid:appid|secret:secret|merchant_no:merchant_no|防封域名（可选）:refer',0,0,'[]',0,46,'',2,'','',0,0),(124,'优畅上海支付宝扫码','YcshAliScan','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户Id:mch_id|商户密钥:appsecret|防封域名（可选）:refer',0,0,'[]',0,90,'优畅上海支付宝扫码',0,'','',0,0),(125,'优畅上海支付宝Wap','YcshAliWap','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户Id:mch_id|商户密钥:appsecret|防封域名（可选）:refer',0,0,'[]',0,91,'优畅上海支付宝Wap',0,'','',0,0),(126,'汉口银行微信公众号','HkyhWxGzh','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','appid:appid|appkey:appkey|是否使用自有公众号(可选，1是，0否):usePublic|门店（可选）:store|防封域名（可选）:refer',0,0,'[]',0,98,'',1,'','',0,0),(127,'汉口银行微信扫码','HkyhWxScan','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','appid:appid|appkey:appkey|门店（可选）:store|防封域名（可选）:refer',0,0,'[]',0,99,'',0,'','',0,0),(128,'汉口银行微信wap','HkyhWxWap','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','appid:appid|appkey:appkey|门店（可选）:store|防封域名（可选）:refer',0,0,'[]',0,100,'',0,'','',0,0),(129,'汉口银行支付宝扫码','HkyhAliScan','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','appid:appid|appkey:appkey|门店（可选）:store|防封域名（可选）:refer',0,0,'[]',0,101,'',0,'','',0,0),(130,'汉口银行支付宝Wap','HkyhAliWap','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','appid:appid|appkey:appkey|门店（可选）:store|防封域名（可选）:refer',0,0,'[]',0,102,'',0,'','',0,0),(131,'优畅上海QQ扫码','YcshQqScan','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户Id:mch_id|商户密钥:appsecret|防封域名（可选）:refer',0,0,'[]',0,103,'',0,'','',0,0),(132,'优畅上海QQWap','YcshQqWap','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户Id:mch_id|商户密钥:appsecret|防封域名（可选）:refer',0,0,'[]',0,104,'',0,'','',0,0),(133,'平安付微信扫码','PafbWxScan','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','appid:appid|key:key|门店:store|防封域名（可选）:refer',0,0,'[]',0,105,'',0,'','',0,0),(134,'平安付支付宝扫码','PafbAliScan','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','appid:appid|key:key|门店:store|防封域名（可选）:refer',0,0,'[]',0,106,'',1,'','',0,0),(135,'平安付支付宝wap','PafbAliWap','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','appid:appid|key:key|门店:store|防封域名（可选）:refer',0,0,'[]',0,107,'',0,'','',0,0),(136,'平安付微信wap','PafbWxWap','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','appid:appid|key:key|门店:store|防封域名（可选）:refer',0,0,'[]',0,108,'',0,'','',0,0),(137,'网商银行微信','WsyhWxScan','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','机构AppId:Appid|机构号:IsvOrgId|浙商私钥:private_key|浙商公钥:public_key|商户号:merchantid|清算方式:settleType|服务商类型（咨询上游，不确定填03）:ProviderType|防封域名（可选）:refer',0,0,'[]',0,109,'',0,'','',0,0),(138,'网商银行支付宝','WsyhAliScan','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','机构AppId:Appid|机构号:IsvOrgId|浙商私钥:private_key|浙商公钥:public_key|商户号:merchantid|清算方式:settleType|服务商类型（咨询上游，不确定填03）:ProviderType|防封域名（可选）:refer',0,0,'[]',0,110,'',0,'','',0,0),(139,'牛支付支付宝扫码','NZFAliqrcode','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户号:memberid|appid:appid|app 密钥:key|子商户 id(没有请留空):submchid|防封域名（可选）:refer|防封域名（可选）:refer',0,0,'[]',0,88,'牛支付支付宝扫码',0,'','',0,0),(152,'吉易支付微信扫码','JyWxPay','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户号:key|key:refer|渠道号:channelcode',0,0,'[]',0,111,'',2,'','',0,0),(153,'吉易支付微信公众号','JyWxGzhPay','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户号:key|key:refer|渠道号:channelcode',0,0,'[]',0,112,'',1,'','',0,0),(154,'PayApi支付宝','PayapiAli','',0,'','','','','','','',0.0200,0.0000,0.0060,0.0000,1,0.00,0.00,'','商户号:uid|秘钥:key',0,0,'[]',0,113,'',0,'','',0,0),(155,'PayApi微信','PayapiWx','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户号:uid|秘钥:key',0,0,'[]',0,114,'',0,'','',0,0),(156,'威富通支付宝扫码','SwiftAliScan','',0,'','','','','','','',0.0200,0.0000,0.0060,0.0000,1,0.00,0.00,'','商户Id:mch_id|商户密钥:key|防封域名（可选）:refer',0,0,'[]',0,92,'威富通支付宝扫码',2,'','',0,0),(157,'威富通支付宝Wap','SwiftAliWap','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户Id:mch_id|商户密钥:key|防封域名（可选）:refer',0,0,'[]',0,93,'威富通支付宝Wap',0,'','',0,0),(158,'威富通微信扫码','SwiftWxScan','',0,'','','','','','','',0.0200,0.0000,0.0070,0.0000,1,0.00,0.00,'','商户Id:mch_id|商户密钥:key|防封域名（可选）:refer',0,0,'[]',0,94,'威富通微信扫码',2,'','',0,0),(159,'威富通京东扫码','SwiftJd','',0,'','','','','','','',0.0200,0.0000,0.0060,0.0000,1,0.00,0.00,'','商户Id:mch_id|商户密钥:key|防封域名（可选）:refer',0,0,'[]',0,95,'威富通京东扫码',2,'','',0,0),(160,'威富通微信 Wap','SwiftWxWap','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户Id:mch_id|商户密钥:key|防封域名（可选）:refer',0,0,'[]',0,96,'威富通微信Wap',0,'','',0,0),(161,'威富通微信公众号','SwiftWxGzh','',0,'','','','','','','',0.0200,0.0000,0.0070,0.0000,1,0.00,0.00,'','商户Id:mch_id|商户密钥:key|防封域名（可选）:refer',0,0,'[]',0,97,'威富通微信公众号',1,'','',0,0),(162,'易云支付宝扫码','YiyunAliScan','',0,'','','','','','','',0.0200,0.0000,0.0060,0.0000,1,0.00,0.00,'','商户Id:userid|商户密钥:userkey|防封域名（可选）:refer',0,0,'[]',0,115,'易云支付宝扫码',2,'','',0,0),(163,'易云支付宝WAP','YiyunAliWap','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户Id:userid|商户密钥:userkey|防封域名（可选）:refer',0,0,'[]',0,116,'易云支付宝WAP',0,'','',0,0),(164,'易云微信扫码','YiyunWxScan','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户Id:userid|商户密钥:userkey|防封域名（可选）:refer',0,0,'[]',0,117,'易云微信扫码',0,'','',0,0),(165,'易云微信WAP','YiyunWxWap','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户Id:userid|商户密钥:userkey|防封域名（可选）:refer',0,0,'[]',0,118,'易云微信WAP',0,'','',0,0),(166,'易云微信公众号','YiyunWxGzh','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户Id:userid|商户密钥:userkey|防封域名（可选）:refer',0,0,'[]',0,119,'易云微信公众号',0,'','',0,0),(167,'恒隆微信扫码','HenglongAliScan','',0,'','','','','','','',0.0200,0.0200,0.0070,0.0000,1,0.00,0.00,'','商户Id:memberid|商户密钥:key|防封域名（可选）:refer',0,0,'[]',0,123,'818-微信扫码',2,'','',0,0),(168,'恒隆-支付宝WAP','HenglongAliWap','',0,'','','','','','','',0.0200,0.0000,0.0100,0.0000,1,0.00,0.00,'','商户Id:memberid|商户密钥:key|防封域名（可选）:refer',0,0,'[]',0,121,'818-支付宝WAP',1,'','',0,0),(169,'恒隆-微信公众号','HenglongWxGzh','',0,'','','','','','','',0.0200,0.0000,0.0070,0.0000,1,0.00,0.00,'','商户Id:memberid|商户密钥:key|防封域名（可选）:refer',0,0,'[]',0,122,'818-微信公众号',1,'','',0,0),(170,'恒隆-支付宝扫码','HenglongWxScan','',0,'','','','','','','',0.0200,0.0000,0.0100,0.0000,1,0.00,0.00,'','商户Id:memberid|商户密钥:key|防封域名（可选）:refer',0,0,'[]',0,120,'818-支付宝扫码',2,'','',0,0),(171,'深度支付宝扫码','ShenduAliScan','',0,'','','','','','','',0.0350,0.0000,0.0030,0.0000,1,0.00,0.00,'','商户Id:mch_id|商户密钥:md5_key|防封域名（可选）:refer',0,0,'[]',0,124,'深度支付宝扫码',2,'','',0,0),(172,'深度支付宝服务窗支付','ShenduAliJspay','',0,'','','','','','','',0.0000,0.0000,0.0000,0.0000,1,0.00,0.00,'','商户Id:mch_id|商户密钥:md5_key|防封域名（可选）:refer',0,0,'[]',0,125,'深度支付宝服务窗支付',0,'','',0,0),(173,'深度微信扫码','ShenduWxScan','',0,'','','','','','','',0.0350,0.0000,0.0030,0.0000,1,0.00,0.00,'','商户Id:mch_id|商户密钥:md5_key|防封域名（可选）:refer',0,0,'[]',0,126,'深度微信扫码',2,'','',0,0),(174,'深度微信公众号','ShenduWxGzh','',0,'','','','','','','',0.0350,0.0000,0.0030,0.0000,1,0.00,0.00,'','商户Id:mch_id|商户密钥:md5_key|防封域名（可选）:refer',0,0,'[]',0,127,'深度微信公众号',1,'','',0,0),(175,'聚合支付','Juhezhifu','',0,'','','','','','','',0.0200,0.0000,0.0070,0.0000,1,0.00,0.00,'','商户Id:memberid|商户密钥:key|产品编号:bankcode|网关地址:geteway|防封域名（可选）:refer',0,0,'[]',0,128,'聚合支付',0,'','',0,0),(184,'易商支付宝扫码','EsAliScan','',0,'','','','','','','',0.0300,0.0000,0.0080,0.0000,1,0.00,0.00,'','商户Id:userid|商户密钥:userkey|防封域名（可选）:refer',0,0,NULL,0,3,'易商支付宝扫码',2,'','',0,0),(185,'易商支付宝WAP','EsAliWap','',0,'','','','','','','',0.0300,0.0300,0.0080,0.0000,1,0.00,0.00,'','商户Id:userid|商户密钥:userkey|防封域名（可选）:refer',0,0,NULL,0,4,'易商支付宝WAP',1,'','',0,0),(186,'易商微信扫码','EsWxScan','',0,'','','','','','','',0.0300,0.0000,0.0080,0.0000,1,0.00,0.00,'','商户Id:userid|商户密钥:userkey|防封域名（可选）:refer',0,0,NULL,0,1,'易商微信扫码',0,'','',0,0);
/*!40000 ALTER TABLE `channel` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `channel_account`
--

DROP TABLE IF EXISTS `channel_account`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `channel_account` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `channel_id` int(10) unsigned NOT NULL COMMENT '渠道ID',
  `name` varchar(32) NOT NULL DEFAULT '' COMMENT '账户名',
  `params` text NOT NULL COMMENT '参数',
  `max_money` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '下线额度',
  `cur_money` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '当前额度',
  `limit_time` varchar(19) NOT NULL DEFAULT '' COMMENT '限时',
  `status` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '状态 1启用 0禁用',
  `lowrate` decimal(10,4) unsigned NOT NULL DEFAULT '0.0000' COMMENT '充值费率',
  `highrate` decimal(10,4) unsigned NOT NULL DEFAULT '0.0000' COMMENT '封顶费率',
  `costrate` decimal(10,4) unsigned NOT NULL DEFAULT '0.0000' COMMENT '成本费率',
  `rate_type` tinyint(4) NOT NULL DEFAULT '0' COMMENT '费率设置 0 继承接口  1单独设置',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=82 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `channel_account`
--

LOCK TABLES `channel_account` WRITE;
/*!40000 ALTER TABLE `channel_account` DISABLE KEYS */;
/*!40000 ALTER TABLE `channel_account` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `complaint`
--

DROP TABLE IF EXISTS `complaint`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `complaint` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `trade_no` char(50) NOT NULL DEFAULT '',
  `type` varchar(20) NOT NULL DEFAULT '',
  `qq` varchar(15) NOT NULL DEFAULT '',
  `mobile` varchar(15) NOT NULL DEFAULT '',
  `desc` varchar(1000) NOT NULL DEFAULT '',
  `status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '0待处理 1已处理',
  `admin_read` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '管理员查看状态',
  `create_at` int(10) unsigned NOT NULL,
  `create_ip` varchar(15) NOT NULL DEFAULT '',
  `pwd` char(10) NOT NULL DEFAULT '123456' COMMENT '投诉单查询密码',
  `result` tinyint(4) NOT NULL DEFAULT '0' COMMENT '申诉结果',
  `expire_at` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '申诉过期时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `complaint`
--

LOCK TABLES `complaint` WRITE;
/*!40000 ALTER TABLE `complaint` DISABLE KEYS */;
/*!40000 ALTER TABLE `complaint` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `complaint_message`
--

DROP TABLE IF EXISTS `complaint_message`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `complaint_message` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `trade_no` varchar(255) NOT NULL DEFAULT '0' COMMENT '投诉所属订单',
  `from` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '发送人，0为管理员发送的消息',
  `content` varchar(1024) NOT NULL DEFAULT '' COMMENT '对话内容',
  `status` tinyint(3) NOT NULL DEFAULT '0' COMMENT '0未读  1已读',
  `create_at` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '发送时间',
  `content_type` varchar(255) NOT NULL DEFAULT '0' COMMENT '投诉内容类型：0：文本消息，1：图片消息',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='投诉会话信息';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `complaint_message`
--

LOCK TABLES `complaint_message` WRITE;
/*!40000 ALTER TABLE `complaint_message` DISABLE KEYS */;
/*!40000 ALTER TABLE `complaint_message` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `email_code`
--

DROP TABLE IF EXISTS `email_code`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `email_code` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `email` varchar(50) NOT NULL DEFAULT '' COMMENT '邮箱',
  `screen` varchar(30) NOT NULL DEFAULT '' COMMENT '场景',
  `code` char(6) NOT NULL DEFAULT '' COMMENT '验证码',
  `status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '状态：0：未使用 1：已使用',
  `create_at` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `email_code`
--

LOCK TABLES `email_code` WRITE;
/*!40000 ALTER TABLE `email_code` DISABLE KEYS */;
/*!40000 ALTER TABLE `email_code` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `goods`
--

DROP TABLE IF EXISTS `goods`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `goods` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `cate_id` int(10) unsigned NOT NULL,
  `theme` varchar(15) NOT NULL DEFAULT 'default' COMMENT '主题',
  `sort` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '排序',
  `name` varchar(500) NOT NULL DEFAULT '',
  `price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00',
  `cost_price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '成本价',
  `wholesale_discount` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '批发优惠',
  `wholesale_discount_list` text NOT NULL COMMENT '批发价',
  `limit_quantity` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '起购数量',
  `inventory_notify` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '库存预警 0表示不报警',
  `inventory_notify_type` tinyint(3) unsigned NOT NULL DEFAULT '1' COMMENT '库存预警通知方式 1站内信 2邮件',
  `coupon_type` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '优惠券 0不支持 1支持',
  `sold_notify` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '售出通知',
  `take_card_type` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '取卡密码 0关闭 1必填 2选填',
  `visit_type` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '访问密码',
  `visit_password` varchar(30) NOT NULL DEFAULT '' COMMENT '访问密码',
  `contact_limit` enum('mobile','email','qq','any','default') NOT NULL DEFAULT 'default',
  `content` varchar(200) NOT NULL DEFAULT '' COMMENT '商品说明',
  `remark` varchar(200) NOT NULL DEFAULT '',
  `status` tinyint(4) NOT NULL DEFAULT '1' COMMENT '0下架 1上架',
  `create_at` int(10) unsigned NOT NULL DEFAULT '0',
  `is_freeze` tinyint(4) DEFAULT '0',
  `sms_payer` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '短信付费方：0买家 1商户',
  `delete_at` int(11) DEFAULT NULL COMMENT '删除标记',
  `proxy_code` varchar(100) DEFAULT '',
  `is_proxy` tinyint(4) NOT NULL DEFAULT '0',
  `can_proxy` int(11) NOT NULL DEFAULT '0',
  `proxy_id` int(20) NOT NULL DEFAULT '0',
  `proxy_price` decimal(10,2) NOT NULL DEFAULT '0.00',
  `proxy_pid` int(11) NOT NULL COMMENT '上级商家id',
  `proxy_disabled` tinyint(4) NOT NULL DEFAULT '0' COMMENT '0:不禁止 1 禁止用户接入',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `goods`
--

LOCK TABLES `goods` WRITE;
/*!40000 ALTER TABLE `goods` DISABLE KEYS */;
/*!40000 ALTER TABLE `goods` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `goods_card`
--

DROP TABLE IF EXISTS `goods_card`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `goods_card` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `goods_id` int(10) unsigned NOT NULL,
  `number` varchar(500) NOT NULL DEFAULT '',
  `secret` varchar(500) NOT NULL DEFAULT '',
  `status` tinyint(3) NOT NULL DEFAULT '1' COMMENT '0不可用 1可用 2已使用',
  `create_at` int(10) unsigned NOT NULL DEFAULT '0',
  `delete_at` int(11) DEFAULT NULL COMMENT '删除标记',
  `sell_time` int(11) DEFAULT NULL COMMENT '售出时间',
  PRIMARY KEY (`id`),
  KEY `goods_card_user_id_index` (`user_id`),
  KEY `goods_card_goods_id_index` (`goods_id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `goods_card`
--

LOCK TABLES `goods_card` WRITE;
/*!40000 ALTER TABLE `goods_card` DISABLE KEYS */;
/*!40000 ALTER TABLE `goods_card` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `goods_category`
--

DROP TABLE IF EXISTS `goods_category`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `goods_category` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `name` varchar(100) NOT NULL,
  `sort` int(10) unsigned NOT NULL DEFAULT '0',
  `status` tinyint(4) NOT NULL,
  `create_at` int(10) unsigned NOT NULL,
  `theme` varchar(15) NOT NULL DEFAULT 'default' COMMENT '主题',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `goods_category`
--

LOCK TABLES `goods_category` WRITE;
/*!40000 ALTER TABLE `goods_category` DISABLE KEYS */;
INSERT INTO `goods_category` VALUES (1,10438,'69酷站VIP会员',0,1,1571973416,'default'),(2,10439,'test',0,1,1573136166,'default');
/*!40000 ALTER TABLE `goods_category` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `goods_coupon`
--

DROP TABLE IF EXISTS `goods_coupon`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `goods_coupon` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `cate_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '全部',
  `type` tinyint(3) unsigned NOT NULL DEFAULT '1' COMMENT '类型 1、元  100、%',
  `amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00',
  `code` varchar(255) NOT NULL DEFAULT '',
  `remark` varchar(100) NOT NULL DEFAULT '' COMMENT '备注',
  `status` tinyint(3) unsigned NOT NULL DEFAULT '1' COMMENT '1未使用 2已用',
  `expire_at` int(10) unsigned NOT NULL,
  `create_at` int(10) unsigned NOT NULL,
  `delete_at` int(11) DEFAULT NULL COMMENT '删除标记',
  PRIMARY KEY (`id`),
  UNIQUE KEY `user_id` (`user_id`,`code`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `goods_coupon`
--

LOCK TABLES `goods_coupon` WRITE;
/*!40000 ALTER TABLE `goods_coupon` DISABLE KEYS */;
/*!40000 ALTER TABLE `goods_coupon` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `invite_code`
--

DROP TABLE IF EXISTS `invite_code`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `invite_code` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL COMMENT '所有者ID',
  `code` char(32) NOT NULL DEFAULT '' COMMENT '邀请码',
  `status` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '使用状态 0未使用 1已使用',
  `invite_uid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '受邀用户ID',
  `invite_at` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '邀请时间',
  `create_at` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
  `expire_at` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `invite_code`
--

LOCK TABLES `invite_code` WRITE;
/*!40000 ALTER TABLE `invite_code` DISABLE KEYS */;
/*!40000 ALTER TABLE `invite_code` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `link`
--

DROP TABLE IF EXISTS `link`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `link` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL DEFAULT '0',
  `relation_type` varchar(20) NOT NULL DEFAULT '',
  `relation_id` int(10) unsigned NOT NULL DEFAULT '0',
  `token` char(16) NOT NULL DEFAULT '',
  `url` varchar(100) NOT NULL DEFAULT '',
  `short_url` varchar(30) NOT NULL,
  `status` tinyint(3) unsigned NOT NULL,
  `create_at` int(10) unsigned NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `user_id` (`user_id`,`relation_type`,`relation_id`),
  UNIQUE KEY `token_uindex` (`token`),
  UNIQUE KEY `user_link_index` (`relation_id`,`relation_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `link`
--

LOCK TABLES `link` WRITE;
/*!40000 ALTER TABLE `link` DISABLE KEYS */;
/*!40000 ALTER TABLE `link` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `log`
--

DROP TABLE IF EXISTS `log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `log` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_type` varchar(20) NOT NULL DEFAULT '' COMMENT '业务类型',
  `content` text NOT NULL COMMENT '内容',
  `ua` varchar(255) NOT NULL DEFAULT '',
  `uri` varchar(255) NOT NULL DEFAULT '',
  `create_at` int(10) unsigned NOT NULL COMMENT '记录时间',
  `create_ip` varchar(15) NOT NULL DEFAULT '' COMMENT 'ip',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `log`
--

LOCK TABLES `log` WRITE;
/*!40000 ALTER TABLE `log` DISABLE KEYS */;
/*!40000 ALTER TABLE `log` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `merchant_log`
--

DROP TABLE IF EXISTS `merchant_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `merchant_log` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ip` char(15) NOT NULL DEFAULT '' COMMENT '操作者IP地址',
  `node` char(200) NOT NULL DEFAULT '' COMMENT '当前操作节点',
  `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '操作人用户ID',
  `username` varchar(32) NOT NULL DEFAULT '' COMMENT '用户名',
  `action` varchar(200) NOT NULL DEFAULT '' COMMENT '操作行为',
  `content` text NOT NULL COMMENT '操作内容描述',
  `create_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='系统操作日志表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `merchant_log`
--

LOCK TABLES `merchant_log` WRITE;
/*!40000 ALTER TABLE `merchant_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `merchant_log` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `message`
--

DROP TABLE IF EXISTS `message`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `message` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `from_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '0为管理员',
  `to_id` int(10) unsigned NOT NULL DEFAULT '0',
  `title` varchar(60) NOT NULL DEFAULT '',
  `content` varchar(1024) NOT NULL DEFAULT '',
  `status` tinyint(3) NOT NULL DEFAULT '0' COMMENT '0未读  1已读',
  `create_at` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '发送时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `message`
--

LOCK TABLES `message` WRITE;
/*!40000 ALTER TABLE `message` DISABLE KEYS */;
/*!40000 ALTER TABLE `message` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `migrations`
--

DROP TABLE IF EXISTS `migrations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `migrations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `migration` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `batch` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `migration` (`migration`)
) ENGINE=InnoDB AUTO_INCREMENT=67 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `migrations`
--

LOCK TABLES `migrations` WRITE;
/*!40000 ALTER TABLE `migrations` DISABLE KEYS */;
/*!40000 ALTER TABLE `migrations` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `nav`
--

DROP TABLE IF EXISTS `nav`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `nav` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `pid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '父id',
  `title` varchar(100) NOT NULL DEFAULT '' COMMENT '名称',
  `node` varchar(200) NOT NULL DEFAULT '' COMMENT '节点代码',
  `icon` varchar(100) NOT NULL DEFAULT '' COMMENT '菜单图标',
  `url` varchar(400) NOT NULL DEFAULT '' COMMENT '链接',
  `params` varchar(500) DEFAULT '' COMMENT '链接参数',
  `target` varchar(20) NOT NULL DEFAULT '_self' COMMENT '链接打开方式',
  `sort` int(11) unsigned DEFAULT '0' COMMENT '菜单排序',
  `status` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '状态(0:禁用,1:启用)',
  `create_by` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '创建人',
  `create_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  PRIMARY KEY (`id`),
  KEY `index_system_menu_node` (`node`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8 COMMENT='前台导航表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `nav`
--

LOCK TABLES `nav` WRITE;
/*!40000 ALTER TABLE `nav` DISABLE KEYS */;
INSERT INTO `nav` VALUES (1,0,'网站首页','','','/','','0',10,1,0,'2018-03-23 01:20:50'),(2,0,'常见问题','','','/company/faq','','0',3,1,0,'2018-03-23 01:21:11'),(3,0,'联系我们','','','/company/contact','','0',4,1,0,'2018-03-23 01:21:35'),(4,0,'订单查询','','','/orderquery','','0',0,1,0,'2018-03-23 01:22:09'),(6,0,'用户注册','','','/register','','0',0,1,0,'2018-05-10 04:24:37'),(7,0,'投诉查询','','','/complaintquery','','0',0,1,0,'2018-06-21 02:53:00'),(9,0,'集成文档','','','/aboutus','','0',0,1,0,'2019-11-20 14:43:16');
/*!40000 ALTER TABLE `nav` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `order`
--

DROP TABLE IF EXISTS `order`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `order` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `goods_id` int(10) unsigned NOT NULL,
  `trade_no` varchar(255) DEFAULT NULL,
  `transaction_id` varchar(60) NOT NULL DEFAULT '' COMMENT '流水号',
  `paytype` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `channel_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '支付渠道',
  `channel_account_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '渠道账号',
  `pay_url` varchar(10240) NOT NULL DEFAULT '' COMMENT '付款地址',
  `pay_content_type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '支付参数类型 1：二维码 2：跳转链接 3：表单',
  `goods_name` varchar(500) NOT NULL DEFAULT '' COMMENT '商品名称',
  `goods_price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '商品单价',
  `goods_cost_price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '成本价',
  `quantity` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '数量',
  `coupon_type` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '是否使用优惠券',
  `coupon_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '优惠券ID',
  `coupon_price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '优惠价格',
  `total_price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '总价（买家实付款）',
  `total_cost_price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '总成本价',
  `sold_notify` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '售出通知（买家）',
  `take_card_type` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '是否需要取卡密码',
  `take_card_password` varchar(20) NOT NULL DEFAULT '' COMMENT '取卡密码',
  `contact` varchar(20) NOT NULL DEFAULT '' COMMENT '联系方式',
  `email_notify` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '是否邮件通知',
  `email` varchar(60) NOT NULL DEFAULT '' COMMENT '邮箱号',
  `sms_notify` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '是否短信通知',
  `rate` decimal(10,4) unsigned NOT NULL DEFAULT '0.0000' COMMENT '手续费率',
  `fee` decimal(10,3) unsigned NOT NULL DEFAULT '0.000' COMMENT '手续费',
  `agent_rate` decimal(10,4) unsigned NOT NULL DEFAULT '0.0000' COMMENT '代理费率',
  `agent_fee` decimal(10,3) unsigned NOT NULL DEFAULT '0.000' COMMENT '代理佣金',
  `sms_price` decimal(10,2) NOT NULL DEFAULT '0.00',
  `status` tinyint(3) NOT NULL DEFAULT '0' COMMENT '订单状态 0未支付 1已支付 2已关闭',
  `is_freeze` tinyint(4) NOT NULL DEFAULT '0',
  `create_at` int(10) unsigned NOT NULL COMMENT '创建时间',
  `create_ip` varchar(15) NOT NULL DEFAULT '',
  `success_at` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '支付成功时间',
  `first_query` tinyint(4) NOT NULL DEFAULT '0' COMMENT '订单第一次查询无需验证码',
  `sms_payer` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '短信付费方：0买家 1商户',
  `total_product_price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '商品总价（不含短信费）',
  `sendout` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '已发货数量',
  `fee_payer` tinyint(4) NOT NULL DEFAULT '1' COMMENT '订单手续费支付方，1：商家承担，2买家承担',
  `settlement_type` tinyint(4) unsigned NOT NULL DEFAULT '1' COMMENT '结算方式，1:T1结算，0:T0结算',
  `finally_money` decimal(10,4) NOT NULL DEFAULT '0.0000' COMMENT '商户订单最终收入（已扣除短信费，手续费）',
  `is_proxy` tinyint(4) NOT NULL DEFAULT '0',
  `proxy_id` int(20) NOT NULL DEFAULT '0',
  `proxy_user_id` int(20) NOT NULL DEFAULT '0',
  `proxy_goods_cost_price` int(20) NOT NULL DEFAULT '0',
  `category` tinyint(10) NOT NULL DEFAULT '0' COMMENT '0 发卡订单 1 接口订单',
  `notify_url` varchar(255) NOT NULL DEFAULT '' COMMENT '接口异步回调地址',
  `return_url` varchar(255) NOT NULL DEFAULT '' COMMENT '支付成功跳转地址',
  `tongzhi` tinyint(4) NOT NULL DEFAULT '0' COMMENT '支付通知 0 未通知  1 已通知',
  `orderno` varchar(50) NOT NULL DEFAULT '' COMMENT '商户订单号',
  PRIMARY KEY (`id`),
  KEY `order_create_at_index` (`create_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `order`
--

LOCK TABLES `order` WRITE;
/*!40000 ALTER TABLE `order` DISABLE KEYS */;
/*!40000 ALTER TABLE `order` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `order_card`
--

DROP TABLE IF EXISTS `order_card`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `order_card` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `order_id` int(10) unsigned NOT NULL,
  `number` varchar(500) NOT NULL DEFAULT '',
  `secret` varchar(500) NOT NULL DEFAULT '',
  `card_id` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `order_card_order_id_index` (`order_id`),
  KEY `order_card_card_id_index` (`card_id`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `order_card`
--

LOCK TABLES `order_card` WRITE;
/*!40000 ALTER TABLE `order_card` DISABLE KEYS */;
INSERT INTO `order_card` VALUES (12,22,'afdafasdfsad','',1),(13,23,'fasdf654sa6d4fsad','',2);
/*!40000 ALTER TABLE `order_card` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `pay_type`
--

DROP TABLE IF EXISTS `pay_type`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pay_type` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL COMMENT '支付名',
  `product_id` tinyint(3) NOT NULL DEFAULT '0' COMMENT '支付类型',
  `logo` varchar(100) NOT NULL DEFAULT '' COMMENT 'logo',
  `ico` varchar(100) NOT NULL DEFAULT '' COMMENT '图标',
  `is_mobile` tinyint(3) NOT NULL DEFAULT '0' COMMENT '是否手机支付',
  `is_form_data` tinyint(3) NOT NULL DEFAULT '0' COMMENT '是否 form 提交',
  `target` tinyint(3) NOT NULL DEFAULT '0' COMMENT '银行支付使用，未知作用',
  `sub_lists` text COMMENT '银行支付使用，指定支持的银行列表',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=205 DEFAULT CHARSET=utf8 COMMENT='支付类型表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `pay_type`
--

LOCK TABLES `pay_type` WRITE;
/*!40000 ALTER TABLE `pay_type` DISABLE KEYS */;
INSERT INTO `pay_type` VALUES (1,'微信扫码',2,'icon_wx','icon_wx',0,0,0,NULL),(2,'微信H5',2,'icon_wx','icon_wx',1,0,0,NULL),(3,'支付宝扫码',1,'icon_zfb','icon_zfb',0,1,0,NULL),(4,'支付宝H5',1,'icon_zfb','icon_zfb',1,0,0,NULL),(5,'网银跳转',6,'icon_bank','icon_bank',0,0,0,NULL),(6,'网银直连',6,'icon_bank','icon_bank',0,0,0,NULL),(7,'百度钱包',5,'baidu_logo','baidu_ico',0,0,0,NULL),(8,'QQ钱包扫码',3,'qqrcode','qqrcode',0,0,0,NULL),(9,'京东钱包',4,'jd_logo','jd_ico',0,0,0,NULL),(10,'QQ钱包H5',3,'icon_qq','icon_qq',1,0,0,NULL),(11,'支付宝PC',1,'icon_zfb','icon_zfb',0,0,0,NULL),(12,'微信刷卡',2,'icon_wx','icon_wx',0,0,0,NULL),(13,'支付宝刷卡',1,'icon_zfb','icon_zfb',0,0,0,NULL),(14,'支付宝免签',1,'icon_zfb','icon_zfb',0,0,0,NULL),(15,'微信免签',2,'icon_wx','icon_wx',0,0,0,NULL),(16,'微极速微信支付',2,'icon_wx','icon_wx',1,1,0,NULL),(17,'15173PC微信支付',2,'icon_wx','icon_wx',0,0,0,NULL),(18,'15173Wap微信支付',2,'icon_wx','icon_wx',1,0,0,NULL),(19,'拉卡微信扫码支付',2,'icon_wx','icon_wx',0,0,0,NULL),(20,'拉卡微信h5支付',2,'icon_wx','icon_wx',1,0,0,NULL),(21,'拉卡支付宝扫码支付',1,'icon_zfb','icon_zfb',0,0,0,NULL),(22,'快接微信扫码支付',2,'icon_wx','icon_wx',0,0,0,NULL),(23,'快接微信H5支付',2,'icon_wx','icon_wx',1,0,0,NULL),(24,'快接支付宝扫码支付',1,'icon_zfb','icon_zfb',0,0,0,NULL),(25,'快接支付宝扫码支付(线上二维码)',1,'icon_zfb','icon_zfb',0,0,0,NULL),(26,'快接支付宝H5支付',1,'icon_zfb','icon_zfb',1,0,0,NULL),(27,'微信官方H5支付',2,'icon_wx','icon_wx',1,0,0,NULL),(28,'拉卡QQ支付',3,'icon_qq','icon_qq',0,0,0,NULL),(29,'拉卡银联快捷',6,'icon_bank','icon_bank',0,0,0,'{\"1\":{\"name\":\"\\u4e2d\\u56fd\\u5de5\\u5546\\u94f6\\u884c\",\"logo\":\"icon_bank\",\"ico\":\"icon_bank\",\"is_mobile\":0,\"target\":0,\"is_form_data\":0,\"code\":10001},\"2\":{\"name\":\"\\u4e2d\\u56fd\\u519c\\u4e1a\\u94f6\\u884c\",\"logo\":\"icon_zgnyyh\",\"ico\":\"icon_zgnyyh\",\"is_mobile\":0,\"target\":0,\"is_form_data\":0,\"code\":10002}}'),(30,'12kaQQ钱包扫码',3,'icon_qq','icon_qq',0,0,0,NULL),(31,'12kaQQWap',3,'icon_qq','icon_qq',0,0,0,NULL),(32,'12ka网银快捷',6,'icon_bank','icon_bank',0,0,0,NULL),(33,'12ka网银Wap',6,'icon_bank','icon_bank',0,0,0,NULL),(34,'12ka支付宝扫码',1,'icon_zfb','icon_zfb',0,0,0,NULL),(35,'12ka支付宝wap',1,'icon_zfb','icon_zfb',0,0,0,NULL),(36,'12ka微信扫码',2,'icon_wx','icon_wx',0,0,0,NULL),(37,'12ka微信wap',2,'icon_wx','icon_wx',0,0,0,NULL),(38,'码支付微信扫码',2,'icon_wx','icon_wx',0,0,0,NULL),(39,'15173Qq扫码支付',3,'icon_qq','icon_qq',0,0,0,NULL),(40,'码支付QQ扫码',3,'icon_qq','icon_qq',0,0,0,NULL),(41,'码支付支付宝扫码',1,'icon_zfb','icon_zfb',0,0,0,NULL),(42,'蜂鸟支付宝扫码',1,'icon_zfb','icon_zfb',0,0,0,NULL),(43,'蜂鸟支付宝WAP',1,'icon_zfb','icon_zfb',0,0,0,NULL),(44,'蜂鸟微信扫码',2,'icon_wx','icon_wx',0,0,0,NULL),(45,'蜂鸟微信公众号支付',2,'icon_wx','icon_wx',0,0,0,NULL),(46,'蜂鸟QQ钱包扫码',3,'icon_qq','icon_qq',0,0,0,NULL),(47,'掌灵付微信扫码',2,'icon_wx','icon_wx',0,1,0,NULL),(48,'掌灵付QQ扫码',3,'qqrcode','qqrcode',0,1,0,NULL),(49,'掌灵付支付宝扫码',1,'icon_zfb','icon_zfb',0,1,0,NULL),(50,'掌灵付微信公众号支付',2,'icon_wx','icon_wx',0,1,0,NULL),(51,'黔贵金服支付宝扫码',1,'icon_zfb','icon_zfb',0,1,0,NULL),(52,'黔贵金服微信扫码',2,'icon_wx','icon_wx',0,1,0,NULL),(53,'黔贵金服QQ扫码',3,'qqrcode','qqrcode',0,1,0,NULL),(54,'黔贵金服微信公众号支付',2,'icon_wx','icon_wx',0,1,0,NULL),(55,'黔贵金服支付宝Wap',1,'icon_zfb','icon_zfb',0,1,0,NULL),(56,'黔贵金服微信WAP',2,'icon_wx','icon_wx',0,1,0,NULL),(57,'点缀支付宝即时到账',1,'icon_zfb','icon_zfb',0,0,0,NULL),(58,'点缀支付京东钱包扫码',4,'icon_jd','icon_jd',0,0,0,NULL),(59,'掌灵付微信H5',2,'icon_wx','icon_wx',0,0,0,NULL),(60,'掌灵付京东H5',4,'icon_jd','icon_jd',0,0,0,NULL),(61,'点缀微信 H5',2,'icon_wx','icon_wx',0,0,0,NULL),(62,'优畅上海微信 H5',2,'icon_wx','icon_wx',0,0,0,NULL),(63,'优畅上海微信扫码',2,'icon_wx','icon_wx',0,0,0,NULL),(64,'优畅上海微信公众号',2,'icon_wx','icon_wx',0,0,0,NULL),(65,'Topay微信',2,'icon_wx','icon_wx',0,0,0,NULL),(66,'Topay 支付宝',1,'icon_zfb','icon_zfb',0,0,0,NULL),(67,'海鸟微信公众号',2,'icon_wx','icon_wx',0,0,0,NULL),(68,'海鸟微信扫码',2,'icon_wx','icon_wx',0,0,0,NULL),(69,'海鸟微信 H5',2,'icon_wx','icon_wx',0,0,0,NULL),(70,'海鸟 QQ 扫码',3,'icon_qq','icon_qq',0,0,0,NULL),(71,'海鸟支付宝扫码',1,'icon_zfb','icon_zfb',0,0,0,NULL),(72,'淘米支付宝扫码',1,'icon_zfb','icon_zfb',0,1,0,NULL),(73,'淘米微信扫码',2,'icon_wx','icon_wx',0,1,0,NULL),(74,'淘米QQ扫码',3,'qqrcode','qqrcode',0,1,0,NULL),(75,'淘米微信公众号支付',2,'icon_wx','icon_wx',0,1,0,NULL),(76,'淘米支付宝Wap',1,'icon_zfb','icon_zfb',0,1,0,NULL),(77,'淘米微信WAP',2,'icon_wx','icon_wx',0,1,0,NULL),(78,'完美数卡微信扫码',2,'icon_wx','icon_wx',0,1,0,NULL),(79,'完美数卡支付宝扫码',1,'icon_zfb','icon_zfb',0,1,0,NULL),(80,'完美数卡QQ扫码',3,'icon_qq','icon_qq',0,1,0,NULL),(81,'完美数卡QQWap',3,'icon_qq','icon_qq',0,1,0,NULL),(82,'完美数卡微信Wap',2,'icon_wx','icon_wx',0,1,0,NULL),(83,'完美数卡支付宝Wap',1,'icon_zfb','icon_zfb',0,1,0,NULL),(84,'支付宝免签',1,'icon_zfb','icon_zfb',0,1,0,NULL),(85,'qq免签',3,'icon_qq','icon_qq',0,1,0,NULL),(86,'微信免签',2,'icon_wx','icon_wx',0,1,0,NULL),(87,'掌灵付支付宝扫码',1,'icon_zfb','icon_zfb',0,1,0,NULL),(88,'牛支付支付宝扫码',1,'icon_zfb','icon_zfb',0,1,0,NULL),(89,'掌灵付京东扫码',4,'icon_jd','icon_jd',0,0,0,NULL),(90,'优畅上海支付宝扫码',1,'icon_zfb','icon_zfb',0,0,0,NULL),(91,'优畅上海支付宝 Wap',1,'icon_zfb','icon_zfb',0,0,0,NULL),(92,'威富通支付宝扫码',1,'icon_zfb','icon_zfb',0,0,0,NULL),(93,'威富通支付宝Wap',1,'icon_zfb','icon_zfb',0,0,0,NULL),(94,'威富通微信扫码',2,'icon_wx','icon_wx',0,0,0,NULL),(95,'威富通京东扫码',4,'icon_jd','icon_jd',0,0,0,NULL),(96,'威富通微信wap',2,'icon_wx','icon_wx',0,0,0,NULL),(97,'威富通微信公众号',2,'icon_wx','icon_wx',0,0,0,NULL),(98,'汉口银行微信公众号',2,'icon_wx','icon_wx',0,0,0,NULL),(99,'汉口银行微信扫码',2,'icon_wx','icon_wx',0,0,0,NULL),(100,'汉口银行微信wap',2,'icon_wx','icon_wx',0,0,0,NULL),(101,'汉口银行支付宝扫码',1,'icon_zfb','icon_zfb',0,0,0,NULL),(102,'汉口银行支付宝Wap',1,'icon_zfb','icon_zfb',0,0,0,NULL),(103,'优畅上海QQ扫码',3,'icon_qq','icon_qq',0,0,0,NULL),(104,'优畅上海QQWap',3,'icon_qq','icon_qq',0,0,0,NULL),(105,'平安付微信扫码',2,'icon_wx','icon_wx',0,0,0,NULL),(106,'平安付支付宝扫码',1,'icon_zfb','icon_zfb',0,0,0,NULL),(107,'平安付支付宝wap',1,'icon_zfb','icon_zfb',0,0,0,NULL),(108,'平安付微信wap',2,'icon_wx','icon_wx',0,0,0,NULL),(109,'网商银行微信',2,'icon_wx','icon_wx',0,0,0,NULL),(110,'网商银行支付宝',1,'icon_zfb','icon_zfb',0,0,0,NULL),(111,'吉易支付微信扫码',2,'icon_wx','icon_wx',0,0,0,NULL),(112,'吉易支付微信公众号',2,'icon_wx','icon_wx',0,0,0,NULL),(113,'PayApi支付宝',2,'icon_zfb','icon_zfb',0,0,0,NULL),(114,'PayApi微信',2,'icon_wx','icon_wx',0,0,0,NULL),(115,'易云支付宝扫码',1,'icon_zfb','icon_zfb',0,0,0,NULL),(116,'易云支付宝WAP',1,'icon_zfb','icon_zfb',0,0,0,NULL),(117,'易云微信扫码',2,'icon_wx','icon_wx',0,0,0,NULL),(118,'易云微信WAP',2,'icon_wx','icon_wx',0,0,0,NULL),(119,'易云微信公众号',2,'icon_wx','icon_wx',0,0,0,NULL),(120,'恒隆支付宝扫码',1,'icon_zfb','icon_zfb',0,0,0,NULL),(121,'恒隆支付宝WAP',1,'icon_zfb','icon_zfb',0,0,0,NULL),(122,'恒隆微信公众号支付',2,'icon_wx','icon_wx',0,0,0,NULL),(123,'恒隆微信扫码',2,'icon_wx','icon_wx',0,0,0,NULL),(124,'深度支付宝扫码',1,'icon_zfb','icon_zfb',0,0,0,NULL),(125,'深度支付宝服务窗支付',1,'icon_zfb','icon_zfb',0,0,0,NULL),(126,'深度微信扫码',2,'icon_wx','icon_wx',0,0,0,NULL),(127,'深度微信公众号',2,'icon_wx','icon_wx',0,0,0,NULL),(128,'聚合支付',1,'icon_zfb','icon_zfb',0,0,0,NULL),(139,'思慧支付宝电脑+H5',1,'icon_zfb','icon_zfb',0,0,0,NULL),(140,'思慧微信电脑+H5',2,'icon_wx','icon_wx',0,0,0,NULL),(197,'卡酷云科支付宝扫码',1,'icon_zfb','icon_zfb',0,0,0,NULL),(198,'卡酷云科支付宝wap',1,'icon_zfb','icon_zfb',0,0,0,NULL),(199,'卡酷云科花呗扫码',1,'icon_zfb','icon_zfb',0,0,0,NULL),(200,'卡酷云科花呗wap',1,'icon_zfb','icon_zfb',0,0,0,NULL),(201,'卡酷云科微信扫码',2,'icon_wx','icon_wx',0,0,0,NULL),(202,'卡酷云科微信公众号',2,'icon_wx','icon_wx',0,0,0,NULL),(203,'卡酷云科微信wap',2,'icon_wx','icon_wx',0,0,0,NULL),(204,'支付宝当面付',1,'icon_zfb','icon_zfb',0,1,0,NULL);
/*!40000 ALTER TABLE `pay_type` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `product`
--

DROP TABLE IF EXISTS `product`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `product` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL COMMENT '通道名称',
  `code` varchar(50) NOT NULL COMMENT '通道代码',
  `status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '状态 1 开启 0 关闭',
  `polling` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '接口模式 0单独 1轮询',
  `channel_id` int(10) unsigned NOT NULL,
  `weight` text NOT NULL COMMENT '权重',
  `paytype` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '支付类型 1 微信扫码 2 微信公众号 3 支付宝扫码 4 支付宝手机 5 网银支付 6',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=908 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `product`
--

LOCK TABLES `product` WRITE;
/*!40000 ALTER TABLE `product` DISABLE KEYS */;
INSERT INTO `product` VALUES (901,'微信公众号','WXJSAPI',0,0,0,'[]',2),(902,'微信扫码支付','WXSCAN',0,0,0,'[]',1),(903,'支付宝扫码支付','ALISCAN',0,0,14,'[]',3),(904,'支付宝手机','ALIWAP',0,0,15,'[]',4),(907,'网银支付','DBANK',0,0,0,'[]',5);
/*!40000 ALTER TABLE `product` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `proxy`
--

DROP TABLE IF EXISTS `proxy`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `proxy` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `uid` int(11) NOT NULL COMMENT '用户id',
  `pid` int(11) NOT NULL COMMENT '上级代理id',
  `status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态 0:待审核  1:已审核 -1:拒绝',
  `qq` varchar(20) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `proxy`
--

LOCK TABLES `proxy` WRITE;
/*!40000 ALTER TABLE `proxy` DISABLE KEYS */;
/*!40000 ALTER TABLE `proxy` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `rate_group`
--

DROP TABLE IF EXISTS `rate_group`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `rate_group` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `title` varchar(20) NOT NULL COMMENT '分组名',
  `create_at` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
  `delete_at` int(10) unsigned DEFAULT NULL COMMENT '删除时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8 COMMENT='费率分组表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `rate_group`
--

LOCK TABLES `rate_group` WRITE;
/*!40000 ALTER TABLE `rate_group` DISABLE KEYS */;
INSERT INTO `rate_group` VALUES (1,'普通用户',1556459640,NULL),(2,'高流水用户',1556459666,NULL),(3,'特邀vip用户',1556459683,NULL),(4,'1.2费率',1564824287,NULL),(5,'高投诉商户',1565908198,NULL),(6,'超高投诉商户',1566188152,1566408853),(7,'高危商户',1566408869,NULL),(8,'test',1572402842,NULL);
/*!40000 ALTER TABLE `rate_group` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `rate_group_rule`
--

DROP TABLE IF EXISTS `rate_group_rule`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `rate_group_rule` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `group_id` int(11) NOT NULL COMMENT '分组 ID',
  `channel_id` int(11) NOT NULL COMMENT '渠道 ID',
  `rate` decimal(10,4) NOT NULL DEFAULT '0.0000' COMMENT '渠道费率',
  `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态 1：开启 0：关闭',
  PRIMARY KEY (`id`),
  KEY `group_id` (`group_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='分组费率规则';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `rate_group_rule`
--

LOCK TABLES `rate_group_rule` WRITE;
/*!40000 ALTER TABLE `rate_group_rule` DISABLE KEYS */;
/*!40000 ALTER TABLE `rate_group_rule` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `rate_group_user`
--

DROP TABLE IF EXISTS `rate_group_user`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `rate_group_user` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `group_id` int(11) NOT NULL COMMENT '分组 ID',
  `user_id` int(11) NOT NULL COMMENT '用户 ID',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='分组内用户表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `rate_group_user`
--

LOCK TABLES `rate_group_user` WRITE;
/*!40000 ALTER TABLE `rate_group_user` DISABLE KEYS */;
/*!40000 ALTER TABLE `rate_group_user` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sms_code`
--

DROP TABLE IF EXISTS `sms_code`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `sms_code` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `mobile` varchar(15) NOT NULL DEFAULT '' COMMENT '手机号',
  `screen` varchar(30) NOT NULL DEFAULT '' COMMENT '场景',
  `code` char(6) NOT NULL DEFAULT '' COMMENT '验证码',
  `status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '状态：0：未使用 1：已使用',
  `create_at` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
  `create_ip` varchar(255) NOT NULL DEFAULT '' COMMENT '请求 ip',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sms_code`
--

LOCK TABLES `sms_code` WRITE;
/*!40000 ALTER TABLE `sms_code` DISABLE KEYS */;
/*!40000 ALTER TABLE `sms_code` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `system_auth`
--

DROP TABLE IF EXISTS `system_auth`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `system_auth` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `title` varchar(20) NOT NULL COMMENT '权限名称',
  `status` tinyint(1) unsigned DEFAULT '1' COMMENT '状态(1:禁用,2:启用)',
  `sort` smallint(6) unsigned DEFAULT '0' COMMENT '排序权重',
  `desc` varchar(255) DEFAULT NULL COMMENT '备注说明',
  `create_by` bigint(11) unsigned DEFAULT '0' COMMENT '创建人',
  `create_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `index_system_auth_title` (`title`) USING BTREE,
  KEY `index_system_auth_status` (`status`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COMMENT='系统权限表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `system_auth`
--

LOCK TABLES `system_auth` WRITE;
/*!40000 ALTER TABLE `system_auth` DISABLE KEYS */;
INSERT INTO `system_auth` VALUES (3,'超级管理员',1,2,'超级管理员',0,'2018-04-10 19:24:49'),(4,'客服',1,3,'处理转账投诉',0,'2019-06-09 13:40:47'),(5,'全部权限',1,1,'全部权限',0,'2019-06-09 13:45:22'),(6,'seo权限',1,4,'seo权限',0,'2019-07-18 16:45:03');
/*!40000 ALTER TABLE `system_auth` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `system_auth_node`
--

DROP TABLE IF EXISTS `system_auth_node`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `system_auth_node` (
  `auth` bigint(20) unsigned DEFAULT NULL COMMENT '角色ID',
  `node` varchar(200) DEFAULT NULL COMMENT '节点路径',
  KEY `index_system_auth_auth` (`auth`) USING BTREE,
  KEY `index_system_auth_node` (`node`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='角色与节点关系表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `system_auth_node`
--

LOCK TABLES `system_auth_node` WRITE;
/*!40000 ALTER TABLE `system_auth_node` DISABLE KEYS */;
INSERT INTO `system_auth_node` VALUES (3,'admin'),(3,'admin/config'),(3,'admin/config/index'),(3,'admin/config/file'),(3,'admin/log'),(3,'admin/log/index'),(3,'admin/log/del'),(3,'admin/menu'),(3,'admin/menu/index'),(3,'admin/menu/add'),(3,'admin/menu/edit'),(3,'admin/menu/del'),(3,'admin/menu/forbid'),(3,'admin/menu/resume'),(3,'admin/mlog'),(3,'admin/mlog/index'),(3,'admin/mlog/del'),(3,'admin/nav'),(3,'admin/nav/index'),(3,'admin/nav/add'),(3,'admin/nav/edit'),(3,'admin/nav/del'),(3,'admin/nav/forbid'),(3,'admin/nav/resume'),(3,'admin/user'),(3,'admin/user/index'),(3,'admin/user/auth'),(3,'admin/user/add'),(3,'admin/user/edit'),(3,'admin/user/del'),(3,'admin/user/forbid'),(3,'admin/user/resume'),(3,'manage'),(3,'manage/article'),(3,'manage/article/index'),(3,'manage/article/add'),(3,'manage/article/edit'),(3,'manage/article/change_status'),(3,'manage/article/del'),(3,'manage/articlecategory'),(3,'manage/articlecategory/index'),(3,'manage/articlecategory/add'),(3,'manage/articlecategory/edit'),(3,'manage/articlecategory/change_status'),(3,'manage/articlecategory/del'),(3,'manage/backup'),(3,'manage/backup/index'),(3,'manage/backup/tablist'),(3,'manage/backup/backall'),(3,'manage/backup/backtables'),(3,'manage/backup/recover'),(3,'manage/backup/deletebak'),(3,'manage/backup/downloadbak'),(3,'manage/cash'),(3,'manage/cash/index'),(3,'manage/cash/config'),(3,'manage/cash/detail'),(3,'manage/channel'),(3,'manage/channel/index'),(3,'manage/channel/add'),(3,'manage/channel/edit'),(3,'manage/channel/del'),(3,'manage/channel/change_status'),(3,'manage/channel/getlistbypaytype'),(3,'manage/channelaccount'),(3,'manage/channelaccount/index'),(3,'manage/channelaccount/add'),(3,'manage/channelaccount/edit'),(3,'manage/channelaccount/del'),(3,'manage/channelaccount/clear'),(3,'manage/channelaccount/change_status'),(3,'manage/channelaccount/getfields'),(3,'manage/complaint'),(3,'manage/complaint/index'),(3,'manage/complaint/change_status'),(3,'manage/complaint/change_admin_read'),(3,'manage/complaint/del'),(3,'manage/email'),(3,'manage/email/index'),(3,'manage/email/test'),(3,'manage/goods'),(3,'manage/goods/index'),(3,'manage/goods/change_status'),(3,'manage/index'),(3,'manage/index/main'),(3,'manage/invitecode'),(3,'manage/invitecode/index'),(3,'manage/invitecode/add'),(3,'manage/invitecode/del'),(3,'manage/invitecode/delnum'),(3,'manage/log'),(3,'manage/log/user_money'),(3,'manage/order'),(3,'manage/order/index'),(3,'manage/order/detail'),(3,'manage/order/merchant'),(3,'manage/order/channel'),(3,'manage/order/hour'),(3,'manage/order/change_freeze_status'),(3,'manage/order/del'),(3,'manage/order/del_batch'),(3,'manage/product'),(3,'manage/product/index'),(3,'manage/product/add'),(3,'manage/product/edit'),(3,'manage/product/del'),(3,'manage/product/change_status'),(3,'manage/site'),(3,'manage/site/info'),(3,'manage/site/domain'),(3,'manage/site/register'),(3,'manage/site/wordfilter'),(3,'manage/site/spread'),(3,'manage/sms'),(3,'manage/sms/index'),(3,'manage/user'),(3,'manage/user/index'),(3,'manage/user/change_status'),(3,'manage/user/change_freeze_status'),(3,'manage/user/detail'),(3,'manage/user/add'),(3,'manage/user/edit'),(3,'manage/user/del'),(3,'manage/user/manage_money'),(3,'manage/user/rate'),(3,'manage/user/login'),(3,'manage/user/message'),(3,'manage/user/loginlog'),(3,'manage/user/unlock'),(3,'wechat'),(3,'wechat/config'),(3,'wechat/config/index'),(3,'wechat/config/pay'),(3,'wechat/fans'),(3,'wechat/fans/index'),(3,'wechat/fans/back'),(3,'wechat/fans/backadd'),(3,'wechat/fans/tagset'),(3,'wechat/fans/backdel'),(3,'wechat/fans/tagadd'),(3,'wechat/fans/tagdel'),(3,'wechat/fans/sync'),(3,'wechat/keys'),(3,'wechat/keys/index'),(3,'wechat/keys/add'),(3,'wechat/keys/edit'),(3,'wechat/keys/del'),(3,'wechat/keys/forbid'),(3,'wechat/keys/resume'),(3,'wechat/keys/subscribe'),(3,'wechat/keys/defaults'),(3,'wechat/menu'),(3,'wechat/menu/index'),(3,'wechat/menu/edit'),(3,'wechat/menu/cancel'),(3,'wechat/news'),(3,'wechat/news/index'),(3,'wechat/news/select'),(3,'wechat/news/image'),(3,'wechat/news/add'),(3,'wechat/news/edit'),(3,'wechat/news/del'),(3,'wechat/news/push'),(3,'wechat/tags'),(3,'wechat/tags/index'),(3,'wechat/tags/add'),(3,'wechat/tags/edit'),(3,'wechat/tags/sync'),(3,'admin/node'),(3,'admin/node/save'),(3,'admin/node/save'),(3,'admin/auth'),(3,'admin/auth/index'),(3,'admin/auth/apply'),(3,'admin/auth/add'),(3,'admin/auth/edit'),(3,'admin/auth/forbid'),(3,'admin/auth/resume'),(3,'admin/auth/del'),(3,'admin/auth/bindgoogle'),(3,'admin/node'),(3,'admin/node/save'),(3,'admin/node/index'),(4,'manage'),(4,'manage/article'),(4,'manage/article/index'),(4,'manage/article/add'),(4,'manage/article/edit'),(4,'manage/article/change_status'),(4,'manage/article/del'),(4,'manage/article/top'),(4,'manage/articlecategory'),(4,'manage/articlecategory/index'),(4,'manage/articlecategory/add'),(4,'manage/articlecategory/edit'),(4,'manage/articlecategory/change_status'),(4,'manage/articlecategory/del'),(4,'manage/complaint'),(4,'manage/complaint/index'),(4,'manage/complaint/detail'),(4,'manage/complaint/win'),(4,'manage/complaint/change_status'),(4,'manage/complaint/change_admin_read'),(4,'manage/complaint/del'),(4,'manage/order'),(4,'manage/order/index'),(4,'manage/order/detail'),(4,'manage/order/merchant'),(4,'manage/order/channel'),(4,'manage/order/hour'),(4,'manage/order/change_freeze_status'),(4,'manage/order/del'),(4,'manage/order/senddelbatchsms'),(4,'manage/order/del_batch'),(4,'payment'),(4,'payment/index'),(4,'payment/index/notify'),(5,'admin'),(5,'admin/app'),(5,'admin/app/index'),(5,'admin/auth'),(5,'admin/auth/index'),(5,'admin/auth/apply'),(5,'admin/auth/add'),(5,'admin/auth/edit'),(5,'admin/auth/forbid'),(5,'admin/auth/resume'),(5,'admin/auth/del'),(5,'admin/auth/bindgoogle'),(5,'admin/config'),(5,'admin/config/index'),(5,'admin/config/file'),(5,'admin/log'),(5,'admin/log/index'),(5,'admin/log/del'),(5,'admin/menu'),(5,'admin/menu/index'),(5,'admin/menu/add'),(5,'admin/menu/edit'),(5,'admin/menu/del'),(5,'admin/menu/forbid'),(5,'admin/menu/resume'),(5,'admin/mlog'),(5,'admin/mlog/index'),(5,'admin/mlog/del'),(5,'admin/nav'),(5,'admin/nav/index'),(5,'admin/nav/add'),(5,'admin/nav/edit'),(5,'admin/nav/del'),(5,'admin/nav/forbid'),(5,'admin/nav/resume'),(5,'admin/node'),(5,'admin/node/index'),(5,'admin/node/save'),(5,'admin/user'),(5,'admin/user/index'),(5,'admin/user/auth'),(5,'admin/user/add'),(5,'admin/user/edit'),(5,'admin/user/pass'),(5,'admin/user/del'),(5,'admin/user/forbid'),(5,'admin/user/resume'),(5,'api'),(5,'api/auth'),(5,'api/auth/login'),(5,'api/auth/loginbyopenid'),(5,'api/auth/refreshlogintoken'),(5,'api/auth/register'),(5,'api/auth/forgot'),(5,'api/authbase'),(5,'api/authbase/checktoken'),(5,'api/card'),(5,'api/card/lists'),(5,'api/card/add'),(5,'api/card/del'),(5,'api/card/restore'),(5,'api/card/harddel'),(5,'api/card/checktoken'),(5,'api/cash'),(5,'api/cash/getinfo'),(5,'api/cash/apply'),(5,'api/cash/lists'),(5,'api/cash/checktoken'),(5,'api/category'),(5,'api/category/lists'),(5,'api/category/getinfo'),(5,'api/category/add'),(5,'api/category/edit'),(5,'api/category/del'),(5,'api/category/refreshlink'),(5,'api/category/checktoken'),(5,'api/common'),(5,'api/common/sendsms'),(5,'api/common/getagreement'),(5,'api/common/gettheme'),(5,'api/common/getbanklist'),(5,'api/common/getnotices'),(5,'api/common/getnoticedetail'),(5,'api/common/getlastversion'),(5,'api/common/versiongt'),(5,'api/common/upload'),(5,'api/complaint'),(5,'api/complaint/lists'),(5,'api/complaint/detail'),(5,'api/complaint/sendtxt'),(5,'api/complaint/sendimg'),(5,'api/complaint/checktoken'),(5,'api/config'),(5,'api/config/menu'),(5,'api/config/getmenus'),(5,'api/config/insertmenu'),(5,'api/config/updatemenu'),(5,'api/config/delmenu'),(5,'api/coupon'),(5,'api/coupon/lists'),(5,'api/coupon/add'),(5,'api/coupon/del'),(5,'api/coupon/restore'),(5,'api/coupon/harddel'),(5,'api/coupon/checktoken'),(5,'api/goods'),(5,'api/goods/lists'),(5,'api/goods/getinfo'),(5,'api/goods/togglestatus'),(5,'api/goods/add'),(5,'api/goods/edit'),(5,'api/goods/del'),(5,'api/goods/restore'),(5,'api/goods/harddel'),(5,'api/goods/emptycards'),(5,'api/goods/refreshlink'),(5,'api/goods/checktoken'),(5,'api/order'),(5,'api/order/lists'),(5,'api/order/getstatistic'),(5,'api/order/getinfo'),(5,'api/order/checktoken'),(5,'api/pages'),(5,'api/pages/contactus'),(5,'api/pages/article'),(5,'api/pages/privacypolicy'),(5,'api/pay'),(5,'api/pay/lists'),(5,'api/pay/togglestatus'),(5,'api/pay/getstatistic'),(5,'api/pay/checktoken'),(5,'api/spread'),(5,'api/spread/lists'),(5,'api/spread/rebate'),(5,'api/spread/checktoken'),(5,'api/user'),(5,'api/user/logout'),(5,'api/user/modifypassword'),(5,'api/user/getloginlog'),(5,'api/user/getstatistic'),(5,'api/user/getpopupnotice'),(5,'api/user/getshopinfo'),(5,'api/user/setshopinfo'),(5,'api/user/toggleshopstatus'),(5,'api/user/getcollect'),(5,'api/user/setcollect'),(5,'api/user/setmenu'),(5,'api/user/getcustommenu'),(5,'api/user/getmenu'),(5,'api/user/refreshlink'),(5,'api/user/checktoken'),(5,'demo'),(5,'demo/plugs'),(5,'demo/plugs/file'),(5,'demo/plugs/region'),(5,'demo/plugs/editor'),(5,'manage'),(5,'manage/article'),(5,'manage/article/index'),(5,'manage/article/add'),(5,'manage/article/edit'),(5,'manage/article/change_status'),(5,'manage/article/del'),(5,'manage/article/top'),(5,'manage/articlecategory'),(5,'manage/articlecategory/index'),(5,'manage/articlecategory/add'),(5,'manage/articlecategory/edit'),(5,'manage/articlecategory/change_status'),(5,'manage/articlecategory/del'),(5,'manage/backup'),(5,'manage/backup/index'),(5,'manage/backup/tablist'),(5,'manage/backup/backall'),(5,'manage/backup/backtables'),(5,'manage/backup/recover'),(5,'manage/backup/deletebak'),(5,'manage/backup/downloadbak'),(5,'manage/cash'),(5,'manage/cash/getcashdata'),(5,'manage/cash/index'),(5,'manage/cash/dumpcashs'),(5,'manage/cash/config'),(5,'manage/cash/detail'),(5,'manage/cash/daifu'),(5,'manage/cash/pay_batch'),(5,'manage/cashchannel'),(5,'manage/cashchannel/index'),(5,'manage/cashchannel/change_status'),(5,'manage/cashchannelaccount'),(5,'manage/cashchannelaccount/index'),(5,'manage/cashchannelaccount/add'),(5,'manage/cashchannelaccount/edit'),(5,'manage/cashchannelaccount/del'),(5,'manage/cashchannelaccount/clear'),(5,'manage/cashchannelaccount/change_status'),(5,'manage/cashchannelaccount/getfields'),(5,'manage/channel'),(5,'manage/channel/index'),(5,'manage/channel/add'),(5,'manage/channel/edit'),(5,'manage/channel/del'),(5,'manage/channel/change_status'),(5,'manage/channel/change_available'),(5,'manage/channel/install'),(5,'manage/channel/uninstall'),(5,'manage/channelaccount'),(5,'manage/channelaccount/index'),(5,'manage/channelaccount/add'),(5,'manage/channelaccount/edit'),(5,'manage/channelaccount/del'),(5,'manage/channelaccount/clear'),(5,'manage/channelaccount/change_status'),(5,'manage/channelaccount/getfields'),(5,'manage/complaint'),(5,'manage/complaint/index'),(5,'manage/complaint/detail'),(5,'manage/complaint/win'),(5,'manage/complaint/change_status'),(5,'manage/complaint/change_admin_read'),(5,'manage/complaint/del'),(5,'manage/content'),(5,'manage/content/del'),(5,'manage/email'),(5,'manage/email/index'),(5,'manage/email/test'),(5,'manage/goods'),(5,'manage/goods/index'),(5,'manage/goods/change_status'),(5,'manage/goods/change_freeze'),(5,'manage/goods/change_trade_no_status'),(5,'manage/goods/del'),(5,'manage/index'),(5,'manage/index/main'),(5,'manage/invitecode'),(5,'manage/invitecode/index'),(5,'manage/invitecode/add'),(5,'manage/invitecode/del'),(5,'manage/invitecode/delnum'),(5,'manage/log'),(5,'manage/log/user_money'),(5,'manage/order'),(5,'manage/order/index'),(5,'manage/order/detail'),(5,'manage/order/merchant'),(5,'manage/order/channel'),(5,'manage/order/hour'),(5,'manage/order/change_freeze_status'),(5,'manage/order/del'),(5,'manage/order/senddelbatchsms'),(5,'manage/order/del_batch'),(5,'manage/product'),(5,'manage/product/index'),(5,'manage/product/add'),(5,'manage/product/edit'),(5,'manage/product/del'),(5,'manage/product/change_status'),(5,'manage/rate'),(5,'manage/rate/index'),(5,'manage/rate/add'),(5,'manage/rate/detail'),(5,'manage/rate/save'),(5,'manage/rate/del'),(5,'manage/rate/change_status'),(5,'manage/site'),(5,'manage/site/info'),(5,'manage/site/domain'),(5,'manage/site/register'),(5,'manage/site/wordfilter'),(5,'manage/site/spread'),(5,'manage/site/clearcache'),(5,'manage/sms'),(5,'manage/sms/index'),(5,'manage/user'),(5,'manage/user/index'),(5,'manage/user/change_status'),(5,'manage/user/change_freeze_status'),(5,'manage/user/detail'),(5,'manage/user/add'),(5,'manage/user/edit'),(5,'manage/user/del'),(5,'manage/user/allow_update'),(5,'manage/user/manage_money'),(5,'manage/user/rate'),(5,'manage/user/getraterouteinfo'),(5,'manage/user/login'),(5,'manage/user/message'),(5,'manage/user/loginlog'),(5,'manage/user/unlock'),(5,'payment'),(5,'payment/index'),(5,'payment/index/notify'),(5,'shop'),(5,'shop/shop'),(5,'shop/shop/getprotocol'),(5,'shop/shop/popnotice'),(5,'shop/shop/index'),(5,'shop/shop/category'),(5,'shop/shop/goods'),(5,'shop/shop/getgoodslist'),(5,'shop/shop/getgoodsinfo'),(5,'shop/shop/getrate'),(5,'shop/shop/getdiscounts'),(5,'shop/shop/getdiscount'),(5,'shop/shop/checkvisitpassword'),(5,'shop/shop/checkcoupon'),(5,'wechat'),(5,'wechat/config'),(5,'wechat/config/index'),(5,'wechat/config/pay'),(5,'wechat/fans'),(5,'wechat/fans/index'),(5,'wechat/fans/back'),(5,'wechat/fans/backadd'),(5,'wechat/fans/tagset'),(5,'wechat/fans/backdel'),(5,'wechat/fans/tagadd'),(5,'wechat/fans/tagdel'),(5,'wechat/fans/sync'),(5,'wechat/keys'),(5,'wechat/keys/index'),(5,'wechat/keys/add'),(5,'wechat/keys/edit'),(5,'wechat/keys/del'),(5,'wechat/keys/forbid'),(5,'wechat/keys/resume'),(5,'wechat/keys/subscribe'),(5,'wechat/keys/defaults'),(5,'wechat/menu'),(5,'wechat/menu/index'),(5,'wechat/menu/edit'),(5,'wechat/menu/cancel'),(5,'wechat/news'),(5,'wechat/news/index'),(5,'wechat/news/select'),(5,'wechat/news/image'),(5,'wechat/news/add'),(5,'wechat/news/edit'),(5,'wechat/news/del'),(5,'wechat/news/push'),(5,'wechat/tags'),(5,'wechat/tags/index'),(5,'wechat/tags/add'),(5,'wechat/tags/edit'),(5,'wechat/tags/sync'),(6,'demo'),(6,'demo/plugs'),(6,'demo/plugs/file'),(6,'demo/plugs/region'),(6,'demo/plugs/editor'),(6,'manage'),(6,'manage/article'),(6,'manage/article/index'),(6,'manage/article/add'),(6,'manage/article/edit'),(6,'manage/article/change_status'),(6,'manage/articlecategory'),(6,'manage/articlecategory/index'),(6,'manage/articlecategory/add'),(6,'manage/articlecategory/edit'),(6,'manage/articlecategory/change_status');
/*!40000 ALTER TABLE `system_auth_node` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `system_config`
--

DROP TABLE IF EXISTS `system_config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `system_config` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(100) DEFAULT NULL COMMENT '配置编码',
  `value` varchar(1024) DEFAULT NULL COMMENT '配置值',
  PRIMARY KEY (`id`),
  KEY `index_system_config_name` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=340 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='系统参数配置';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `system_config`
--

LOCK TABLES `system_config` WRITE;
/*!40000 ALTER TABLE `system_config` DISABLE KEYS */;
INSERT INTO `system_config` VALUES (148,'site_name','219支付发卡平台'),(149,'site_copy','219自动发卡平台 © 2019~2021 版权'),(164,'storage_type','local'),(165,'storage_qiniu_is_https','0'),(166,'storage_qiniu_bucket','sihuiyika'),(167,'storage_qiniu_domain','pqrc905z9.bkt.clouddn.com'),(168,'storage_qiniu_access_key','admin'),(169,'storage_qiniu_secret_key','zxc260531078'),(170,'storage_qiniu_region','华南'),(173,'app_name','219支付平台'),(174,'app_version','2.00 dev'),(176,'browser_icon','https://www.219ka.com/static/upload/bec128d983d1ee39/2c0c5cbf7efd09b5.png'),(184,'wechat_appid','wx385fb51c855b1311'),(185,'wechat_appsecret','49505120b2aa9bb2f9ae74dc72ea5711'),(186,'wechat_token','Gwi5l2v50Kz1klh26jLR53wXV7m55R11'),(187,'wechat_encodingaeskey','zcvHFUNBWbFz07xmmVebLZS8bbQJMb3kmvPebY6XFxs'),(188,'wechat_mch_id','18748377881'),(189,'wechat_partnerkey','A82DC5BD1F3359081049C568D8502BC5'),(194,'wechat_cert_key',''),(196,'wechat_cert_cert',''),(197,'tongji_baidu_key',''),(198,'tongji_cnzz_key','1261854404'),(199,'storage_oss_bucket','think-oss'),(200,'storage_oss_keyid','WjeX0AYSfgy5VbXQ'),(201,'storage_oss_secret','hQTENHy6MYVUTgwjcgfOCq5gckm2Lp'),(202,'storage_oss_domain','think-oss.oss-cn-shanghai.aliyuncs.com'),(203,'storage_oss_is_https','1'),(204,'sms_channel','alidayu'),(205,'smsbao_user','dusir8'),(206,'smsbao_pass','147258yu'),(207,'smsbao_signature','219发卡平台'),(208,'alidayu_key','LTAIsdYJAjlwj111'),(209,'alidayu_secret','hPNGS3fccnK1bSo5EAoKATJPyba111'),(210,'alidayu_smstpl','SMS_123798913'),(211,'alidayu_signature','友谊云'),(212,'yixin_sms_user','Daniel'),(213,'yixin_sms_pass','AAA14712345678'),(214,'yixin_sms_signature','自动发卡'),(215,'email_name','219自动发卡'),(216,'email_smtp','smtp.qiye.aliyun.com'),(217,'email_port','465'),(218,'email_user','weixin@6kz.com'),(219,'email_pass','111111'),(220,'cash_min_money','1'),(221,'transaction_min_fee','0.01'),(222,'cash_fee_type','1'),(223,'cash_fee','0'),(224,'spread_rebate_rate','8'),(225,'site_keywords','发卡网,发卡平台,自动发卡,自动发卡平台,219自动发卡平台'),(226,'site_desc','信誉第一的自动发卡平台，24小时为商户提供优质稳定不间断的自动交易服务'),(227,'site_status','1'),(228,'site_subtitle','企业级自动发卡平台'),(229,'site_close_tips','站点维护中'),(230,'complaint_limit_num','1'),(231,'cash_status','1'),(232,'cash_close_tips','满100元每天12点前自动结算，无须手动结算。'),(233,'cash_limit_time_start','9'),(234,'cash_limit_time_end','18'),(235,'cash_limit_num','5'),(236,'cash_limit_num_tips','您今天提现次数已经超过三次啦，请等待自动提现或明天在申请！'),(237,'site_info_tel','010-1110000'),(238,'site_info_qq','12345678'),(239,'site_info_address','没有地址'),(240,'site_info_email','admin@qqcom'),(241,'site_info_copyright','Copyright © 2019-2022 219发卡卡版权所有'),(242,'site_info_icp','蒙ICP备00000000号   '),(243,'site_domain','www.219ka.com'),(244,'site_domain_res','/static'),(245,'site_register_verify','2'),(246,'site_register_status','0'),(247,'site_register_smscode_status','1'),(248,'site_wordfilter_status','1'),(249,'site_wordfilter_danger','色情|萝莉|贴吧|论坛|穿越火线|地下城与勇士|绝地求生|英雄联盟|QQ飞车|盒子|QQ|DNF|CF|LOL|透视|自瞄|锁头|连招|外挂|套现|脚本|成人|赌博|vpn|美女|快猫|猫咪'),(250,'disabled_domains','www|ftp|bbs|blog|tes'),(251,'site_domain_short','Sina'),(252,'storage_local_exts','jpg,jpeg,gif,png,ico'),(253,'site_logo','https://www.219ka.com/static/upload/d59a56f772b7cc92/4d488788507be75d.png'),(254,'site_shop_domain','https://www.219ka.com'),(255,'yixin_sms_cost','0.2'),(256,'smsbao_cost','0.2'),(257,'alidayu_cost','0.2'),(258,'index_theme','t4'),(259,'1cloudsp_key','Yr8vj6XiTO7oWGrE'),(260,'1cloudsp_secret','M13FMSyTIS4xsYUpPveboZhPPjpyB111'),(261,'1cloudsp_smstpl','40997'),(262,'1cloudsp_signature','219发卡发卡平台'),(263,'1cloudsp_cost','0.2'),(264,'253sms_key','N3451234'),(265,'253sms_secret','1'),(266,'253sms_signature','1'),(267,'253sms_cost','1'),(268,'ip_register_limit','0'),(269,'is_google_auth','0'),(270,'sms_error_limit','7'),(271,'sms_error_time','10'),(272,'wrong_password_times','20'),(273,'site_statistics',''),(274,'admin_login_path','admin'),(276,'announce_push','0'),(278,'spread_reward','0'),(279,'spread_reward_money','0'),(280,'spread_invite_code','0'),(281,'contact_us','&lt;dl&gt;\r\n	&lt;dt style=&quot;text-align: center;&quot;&gt;联系电话： &lt;font&gt;133-1234-1234&lt;/font&gt;&lt;/dt&gt;\r\n	&lt;dd style=&quot;text-align: center;&quot;&gt;客服 QQ： &lt;font&gt;12345678&lt;/font&gt;&lt;/dd&gt;\r\n	&lt;dd style=&quot;text-align: center;&quot;&gt;公司地址： 自动发卡系统&lt;/dd&gt;\r\n	&lt;dd style=&quot;text-align: center;&quot;&gt;公司名称： 自动发卡系统&lt;/dd&gt;\r\n&lt;/dl&gt;\r\n'),(282,'qqgroup',''),(283,'wx_auto_login','0'),(284,'is_need_invite_code','0'),(285,'site_register_code_type','sms'),(286,'auto_cash','1'),(287,'auto_cash_money','1'),(288,'sms_notify_channel','alidayu'),(289,'merchant_logo','https://www.219ka.com/static/upload/6086b8d003eb106f/b9311ffde8dccb16.png'),(290,'site_info_qrcode','https://www.219ka.com/static/upload/905534318b8dab93/ee189cf48cb75bbb.png'),(291,'cash_type','[\"1\",\"2\"]'),(292,'goods_min_price','0'),(293,'goods_max_price','500000'),(294,'auto_cash_time','0'),(295,'auto_cash_fee_type','1'),(296,'auto_cash_fee','0'),(297,'order_query_chkcode','1'),(298,'buy_protocol','&lt;p&gt;1、本站平台仅&lt;strong&gt;提供自动发卡、寄售服务&lt;/strong&gt;，并非销售商，不清楚充值卡密真实用途！&lt;/p&gt;\r\n\r\n&lt;p&gt;2、建议先咨询卖家软件用途后购买，&lt;span style=&quot;color:#ff0000;&quot;&gt;&lt;strong&gt;非卡密错误等问题本站有权驳回一切投诉与退款&lt;/strong&gt;&lt;/span&gt;。&lt;/p&gt;\r\n\r\n&lt;p&gt;3、如遇拖延时间，第二天发货的就是骗子请立即联系平台客服&lt;/p&gt;\r\n\r\n&lt;p&gt;4、如遇到&lt;span style=&quot;color:#ff0000;&quot;&gt;&lt;strong&gt;假卡/欺诈/钓鱼、等情况请在当天24点前投诉&lt;/strong&gt;&lt;/span&gt;或与我们平台QQ进行联系。&lt;/p&gt;\r\n'),(299,'login_auth','0'),(300,'login_auth_type','0'),(301,'fee_payer','1'),(302,'available_email','0'),(303,'idcard_auth_type','0'),(304,'idcard_auth_path',''),(305,'idcard_auth_appcode',''),(306,'idcard_auth_status_field','status'),(307,'idcard_auth_status_code','01'),(308,'settlement_type','1'),(309,'settlement_type','1'),(310,'settlement_type','1'),(311,'settlement_type','1'),(312,'site_info_tel_desc','(早9点30-晚18点)'),(313,'site_info_qq_desc','09:00-18:00'),(314,'site_info_qrcode_desc','商家扫描二维码关注公众号'),(315,'site_iphone_qrcode',''),(316,'site_android_qrcode',''),(317,'email_smtp1','smtp.qiye.aliyun.com'),(318,'email_port1','465'),(319,'email_user1','faka@69kz.com'),(320,'email_pass1','1111111'),(321,'email_smtp2','smtp.qiye.aliyun.com'),(322,'email_port2','465'),(323,'email_user2','admin@69kz.com'),(324,'email_pass2','11111111'),(325,'sms_complaint_channel','alidayu'),(326,'sms_complaint_notify_channel','alidayu'),(327,'alidayu_complaint_smstpl','SMS_168730312'),(328,'alidayu_complaint_notify_smstpl','SMS_168725713'),(329,'alidayu_order_smstpl','SMS_168730311'),(330,'1cloudsp_complaint_smstpl','40998'),(331,'1cloudsp_complaint_notify_smstpl','40999'),(332,'1cloudsp_order_smstpl','41000'),(333,'wechat_stock_template','F3i0XsNO_QXA-UwOlJNDs8INztcBE1Oae7slr1Oec50'),(334,'wechat_sell_template','RBPvjlbLEDNuJpJpADAOM2XWu6CYWyJK3Mo30riM4kc'),(335,'_editor_upload_62352',''),(336,'order_type','0'),(337,'user_order_profix','SY');
/*!40000 ALTER TABLE `system_config` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `system_log`
--

DROP TABLE IF EXISTS `system_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `system_log` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ip` char(15) NOT NULL DEFAULT '' COMMENT '操作者IP地址',
  `node` char(200) NOT NULL DEFAULT '' COMMENT '当前操作节点',
  `username` varchar(32) NOT NULL DEFAULT '' COMMENT '操作人用户名',
  `action` varchar(200) NOT NULL DEFAULT '' COMMENT '操作行为',
  `content` text NOT NULL COMMENT '操作内容描述',
  `create_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='系统操作日志表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `system_log`
--

LOCK TABLES `system_log` WRITE;
/*!40000 ALTER TABLE `system_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `system_log` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `system_menu`
--

DROP TABLE IF EXISTS `system_menu`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `system_menu` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `pid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '父id',
  `title` varchar(100) NOT NULL DEFAULT '' COMMENT '名称',
  `node` varchar(200) NOT NULL DEFAULT '' COMMENT '节点代码',
  `icon` varchar(100) NOT NULL DEFAULT '' COMMENT '菜单图标',
  `url` varchar(400) NOT NULL DEFAULT '' COMMENT '链接',
  `params` varchar(500) DEFAULT '' COMMENT '链接参数',
  `target` varchar(20) NOT NULL DEFAULT '_self' COMMENT '链接打开方式',
  `sort` int(11) unsigned DEFAULT '0' COMMENT '菜单排序',
  `status` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '状态(0:禁用,1:启用)',
  `create_by` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '创建人',
  `create_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  PRIMARY KEY (`id`),
  KEY `index_system_menu_node` (`node`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=138 DEFAULT CHARSET=utf8 COMMENT='系统菜单表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `system_menu`
--

LOCK TABLES `system_menu` WRITE;
/*!40000 ALTER TABLE `system_menu` DISABLE KEYS */;
INSERT INTO `system_menu` VALUES (2,0,'系统管理','','fa fa-gear','#','','_self',1000,1,0,'2015-11-16 03:15:38'),(4,2,'系统配置','','','#','','_self',100,1,0,'2016-03-14 02:12:55'),(5,4,'网站参数','','fa fa-apple','admin/config/index','','_self',20,1,0,'2016-05-05 22:36:49'),(6,4,'文件存储','','fa fa-save','admin/config/file','','_self',30,1,0,'2016-05-05 22:39:43'),(9,20,'后台操作日志','','glyphicon glyphicon-console','admin/log/index','','_self',50,1,0,'2017-03-23 23:49:31'),(19,20,'权限管理','','fa fa-user-secret','admin/auth/index','','_self',10,1,0,'2015-11-16 21:18:12'),(20,2,'系统权限','','','#','','_self',200,1,0,'2016-03-14 02:11:41'),(21,20,'系统菜单','','glyphicon glyphicon-menu-hamburger','admin/menu/index','','_self',30,1,0,'2015-11-16 03:16:16'),(22,20,'节点管理','','fa fa-ellipsis-v','admin/node/index','','_self',20,1,0,'2015-11-16 03:16:16'),(29,20,'系统用户','','fa fa-users','admin/user/index','','_self',40,1,0,'2016-10-30 22:31:40'),(61,0,'微信管理','','fa fa-wechat','#','','_self',2000,1,0,'2017-03-28 19:00:21'),(62,61,'微信对接配置','','','#','','_self',100,1,0,'2017-03-28 19:03:38'),(63,62,'微信接口配置\r\n','','fa fa-usb','wechat/config/index','','_self',10,1,0,'2017-03-28 19:04:44'),(65,61,'微信粉丝管理','','','#','','_self',300,1,0,'2017-03-28 19:08:32'),(66,65,'粉丝标签','','fa fa-tags','wechat/tags/index','','_self',10,1,0,'2017-03-28 19:09:41'),(67,65,'已关注粉丝','','fa fa-wechat','wechat/fans/index','','_self',20,1,0,'2017-03-28 19:10:07'),(68,61,'微信订制','','','#','','_self',200,1,0,'2017-03-28 19:10:39'),(69,68,'微信菜单定制','','glyphicon glyphicon-phone','wechat/menu/index','','_self',40,1,0,'2017-03-28 19:11:08'),(70,68,'关键字管理','','fa fa-paw','wechat/keys/index','','_self',10,1,0,'2017-03-28 19:11:49'),(71,68,'关注自动回复','','fa fa-commenting-o','wechat/keys/subscribe','','_self',20,1,0,'2017-03-28 19:12:32'),(81,68,'无配置默认回复','','fa fa-commenting-o','wechat/keys/defaults','','_self',30,1,0,'2017-04-20 22:48:25'),(82,61,'素材资源管理','','','#','','_self',300,1,0,'2017-04-23 19:23:18'),(83,82,'添加图文','','fa fa-folder-open-o','wechat/news/add?id=1','','_self',20,1,0,'2017-04-23 19:23:40'),(85,82,'图文列表','','fa fa-file-pdf-o','wechat/news/index','','_self',10,1,0,'2017-04-23 19:25:45'),(86,65,'粉丝黑名单','','fa fa-reddit-alien','wechat/fans/back','','_self',30,1,0,'2017-05-05 00:17:03'),(87,0,'插件案例','','','#','','_self',3000,0,0,'2017-07-09 23:10:16'),(88,87,'第三方插件','','','#','','_self',0,0,0,'2017-07-09 23:10:37'),(90,88,'PCAS 省市区','','','demo/plugs/region','','_self',0,0,0,'2017-07-10 02:45:47'),(91,87,'内置插件','','','#','','_self',0,0,0,'2017-07-10 02:56:59'),(92,91,'文件上传','','','demo/plugs/file','','_self',0,0,0,'2017-07-10 02:57:22'),(93,88,'富文本编辑器','','','demo/plugs/editor','','_self',0,0,0,'2017-07-27 23:19:44'),(95,0,'网关通道','','fa fa-product-hunt','#','','_self',4000,1,0,'2018-01-17 19:08:57'),(97,95,'支付接口管理','','fa fa-futbol-o','manage/channel/index','','_self',0,1,0,'2018-01-17 19:09:53'),(99,4,'短信配置','','fa fa-envelope-o','manage/sms/index','','_self',50,1,0,'2018-01-17 19:36:42'),(100,4,'邮件配置','','fa fa-envelope-o','manage/email/index','','_self',60,1,0,'2018-01-18 21:45:19'),(101,0,'用户管理','','fa fa-users','#','','_self',5000,1,0,'2018-01-22 18:46:59'),(102,101,'商户管理','','fa fa-users','manage/user/index','','_self',0,1,0,'2018-01-22 18:47:40'),(103,0,'交易明细','','fa fa-bar-chart','#','','_self',6000,1,0,'2018-01-23 00:47:46'),(104,103,'商品订单列表','','fa fa-list-ol','manage/order/index','','_self',0,1,0,'2018-01-23 00:48:09'),(105,103,'金额变动记录','','fa fa-exchange','manage/log/user_money','','_self',100,1,0,'2018-01-23 23:02:50'),(106,0,'财务管理','','fa fa-google-wallet','#','','_self',8000,1,0,'2018-01-23 23:17:39'),(107,106,'提现管理','','fa fa-cny','manage/cash/index','','_self',0,1,0,'2018-01-23 23:18:06'),(108,4,'后台主页','','fa fa-area-chart','manage/index/main','','_self',0,1,0,'2018-01-25 22:19:38'),(109,106,'提现配置','','fa fa-google-wallet','manage/cash/config','','_self',70,1,0,'2018-01-28 23:29:43'),(110,4,'站点信息','','glyphicon glyphicon-info-sign','manage/site/info','','_self',21,1,0,'2018-01-29 00:26:24'),(111,4,'域名设置','','fa fa-at','manage/site/domain','','_self',25,1,0,'2018-01-29 00:47:15'),(112,4,'注册设置','','fa fa-cog','manage/site/register','','_self',27,1,0,'2018-01-29 02:45:43'),(113,4,'字词过滤','','fa fa-filter','manage/site/wordfilter','','_self',90,1,0,'2018-01-29 22:50:48'),(114,103,'商户分析','','fa fa-area-chart','manage/order/merchant','','_self',40,1,0,'2018-01-30 19:32:00'),(115,103,'渠道分析','','fa fa-area-chart','manage/order/channel','','_self',50,1,0,'2018-01-30 19:32:29'),(116,103,'实时数据','','fa fa-area-chart','manage/order/hour','','_self',60,1,0,'2018-01-30 19:32:57'),(117,0,'商品管理','','fa fa-shopping-bag','#','','_self',5500,1,0,'2018-02-01 02:43:51'),(118,117,'商品管理','','fa fa-shopping-bag','manage/goods/index','','_self',0,1,0,'2018-02-01 02:44:10'),(119,103,'投诉管理','','fa fa-bullhorn','manage/complaint/index','','_self',20,1,0,'2018-02-01 23:34:06'),(121,0,'内容管理','','fa fa-file-text','#','','_self',4500,1,0,'2018-02-08 18:38:43'),(122,121,'内容管理','','fa fa-file-text','manage/article/index','','_self',0,1,0,'2018-02-08 18:44:51'),(123,121,'分类管理','','fa fa-bars','manage/article_category/index','','_self',0,1,0,'2018-03-05 08:13:26'),(124,4,'备份管理','','fa fa-database','manage/backup/index','','_self',100,1,0,'2018-03-12 03:31:11'),(125,4,'前台导航','','fa fa-navicon','admin/nav/index','','_self',110,1,0,'2018-03-23 01:08:38'),(126,101,'登录解锁','','fa fa-unlock','/manage/user/unlock','','_self',0,1,0,'2018-03-26 19:15:00'),(127,20,'商户操作日志','','fa fa-thumb-tack','/admin/mlog/index','','_self',60,1,0,'2018-03-27 00:19:10'),(128,4,'推广设置','','fa fa-bullhorn','/manage/site/spread','','_self',120,1,0,'2018-03-27 03:19:29'),(129,101,'邀请码管理','','fa fa-user-plus','/manage/invite_code/index','','_self',0,1,0,'2018-03-27 03:54:29'),(130,117,'订单自定义','','fa fa-credit-card-alt','manage/goods/change_trade_no_status','','_self',0,1,0,'2018-04-19 17:03:50'),(131,101,'费率分组管理','','','manage/rate/index','','_self',0,1,0,'2018-06-19 18:53:02'),(132,4,'数据删除','','','manage/content/del','','_self',0,1,0,'2018-10-08 08:49:42'),(133,95,'安装支付接口','','fa fa-futbol-o','manage/channel/index?is_install=0','','_self',0,1,0,'2018-01-17 19:09:53'),(135,106,'代付渠道管理','','fa fa-futbol-o','manage/cashChannel/index','','_self',1000,1,0,'2018-08-07 07:50:38'),(136,103,'支付接口订单','','fa fa-bars','/manage/order/index?category=1','','_self',0,1,0,'2019-11-21 08:02:08');
/*!40000 ALTER TABLE `system_menu` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `system_node`
--

DROP TABLE IF EXISTS `system_node`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `system_node` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `node` varchar(100) DEFAULT NULL COMMENT '节点代码',
  `title` varchar(500) DEFAULT NULL COMMENT '节点标题',
  `is_menu` tinyint(1) unsigned DEFAULT '0' COMMENT '是否可设置为菜单',
  `is_auth` tinyint(1) unsigned DEFAULT '1' COMMENT '是否启动RBAC权限控制',
  `is_login` tinyint(1) unsigned DEFAULT '1' COMMENT '是否启动登录控制',
  `create_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  PRIMARY KEY (`id`),
  KEY `index_system_node_node` (`node`)
) ENGINE=InnoDB AUTO_INCREMENT=318 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='系统节点表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `system_node`
--

LOCK TABLES `system_node` WRITE;
/*!40000 ALTER TABLE `system_node` DISABLE KEYS */;
INSERT INTO `system_node` VALUES (131,'admin/auth/index','权限列表',1,1,1,'2017-08-22 23:45:42'),(132,'admin','后台管理',0,1,1,'2017-08-22 23:45:44'),(133,'admin/auth/apply','节点授权',0,1,1,'2017-08-23 00:05:18'),(134,'admin/auth/add','添加授权',0,1,1,'2017-08-23 00:05:19'),(135,'admin/auth/edit','编辑权限',0,1,1,'2017-08-23 00:05:19'),(136,'admin/auth/forbid','禁用权限',0,1,1,'2017-08-23 00:05:20'),(137,'admin/auth/resume','启用权限',0,1,1,'2017-08-23 00:05:20'),(138,'admin/auth/del','删除权限',0,1,1,'2017-08-23 00:05:21'),(139,'admin/config/index','参数配置',1,1,1,'2017-08-23 00:05:22'),(140,'admin/config/file','文件配置',1,1,1,'2017-08-23 00:05:22'),(141,'admin/log/index','日志列表',1,1,1,'2017-08-23 00:05:23'),(142,'admin/log/del','删除日志',0,1,1,'2017-08-23 00:05:24'),(143,'admin/menu/index','菜单列表',1,1,1,'2017-08-23 00:05:25'),(144,'admin/menu/add','添加菜单',0,1,1,'2017-08-23 00:05:25'),(145,'admin/menu/edit','编辑菜单',0,1,1,'2017-08-23 00:05:26'),(146,'admin/menu/del','删除菜单',0,1,1,'2017-08-23 00:05:26'),(147,'admin/menu/forbid','禁用菜单',0,1,1,'2017-08-23 00:05:27'),(148,'admin/menu/resume','启用菜单',0,1,1,'2017-08-23 00:05:28'),(149,'admin/node/index','节点列表',1,1,1,'2017-08-23 00:05:29'),(150,'admin/node/save','节点更新',0,1,1,'2017-08-23 00:05:30'),(151,'admin/user/index','用户管理',1,1,1,'2017-08-23 00:05:31'),(152,'admin/user/auth','用户授权',0,1,1,'2017-08-23 00:05:32'),(153,'admin/user/add','添加用户',0,1,1,'2017-08-23 00:05:33'),(154,'admin/user/edit','编辑用户',0,1,1,'2017-08-23 00:05:33'),(155,'admin/user/pass','用户密码',0,1,1,'2017-08-23 00:05:34'),(156,'admin/user/del','删除用户',0,1,1,'2017-08-23 00:05:34'),(157,'admin/user/forbid','禁用用户',0,1,1,'2017-08-23 00:05:34'),(158,'admin/user/resume','启用用户',0,1,1,'2017-08-23 00:05:35'),(159,'demo/plugs/file','文件上传',1,0,0,'2017-08-23 00:05:36'),(160,'demo/plugs/region','区域选择',1,0,0,'2017-08-23 00:05:36'),(161,'demo/plugs/editor','富文本器',1,0,0,'2017-08-23 00:05:37'),(162,'wechat/config/index','微信参数',1,1,1,'2017-08-23 00:05:37'),(163,'wechat/config/pay','微信支付',0,1,1,'2017-08-23 00:05:38'),(164,'wechat/fans/index','粉丝列表',1,1,1,'2017-08-23 00:05:39'),(165,'wechat/fans/back','粉丝黑名单',1,1,1,'2017-08-23 00:05:39'),(166,'wechat/fans/backadd','移入黑名单',0,1,1,'2017-08-23 00:05:40'),(167,'wechat/fans/tagset','设置标签',0,1,1,'2017-08-23 00:05:41'),(168,'wechat/fans/backdel','移出黑名单',0,1,1,'2017-08-23 00:05:41'),(169,'wechat/fans/tagadd','添加标签',0,1,1,'2017-08-23 00:05:41'),(170,'wechat/fans/tagdel','删除标签',0,1,1,'2017-08-23 00:05:42'),(171,'wechat/fans/sync','同步粉丝',0,1,1,'2017-08-23 00:05:43'),(172,'wechat/keys/index','关键字列表',1,1,1,'2017-08-23 00:05:44'),(173,'wechat/keys/add','添加关键字',0,1,1,'2017-08-23 00:05:44'),(174,'wechat/keys/edit','编辑关键字',0,1,1,'2017-08-23 00:05:45'),(175,'wechat/keys/del','删除关键字',0,1,1,'2017-08-23 00:05:45'),(176,'wechat/keys/forbid','禁用关键字',0,1,1,'2017-08-23 00:05:46'),(177,'wechat/keys/resume','启用关键字',0,1,1,'2017-08-23 00:05:46'),(178,'wechat/keys/subscribe','关注默认回复',0,1,1,'2017-08-23 00:05:48'),(179,'wechat/keys/defaults','默认响应回复',0,1,1,'2017-08-23 00:05:49'),(180,'wechat/menu/index','微信菜单',1,1,1,'2017-08-23 00:05:51'),(181,'wechat/menu/edit','发布微信菜单',0,1,1,'2017-08-23 00:05:51'),(182,'wechat/menu/cancel','取消微信菜单',0,1,1,'2017-08-23 00:05:52'),(183,'wechat/news/index','微信图文列表',1,1,1,'2017-08-23 00:05:52'),(184,'wechat/news/select','微信图文选择',0,1,1,'2017-08-23 00:05:53'),(185,'wechat/news/image','微信图片选择',0,1,1,'2017-08-23 00:05:53'),(186,'wechat/news/add','添加图文',0,1,1,'2017-08-23 00:05:54'),(187,'wechat/news/edit','编辑图文',0,1,1,'2017-08-23 00:05:56'),(188,'wechat/news/del','删除图文',0,1,1,'2017-08-23 00:05:56'),(189,'wechat/news/push','推送图文',0,1,1,'2017-08-23 00:05:56'),(190,'wechat/tags/index','微信标签列表',1,1,1,'2017-08-23 00:05:58'),(191,'wechat/tags/add','添加微信标签',0,1,1,'2017-08-23 00:05:58'),(192,'wechat/tags/edit','编辑微信标签',0,1,1,'2017-08-23 00:05:58'),(193,'wechat/tags/sync','同步微信标签',0,1,1,'2017-08-23 00:05:59'),(194,'admin/auth','权限管理',0,1,1,'2017-08-23 00:06:58'),(195,'admin/config','系统配置',0,1,1,'2017-08-23 00:07:34'),(196,'admin/log','系统日志',0,1,1,'2017-08-23 00:07:46'),(197,'admin/menu','系统菜单',0,1,1,'2017-08-23 00:08:02'),(198,'admin/node','系统节点',0,1,1,'2017-08-23 00:08:44'),(199,'admin/user','系统用户',0,1,1,'2017-08-23 00:09:43'),(200,'demo','插件案例',0,1,1,'2017-08-23 00:10:43'),(201,'demo/plugs','插件案例',0,1,1,'2017-08-23 00:10:51'),(202,'wechat','微信管理',0,1,1,'2017-08-23 00:11:13'),(203,'wechat/config','微信配置',0,1,1,'2017-08-23 00:11:19'),(204,'wechat/fans','粉丝管理',0,1,1,'2017-08-23 00:11:36'),(205,'wechat/keys','关键字管理',0,1,1,'2017-08-23 00:13:00'),(206,'wechat/menu','微信菜单管理',0,1,1,'2017-08-23 00:14:11'),(207,'wechat/news','微信图文管理',0,1,1,'2017-08-23 00:14:40'),(208,'wechat/tags','微信标签管理',0,1,1,'2017-08-23 00:15:25'),(209,'manage/channel/index','供应商管理',0,1,1,'2018-01-18 21:53:53'),(210,'manage/channel/add','添加供应商',0,1,1,'2018-01-18 21:53:54'),(211,'manage/channel/edit','修改供应商',0,1,1,'2018-01-18 21:53:54'),(212,'manage/channel/del','删除供应商',0,1,1,'2018-01-18 21:53:54'),(213,'manage/channel/change_status','修改供应商状态',0,1,1,'2018-01-18 21:53:55'),(214,'manage/channel/getlistbypaytype','根据支付类型获取支付供应商列表',0,1,1,'2018-01-18 21:53:55'),(215,'manage/channelaccount/add','添加供应商账号',0,1,1,'2018-01-18 21:54:03'),(216,'manage/channelaccount/index','供应商账号管理',0,1,1,'2018-01-18 21:54:04'),(217,'manage/channelaccount/edit','修改供应商账号',0,1,1,'2018-01-18 21:54:05'),(218,'manage/channelaccount/del','删除供应商账号',0,1,1,'2018-01-18 21:54:06'),(219,'manage/channelaccount/clear','清除供应商账号额度',0,1,1,'2018-01-18 21:54:07'),(220,'manage/channelaccount/change_status','修改供应商账号状态',0,1,1,'2018-01-18 21:54:07'),(221,'manage/channelaccount/getfields','获取渠道账户字段',0,1,1,'2018-01-18 21:54:08'),(222,'manage/email/index','邮件配置',0,1,1,'2018-01-18 21:54:10'),(223,'manage/email/test','发信测试',0,1,1,'2018-01-18 21:54:10'),(224,'manage/product/index','支付产品管理',0,1,1,'2018-01-18 21:54:11'),(225,'manage/product/add','添加支付产品',0,1,1,'2018-01-18 21:54:12'),(226,'manage/product/edit','编辑支付产品',0,1,1,'2018-01-18 21:54:12'),(227,'manage/product/del','删除支付产品',0,1,1,'2018-01-18 21:54:14'),(228,'manage/product/change_status','修改支付产品状态',0,1,1,'2018-01-18 21:54:14'),(229,'manage/sms/index','短信配置',0,1,1,'2018-01-18 21:54:15'),(230,'manage/cash/index','提现列表',0,1,1,'2018-01-25 00:47:20'),(231,'manage/cash/detail','提现申请详情',0,1,1,'2018-01-25 00:47:20'),(232,'manage/cash/payqrcode','',0,1,1,'2018-01-25 00:47:21'),(233,'manage/log/user_money','金额变动记录',0,1,1,'2018-01-25 00:47:24'),(234,'manage/order/index','订单列表',0,1,1,'2018-01-25 00:47:25'),(235,'manage/order/detail','订单详情',0,1,1,'2018-01-25 00:47:26'),(236,'manage/user/index','商户管理',0,1,1,'2018-01-25 00:47:29'),(237,'manage/user/change_status','修改商户审核状态',0,1,1,'2018-01-25 00:47:30'),(238,'manage/user/detail','查看商户详情',0,1,1,'2018-01-25 00:47:30'),(239,'manage/user/add','添加商户',0,1,1,'2018-01-25 00:47:31'),(240,'manage/user/edit','编辑商户',0,1,1,'2018-01-25 00:47:31'),(241,'manage/user/del','删除商户',0,1,1,'2018-01-25 00:47:32'),(242,'manage/user/manage_money','商户资金管理',0,1,1,'2018-01-25 00:47:32'),(243,'manage/user/rate','设置商户费率',0,1,1,'2018-01-25 00:47:33'),(244,'manage/cash/config','提现配置',0,1,1,'2018-02-01 01:00:28'),(245,'manage/index/main','主页',0,1,1,'2018-02-01 01:00:33'),(246,'manage/order/merchant','商户分析',0,1,1,'2018-02-01 01:00:35'),(247,'manage/order/channel','渠道分析',0,1,1,'2018-02-01 01:00:36'),(248,'manage/order/hour','实时数据',0,1,1,'2018-02-01 01:00:36'),(249,'manage/site/info','站点信息配置',0,1,1,'2018-02-01 01:00:40'),(250,'manage/site/domain','域名设置',0,1,1,'2018-02-01 01:00:40'),(251,'manage/site/register','注册设置',0,1,1,'2018-02-01 01:00:41'),(252,'manage/site/wordfilter','字词过滤',0,1,1,'2018-02-01 01:00:41'),(253,'manage/user/change_freeze_status','修改商户冻结状态',0,1,1,'2018-02-01 01:00:43'),(254,'manage/user/login','商户登录',0,1,1,'2018-02-01 01:00:45'),(255,'manage/user/message','商户站内信',0,1,1,'2018-02-01 01:00:45'),(256,'merchant/cash/index','',0,0,0,'2018-02-01 01:00:48'),(257,'manage/goods/index','商品管理',0,1,1,'2018-02-01 03:33:28'),(258,'manage/goods/change_status','修改商品上架状态',0,1,1,'2018-02-01 03:33:29'),(259,'manage/complaint/index','投诉管理',0,1,1,'2018-02-02 03:46:10'),(260,'manage/complaint/change_status','修改投诉处理状态',0,1,1,'2018-02-02 03:46:11'),(261,'manage/complaint/change_admin_read','修改投诉读取状态',0,1,1,'2018-02-02 03:46:11'),(262,'manage/complaint/del','删除投诉',0,1,1,'2018-02-02 03:46:12'),(263,'manage/order/change_freeze_status','修改订单冻结状态',0,1,1,'2018-02-05 02:24:23'),(264,'manage/user/loginlog','商户登录日志',0,1,1,'2018-02-05 02:24:31'),(265,'merchant/user/closelink','',0,0,0,'2018-03-19 22:22:03'),(266,'merchant/goodscategory','',0,0,0,'2018-03-19 22:22:32'),(267,'merchant/cash/apply','',0,0,0,'2018-03-19 22:22:35'),(268,'merchant/cash','',0,0,0,'2018-03-19 22:22:38'),(269,'merchant','',0,0,0,'2018-03-19 22:23:00'),(270,'manage/article/add','添加文章',0,1,1,'2018-03-19 22:23:38'),(271,'manage/article/edit','编辑文章',0,1,1,'2018-03-19 22:23:39'),(272,'manage/article/index','内容管理',0,1,1,'2018-03-19 22:23:39'),(273,'manage/article/change_status','修改文章状态',0,1,1,'2018-03-19 22:23:40'),(274,'manage/article/del','删除文章',0,1,1,'2018-03-19 22:23:41'),(275,'manage/articlecategory/index','文章分类管理',0,1,1,'2018-03-19 22:23:53'),(276,'manage/articlecategory/add','添加文章分类',0,1,1,'2018-03-19 22:23:53'),(277,'manage/articlecategory/edit','编辑文章分类',0,1,1,'2018-03-19 22:23:54'),(278,'manage/articlecategory/change_status','修改文章分类状态',0,1,1,'2018-03-19 22:23:54'),(279,'manage/articlecategory/del','删除文章分类',0,1,1,'2018-03-19 22:23:55'),(280,'manage/backup/index','备份管理',0,1,1,'2018-03-19 22:24:04'),(281,'manage/backup/tablist','获取数据表',0,1,1,'2018-03-19 22:24:05'),(282,'manage/backup/backall','备份数据库',0,1,1,'2018-03-19 22:24:06'),(283,'manage/backup/backtables','按表备份',0,1,1,'2018-03-19 22:24:07'),(284,'manage/backup/recover','还原数据库',0,1,1,'2018-03-19 22:24:07'),(285,'manage/backup/downloadbak','下载备份文件',0,1,1,'2018-03-19 22:24:08'),(286,'manage/backup/deletebak','删除备份',0,1,1,'2018-03-19 22:24:09'),(287,'manage/article','内容管理',0,1,1,'2018-03-22 00:32:51'),(288,'admin/auth/google','',0,0,0,'2018-03-22 00:33:13'),(289,'admin/auth/bindgoogle','生成绑定谷歌身份验证器二维码',0,0,0,'2018-03-22 00:39:13'),(290,'manage/user','用户管理',0,1,1,'2018-03-22 00:41:20'),(291,'manage/sms','短信配置',0,1,1,'2018-03-22 00:44:54'),(292,'manage/site','站点信息',0,1,1,'2018-03-22 00:45:04'),(293,'manage/product','支付产品管理',0,1,1,'2018-03-22 00:47:47'),(294,'manage/order/del_batch','批量删除无效订单',0,1,1,'2018-03-22 00:48:42'),(295,'manage/order/del','删除无效订单',0,1,1,'2018-03-22 00:48:43'),(296,'manage/order','交易明细',0,1,1,'2018-03-22 00:50:10'),(297,'manage/log','金额变动记录',0,1,1,'2018-03-22 00:51:25'),(298,'manage/index','主页',0,1,1,'2018-03-22 00:51:55'),(299,'manage/goods','商品管理',0,1,1,'2018-03-22 00:52:09'),(300,'manage/email','邮件配置',0,1,1,'2018-03-22 00:53:07'),(301,'manage/complaint','投诉管理',0,1,1,'2018-03-22 00:54:06'),(302,'manage/channelaccount','供应商账号管理',0,1,1,'2018-03-22 00:54:52'),(303,'manage/channel','供应商管理',0,1,1,'2018-03-22 02:45:06'),(304,'manage/cash','提现管理',0,1,1,'2018-03-22 02:46:43'),(305,'manage/backup','备份管理',0,1,1,'2018-03-22 02:49:14'),(306,'manage/articlecategory','文章分类管理',0,1,1,'2018-03-22 02:53:43'),(307,'manage/goods/change_trade_no_status',NULL,0,1,1,'2018-04-19 17:04:48'),(308,'shop/shop/index',NULL,0,0,0,'2018-06-21 02:19:27'),(309,'shop/shop/category',NULL,0,0,0,'2018-06-21 02:19:28'),(310,'shop/shop/goods',NULL,0,0,0,'2018-06-21 02:20:39'),(311,'shop/shop/getgoodslist',NULL,0,0,0,'2018-06-21 02:20:40'),(312,'shop/shop/getgoodsinfo',NULL,0,0,0,'2018-06-21 02:20:41'),(313,'shop/shop/getrate',NULL,0,0,0,'2018-06-21 02:20:41'),(314,'shop/shop/getdiscounts',NULL,0,0,0,'2018-06-21 02:20:42'),(315,'shop/shop/getdiscount',NULL,0,0,0,'2018-06-21 02:20:43'),(316,'shop/shop/checkvisitpassword',NULL,0,0,0,'2018-06-21 02:20:43'),(317,'shop/shop/checkcoupon',NULL,0,0,0,'2018-06-21 02:20:44');
/*!40000 ALTER TABLE `system_node` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `system_sequence`
--

DROP TABLE IF EXISTS `system_sequence`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `system_sequence` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `type` varchar(20) DEFAULT NULL COMMENT '序号类型',
  `sequence` char(50) NOT NULL COMMENT '序号值',
  `create_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `index_system_sequence_unique` (`type`,`sequence`) USING BTREE,
  KEY `index_system_sequence_type` (`type`),
  KEY `index_system_sequence_number` (`sequence`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='系统序号表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `system_sequence`
--

LOCK TABLES `system_sequence` WRITE;
/*!40000 ALTER TABLE `system_sequence` DISABLE KEYS */;
/*!40000 ALTER TABLE `system_sequence` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `system_user`
--

DROP TABLE IF EXISTS `system_user`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `system_user` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `username` varchar(50) NOT NULL DEFAULT '' COMMENT '用户登录名',
  `password` char(32) NOT NULL DEFAULT '' COMMENT '用户登录密码',
  `qq` varchar(16) DEFAULT NULL COMMENT '联系QQ',
  `mail` varchar(32) DEFAULT NULL COMMENT '联系邮箱',
  `phone` varchar(16) DEFAULT NULL COMMENT '联系手机号',
  `desc` varchar(255) DEFAULT '' COMMENT '备注说明',
  `login_num` bigint(20) unsigned DEFAULT '0' COMMENT '登录次数',
  `login_at` datetime DEFAULT NULL,
  `status` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '状态(0:禁用,1:启用)',
  `authorize` varchar(255) DEFAULT NULL,
  `is_deleted` tinyint(1) unsigned DEFAULT '0' COMMENT '删除状态(1:删除,0:未删)',
  `create_by` bigint(20) unsigned DEFAULT NULL COMMENT '创建人',
  `create_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `google_secret_key` varchar(128) DEFAULT '' COMMENT '谷歌令牌密钥',
  PRIMARY KEY (`id`),
  UNIQUE KEY `index_system_user_username` (`username`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=10009 DEFAULT CHARSET=utf8 COMMENT='系统用户表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `system_user`
--

LOCK TABLES `system_user` WRITE;
/*!40000 ALTER TABLE `system_user` DISABLE KEYS */;
INSERT INTO `system_user` VALUES (10005,'admin','7fef6171469e80d32c0559f88b377245',NULL,'244656508@qq.com','18711111111','demo',449,'2019-11-23 20:48:19',1,'3,4,5,6',0,NULL,'2018-05-02 00:40:09',NULL);
/*!40000 ALTER TABLE `system_user` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `unique_orderno`
--

DROP TABLE IF EXISTS `unique_orderno`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `unique_orderno` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `trade_no` varchar(255) COLLATE utf8_bin NOT NULL COMMENT '订单号',
  PRIMARY KEY (`id`),
  UNIQUE KEY `index_trade_no` (`trade_no`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `unique_orderno`
--

LOCK TABLES `unique_orderno` WRITE;
/*!40000 ALTER TABLE `unique_orderno` DISABLE KEYS */;
/*!40000 ALTER TABLE `unique_orderno` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `user`
--

DROP TABLE IF EXISTS `user`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `user` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `parent_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '上级ID',
  `openid` varchar(50) NOT NULL DEFAULT '' COMMENT '微信openid',
  `username` varchar(50) NOT NULL,
  `password` char(32) NOT NULL,
  `mobile` varchar(15) NOT NULL DEFAULT '' COMMENT '手机号',
  `qq` varchar(16) NOT NULL,
  `email` varchar(50) NOT NULL,
  `subdomain` varchar(250) NOT NULL DEFAULT '' COMMENT '子域名',
  `shop_name` varchar(20) NOT NULL DEFAULT '' COMMENT '店铺名称',
  `shop_notice` varchar(200) NOT NULL DEFAULT '' COMMENT '公告通知',
  `statis_code` varchar(1024) NOT NULL DEFAULT '' COMMENT '统计代码',
  `pay_theme` varchar(255) NOT NULL DEFAULT 'default' COMMENT '支付页风格',
  `stock_display` tinyint(3) unsigned NOT NULL DEFAULT '2' COMMENT '库存展示方式 1实际库存 2库存范围',
  `money` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rebate` decimal(10,3) unsigned NOT NULL DEFAULT '0.000',
  `freeze_money` decimal(10,3) NOT NULL DEFAULT '0.000',
  `status` tinyint(3) unsigned NOT NULL DEFAULT '1' COMMENT '0未审核 1已审核',
  `is_freeze` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '是否冻结 0否 1是',
  `create_at` int(10) unsigned NOT NULL,
  `ip` varchar(50) DEFAULT '' COMMENT 'IP地址',
  `website` varchar(255) NOT NULL DEFAULT '' COMMENT '商户网站',
  `is_close` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '是否关闭店铺 0否 1是',
  `shop_notice_auto_pop` tinyint(4) NOT NULL DEFAULT '1' COMMENT '商家公告是否自动弹出',
  `cash_type` tinyint(4) NOT NULL DEFAULT '1' COMMENT '提现方式',
  `login_auth` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否开启安全登录',
  `login_auth_type` tinyint(4) NOT NULL DEFAULT '1' COMMENT '安全登录验证方式，1：短信，2：邮件，3：谷歌密码验证',
  `google_secret_key` varchar(128) DEFAULT '' COMMENT '谷歌令牌密钥',
  `shop_gouka_protocol_pop` tinyint(4) NOT NULL DEFAULT '1' COMMENT '购卡协议是否自动弹出',
  `user_notice_auto_pop` tinyint(4) NOT NULL DEFAULT '1' COMMENT '商家是否自动弹出',
  `login_key` int(11) NOT NULL DEFAULT '0' COMMENT '用户登录标记',
  `fee_payer` tinyint(4) NOT NULL DEFAULT '0' COMMENT '订单手续费支付方，0：跟随系统，1：商家承担，2买家承担',
  `settlement_type` tinyint(4) NOT NULL DEFAULT '-1' COMMENT '结算方式，-1：跟随系统，1:T1结算，0:T0结算',
  `daili_shenhe` tinyint(4) NOT NULL DEFAULT '0' COMMENT '代理审核方式，0：手动，1:自动',
  `daili_duijiema` varchar(50) NOT NULL DEFAULT '' COMMENT '代理对接码',
  `key` varchar(50) NOT NULL DEFAULT '' COMMENT '支付接口秘钥',
  PRIMARY KEY (`id`),
  UNIQUE KEY `user_mobile_uindex` (`mobile`),
  UNIQUE KEY `user_email_uindex` (`email`)
) ENGINE=InnoDB AUTO_INCREMENT=10443 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `user`
--

LOCK TABLES `user` WRITE;
/*!40000 ALTER TABLE `user` DISABLE KEYS */;
/*!40000 ALTER TABLE `user` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `user_channel`
--

DROP TABLE IF EXISTS `user_channel`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `user_channel` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `channel_id` int(10) unsigned NOT NULL,
  `status` tinyint(3) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  UNIQUE KEY `user_id` (`user_id`,`channel_id`)
) ENGINE=InnoDB AUTO_INCREMENT=82 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `user_channel`
--

LOCK TABLES `user_channel` WRITE;
/*!40000 ALTER TABLE `user_channel` DISABLE KEYS */;
/*!40000 ALTER TABLE `user_channel` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `user_collect`
--

DROP TABLE IF EXISTS `user_collect`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `user_collect` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `type` tinyint(3) unsigned NOT NULL DEFAULT '1' COMMENT '类型 1支付宝 2微信 3银行卡',
  `info` text NOT NULL,
  `create_at` int(10) unsigned NOT NULL DEFAULT '0',
  `collect_img` tinytext,
  `allow_update` tinyint(4) NOT NULL DEFAULT '0' COMMENT '1为允许用户修改收款信息',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=91 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `user_collect`
--

LOCK TABLES `user_collect` WRITE;
/*!40000 ALTER TABLE `user_collect` DISABLE KEYS */;
INSERT INTO `user_collect` VALUES (89,10438,2,'{\"account\":\"oaJSA0pv3yEi544w-JVDOxGJ-A5w\",\"realname\":\"赵朝鲜\",\"idcard_number\":\"152103198910180617\"}',1574501587,'https://www.219ka.com/static/upload/5dd8fcd3f20b1/5dd8fcd3f20f0.jpg',0),(90,10442,2,'{\"account\":\"oaJSA0m1uFt3v_p9BpgV4SsECQcg\",\"realname\":\"郭纯\",\"idcard_number\":\"152103198910180617\"}',1574501895,'https://www.219ka.com/static/upload/5dd8fe078e304/5dd8fe078e343.png',0);
/*!40000 ALTER TABLE `user_collect` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `user_login_error_log`
--

DROP TABLE IF EXISTS `user_login_error_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `user_login_error_log` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `login_name` varchar(50) NOT NULL DEFAULT '' COMMENT '登录名',
  `password` varchar(255) NOT NULL DEFAULT '' COMMENT '尝试密码',
  `user_type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0：普通用户 1：后台管理员账号',
  `login_from` int(1) NOT NULL DEFAULT '0' COMMENT '登录来源：0：前台 1：总后台',
  `login_time` int(11) NOT NULL DEFAULT '0' COMMENT '登录时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=315 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `user_login_error_log`
--

LOCK TABLES `user_login_error_log` WRITE;
/*!40000 ALTER TABLE `user_login_error_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `user_login_error_log` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `user_login_log`
--

DROP TABLE IF EXISTS `user_login_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `user_login_log` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `ip` varchar(15) NOT NULL DEFAULT '',
  `create_at` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `user_login_log`
--

LOCK TABLES `user_login_log` WRITE;
/*!40000 ALTER TABLE `user_login_log` DISABLE KEYS */;
INSERT INTO `user_login_log` VALUES (1,10438,'110.6.158.157',1572445038),(2,10438,'110.6.158.157',1572445048);
/*!40000 ALTER TABLE `user_login_log` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `user_money_log`
--

DROP TABLE IF EXISTS `user_money_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `user_money_log` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `business_type` enum('sub_sold_rebate','sub_fee_rebate','cash_notpass','cash_success','apply_cash','admin_dec','admin_inc','goods_sold','fee','sub_register','freeze','unfreeze') NOT NULL,
  `user_id` int(10) unsigned NOT NULL COMMENT '用户ID',
  `money` decimal(10,3) NOT NULL COMMENT '变动金额',
  `balance` decimal(10,3) NOT NULL COMMENT '剩余',
  `reason` varchar(255) NOT NULL DEFAULT '' COMMENT '变动原因',
  `create_at` int(10) unsigned NOT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `user_money_log`
--

LOCK TABLES `user_money_log` WRITE;
/*!40000 ALTER TABLE `user_money_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `user_money_log` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `user_rate`
--

DROP TABLE IF EXISTS `user_rate`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `user_rate` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL COMMENT '用户ID',
  `channel_id` int(10) unsigned NOT NULL COMMENT '渠道ID',
  `rate` decimal(10,4) unsigned NOT NULL COMMENT '发卡费率',
  `rate_api` decimal(10,4) unsigned NOT NULL COMMENT '支付接口费率',
  PRIMARY KEY (`id`),
  UNIQUE KEY `user_id` (`user_id`,`channel_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `user_rate`
--

LOCK TABLES `user_rate` WRITE;
/*!40000 ALTER TABLE `user_rate` DISABLE KEYS */;
/*!40000 ALTER TABLE `user_rate` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `user_token`
--

DROP TABLE IF EXISTS `user_token`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `user_token` (
  `user_id` int(10) unsigned NOT NULL COMMENT '用户 id',
  `token` varchar(255) NOT NULL COMMENT '用户登录凭证',
  `platform` varchar(20) NOT NULL COMMENT '用户登录平台',
  `refresh_token` varchar(255) NOT NULL COMMENT '登录凭证刷新凭证',
  `created_at` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间，即登录时间',
  `expire_at` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '凭证过期时间',
  KEY `index_login_user` (`user_id`) USING BTREE,
  KEY `index_login_token` (`token`) USING BTREE,
  KEY `index_login_platform` (`platform`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `user_token`
--

LOCK TABLES `user_token` WRITE;
/*!40000 ALTER TABLE `user_token` DISABLE KEYS */;
/*!40000 ALTER TABLE `user_token` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `verify_email_error_log`
--

DROP TABLE IF EXISTS `verify_email_error_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `verify_email_error_log` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `username` varchar(50) DEFAULT '' COMMENT '前台用户名',
  `admin` varchar(50) DEFAULT '' COMMENT '管理员用户名',
  `email` varchar(20) DEFAULT '' COMMENT '邮箱',
  `code` varchar(10) DEFAULT '' COMMENT '输入验证码',
  `screen` varchar(20) DEFAULT '' COMMENT '使用场景',
  `type` tinyint(1) DEFAULT '0' COMMENT '1：短信验证码 2：谷歌身份验证, 0:邮箱',
  `ctime` int(11) DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `verify_email_error_log`
--

LOCK TABLES `verify_email_error_log` WRITE;
/*!40000 ALTER TABLE `verify_email_error_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `verify_email_error_log` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `verify_error_log`
--

DROP TABLE IF EXISTS `verify_error_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `verify_error_log` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `username` varchar(50) DEFAULT '' COMMENT '前台用户名',
  `admin` varchar(50) DEFAULT '' COMMENT '管理员用户名',
  `mobile` varchar(20) DEFAULT '' COMMENT '手机号码',
  `code` varchar(10) DEFAULT '' COMMENT '输入验证码',
  `screen` varchar(20) DEFAULT '' COMMENT '使用场景',
  `type` tinyint(1) DEFAULT '0' COMMENT '1：短信验证码 2：谷歌身份验证',
  `ctime` int(11) DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `verify_error_log`
--

LOCK TABLES `verify_error_log` WRITE;
/*!40000 ALTER TABLE `verify_error_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `verify_error_log` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `wechat_fans`
--

DROP TABLE IF EXISTS `wechat_fans`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wechat_fans` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '粉丝表ID',
  `appid` varchar(50) DEFAULT NULL COMMENT '公众号Appid',
  `groupid` bigint(20) unsigned DEFAULT NULL COMMENT '分组ID',
  `tagid_list` varchar(100) DEFAULT '' COMMENT '标签id',
  `is_back` tinyint(1) unsigned DEFAULT '0' COMMENT '是否为黑名单用户',
  `subscribe` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '用户是否订阅该公众号，0：未关注，1：已关注',
  `openid` char(100) NOT NULL DEFAULT '' COMMENT '用户的标识，对当前公众号唯一',
  `spread_openid` char(100) DEFAULT NULL COMMENT '推荐人OPENID',
  `spread_at` datetime DEFAULT NULL,
  `nickname` varchar(100) DEFAULT NULL COMMENT '用户的昵称',
  `sex` tinyint(1) unsigned DEFAULT NULL COMMENT '用户的性别，值为1时是男性，值为2时是女性，值为0时是未知',
  `country` varchar(50) DEFAULT NULL COMMENT '用户所在国家',
  `province` varchar(50) DEFAULT NULL COMMENT '用户所在省份',
  `city` varchar(50) DEFAULT NULL COMMENT '用户所在城市',
  `language` varchar(50) DEFAULT NULL COMMENT '用户的语言，简体中文为zh_CN',
  `headimgurl` varchar(500) DEFAULT NULL COMMENT '用户头像',
  `subscribe_time` bigint(20) unsigned DEFAULT NULL COMMENT '用户关注时间',
  `subscribe_at` datetime DEFAULT NULL COMMENT '关注时间',
  `unionid` varchar(100) DEFAULT NULL COMMENT 'unionid',
  `remark` varchar(50) DEFAULT NULL COMMENT '备注',
  `expires_in` bigint(20) unsigned DEFAULT '0' COMMENT '有效时间',
  `refresh_token` varchar(200) DEFAULT NULL COMMENT '刷新token',
  `access_token` varchar(200) DEFAULT NULL COMMENT '访问token',
  `create_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  PRIMARY KEY (`id`),
  KEY `index_wechat_fans_spread_openid` (`spread_openid`) USING BTREE,
  KEY `index_wechat_fans_openid` (`openid`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='微信粉丝';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `wechat_fans`
--

LOCK TABLES `wechat_fans` WRITE;
/*!40000 ALTER TABLE `wechat_fans` DISABLE KEYS */;
/*!40000 ALTER TABLE `wechat_fans` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `wechat_fans_tags`
--

DROP TABLE IF EXISTS `wechat_fans_tags`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wechat_fans_tags` (
  `id` bigint(20) unsigned NOT NULL COMMENT '标签ID',
  `appid` char(50) DEFAULT NULL COMMENT '公众号APPID',
  `name` varchar(35) DEFAULT NULL COMMENT '标签名称',
  `count` int(11) unsigned DEFAULT NULL COMMENT '总数',
  `create_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建日期',
  KEY `index_wechat_fans_tags_id` (`id`) USING BTREE,
  KEY `index_wechat_fans_tags_appid` (`appid`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='微信会员标签';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `wechat_fans_tags`
--

LOCK TABLES `wechat_fans_tags` WRITE;
/*!40000 ALTER TABLE `wechat_fans_tags` DISABLE KEYS */;
INSERT INTO `wechat_fans_tags` VALUES (2,NULL,'星标组',0,'2019-11-22 10:06:26'),(100,NULL,'管理组',0,'2019-11-22 10:06:26');
/*!40000 ALTER TABLE `wechat_fans_tags` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `wechat_keys`
--

DROP TABLE IF EXISTS `wechat_keys`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wechat_keys` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `appid` char(50) DEFAULT NULL COMMENT '公众号APPID',
  `type` varchar(20) DEFAULT NULL COMMENT '类型，text 文件消息，image 图片消息，news 图文消息',
  `keys` varchar(100) DEFAULT NULL COMMENT '关键字',
  `content` text COMMENT '文本内容',
  `image_url` varchar(255) DEFAULT NULL COMMENT '图片链接',
  `voice_url` varchar(255) DEFAULT NULL COMMENT '语音链接',
  `music_title` varchar(100) DEFAULT NULL COMMENT '音乐标题',
  `music_url` varchar(255) DEFAULT NULL COMMENT '音乐链接',
  `music_image` varchar(255) DEFAULT NULL COMMENT '音乐缩略图链接',
  `music_desc` varchar(255) DEFAULT NULL COMMENT '音乐描述',
  `video_title` varchar(100) DEFAULT NULL COMMENT '视频标题',
  `video_url` varchar(255) DEFAULT NULL COMMENT '视频URL',
  `video_desc` varchar(255) DEFAULT NULL COMMENT '视频描述',
  `news_id` bigint(20) unsigned DEFAULT NULL COMMENT '图文ID',
  `sort` bigint(20) unsigned DEFAULT '0' COMMENT '排序字段',
  `status` tinyint(1) unsigned DEFAULT '1' COMMENT '0 禁用，1 启用',
  `create_by` bigint(20) unsigned DEFAULT NULL COMMENT '创建人',
  `create_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '创建时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COMMENT=' 微信关键字';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `wechat_keys`
--

LOCK TABLES `wechat_keys` WRITE;
/*!40000 ALTER TABLE `wechat_keys` DISABLE KEYS */;
INSERT INTO `wechat_keys` VALUES (1,NULL,'text','subscribe','欢迎关注219自动发卡平台，竭诚为您提供最安全、便捷发卡服务！商家绑定账号地址：https://www.219ka.com/merchant','http://www.219ka.com/static/theme/default/img/image.png','','音乐标题','','http://www.219ka.com/static/theme/default/img/image.png','音乐描述','视频标题','','视频描述',0,0,1,NULL,'2019-11-23 15:24:17'),(2,NULL,'text','default','您好，使用问题请联系卖家，客服不知道商品用途！！！请在网站https://www.219ka.com/orderquery用联系方式或者订单号查询订单，上面有卖家qq。\r\n如有其他投诉问题请联系客服QQ：351075088','http://www.219ka.com/static/theme/default/img/image.png','','音乐标题','','http://www.219ka.com/static/theme/default/img/image.png','音乐描述','视频标题','','视频描述',0,0,1,NULL,'2019-11-23 15:24:20'),(3,NULL,'text','邀请码','您好，219发卡平台商家注册邀请码没有可以直接空着，不用必填！其他买家商品邀请码，请查询订单联系卖家QQ！','http://www.219ka.com/static/theme/default/img/image.png','','音乐标题','','http://www.219ka.com/static/theme/default/img/image.png','音乐描述','视频标题','','视频描述',0,0,1,NULL,'2019-11-23 15:24:24'),(4,NULL,'text','卡','您好，买的商品卡密如果没有，请查询订单联系卖家QQ，如果不回复可以点买家服务-查询订单然后投诉，24小时内解决！','http://www.219ka.com/static/theme/default/img/image.png','','音乐标题','','http://www.219ka.com/static/theme/default/img/image.png','音乐描述','视频标题','','视频描述',0,0,1,NULL,'2019-11-23 15:24:26'),(5,NULL,'text','音乐','欣赏音乐请进入 https://www.69kz.com/yinyue','https://www.219ka.com/static/theme/default/img/image.png','','音乐标题','','https://www.219ka.com/static/theme/default/img/image.png','音乐描述','视频标题','','视频描述',0,0,1,NULL,'2019-11-06 03:57:31');
/*!40000 ALTER TABLE `wechat_keys` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `wechat_menu`
--

DROP TABLE IF EXISTS `wechat_menu`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wechat_menu` (
  `id` bigint(16) unsigned NOT NULL AUTO_INCREMENT,
  `index` bigint(20) DEFAULT NULL,
  `pindex` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '父id',
  `type` varchar(24) NOT NULL DEFAULT '' COMMENT '菜单类型 null主菜单 link链接 keys关键字',
  `name` varchar(256) NOT NULL DEFAULT '' COMMENT '菜单名称',
  `content` text NOT NULL COMMENT '文字内容',
  `sort` bigint(20) unsigned DEFAULT '0' COMMENT '排序',
  `status` tinyint(1) unsigned DEFAULT '1' COMMENT '状态(0禁用1启用)',
  `create_by` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '创建人',
  `create_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  PRIMARY KEY (`id`),
  KEY `index_wechat_menu_pindex` (`pindex`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=517 DEFAULT CHARSET=utf8 COMMENT='微信菜单配置';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `wechat_menu`
--

LOCK TABLES `wechat_menu` WRITE;
/*!40000 ALTER TABLE `wechat_menu` DISABLE KEYS */;
INSERT INTO `wechat_menu` VALUES (499,1,0,'view','买家服务','http://www.219ka.com/',0,1,0,'2019-11-23 15:14:18'),(500,11,1,'text','人工客服','您好，如果是卡密使用问题请先联系卖家协商！如果是其他问题联系平台客服QQ：351075088',0,1,0,'2019-11-23 15:14:18'),(501,12,1,'view','投诉查询','https://www.219ka.com/complaintquery',1,1,0,'2019-11-23 15:14:18'),(502,13,1,'view','订单投诉','https://www.219ka.com/complaint?trade_no=',2,1,0,'2019-11-23 15:14:18'),(503,14,1,'view','查询订单','https://www.219ka.com/orderquery',3,1,0,'2019-11-23 15:14:18'),(504,15,1,'text','买家帮助','1：付款后没有收到卡密怎么办？\n请在公众号点击卡密查询按钮输入T开头的订单号或者输入您下单时填写的联系方式查询卡密。\n2：卡密不能使用怎么办？\n请确保您是使用复制的方式来使用卡密的，如确定卡密无误还是不能使用，请联系卖家处理或在查询订单页面投诉订单。\n3：怎么联系卖家\n请在这里https://www.219ka.com/orderquery可以用联系方式或者订单号查询订单，上面有卖家qq',4,1,0,'2019-11-23 15:14:18'),(505,2,0,'text','后台管理','',1,1,0,'2019-11-23 15:14:18'),(506,21,2,'view','卡密列表','https://www.219ka.com/merchant/goods_card/index',0,1,0,'2019-11-23 15:14:18'),(507,22,2,'view','最近售出','https://www.219ka.com/merchant/order/index?status=1',1,1,0,'2019-11-23 15:14:18'),(508,23,2,'view','平台费率','https://www.219ka.com/merchant/user/channel',2,1,0,'2019-11-23 15:14:18'),(509,24,2,'view','商品列表','https://www.219ka.com/merchant/goods/index',3,1,0,'2019-11-23 15:14:18'),(510,25,2,'view','商品分类','https://www.219ka.com/merchant/goods_category/index',4,1,0,'2019-11-23 15:14:18'),(511,3,0,'text','我的账号','',2,1,0,'2019-11-23 15:14:18'),(512,31,3,'view','店铺链接','https://www.219ka.com/merchant/user/link',0,1,0,'2019-11-23 15:14:18'),(513,32,3,'view','提现记录','https://www.219ka.com/merchant/cash/index',1,1,0,'2019-11-23 15:14:18'),(514,33,3,'view','申请提现','https://www.219ka.com/merchant/cash/apply',2,1,0,'2019-11-23 15:14:18'),(515,34,3,'view','商家设置','https://www.219ka.com/merchant/user/settings',3,1,0,'2019-11-23 15:14:18'),(516,35,3,'view','商户后台','https://www.219ka.com/merchant/index',4,1,0,'2019-11-23 15:14:18');
/*!40000 ALTER TABLE `wechat_menu` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `wechat_news`
--

DROP TABLE IF EXISTS `wechat_news`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wechat_news` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `media_id` varchar(100) DEFAULT NULL COMMENT '永久素材MediaID',
  `local_url` varchar(300) DEFAULT NULL COMMENT '永久素材显示URL',
  `article_id` varchar(60) DEFAULT NULL COMMENT '关联图文ID，用，号做分割',
  `is_deleted` tinyint(1) unsigned DEFAULT '0' COMMENT '是否删除',
  `create_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `create_by` bigint(20) DEFAULT NULL COMMENT '创建人',
  PRIMARY KEY (`id`),
  KEY `index_wechat_new_artcle_id` (`article_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='微信图文表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `wechat_news`
--

LOCK TABLES `wechat_news` WRITE;
/*!40000 ALTER TABLE `wechat_news` DISABLE KEYS */;
/*!40000 ALTER TABLE `wechat_news` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `wechat_news_article`
--

DROP TABLE IF EXISTS `wechat_news_article`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wechat_news_article` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `title` varchar(50) DEFAULT NULL COMMENT '素材标题',
  `local_url` varchar(300) DEFAULT NULL COMMENT '永久素材显示URL',
  `show_cover_pic` tinyint(4) unsigned DEFAULT '0' COMMENT '是否显示封面 0不显示，1 显示',
  `author` varchar(20) DEFAULT NULL COMMENT '作者',
  `digest` varchar(300) DEFAULT NULL COMMENT '摘要内容',
  `content` longtext COMMENT '图文内容',
  `content_source_url` varchar(200) DEFAULT NULL COMMENT '图文消息原文地址',
  `create_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `create_by` bigint(20) DEFAULT NULL COMMENT '创建人',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='微信素材表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `wechat_news_article`
--

LOCK TABLES `wechat_news_article` WRITE;
/*!40000 ALTER TABLE `wechat_news_article` DISABLE KEYS */;
/*!40000 ALTER TABLE `wechat_news_article` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `wechat_news_image`
--

DROP TABLE IF EXISTS `wechat_news_image`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wechat_news_image` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `md5` varchar(32) DEFAULT NULL COMMENT '文件md5',
  `local_url` varchar(300) DEFAULT NULL COMMENT '本地文件链接',
  `media_url` varchar(300) DEFAULT NULL COMMENT '远程图片链接',
  `create_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  PRIMARY KEY (`id`),
  KEY `index_wechat_news_image_md5` (`md5`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='微信服务器图片';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `wechat_news_image`
--

LOCK TABLES `wechat_news_image` WRITE;
/*!40000 ALTER TABLE `wechat_news_image` DISABLE KEYS */;
/*!40000 ALTER TABLE `wechat_news_image` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `wechat_news_media`
--

DROP TABLE IF EXISTS `wechat_news_media`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wechat_news_media` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `appid` varchar(200) DEFAULT NULL COMMENT '公众号ID',
  `md5` varchar(32) DEFAULT NULL COMMENT '文件md5',
  `type` varchar(20) DEFAULT NULL COMMENT '媒体类型',
  `media_id` varchar(100) DEFAULT NULL COMMENT '永久素材MediaID',
  `local_url` varchar(300) DEFAULT NULL COMMENT '本地文件链接',
  `media_url` varchar(300) DEFAULT NULL COMMENT '远程图片链接',
  `create_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='微信素材表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `wechat_news_media`
--

LOCK TABLES `wechat_news_media` WRITE;
/*!40000 ALTER TABLE `wechat_news_media` DISABLE KEYS */;
/*!40000 ALTER TABLE `wechat_news_media` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `wechat_pay_notify`
--

DROP TABLE IF EXISTS `wechat_pay_notify`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wechat_pay_notify` (
  `id` int(20) NOT NULL AUTO_INCREMENT,
  `appid` varchar(50) DEFAULT NULL COMMENT '公众号Appid',
  `bank_type` varchar(50) DEFAULT NULL COMMENT '银行类型',
  `cash_fee` bigint(20) DEFAULT NULL COMMENT '现金价',
  `fee_type` char(20) DEFAULT NULL COMMENT '币种，1人民币',
  `is_subscribe` char(1) DEFAULT 'N' COMMENT '是否关注，Y为关注，N为未关注',
  `mch_id` varchar(50) DEFAULT NULL COMMENT '商户MCH_ID',
  `nonce_str` varchar(32) DEFAULT NULL COMMENT '随机串',
  `openid` varchar(50) DEFAULT NULL COMMENT '微信用户openid',
  `out_trade_no` varchar(50) DEFAULT NULL COMMENT '支付平台退款交易号',
  `sign` varchar(100) DEFAULT NULL COMMENT '签名',
  `time_end` datetime DEFAULT NULL COMMENT '结束时间',
  `result_code` varchar(10) DEFAULT NULL,
  `return_code` varchar(10) DEFAULT NULL,
  `total_fee` varchar(11) DEFAULT NULL COMMENT '支付总金额，单位为分',
  `trade_type` varchar(20) DEFAULT NULL COMMENT '支付方式',
  `transaction_id` varchar(64) DEFAULT NULL COMMENT '订单号',
  `create_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '本地系统时间',
  PRIMARY KEY (`id`),
  KEY `index_wechat_pay_notify_openid` (`openid`) USING BTREE,
  KEY `index_wechat_pay_notify_out_trade_no` (`out_trade_no`) USING BTREE,
  KEY `index_wechat_pay_notify_transaction_id` (`transaction_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='支付日志表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `wechat_pay_notify`
--

LOCK TABLES `wechat_pay_notify` WRITE;
/*!40000 ALTER TABLE `wechat_pay_notify` DISABLE KEYS */;
/*!40000 ALTER TABLE `wechat_pay_notify` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `wechat_pay_prepayid`
--

DROP TABLE IF EXISTS `wechat_pay_prepayid`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wechat_pay_prepayid` (
  `id` int(20) NOT NULL AUTO_INCREMENT,
  `appid` char(50) DEFAULT NULL COMMENT '公众号APPID',
  `from` char(32) DEFAULT 'shop' COMMENT '支付来源',
  `fee` bigint(20) unsigned DEFAULT NULL COMMENT '支付费用(分)',
  `trade_type` varchar(20) DEFAULT NULL COMMENT '订单类型',
  `order_no` varchar(50) DEFAULT NULL COMMENT '内部订单号',
  `out_trade_no` varchar(50) DEFAULT NULL COMMENT '外部订单号',
  `prepayid` varchar(500) DEFAULT NULL COMMENT '预支付码',
  `expires_in` bigint(20) unsigned DEFAULT NULL COMMENT '有效时间',
  `transaction_id` varchar(64) DEFAULT NULL COMMENT '微信平台订单号',
  `is_pay` tinyint(1) unsigned DEFAULT '0' COMMENT '1已支付，0未支退款',
  `pay_at` datetime DEFAULT NULL COMMENT '支付时间',
  `is_refund` tinyint(1) unsigned DEFAULT '0' COMMENT '是否退款，退款单号(T+原来订单)',
  `refund_at` datetime DEFAULT NULL COMMENT '退款时间',
  `create_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '本地系统时间',
  PRIMARY KEY (`id`),
  KEY `index_wechat_pay_prepayid_outer_no` (`out_trade_no`) USING BTREE,
  KEY `index_wechat_pay_prepayid_order_no` (`order_no`) USING BTREE,
  KEY `index_wechat_pay_is_pay` (`is_pay`) USING BTREE,
  KEY `index_wechat_pay_is_refund` (`is_refund`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='支付订单号对应表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `wechat_pay_prepayid`
--

LOCK TABLES `wechat_pay_prepayid` WRITE;
/*!40000 ALTER TABLE `wechat_pay_prepayid` DISABLE KEYS */;
/*!40000 ALTER TABLE `wechat_pay_prepayid` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2019-11-23 23:24:54
