forked from szvone/vmqphp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vmq.sql
150 lines (122 loc) · 3.08 KB
/
vmq.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
-- phpMyAdmin SQL Dump
-- version 4.8.4
-- https://www.phpmyadmin.net/
--
-- 主机: localhost
-- 生成日期: 2019-04-18 07:09:14
-- 服务器版本: 5.5.53
-- PHP 版本: 5.6.27
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!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 utf8mb4 */;
--
-- 数据库: `vmq`
--
-- --------------------------------------------------------
--
-- 表的结构 `pay_order`
--
CREATE TABLE `pay_order` (
`id` bigint(20) NOT NULL,
`close_date` bigint(20) NOT NULL,
`create_date` bigint(20) NOT NULL,
`is_auto` int(11) NOT NULL,
`notify_url` varchar(255) DEFAULT NULL,
`order_id` varchar(255) DEFAULT NULL,
`param` varchar(255) DEFAULT NULL,
`pay_date` bigint(20) NOT NULL,
`pay_id` varchar(255) DEFAULT NULL,
`pay_url` varchar(255) DEFAULT NULL,
`price` double NOT NULL,
`really_price` double NOT NULL,
`return_url` varchar(255) DEFAULT NULL,
`state` int(11) NOT NULL,
`type` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- 表的结构 `pay_qrcode`
--
CREATE TABLE `pay_qrcode` (
`id` bigint(20) NOT NULL,
`pay_url` varchar(255) DEFAULT NULL,
`price` double NOT NULL,
`type` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- 表的结构 `setting`
--
CREATE TABLE `setting` (
`vkey` varchar(255) NOT NULL,
`vvalue` varchar(255) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- 转存表中的数据 `setting`
--
INSERT INTO `setting` (`vkey`, `vvalue`) VALUES
('user', 'admin'),
('pass', 'admin'),
('notifyUrl', ''),
('returnUrl', ''),
('key', ''),
('lastheart', '0'),
('lastpay', '0'),
('jkstate', '-1'),
('close', '5'),
('payQf', '1'),
('wxpay', ''),
('zfbpay', '');
-- --------------------------------------------------------
--
-- 表的结构 `tmp_price`
--
CREATE TABLE `tmp_price` (
`price` varchar(255) NOT NULL,
`oid` varchar(255) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- 转储表的索引
--
--
-- 表的索引 `pay_order`
--
ALTER TABLE `pay_order`
ADD PRIMARY KEY (`id`);
--
-- 表的索引 `pay_qrcode`
--
ALTER TABLE `pay_qrcode`
ADD PRIMARY KEY (`id`);
--
-- 表的索引 `setting`
--
ALTER TABLE `setting`
ADD PRIMARY KEY (`vkey`);
--
-- 表的索引 `tmp_price`
--
ALTER TABLE `tmp_price`
ADD PRIMARY KEY (`price`);
--
-- 在导出的表使用AUTO_INCREMENT
--
--
-- 使用表AUTO_INCREMENT `pay_order`
--
ALTER TABLE `pay_order`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
--
-- 使用表AUTO_INCREMENT `pay_qrcode`
--
ALTER TABLE `pay_qrcode`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
COMMIT;
/*!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 */;