-- MySQL dump 10.13  Distrib 5.5.62, for Linux (x86_64)
--
-- Host: localhost    Database: pay_cocnt_cn
-- ------------------------------------------------------
-- 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 `xh_client_alipay_automatic_account`
--

DROP TABLE IF EXISTS `xh_client_alipay_automatic_account`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `xh_client_alipay_automatic_account` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(32) DEFAULT '0' COMMENT '支付宝名称',
  `card` char(100) DEFAULT NULL,
  `time` int(10) DEFAULT NULL,
  `status` tinyint(1) DEFAULT '1' COMMENT 'login.txt',
  `login_time` int(11) NOT NULL DEFAULT '0' COMMENT '登录时间',
  `heartbeats` int(11) NOT NULL DEFAULT '0' COMMENT '通讯心跳次数',
  `active_time` int(11) NOT NULL DEFAULT '0' COMMENT '最近活跃时间',
  `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户id',
  `key_id` varchar(36) NOT NULL DEFAULT '' COMMENT 'keyId',
  `hb` tinyint(1) NOT NULL DEFAULT '0' COMMENT '红包模式 1开启',
  `training` tinyint(1) NOT NULL DEFAULT '2' COMMENT '轮训 1 开启  2 关闭',
  `receiving` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1 启动网关 2 关闭网关',
  `android_heartbeat` int(11) NOT NULL DEFAULT '0' COMMENT '安卓连接心跳时间',
  `login_img` text NOT NULL COMMENT '登录图片base64',
  `uid` varchar(128) NOT NULL COMMENT 'APPID',
  `cookie` varchar(10000) DEFAULT NULL COMMENT 'cookie',
  `appCertPath` varchar(1024) NOT NULL COMMENT '支付宝应用公钥证书路径',
  `alipayCertPath` varchar(1024) NOT NULL COMMENT '支付宝公钥证书路径',
  `rootCertPath` varchar(1024) NOT NULL COMMENT '支付宝根证书路径',
  `today_money` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '今日收款总额',
  `today_pens` int(10) NOT NULL DEFAULT '0' COMMENT '今日交易笔数',
  PRIMARY KEY (`id`),
  UNIQUE KEY `key_id` (`key_id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `xh_client_alipay_automatic_account`
--

LOCK TABLES `xh_client_alipay_automatic_account` WRITE;
/*!40000 ALTER TABLE `xh_client_alipay_automatic_account` DISABLE KEYS */;
INSERT INTO `xh_client_alipay_automatic_account` VALUES (5,'6852849904',NULL,NULL,4,1576047742,0,0,2,'2D6B1C5',0,2,1,0,'','6852849904','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','','','',0.00,0);
/*!40000 ALTER TABLE `xh_client_alipay_automatic_account` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `xh_client_alipay_automatic_appid`
--

DROP TABLE IF EXISTS `xh_client_alipay_automatic_appid`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `xh_client_alipay_automatic_appid` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `beizhu` varchar(64) CHARACTER SET utf8mb4 DEFAULT '' COMMENT '备注',
  `weid` varchar(36) NOT NULL DEFAULT '' COMMENT '随机字符',
  `name` varchar(32) NOT NULL COMMENT '备注',
  `status` tinyint(1) DEFAULT '1' COMMENT 'login.txt',
  `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户id',
  `key_id` varchar(64) NOT NULL DEFAULT '' COMMENT '设备key',
  `appid` varchar(64) NOT NULL DEFAULT '' COMMENT '支付宝收款APPID',
  `cookie` varchar(1024) DEFAULT NULL COMMENT 'cookie',
  `max_amount` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '最大领取金额',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '领取金额',
  `all_amount` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '总领取金额',
  `max_time` int(11) NOT NULL DEFAULT '0' COMMENT '计划任务定义时间',
  `all_number` varchar(64) NOT NULL DEFAULT '0',
  `today_number` varchar(64) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `xh_client_alipay_automatic_appid`
--

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

--
-- Table structure for table `xh_client_alipay_automatic_orders`
--

DROP TABLE IF EXISTS `xh_client_alipay_automatic_orders`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `xh_client_alipay_automatic_orders` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `alipay_id` int(11) NOT NULL DEFAULT '0' COMMENT '支付宝id',
  `creation_time` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
  `pay_time` int(11) NOT NULL DEFAULT '0' COMMENT '支付时间',
  `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '支付状态  1 等待下发支付二维码   2未支付 3订单超时 4已支付',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '支付金额',
  `syrmb` decimal(10,2) DEFAULT '0.00' COMMENT '剩余金额',
  `uid` varchar(64) NOT NULL DEFAULT '0' COMMENT '付款UID',
  `order_id` varchar(256) CHARACTER SET utf8mb4 NOT NULL DEFAULT '0' COMMENT '红包领取唯一id',
  `cookie` varchar(1024) DEFAULT NULL COMMENT 'cookie',
  `callback_url` text NOT NULL COMMENT '回调url',
  `success_url` text COMMENT '支付成功后跳转url',
  `error_url` text COMMENT '支付异常或超时跳转url',
  `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户id',
  `key_id` varchar(36) CHARACTER SET utf8mb4 NOT NULL COMMENT 'keyId',
  `callback_time` int(11) DEFAULT '0' COMMENT '通知发送的时间',
  `out_trade_no` varchar(128) NOT NULL DEFAULT '0' COMMENT '交易订单号，用户名，备注信息',
  `ip` varchar(18) NOT NULL DEFAULT '127.0.0.1' COMMENT '发起支付时IP地址',
  `trade_no` varchar(64) NOT NULL DEFAULT '' COMMENT '订单交易号',
  `qrcode` varchar(128) DEFAULT '' COMMENT '支付二维码',
  `pay_html` varchar(256) DEFAULT '' COMMENT '支付页面',
  `aliddh` varchar(128) NOT NULL DEFAULT '0' COMMENT '收款订单号',
  `no` varchar(128) NOT NULL DEFAULT ' ',
  `callback_status` tinyint(1) DEFAULT '0' COMMENT '0 未回调 1已回调',
  `callback_content` varchar(32) DEFAULT '0' COMMENT '回调内容',
  `callback_count` tinyint(1) NOT NULL DEFAULT '0' COMMENT '发送回调次数',
  `callback_from` varchar(3) NOT NULL DEFAULT 'app' COMMENT '回调来源',
  `requset_data` varchar(1000) NOT NULL DEFAULT ' ',
  `fees` decimal(10,3) DEFAULT '0.000' COMMENT '手续费',
  `agent_rate` decimal(10,3) DEFAULT '0.000' COMMENT '代理获利',
  `alddh` varchar(128) NOT NULL DEFAULT '0' COMMENT '收款订单号',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=43 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `xh_client_alipay_automatic_orders`
--

LOCK TABLES `xh_client_alipay_automatic_orders` WRITE;
/*!40000 ALTER TABLE `xh_client_alipay_automatic_orders` DISABLE KEYS */;
INSERT INTO `xh_client_alipay_automatic_orders` VALUES (1,1,1576045338,0,2,1.00,1.00,'6852849904','104448318922987627','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'AF1A806',0,'2019121114221881633','114.96.210.82','222852019121197989910','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=1','http://pay.cocnt.cn/1.html','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(2,1,1576045344,0,2,1.00,1.00,'6852849904','104448318948682586','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'AF1A806',0,'2019121114222452197','114.96.210.82','999012019121148971029','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=2','http://pay.cocnt.cn/2.html','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(3,1,1576045349,0,2,1.00,1.00,'6852849904','104448318969979816','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'AF1A806',0,'2019121114222979409','114.96.210.82','846832019121153101565','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=3','http://pay.cocnt.cn/3.html','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(4,1,1576045355,0,2,200.00,200.00,'6852849904','0','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'AF1A806',0,'2019121114223517757','114.96.210.82','307972019121198499757','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=4','','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(5,1,1576045360,0,2,300.00,300.00,'6852849904','0','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'AF1A806',0,'2019121114224054946','114.96.210.82','443342019121148555348','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=5','','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(6,1,1576045365,0,2,200.00,200.00,'6852849904','104448319037101659','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'AF1A806',0,'2019121114224566467','114.96.210.82','677172019121153985657','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=6','http://pay.cocnt.cn/6.html','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(7,1,1576045374,0,2,300.00,300.00,'6852849904','0','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'AF1A806',0,'2019121114225413727','114.96.210.82','506712019121110110110','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=7','','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(8,1,1576045379,0,2,300.00,300.00,'6852849904','104448319095422068','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'AF1A806',0,'2019121114225969309','114.96.210.82','662532019121151101102','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=8','http://pay.cocnt.cn/8.html','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(9,1,1576045388,0,2,500.00,500.00,'6852849904','0','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'AF1A806',0,'2019121114230848501','114.96.210.82','777482019121199579950','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=9','','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(10,1,1576045397,0,2,500.00,500.00,'6852849904','0','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'AF1A806',0,'2019121114231778238','114.96.210.82','564872019121153521019','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=10','','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(11,1,1576045403,0,2,500.00,500.00,'6852849904','0','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'AF1A806',0,'2019121114232345891','114.96.210.82','593732019121198554910','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=11','','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(12,1,1576045409,0,2,500.00,500.00,'6852849904','0','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'AF1A806',0,'2019121114232945765','114.96.210.82','702022019121149101549','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=12','','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(13,1,1576045415,0,2,500.00,500.00,'6852849904','0','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'AF1A806',0,'2019121114233568015','114.96.210.82','784562019121155499952','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=13','','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(14,1,1576045419,0,2,500.00,500.00,'6852849904','0','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'AF1A806',0,'2019121114233990629','114.96.210.82','152252019121198561015','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=14','','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(15,1,1576045423,0,2,500.00,500.00,'6852849904','0','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'AF1A806',0,'2019121114234315234','114.96.210.82','418792019121110210156','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=15','','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(16,1,1576045428,0,2,500.00,500.00,'6852849904','104448319309065526','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'AF1A806',0,'2019121114234840261','114.96.210.82','242302019121152555310','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=16','http://pay.cocnt.cn/16.html','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(17,1,1576045449,0,2,600.00,600.00,'6852849904','104448319389408350','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'AF1A806',0,'2019121114240980860','114.96.210.82','152552019121157994998','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=17','http://pay.cocnt.cn/17.html','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(18,1,1576045457,0,2,700.00,700.00,'6852849904','104448319435227062','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'AF1A806',0,'2019121114241730696','114.96.210.82','801952019121149535248','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=18','http://pay.cocnt.cn/18.html','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(19,1,1576045481,0,2,900.00,900.00,'6852849904','104448319531518958','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'AF1A806',0,'2019121114244169359','114.96.210.82','552272019121157571015','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=19','http://pay.cocnt.cn/19.html','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(20,1,1576045496,0,2,800.00,800.00,'6852849904','104448319644394584','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'AF1A806',0,'2019121114245679449','114.96.210.82','551732019121156565353','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=20','http://pay.cocnt.cn/20.html','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(21,1,1576045574,0,2,1.00,1.00,'6852849904','104448319921904785','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'AF1A806',0,'2019121114261435223','114.96.210.82','504052019121154981015','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=21','http://pay.cocnt.cn/21.html','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(22,1,1576045585,0,2,1.00,1.00,'6852849904','104448319996858635','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'AF1A806',0,'2019121114262583297','114.96.210.82','932252019121149541025','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=22','http://pay.cocnt.cn/22.html','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(23,1,1576045655,0,2,1.00,1.00,'6852849904','104448320286493968','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'AF1A806',0,'2019121114273486156','114.96.210.82','584962019121155495352','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=23','http://pay.cocnt.cn/23.html','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(24,2,1576045720,0,2,1.00,1.00,'6852849904','104448320538152342','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'3854D78',0,'2019121114284035406','114.96.210.82','958892019121156555710','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=24','http://pay.cocnt.cn/24.html','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(25,2,1576045731,0,2,200.00,200.00,'6852849904','104448320576190103','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'3854D78',0,'2019121114285165123','114.96.210.82','365792019121151549749','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=25','http://pay.cocnt.cn/25.html','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(26,2,1576045767,0,2,1.00,1.00,'6852849904','104448320722626084','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'3854D78',0,'2019121114292737855','114.96.210.82','322502019121155565650','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=26','http://pay.cocnt.cn/26.html','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(27,2,1576045774,0,2,200.00,200.00,'6852849904','0','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'3854D78',0,'2019121114293463726','114.96.210.82','325482019121110199975','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=27','','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(28,2,1576045782,0,2,300.00,300.00,'6852849904','104448320844492637','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'3854D78',0,'2019121114294230396','114.96.210.82','368032019121154505651','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=28','http://pay.cocnt.cn/28.html','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(29,2,1576045831,0,2,1.00,1.00,'6852849904','104448321016805805','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'3854D78',0,'2019121114303144642','114.96.210.82','195362019121155549957','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=29','http://pay.cocnt.cn/29.html','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(30,2,1576045855,0,2,200.00,200.00,'6852849904','0','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'3854D78',0,'2019121114305459932','114.96.210.82','169652019121110248975','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=30','','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(31,2,1576047209,0,2,1.00,1.00,'6852849904','104448326771389184','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'3854D78',0,'2019121114532911198','114.96.210.82','649112019121157575351','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=31','http://pay.cocnt.cn/31.html','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(32,2,1576047250,0,2,1.00,1.00,'6852849904','104448326939160492','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'3854D78',0,'2019121114541016544','114.96.210.82','106592019121150525253','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=32','http://pay.cocnt.cn/32.html','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(33,2,1576047255,0,2,300.00,300.00,'6852849904','104448327157273977','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'3854D78',0,'2019121114541580156','114.96.210.82','718542019121155979854','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=33','http://pay.cocnt.cn/33.html','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(34,2,1576047370,0,2,500.00,500.00,'6852849904','0','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'3854D78',0,'2019121114561073101','114.96.210.82','555982019121197555750','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=34','','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(35,2,1576047448,0,2,1.00,1.00,'6852849904','0','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'3854D78',0,'2019121114572746030','114.96.210.82','784432019121156485655','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=35','','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(36,3,1576047487,0,2,1.00,1.00,'6852849904','0','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'C8403FF',0,'2019121114580730239','114.96.210.82','208312019121110210099','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=36','','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(37,3,1576047520,0,2,100.00,100.00,'6852849904','0','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'C8403FF',0,'2019121114583980319','114.96.210.82','311842019121148484949','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=37','','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(38,3,1576047636,0,2,1.00,1.00,'6852849904','0','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'C8403FF',0,'2019121115003626527','114.96.210.82','430902019121152535298','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=38','','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(39,3,1576047641,0,2,50.00,50.00,'6852849904','0','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'C8403FF',0,'2019121115004136038','114.96.210.82','435082019121157525053','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=39','','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(40,3,1576047659,0,2,1.00,1.00,'6852849904','0','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'C8403FF',0,'2019121115005932928','114.96.210.82','981662019121198549910','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=40','','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(41,4,1576047725,0,2,1.00,1.00,'6852849904','0','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60;','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'61C6169',0,'2019121115020530603','114.96.210.82','507362019121110053569','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=41','','0',' ',0,'0',0,'app',' ',0.000,0.000,'0'),(42,5,1576047748,0,2,1.00,1.00,'6852849904','0','SUB=_2A25w9PhGDeRhGeBG7lAZ9CfFyziIHXVTgG6OrDV8PUNbmtBeLWLSkW9NRgZ6PHoxtzmRaHKn0SxRZFVYGjPatx60','http://pay.cocnt.cn/index/index/callback.do','http://pay.cocnt.cn/index/alipay/automatic.do','http://pay.cocnt.cn/index/alipay/automatic.do',2,'2D6B1C5',0,'2019121115022842825','114.96.210.82','265342019121152995710','http://pay.cocnt.cn/gateway/pay/automaticAlipay.do?id=42','','0',' ',0,'0',0,'app',' ',0.000,0.000,'0');
/*!40000 ALTER TABLE `xh_client_alipay_automatic_orders` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `xh_client_code`
--

DROP TABLE IF EXISTS `xh_client_code`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `xh_client_code` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `phone` varchar(12) NOT NULL DEFAULT '' COMMENT '手机号',
  `codec` int(6) NOT NULL DEFAULT '0' COMMENT '验证码',
  `get_time` int(11) DEFAULT '0' COMMENT '获取时间',
  `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态 1 正常 2 已使用',
  `typec` varchar(16) NOT NULL DEFAULT '' COMMENT '类型',
  `ip` varchar(16) NOT NULL DEFAULT '' COMMENT 'ip地址',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='短信验证码';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `xh_client_code`
--

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

--
-- Table structure for table `xh_client_data`
--

DROP TABLE IF EXISTS `xh_client_data`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `xh_client_data` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(64) NOT NULL DEFAULT '0' COMMENT '键名',
  `value` text NOT NULL COMMENT '键值',
  `userid` int(11) NOT NULL DEFAULT '0' COMMENT '用户id',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=86 DEFAULT CHARSET=utf8 COMMENT='商品费率';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `xh_client_data`
--

LOCK TABLES `xh_client_data` WRITE;
/*!40000 ALTER TABLE `xh_client_data` DISABLE KEYS */;
INSERT INTO `xh_client_data` VALUES (75,'alipayConfig','{\"robin\":1}',10150),(76,'automaticConfig','{\"robin\":2}',10150),(77,'alipayConfig','{\"robin\":2}',10152),(78,'alipayConfig','{\"robin\":1}',10153),(79,'alipayConfig','{\"robin\":1}',10151),(80,'alipayConfig','{\"robin\":1}',10155),(81,'alipayConfig','{\"robin\":1}',10157),(82,'alipayConfig','{\"robin\":1}',10159),(83,'alipayConfig','{\"robin\":2}',10160),(84,'serviceConfig','{\"robin\":\"1\"}',0),(85,'alipayConfig','{\"robin\":1}',10172);
/*!40000 ALTER TABLE `xh_client_data` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `xh_client_group`
--

DROP TABLE IF EXISTS `xh_client_group`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `xh_client_group` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(26) NOT NULL DEFAULT '普通用户' COMMENT '用户组名称',
  `authority` text COMMENT '权限组分配 -1 全局禁止 json数据',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=10013 DEFAULT CHARSET=utf8 COMMENT='用户组';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `xh_client_group`
--

LOCK TABLES `xh_client_group` WRITE;
/*!40000 ALTER TABLE `xh_client_group` DISABLE KEYS */;
INSERT INTO `xh_client_group` VALUES (9999,'全局禁止','-1'),(10002,'普通会员','{\"wechat_auto\":{\"cost\":\"0.02\",\"open\":1,\"quantity\":\"1\"},\"alipay_auto\":{\"cost\":\"0.029\",\"open\":1,\"quantity\":\"99999\"},\"tenpay_auto\":{\"cost\":\"0.02\",\"open\":1,\"quantity\":\"1\"},\"jdpay_auto\":{\"cost\":\"0.02\",\"open\":1,\"quantity\":\"1\"},\"service_auto\":{\"cost\":\"0.03\",\"open\":1,\"quantity\":\"10\",\"gateway\":null},\"simple_way\":{\"cost\":\"0\",\"open\":1,\"quantity\":\"10\"},\"withdraw\":{\"cost\":\"0\",\"open\":2,\"quantity\":\"1\"},\"shop\":{\"cost\":\"0\",\"open\":1,\"quantity\":\"1\"}}');
/*!40000 ALTER TABLE `xh_client_group` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `xh_client_pay_record`
--

DROP TABLE IF EXISTS `xh_client_pay_record`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `xh_client_pay_record` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `pay_time` int(11) NOT NULL DEFAULT '0' COMMENT '支付时间',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '支付金额',
  `user_id` int(11) DEFAULT '0' COMMENT '用户id  0为系统',
  `pay_note` varchar(128) NOT NULL DEFAULT '' COMMENT '备注信息',
  `types` tinyint(1) NOT NULL DEFAULT '0' COMMENT '订单类型 1 微信 2 支付宝',
  `version_code` varchar(32) NOT NULL DEFAULT 'wechat_auto' COMMENT '软件版本',
  `notice` tinyint(1) DEFAULT '0' COMMENT '0 未通知 1 已通知',
  `average` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0 普通订单 1 平台系统订单',
  `bankorderid` varchar(100) DEFAULT NULL COMMENT '区分ID',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='实时交易记录';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `xh_client_pay_record`
--

LOCK TABLES `xh_client_pay_record` WRITE;
/*!40000 ALTER TABLE `xh_client_pay_record` DISABLE KEYS */;
INSERT INTO `xh_client_pay_record` VALUES (1,1552748599,0.01,10150,'[公开版]支付宝ID：4 - 订单信息：4',2,'alipay_auto',1,1,NULL),(2,1552748727,0.01,10150,'[公开版]支付宝ID：5 - 订单信息：5',2,'alipay_auto',1,1,NULL),(3,1552749863,0.10,0,'服务版 - 订单信息：1',2,'service_auto',0,1,NULL);
/*!40000 ALTER TABLE `xh_client_pay_record` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `xh_client_take`
--

DROP TABLE IF EXISTS `xh_client_take`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `xh_client_take` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `set_id` varchar(36) NOT NULL DEFAULT '' COMMENT '微博订单号',
  `get_name` varchar(1024) NOT NULL DEFAULT '' COMMENT '发包微博昵称',
  `seler_name` varchar(1024) NOT NULL DEFAULT '' COMMENT '收包微博昵称	',
  `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户id',
  `owner_uid` varchar(64) NOT NULL DEFAULT '' COMMENT '发包ID	',
  `seler_uid` varchar(64) NOT NULL DEFAULT '' COMMENT '收包ID	',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '领取金额',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `xh_client_take`
--

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

--
-- Table structure for table `xh_client_user`
--

DROP TABLE IF EXISTS `xh_client_user`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `xh_client_user` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `username` varchar(18) NOT NULL DEFAULT '' COMMENT '用户名',
  `phone` varchar(12) NOT NULL DEFAULT '13800138000' COMMENT '手机号',
  `pwd` varchar(32) NOT NULL DEFAULT '' COMMENT '密码',
  `balance` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '余额-用作于消费',
  `money` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '金额-用作于提现',
  `token` varchar(12) NOT NULL DEFAULT '' COMMENT 'token',
  `ip` varchar(16) NOT NULL DEFAULT '8.8.8.8' COMMENT '登录IP',
  `group_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户组id',
  `level_id` int(11) NOT NULL DEFAULT '0' COMMENT '上级id',
  `login_time` int(11) DEFAULT '0' COMMENT '上次登录时间',
  `avatar` varchar(100) DEFAULT NULL,
  `key_id` varchar(32) DEFAULT '0' COMMENT '商户key',
  `bank` text COMMENT '银行卡信息 json',
  `apk_download_num` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `username` (`username`),
  UNIQUE KEY `phone` (`phone`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='用户';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `xh_client_user`
--

LOCK TABLES `xh_client_user` WRITE;
/*!40000 ALTER TABLE `xh_client_user` DISABLE KEYS */;
INSERT INTO `xh_client_user` VALUES (1,'ceshi1','13888888888','71f5ccaa1dae5c4ebcc4919',11111.00,11111.00,'252de088c','175.43.103.15',10002,0,1575275375,'0','7BAEB3C972E676',NULL,0),(2,'daye011','13000000000','e53a3438c58ee9a16973548',99999999.99,0.00,'f994b1f4b','114.96.210.82',10002,0,1576045289,'0','3D94556EBFC22B',NULL,0);
/*!40000 ALTER TABLE `xh_client_user` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `xh_client_withdraw`
--

DROP TABLE IF EXISTS `xh_client_withdraw`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `xh_client_withdraw` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户id',
  `old_amount` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '旧金额',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '金额',
  `new_amount` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '新金额',
  `types` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1 银行处理中 2 银行到账 3 钱款驳回 4 资金异常',
  `content` varchar(255) NOT NULL DEFAULT '0' COMMENT '处理信息',
  `apply_time` int(11) NOT NULL DEFAULT '0' COMMENT '申请时间',
  `deal_time` int(11) NOT NULL DEFAULT '0' COMMENT '处理时间',
  `flow_no` varchar(32) NOT NULL DEFAULT '0' COMMENT '流水号',
  `fees` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '手续费',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=10054 DEFAULT CHARSET=utf8 COMMENT='提现表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `xh_client_withdraw`
--

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

--
-- Table structure for table `xh_mgt`
--

DROP TABLE IF EXISTS `xh_mgt`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `xh_mgt` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `username` varchar(18) NOT NULL DEFAULT '' COMMENT '管理组用户名',
  `pwd` varchar(32) NOT NULL DEFAULT '' COMMENT '密码MD5',
  `pwd_safe` varchar(26) NOT NULL DEFAULT '0' COMMENT '安全口令',
  `group_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户组ID',
  `avatar` varchar(48) DEFAULT 'default.jpg' COMMENT '头像',
  `phone` varchar(12) NOT NULL DEFAULT '13800138000' COMMENT '手机号码',
  `email` varchar(46) DEFAULT '' COMMENT '邮箱',
  `token` varchar(10) NOT NULL DEFAULT '' COMMENT '动态token密钥',
  `remarks` varchar(255) DEFAULT '' COMMENT '用户备注',
  `ip` varchar(15) NOT NULL DEFAULT '255.255.255.255' COMMENT 'ip登录地址',
  `view_module` varchar(255) DEFAULT '0' COMMENT '最近访问的10个操作',
  `login_time` int(11) NOT NULL DEFAULT '0' COMMENT '上次登录时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `username` (`username`),
  UNIQUE KEY `phone` (`phone`),
  UNIQUE KEY `email` (`email`)
) ENGINE=MyISAM AUTO_INCREMENT=29 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `xh_mgt`
--

LOCK TABLES `xh_mgt` WRITE;
/*!40000 ALTER TABLE `xh_mgt` DISABLE KEYS */;
INSERT INTO `xh_mgt` VALUES (20,'admin','a56c450bfc6a3300557a170','95e8f81bb53892c28c2c55c',1,'201901142110217108451.png','13333333333','1236666@qq.com','f0945b849','默认账户','114.96.210.82','0',1576045221);
/*!40000 ALTER TABLE `xh_mgt` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `xh_mgt_group`
--

DROP TABLE IF EXISTS `xh_mgt_group`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `xh_mgt_group` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `authority` text COMMENT '权限组，json数据，-2 为最高权限，-1 为全局封禁',
  `mgt_name` varchar(26) NOT NULL DEFAULT '' COMMENT '权限组名称',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=utf8 COMMENT='管理员用户组';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `xh_mgt_group`
--

LOCK TABLES `xh_mgt_group` WRITE;
/*!40000 ALTER TABLE `xh_mgt_group` DISABLE KEYS */;
INSERT INTO `xh_mgt_group` VALUES (1,'-2','超级管理员'),(2,'-1','BENNED'),(8,'[\"14\",\"16\",\"17\",\"18\",\"19\",\"20\",\"21\",\"22\",\"23\",\"24\",\"25\",\"26\",\"27\",\"28\"]','软件管理');
/*!40000 ALTER TABLE `xh_mgt_group` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `xh_mgt_menu`
--

DROP TABLE IF EXISTS `xh_mgt_menu`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `xh_mgt_menu` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `menu_name` text NOT NULL COMMENT '菜单名称',
  `opened` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1 默认打开 2 默认关闭',
  `hide` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1 开启 2 隐藏',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=utf8 COMMENT='菜单';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `xh_mgt_menu`
--

LOCK TABLES `xh_mgt_menu` WRITE;
/*!40000 ALTER TABLE `xh_mgt_menu` DISABLE KEYS */;
INSERT INTO `xh_mgt_menu` VALUES (6,'<span class=\"icon color7\"><i class=\"fa fa-cog\"></i></span>系统设置<span class=\"caret\"></span>',1,1),(7,'<span class=\"icon color7\"><i class=\"fa fa-user\"></i></span>用户管理<span class=\"caret\"></span>',1,1),(8,'<span class=\"icon color7\"><i class=\"fa fa-wechat\"></i></span>微信管理<span class=\"caret\"></span>',1,2),(9,'<span class=\"icon color7\"><i class=\"fa fa-pinterest\"></i></span>微博红包<span class=\"caret\"></span>',1,1),(10,'<span class=\"icon color7\"><i class=\"fa fa-pied-piper\"></i></span>服务版<span class=\"caret\"></span>',1,2),(11,'<span class=\"icon color7\"><i class=\"fa fa-shopping-cart\"></i></span>商店系统<span class=\"caret\"></span>',1,2);
/*!40000 ALTER TABLE `xh_mgt_menu` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `xh_mgt_module`
--

DROP TABLE IF EXISTS `xh_mgt_module`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `xh_mgt_module` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '模块id',
  `name` varchar(32) NOT NULL DEFAULT '控制面板' COMMENT '控制器名称',
  `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1 开启 2 关闭',
  `menuid` int(11) NOT NULL DEFAULT '0' COMMENT '绑定菜单ID',
  `route` varchar(40) NOT NULL DEFAULT 'admin/index/console' COMMENT '路径',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=33 DEFAULT CHARSET=utf8 COMMENT='模块索引';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `xh_mgt_module`
--

LOCK TABLES `xh_mgt_module` WRITE;
/*!40000 ALTER TABLE `xh_mgt_module` DISABLE KEYS */;
INSERT INTO `xh_mgt_module` VALUES (14,'网站设置',1,6,'admin/system/webCog'),(16,'短信配置',1,6,'admin/system/smsCog'),(17,'用户组',1,7,'admin/customer/index'),(18,'通道开关',1,6,'admin/system/costCog'),(19,'注册设置',1,7,'admin/customer/registerCog'),(20,'会员管理',1,7,'admin/member/index'),(21,'Automatic v1.0',1,8,'admin/wechat/automatic'),(22,'服务端',1,6,'admin/server/index'),(23,'交易订单',1,8,'admin/wechat/automaticOrder'),(24,'账号列表',1,9,'admin/alipay/automatic'),(25,'交易订单',1,9,'admin/alipay/automaticOrder'),(26,'交易订单',1,10,'admin/service/order'),(27,'账户管理',1,10,'admin/service/index'),(28,'提现管理',1,7,'admin/member/withdraw'),(29,'商品管理',1,11,'admin/shop/index'),(30,'发送短信',1,7,'admin/member/notice'),(31,'卡密管理',1,11,'admin/shop/card'),(32,'订单管理',1,11,'admin/shop/order');
/*!40000 ALTER TABLE `xh_mgt_module` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `xh_service_account`
--

DROP TABLE IF EXISTS `xh_service_account`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `xh_service_account` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `app_id` int(11) NOT NULL DEFAULT '0' COMMENT 'APPid',
  `name` varchar(32) DEFAULT '0' COMMENT '账户名称',
  `card` char(100) DEFAULT NULL COMMENT 'cardid',
  `naturl` text NOT NULL COMMENT 'natapp映射url',
  `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT 'login.txt',
  `login_time` int(11) DEFAULT '0' COMMENT '登录时间',
  `heartbeats` int(11) DEFAULT '0' COMMENT '通讯心跳次数',
  `active_time` int(11) DEFAULT '0' COMMENT '最近活跃时间',
  `key_id` varchar(36) NOT NULL DEFAULT '' COMMENT 'keyId',
  `training` tinyint(1) NOT NULL DEFAULT '2' COMMENT '轮训 1 开启  2 关闭',
  `receiving` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1 启动网关 2 关闭网关',
  `android_heartbeat` int(11) DEFAULT '0' COMMENT '安卓连接心跳时间',
  `login_img` text COMMENT '登录图片base64',
  `account_user_id` varchar(50) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '支付宝的ID',
  `today_money` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '今日收款总额',
  `today_pens` int(10) NOT NULL DEFAULT '0' COMMENT '今日交易笔数',
  `types` tinyint(1) NOT NULL DEFAULT '0' COMMENT '1 微信 2 支付宝 3 QQ 4 京东 ...',
  `lord` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `key_id` (`key_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='服务版';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `xh_service_account`
--

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

--
-- Table structure for table `xh_service_order`
--

DROP TABLE IF EXISTS `xh_service_order`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `xh_service_order` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `service_id` int(11) NOT NULL DEFAULT '0' COMMENT '服务id',
  `creation_time` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
  `pay_time` int(11) NOT NULL DEFAULT '0' COMMENT '支付时间',
  `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '支付状态  1 等待下发支付二维码   2未支付 3订单超时 4已支付',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '支付金额',
  `callback_url` text NOT NULL COMMENT '回调url',
  `success_url` text COMMENT '支付成功后跳转url',
  `error_url` text COMMENT '支付异常或超时跳转url',
  `user_id` int(11) DEFAULT '0' COMMENT '用户id  0为系统',
  `callback_time` int(11) DEFAULT '0' COMMENT '通知发送的时间',
  `aliddh` varchar(128) NOT NULL DEFAULT '0' COMMENT '收款订单号',
  `out_trade_no` varchar(128) NOT NULL DEFAULT '0' COMMENT '交易订单号，用户名，备注信息',
  `ip` varchar(18) NOT NULL DEFAULT '127.0.0.1' COMMENT '发起支付时IP地址',
  `trade_no` varchar(64) NOT NULL DEFAULT '' COMMENT '订单交易号',
  `qrcode` varchar(128) DEFAULT '' COMMENT '支付二维码',
  `no` varchar(50) NOT NULL DEFAULT ' ' COMMENT 'app的订单号',
  `callback_status` tinyint(1) DEFAULT '0' COMMENT '0 未回调 1已回调',
  `callback_content` varchar(32) DEFAULT '0' COMMENT '回调内容',
  `callback_count` tinyint(1) NOT NULL DEFAULT '0' COMMENT '发送回调次数',
  `callback_from` varchar(5) NOT NULL DEFAULT 'app',
  `fees` decimal(10,3) DEFAULT '0.000' COMMENT '手续费',
  `types` tinyint(1) NOT NULL DEFAULT '0' COMMENT '订单类型',
  `reached` tinyint(1) NOT NULL DEFAULT '0',
  `agent_rate` decimal(10,3) DEFAULT '0.000' COMMENT '代理获利',
  `app_id` int(11) NOT NULL DEFAULT '0' COMMENT 'app_id',
  `bankorderid` varchar(100) DEFAULT NULL COMMENT 'bankorderid',
  `del_floor` tinyint(1) DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='服务订单';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `xh_service_order`
--

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

--
-- Table structure for table `xh_shop`
--

DROP TABLE IF EXISTS `xh_shop`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `xh_shop` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(86) NOT NULL DEFAULT '默认名称' COMMENT '商品名称',
  `description` text COMMENT '商品描述',
  `money` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '商品单价',
  `cost` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '物品成本',
  `category` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1 购买用户组 2 卡密购买 3 商品购买',
  `discount` text COMMENT '批量购买优惠规则',
  `restriction` int(11) NOT NULL DEFAULT '0' COMMENT '限制购买次数/数量',
  `purchases` int(11) DEFAULT '0' COMMENT '已被购买次数',
  `sort` int(6) NOT NULL DEFAULT '0' COMMENT '商品排序',
  `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1 正常购买 2 停止购买',
  `release_time` int(11) NOT NULL DEFAULT '0' COMMENT '发布时间',
  `bind_special` int(11) DEFAULT '0' COMMENT '綁定特殊id',
  `warehouse` int(11) NOT NULL DEFAULT '0' COMMENT '库存',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=100006 DEFAULT CHARSET=utf8 COMMENT='商品管理';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `xh_shop`
--

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

--
-- Table structure for table `xh_shop_card`
--

DROP TABLE IF EXISTS `xh_shop_card`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `xh_shop_card` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `card_no` varchar(255) NOT NULL DEFAULT '0' COMMENT '卡号',
  `card_pwd` varchar(255) NOT NULL DEFAULT '0' COMMENT '卡密',
  `shop_id` int(11) NOT NULL DEFAULT '0' COMMENT '商品id',
  `status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0 未出售 1 已出售',
  `add_time` int(11) NOT NULL DEFAULT '0' COMMENT '添加时间',
  `sell_time` int(11) NOT NULL DEFAULT '0' COMMENT '出售时间',
  `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '会员id',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=1508 DEFAULT CHARSET=utf8 COMMENT='卡密列表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `xh_shop_card`
--

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

--
-- Table structure for table `xh_shop_order`
--

DROP TABLE IF EXISTS `xh_shop_order`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `xh_shop_order` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `shop_id` int(11) NOT NULL DEFAULT '0' COMMENT '商品id',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '订单金额',
  `discount` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '折扣金额',
  `quantity` int(11) NOT NULL DEFAULT '0' COMMENT '购买数量',
  `status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0 未支付 1 已支付 2 已发货 3 已收货 4 退款中 5 退款成功 6 退款失败 7 订单关闭',
  `serial_no` varchar(32) NOT NULL DEFAULT '0' COMMENT '订单流水号',
  `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户ID',
  `address` text NOT NULL COMMENT '收货人信息-JSON',
  `ship` text NOT NULL COMMENT '运输信息-JSON-商品写运单号',
  `refund_amount` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '退款金额',
  `refund_quantity` int(11) NOT NULL DEFAULT '0' COMMENT '退货数量',
  `refund_feedback` text COMMENT '退货原因-JSON',
  `refund_schedule` text COMMENT '退款进度-JSON',
  `pay_method` tinyint(1) NOT NULL DEFAULT '0' COMMENT '支付方式 1 微信 2 支付宝 3 余额 4盈利余额',
  `add_time` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
  `pay_time` int(11) NOT NULL DEFAULT '0' COMMENT '支付时间',
  `delivery_time` int(11) DEFAULT '0' COMMENT '发货时间',
  `express` varchar(32) DEFAULT '0' COMMENT '快递代码',
  PRIMARY KEY (`id`),
  UNIQUE KEY `serial_no` (`serial_no`)
) ENGINE=MyISAM AUTO_INCREMENT=84 DEFAULT CHARSET=utf8 COMMENT='用户购买订单';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `xh_shop_order`
--

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

--
-- Table structure for table `xh_variable`
--

DROP TABLE IF EXISTS `xh_variable`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `xh_variable` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(64) NOT NULL DEFAULT 'key' COMMENT '变量名称',
  `value` text COMMENT '变量值',
  PRIMARY KEY (`id`),
  UNIQUE KEY `name` (`name`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COMMENT='系统变量';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `xh_variable`
--

LOCK TABLES `xh_variable` WRITE;
/*!40000 ALTER TABLE `xh_variable` DISABLE KEYS */;
INSERT INTO `xh_variable` VALUES (3,'webCog','{\"name\":\"微博红包\",\"keywords\":\"微博红包\",\"description\":\"微博红包\",\"open\":1}'),(4,'smsCog','{\"accessKeyId\":\"\",\"accessKeySecret\":\"\",\"SignName\":\"\",\"TemplateCode\":\"\",\"TemplateErrorCode\":\"\",\"TemplateDefend\":\"\",\"open\":1}'),(5,'costCog','{\"wechat_auto\":{\"open\":1},\"alipay_auto\":{\"open\":1},\"tenpay_auto\":{\"open\":1},\"jdpay_auto\":{\"open\":1},\"service_auto\":{\"open\":2},\"simple_way\":{\"open\":1},\"withdraw\":{\"open\":1},\"shop\":{\"open\":2}}'),(6,'registerCog','{\"integral\":\"5\",\"scale\":\"0.01\",\"scale_open\":2,\"points\":\"0.01\",\"points_open\":2,\"group_id\":9999}'),(7,'server','{\"key\":\"12345678\",\"service_phone\":\"16620849345\"}');
/*!40000 ALTER TABLE `xh_variable` 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-12-30 14:06:09
