1 | /*
|
---|
2 | Navicat MySQL Data Transfer
|
---|
3 |
|
---|
4 | Source Server : localhost
|
---|
5 | Source Server Version : 50515
|
---|
6 | Source Host : localhost:3306
|
---|
7 | Source Database : sbg
|
---|
8 |
|
---|
9 | Target Server Type : MYSQL
|
---|
10 | Target Server Version : 50515
|
---|
11 | File Encoding : 65001
|
---|
12 |
|
---|
13 | Date: 2014-12-08 15:16:47
|
---|
14 | */
|
---|
15 |
|
---|
16 | SET FOREIGN_KEY_CHECKS=0;
|
---|
17 | -- ----------------------------
|
---|
18 | -- Table structure for `tbladmin`
|
---|
19 | -- ----------------------------
|
---|
20 | DROP TABLE IF EXISTS `tbladmin`;
|
---|
21 | CREATE TABLE `tbladmin` (
|
---|
22 | `admin_id` int(11) NOT NULL AUTO_INCREMENT,
|
---|
23 | `login_name` varchar(45) NOT NULL,
|
---|
24 | `passwd` varchar(65) NOT NULL,
|
---|
25 | `full_name` varchar(45) NOT NULL,
|
---|
26 | `email` varchar(45) DEFAULT NULL,
|
---|
27 | `phone` varchar(15) DEFAULT NULL,
|
---|
28 | `created_time` datetime DEFAULT NULL,
|
---|
29 | `updated_time` datetime DEFAULT NULL,
|
---|
30 | `author` int(11) DEFAULT NULL,
|
---|
31 | PRIMARY KEY (`admin_id`)
|
---|
32 | ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
|
---|
33 |
|
---|
34 | -- ----------------------------
|
---|
35 | -- Records of tbladmin
|
---|
36 | -- ----------------------------
|
---|
37 | INSERT INTO `tbladmin` VALUES ('1', 'administrator', 'e10adc3949ba59abbe56e057f20f883e', 'Administrator', 'admin@sbg.vn', null, '2014-11-03 15:47:41', null, '1');
|
---|
38 |
|
---|
39 | -- ----------------------------
|
---|
40 | -- Table structure for `tbladminrole`
|
---|
41 | -- ----------------------------
|
---|
42 | DROP TABLE IF EXISTS `tbladminrole`;
|
---|
43 | CREATE TABLE `tbladminrole` (
|
---|
44 | `role_id` int(11) NOT NULL AUTO_INCREMENT,
|
---|
45 | `role_name` varchar(45) NOT NULL,
|
---|
46 | PRIMARY KEY (`role_id`)
|
---|
47 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
---|
48 |
|
---|
49 | -- ----------------------------
|
---|
50 | -- Records of tbladminrole
|
---|
51 | -- ----------------------------
|
---|
52 |
|
---|
53 | -- ----------------------------
|
---|
54 | -- Table structure for `tblcardlog`
|
---|
55 | -- ----------------------------
|
---|
56 | DROP TABLE IF EXISTS `tblcardlog`;
|
---|
57 | CREATE TABLE `tblcardlog` (
|
---|
58 | `id` int(11) NOT NULL,
|
---|
59 | `sender` varchar(255) DEFAULT NULL,
|
---|
60 | `us_id` int(11) DEFAULT NULL,
|
---|
61 | `pin_code` varchar(45) DEFAULT NULL,
|
---|
62 | `serial_num` varchar(45) DEFAULT NULL,
|
---|
63 | `card_value` int(11) DEFAULT NULL,
|
---|
64 | `created_time` datetime NOT NULL,
|
---|
65 | PRIMARY KEY (`id`)
|
---|
66 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
---|
67 |
|
---|
68 | -- ----------------------------
|
---|
69 | -- Records of tblcardlog
|
---|
70 | -- ----------------------------
|
---|
71 |
|
---|
72 | -- ----------------------------
|
---|
73 | -- Table structure for `tblcollaborator`
|
---|
74 | -- ----------------------------
|
---|
75 | DROP TABLE IF EXISTS `tblcollaborator`;
|
---|
76 | CREATE TABLE `tblcollaborator` (
|
---|
77 | `id` int(11) NOT NULL AUTO_INCREMENT,
|
---|
78 | `full_name` varchar(45) NOT NULL,
|
---|
79 | `login_name` varchar(45) NOT NULL,
|
---|
80 | `cellphone` varchar(15) NOT NULL,
|
---|
81 | `passwd` varchar(65) NOT NULL,
|
---|
82 | `activated` tinyint(4) NOT NULL DEFAULT '1',
|
---|
83 | `created_time` datetime DEFAULT NULL,
|
---|
84 | `updated_time` datetime DEFAULT NULL,
|
---|
85 | `author` int(11) DEFAULT NULL,
|
---|
86 | PRIMARY KEY (`id`)
|
---|
87 | ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
|
---|
88 |
|
---|
89 | -- ----------------------------
|
---|
90 | -- Records of tblcollaborator
|
---|
91 | -- ----------------------------
|
---|
92 | INSERT INTO `tblcollaborator` VALUES ('1', 'Truong Hoang Anh', '0982124899', '0982124899', '', '1', null, null, null);
|
---|
93 | INSERT INTO `tblcollaborator` VALUES ('2', 'Namta', '01689925260', '01689925260', 'c4ca4238a0b923820dcc509a6f75849b', '1', '2014-11-19 10:21:15', '2014-11-19 10:21:15', null);
|
---|
94 | INSERT INTO `tblcollaborator` VALUES ('5', 'dungnv', '0988568786', '0988568786', 'c4ca4238a0b923820dcc509a6f75849b', '1', '2014-11-19 18:45:27', '2014-11-19 18:45:27', null);
|
---|
95 |
|
---|
96 | -- ----------------------------
|
---|
97 | -- Table structure for `tblpaidlog`
|
---|
98 | -- ----------------------------
|
---|
99 | DROP TABLE IF EXISTS `tblpaidlog`;
|
---|
100 | CREATE TABLE `tblpaidlog` (
|
---|
101 | `paid_id` bigint(11) NOT NULL AUTO_INCREMENT,
|
---|
102 | `us_id` int(11) NOT NULL,
|
---|
103 | `paid_type` tinyint(11) NOT NULL DEFAULT '0' COMMENT '1:SMS; 2:CARD;',
|
---|
104 | `amount` int(11) NOT NULL DEFAULT '0',
|
---|
105 | `source` varchar(65) NOT NULL,
|
---|
106 | `paid_time` datetime DEFAULT NULL,
|
---|
107 | PRIMARY KEY (`paid_id`)
|
---|
108 | ) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8;
|
---|
109 |
|
---|
110 | -- ----------------------------
|
---|
111 | -- Records of tblpaidlog
|
---|
112 | -- ----------------------------
|
---|
113 | INSERT INTO `tblpaidlog` VALUES ('1', '100', '2', '10000', 'Thẻ cào', '2014-11-25 15:16:59');
|
---|
114 | INSERT INTO `tblpaidlog` VALUES ('2', '101', '1', '1000', '01692006723', '2014-11-25 16:05:40');
|
---|
115 | INSERT INTO `tblpaidlog` VALUES ('3', '101', '1', '1000', '01692006723', '2014-11-25 16:08:43');
|
---|
116 | INSERT INTO `tblpaidlog` VALUES ('4', '101', '1', '2000', '01692006723', '2014-11-25 16:12:42');
|
---|
117 | INSERT INTO `tblpaidlog` VALUES ('5', '101', '1', '2500', '01692006723', '2014-11-25 16:33:26');
|
---|
118 | INSERT INTO `tblpaidlog` VALUES ('6', '101', '1', '100', '01692006723', '2014-11-25 16:36:38');
|
---|
119 | INSERT INTO `tblpaidlog` VALUES ('7', '101', '1', '2000', '01692006723', '2014-11-25 16:37:49');
|
---|
120 | INSERT INTO `tblpaidlog` VALUES ('8', '102', '1', '6000', '01632002905', '2014-11-25 16:55:44');
|
---|
121 | INSERT INTO `tblpaidlog` VALUES ('9', '102', '1', '6000', '01632002905', '2014-11-25 16:57:56');
|
---|
122 | INSERT INTO `tblpaidlog` VALUES ('10', '80', '2', '10000', 'Thẻ cào', '2014-11-26 17:58:30');
|
---|
123 | INSERT INTO `tblpaidlog` VALUES ('11', '100', '2', '10000', 'Thẻ cào', '2014-11-26 18:00:23');
|
---|
124 | INSERT INTO `tblpaidlog` VALUES ('12', '100', '1', '1', '0979359749', '2014-11-26 18:04:10');
|
---|
125 | INSERT INTO `tblpaidlog` VALUES ('13', '105', '1', '15000', '01692006723', '2014-12-02 11:08:44');
|
---|
126 |
|
---|
127 | -- ----------------------------
|
---|
128 | -- Table structure for `tblproduct`
|
---|
129 | -- ----------------------------
|
---|
130 | DROP TABLE IF EXISTS `tblproduct`;
|
---|
131 | CREATE TABLE `tblproduct` (
|
---|
132 | `product_id` int(11) NOT NULL DEFAULT '0',
|
---|
133 | `product_name` varchar(255) DEFAULT NULL,
|
---|
134 | `description` varchar(255) DEFAULT NULL,
|
---|
135 | PRIMARY KEY (`product_id`)
|
---|
136 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
---|
137 |
|
---|
138 | -- ----------------------------
|
---|
139 | -- Records of tblproduct
|
---|
140 | -- ----------------------------
|
---|
141 |
|
---|
142 | -- ----------------------------
|
---|
143 | -- Table structure for `tblregisterpackagelog`
|
---|
144 | -- ----------------------------
|
---|
145 | DROP TABLE IF EXISTS `tblregisterpackagelog`;
|
---|
146 | CREATE TABLE `tblregisterpackagelog` (
|
---|
147 | `id` int(11) NOT NULL AUTO_INCREMENT,
|
---|
148 | `username` varchar(15) NOT NULL,
|
---|
149 | `source` varchar(65) NOT NULL,
|
---|
150 | `p_code` varchar(65) NOT NULL,
|
---|
151 | `created_time` datetime NOT NULL,
|
---|
152 | PRIMARY KEY (`id`)
|
---|
153 | ) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8;
|
---|
154 |
|
---|
155 | -- ----------------------------
|
---|
156 | -- Records of tblregisterpackagelog
|
---|
157 | -- ----------------------------
|
---|
158 | INSERT INTO `tblregisterpackagelog` VALUES ('1', '0988568786', 'web', '3', '2014-12-04 12:25:20');
|
---|
159 | INSERT INTO `tblregisterpackagelog` VALUES ('2', '0988568786', 'web', '1', '2014-12-04 15:14:23');
|
---|
160 | INSERT INTO `tblregisterpackagelog` VALUES ('3', '0988568786', 'web', '1', '2014-12-04 15:15:47');
|
---|
161 | INSERT INTO `tblregisterpackagelog` VALUES ('4', '0988568786', 'web', '1', '2014-12-04 15:17:29');
|
---|
162 | INSERT INTO `tblregisterpackagelog` VALUES ('5', '0988568786', 'web', '1', '2014-12-04 15:17:51');
|
---|
163 | INSERT INTO `tblregisterpackagelog` VALUES ('6', '0988568786', 'web', '1', '2014-12-04 15:24:05');
|
---|
164 | INSERT INTO `tblregisterpackagelog` VALUES ('7', '0988568786', 'web', '1', '2014-12-04 15:25:45');
|
---|
165 | INSERT INTO `tblregisterpackagelog` VALUES ('8', '0988568786', 'web', '1', '2014-12-04 16:29:41');
|
---|
166 | INSERT INTO `tblregisterpackagelog` VALUES ('9', '0988568786', 'SMS', '1', '2014-12-05 12:13:15');
|
---|
167 | INSERT INTO `tblregisterpackagelog` VALUES ('10', '0988568786', 'SMS', '12', '2014-12-05 14:55:42');
|
---|
168 |
|
---|
169 | -- ----------------------------
|
---|
170 | -- Table structure for `tblservicepackage`
|
---|
171 | -- ----------------------------
|
---|
172 | DROP TABLE IF EXISTS `tblservicepackage`;
|
---|
173 | CREATE TABLE `tblservicepackage` (
|
---|
174 | `p_id` int(11) NOT NULL AUTO_INCREMENT,
|
---|
175 | `p_name` varchar(50) NOT NULL,
|
---|
176 | `p_period` int(11) NOT NULL,
|
---|
177 | `p_price` int(11) NOT NULL,
|
---|
178 | `p_code` varchar(15) DEFAULT NULL,
|
---|
179 | `p_unit` varchar(15) DEFAULT NULL,
|
---|
180 | `p_dfspace` varchar(15) DEFAULT '1GB',
|
---|
181 | `p_isextra` tinyint(4) DEFAULT '0',
|
---|
182 | PRIMARY KEY (`p_id`)
|
---|
183 | ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
|
---|
184 |
|
---|
185 | -- ----------------------------
|
---|
186 | -- Records of tblservicepackage
|
---|
187 | -- ----------------------------
|
---|
188 | INSERT INTO `tblservicepackage` VALUES ('1', 'VIP 1', '1', '15000', '1', 'months', '1GB', '0');
|
---|
189 | INSERT INTO `tblservicepackage` VALUES ('2', 'VIP 3', '3', '40000', '3', 'months', '1GB', '0');
|
---|
190 | INSERT INTO `tblservicepackage` VALUES ('3', 'VIP 6', '6', '70000', '6', 'months', '1GB', '0');
|
---|
191 | INSERT INTO `tblservicepackage` VALUES ('4', 'VIP 12', '12', '130000', '12', 'months', '1GB', '0');
|
---|
192 | INSERT INTO `tblservicepackage` VALUES ('5', 'Trial', '-1', '0', '-1', 'days', '1GB', '0');
|
---|
193 |
|
---|
194 | -- ----------------------------
|
---|
195 | -- Table structure for `tblsmslog`
|
---|
196 | -- ----------------------------
|
---|
197 | DROP TABLE IF EXISTS `tblsmslog`;
|
---|
198 | CREATE TABLE `tblsmslog` (
|
---|
199 | `id` int(11) NOT NULL AUTO_INCREMENT,
|
---|
200 | `request_id` varchar(255) DEFAULT '',
|
---|
201 | `sender` varchar(255) DEFAULT NULL,
|
---|
202 | `us_id` int(11) DEFAULT NULL,
|
---|
203 | `service_id` int(11) DEFAULT NULL,
|
---|
204 | `commandcode` varchar(255) DEFAULT NULL,
|
---|
205 | `info` varchar(255) DEFAULT NULL,
|
---|
206 | `mobody` varchar(255) DEFAULT NULL,
|
---|
207 | `mtbody` varchar(255) DEFAULT NULL,
|
---|
208 | `created_time` datetime DEFAULT NULL,
|
---|
209 | PRIMARY KEY (`id`)
|
---|
210 | ) ENGINE=InnoDB AUTO_INCREMENT=60 DEFAULT CHARSET=utf8;
|
---|
211 |
|
---|
212 | -- ----------------------------
|
---|
213 | -- Records of tblsmslog
|
---|
214 | -- ----------------------------
|
---|
215 | INSERT INTO `tblsmslog` VALUES ('1', '', '0979359749', null, '8062', 'SBG', 'Sbg vip 1', null, null, '2014-11-25 10:59:14');
|
---|
216 | INSERT INTO `tblsmslog` VALUES ('2', '', '0979359749', '100', '8062', 'SBG', 'Sbg dk', null, null, '2014-11-25 11:08:41');
|
---|
217 | INSERT INTO `tblsmslog` VALUES ('3', '', '0988568786', '68', '8062', 'SBG', 'Sbg nap aaa', null, null, '2014-11-25 12:30:29');
|
---|
218 | INSERT INTO `tblsmslog` VALUES ('4', '', '0979359749', '100', '8062', 'SBG', 'Sbg vip 1', null, null, '2014-11-25 13:27:56');
|
---|
219 | INSERT INTO `tblsmslog` VALUES ('5', '', '01692006723', '101', '8062', 'SBG', 'Sbg dk', null, null, '2014-11-25 14:59:35');
|
---|
220 | INSERT INTO `tblsmslog` VALUES ('6', '', '01692006723', '101', '8062', 'SBG', 'Sbg vip 1', null, null, '2014-11-25 15:50:49');
|
---|
221 | INSERT INTO `tblsmslog` VALUES ('7', '', '01692006723', '101', '8062', 'SBG', 'Sbg nap 1000', null, null, '2014-11-25 15:53:35');
|
---|
222 | INSERT INTO `tblsmslog` VALUES ('8', '', '01692006723', '101', '8062', 'SBG', 'Sbg nap 1000', null, null, '2014-11-25 15:56:43');
|
---|
223 | INSERT INTO `tblsmslog` VALUES ('9', '', '01692006723', '101', '8062', 'SBG', 'Sbg nap 2000', null, null, '2014-11-25 16:00:41');
|
---|
224 | INSERT INTO `tblsmslog` VALUES ('10', '', '01692006723', '101', '8062', 'SBG', 'Sbg nap 2500', null, null, '2014-11-25 16:21:25');
|
---|
225 | INSERT INTO `tblsmslog` VALUES ('11', '', '01692006723', '101', '8062', 'SBG', 'Sbg nap 100', null, null, '2014-11-25 16:24:32');
|
---|
226 | INSERT INTO `tblsmslog` VALUES ('12', '', '01692006723', '101', '8062', 'SBG', 'Sbg nap 2000', null, null, '2014-11-25 16:25:48');
|
---|
227 | INSERT INTO `tblsmslog` VALUES ('13', '', '01632002905', '102', '8062', 'SBG', 'Sbg dk', null, null, '2014-11-25 16:32:44');
|
---|
228 | INSERT INTO `tblsmslog` VALUES ('14', '', '01632002905', '102', '8062', 'SBG', 'Sbg nap 6000', null, null, '2014-11-25 16:43:42');
|
---|
229 | INSERT INTO `tblsmslog` VALUES ('15', '', '01632002905', '102', '8062', 'SBG', 'Sbg nap 6000', null, null, '2014-11-25 16:40:36');
|
---|
230 | INSERT INTO `tblsmslog` VALUES ('16', '', '0988568786', '68', '8062', 'SBG', 'Sbg dk', null, null, '2014-11-26 10:02:48');
|
---|
231 | INSERT INTO `tblsmslog` VALUES ('17', '', '0988568786', '68', '8062', 'SBG', 'Sbg dk', null, null, '2014-11-26 11:07:56');
|
---|
232 | INSERT INTO `tblsmslog` VALUES ('18', '', '0988568786', '68', '8062', 'SBG', 'Sbg dk', null, null, '2014-11-26 11:07:56');
|
---|
233 | INSERT INTO `tblsmslog` VALUES ('19', '', '0988568786', '68', '8062', 'SBG', 'Sbg mk 123456', null, null, '2014-11-26 11:12:00');
|
---|
234 | INSERT INTO `tblsmslog` VALUES ('20', '', '0988568786', '68', '8062', 'SBG', 'Sbg dk', null, null, '2014-11-26 11:13:00');
|
---|
235 | INSERT INTO `tblsmslog` VALUES ('21', '', '0988568786', '68', '8062', 'SBG', 'Sbg dk', null, null, '2014-11-26 11:13:00');
|
---|
236 | INSERT INTO `tblsmslog` VALUES ('22', '', '0983460604', '103', '8062', 'SBG', 'SBG DK', null, null, '2014-11-26 11:42:14');
|
---|
237 | INSERT INTO `tblsmslog` VALUES ('23', '', '0983460604', '103', '8062', 'SBG', 'SBG DK', null, null, '2014-11-26 11:42:14');
|
---|
238 | INSERT INTO `tblsmslog` VALUES ('24', '', '0982124899', '61', '8062', 'SBG', 'Sbg dk', null, null, '2014-11-26 11:43:48');
|
---|
239 | INSERT INTO `tblsmslog` VALUES ('25', '', '01682821813', '99', '8062', 'SBG', 'SBG dk', null, null, '2014-11-18 09:52:35');
|
---|
240 | INSERT INTO `tblsmslog` VALUES ('26', '', '01682821813', '99', '8062', 'SBG', 'SBG nhj', null, null, '2014-11-18 09:52:35');
|
---|
241 | INSERT INTO `tblsmslog` VALUES ('27', '', '0979359749', '100', '8062', 'SBG', 'Sbg vip 1', null, null, '2014-11-26 17:51:29');
|
---|
242 | INSERT INTO `tblsmslog` VALUES ('28', '', '0979359749', '100', '8062', 'SBG', 'Sbg mk', null, null, '2014-11-26 17:51:56');
|
---|
243 | INSERT INTO `tblsmslog` VALUES ('29', '', '0979359749', '100', '8062', 'SBG', 'Sbg nap 001', null, null, '2014-11-26 17:52:03');
|
---|
244 | INSERT INTO `tblsmslog` VALUES ('30', '', '0979947802', '67', '8062', 'SBG', 'SBG MK', null, null, '2014-11-27 01:13:24');
|
---|
245 | INSERT INTO `tblsmslog` VALUES ('31', '', '0979947802', '67', '8062', 'SBG', 'SBG MK', null, null, '2014-11-27 01:13:24');
|
---|
246 | INSERT INTO `tblsmslog` VALUES ('32', '', '01682821813', '99', '8062', 'SBG', 'SBG nhj', null, null, '2014-11-18 09:52:35');
|
---|
247 | INSERT INTO `tblsmslog` VALUES ('33', '', '01682821813', '99', '8062', 'SBG', 'SBG nhj', null, null, '2014-11-18 09:52:35');
|
---|
248 | INSERT INTO `tblsmslog` VALUES ('34', '', '0988568786', '68', '8062', 'SBG', 'Sbg dk', null, null, '2014-11-29 17:59:52');
|
---|
249 | INSERT INTO `tblsmslog` VALUES ('35', '', '01654040214', null, '8062', 'SBG', 'Sbg dk 01692006723', null, null, '2014-12-02 10:04:13');
|
---|
250 | INSERT INTO `tblsmslog` VALUES ('36', '', '01654040214', '105', '8062', 'SBG', 'Sbg dk', null, null, '2014-12-02 10:35:49');
|
---|
251 | INSERT INTO `tblsmslog` VALUES ('37', '', '01682821813', '99', '8062', 'SBG', 'SBG nhj', null, null, '2014-11-18 09:52:35');
|
---|
252 | INSERT INTO `tblsmslog` VALUES ('38', '', '01682821813', '99', '8062', 'SBG', 'SBG dk', null, null, '2014-11-18 09:52:35');
|
---|
253 | INSERT INTO `tblsmslog` VALUES ('39', '', '0988568786', '68', '8062', 'SBG', 'Sbg dk', null, null, '2014-12-02 10:48:26');
|
---|
254 | INSERT INTO `tblsmslog` VALUES ('40', '', '01692006723', '101', '8062', 'SBG', 'Sbg nap 15000 01654040214', null, null, '2014-12-02 10:56:16');
|
---|
255 | INSERT INTO `tblsmslog` VALUES ('41', '', '0988568786', '68', '8062', 'SBG', 'DK SBG', null, null, '2014-12-01 12:00:00');
|
---|
256 | INSERT INTO `tblsmslog` VALUES ('42', '', '0988568786', '68', '8062', 'SBG', 'VIP SBG 1', null, null, '2014-12-01 12:00:00');
|
---|
257 | INSERT INTO `tblsmslog` VALUES ('43', '', '0988568786', '68', '8062', 'SBG', 'VIP SBG 12', null, null, '2014-12-01 12:00:00');
|
---|
258 | INSERT INTO `tblsmslog` VALUES ('44', '', '0988568786', '68', '8062', 'SBG', 'SBG 12', null, null, '2014-12-01 12:00:00');
|
---|
259 | INSERT INTO `tblsmslog` VALUES ('45', '', '0988568786', '68', '8062', 'SBG', 'SBG DK', null, null, '2014-12-01 12:00:00');
|
---|
260 | INSERT INTO `tblsmslog` VALUES ('46', '', '0988568786', '68', '8062', 'SBG', 'DK SBG', null, null, '2014-12-01 12:00:00');
|
---|
261 | INSERT INTO `tblsmslog` VALUES ('47', '', '0988568786', '68', '8062', 'SBG', 'HD SBG', null, null, '2014-12-01 12:00:00');
|
---|
262 | INSERT INTO `tblsmslog` VALUES ('48', '', '0988568786', '68', '8062', 'SBG', 'HD SBG', null, null, '2014-12-01 12:00:00');
|
---|
263 | INSERT INTO `tblsmslog` VALUES ('49', '', '0988568786', '68', '8062', 'SBG', 'HD SBG', null, null, '2014-12-01 12:00:00');
|
---|
264 | INSERT INTO `tblsmslog` VALUES ('50', '', '0988568786', '68', '8062', 'SBG', 'HD SBG', null, null, '2014-12-01 12:00:00');
|
---|
265 | INSERT INTO `tblsmslog` VALUES ('51', '', '0988568786', '68', '8062', 'SBG', 'HD SBG', null, null, '2014-12-01 12:00:00');
|
---|
266 | INSERT INTO `tblsmslog` VALUES ('52', '', '0988568786', '68', '8062', 'SBG', 'HD SBG', null, null, '2014-12-01 12:00:00');
|
---|
267 | INSERT INTO `tblsmslog` VALUES ('53', '', '0988568786', '68', '8062', 'SBG', 'HD SBG', null, null, '2014-12-01 12:00:00');
|
---|
268 | INSERT INTO `tblsmslog` VALUES ('54', '', '0988568786', '68', '8062', 'SBG', 'SBG HD', null, null, '2014-12-01 12:00:00');
|
---|
269 | INSERT INTO `tblsmslog` VALUES ('55', '', '0988568786', '68', '8062', 'SBG', 'SBG HD', null, null, '2014-12-01 12:00:00');
|
---|
270 | INSERT INTO `tblsmslog` VALUES ('56', '', '0988568786', '68', '8062', 'SBG', 'SBG DK', null, null, '2014-12-01 12:00:00');
|
---|
271 | INSERT INTO `tblsmslog` VALUES ('57', '', '0988568786', '68', '8062', 'SBG', 'SBG MK', null, null, '2014-12-01 12:00:00');
|
---|
272 | INSERT INTO `tblsmslog` VALUES ('58', '', '0988568786', '68', '8062', 'SBG', 'SBG MKd', null, null, '2014-12-01 12:00:00');
|
---|
273 | INSERT INTO `tblsmslog` VALUES ('59', '', '0988568786', '68', '8062', 'SBG', 'SBG M', null, null, '2014-12-01 12:00:00');
|
---|
274 |
|
---|
275 | -- ----------------------------
|
---|
276 | -- Table structure for `tblsmstemplate`
|
---|
277 | -- ----------------------------
|
---|
278 | DROP TABLE IF EXISTS `tblsmstemplate`;
|
---|
279 | CREATE TABLE `tblsmstemplate` (
|
---|
280 | `sms_id` int(11) NOT NULL AUTO_INCREMENT,
|
---|
281 | `sms_content` varchar(255) NOT NULL,
|
---|
282 | `sms_reply` varchar(255) DEFAULT NULL,
|
---|
283 | `reponse_url` varchar(255) DEFAULT NULL,
|
---|
284 | `service_id` varchar(45) DEFAULT NULL,
|
---|
285 | `commandcode` varchar(45) DEFAULT NULL,
|
---|
286 | PRIMARY KEY (`sms_id`)
|
---|
287 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
---|
288 |
|
---|
289 | -- ----------------------------
|
---|
290 | -- Records of tblsmstemplate
|
---|
291 | -- ----------------------------
|
---|
292 |
|
---|
293 | -- ----------------------------
|
---|
294 | -- Table structure for `tbluser`
|
---|
295 | -- ----------------------------
|
---|
296 | DROP TABLE IF EXISTS `tbluser`;
|
---|
297 | CREATE TABLE `tbluser` (
|
---|
298 | `us_id` int(11) NOT NULL,
|
---|
299 | `cellphone` varchar(15) NOT NULL,
|
---|
300 | `collaborator` int(11) DEFAULT NULL,
|
---|
301 | `acc_balanced` bigint(20) NOT NULL DEFAULT '0',
|
---|
302 | `expire_date` date DEFAULT NULL,
|
---|
303 | `p_id` int(11) DEFAULT NULL,
|
---|
304 | `created_time` datetime NOT NULL,
|
---|
305 | `updated_time` datetime DEFAULT NULL,
|
---|
306 | PRIMARY KEY (`us_id`)
|
---|
307 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
---|
308 |
|
---|
309 | -- ----------------------------
|
---|
310 | -- Records of tbluser
|
---|
311 | -- ----------------------------
|
---|
312 | INSERT INTO `tbluser` VALUES ('61', '0982124899', null, '16000', '2016-02-18', '1', '2014-11-14 21:15:17', null);
|
---|
313 | INSERT INTO `tbluser` VALUES ('66', '01887521818', '982124899', '0', null, null, '2014-11-15 01:09:42', null);
|
---|
314 | INSERT INTO `tbluser` VALUES ('67', '0979947802', '982124899', '0', null, null, '2014-11-15 01:10:56', '2014-11-27 01:25:38');
|
---|
315 | INSERT INTO `tbluser` VALUES ('68', '0988568786', null, '10000', null, null, '2014-11-17 16:34:41', '2014-12-05 16:45:54');
|
---|
316 | INSERT INTO `tbluser` VALUES ('69', '0943479095', null, '78500', '2015-02-15', '1', '2014-11-18 09:53:00', '2014-11-18 17:39:35');
|
---|
317 | INSERT INTO `tbluser` VALUES ('70', '0985826266', null, '5000', '2016-11-16', '4', '2014-11-18 15:39:59', null);
|
---|
318 | INSERT INTO `tbluser` VALUES ('71', '0912268437', null, '4500', '2014-12-17', '1', '2014-11-18 16:02:23', null);
|
---|
319 | INSERT INTO `tbluser` VALUES ('80', '01234788777', null, '10400', null, null, '2014-11-20 10:36:34', '2014-11-26 17:58:30');
|
---|
320 | INSERT INTO `tbluser` VALUES ('81', '0989562365', '988568786', '0', null, null, '2014-11-20 11:41:24', null);
|
---|
321 | INSERT INTO `tbluser` VALUES ('85', '01662860000', null, '1500000', null, null, '2014-11-20 17:26:07', '2014-11-20 17:52:03');
|
---|
322 | INSERT INTO `tbluser` VALUES ('86', '01689925260', null, '0', null, null, '2014-11-21 09:55:36', '2014-11-21 10:17:31');
|
---|
323 | INSERT INTO `tbluser` VALUES ('87', '01649529632', null, '7503', '2015-11-21', '3', '2014-11-21 13:59:10', '2014-11-24 17:15:06');
|
---|
324 | INSERT INTO `tbluser` VALUES ('89', '01688243590', null, '0', null, null, '2014-11-21 16:45:26', null);
|
---|
325 | INSERT INTO `tbluser` VALUES ('91', '01685910879', null, '0', null, null, '2014-11-21 17:01:53', null);
|
---|
326 | INSERT INTO `tbluser` VALUES ('98', '0983621978', null, '0', null, null, '2014-11-21 18:48:15', null);
|
---|
327 | INSERT INTO `tbluser` VALUES ('99', '01682821813', null, '0', null, null, '2014-11-25 10:04:03', null);
|
---|
328 | INSERT INTO `tbluser` VALUES ('100', '0979359749', null, '17001', '2015-12-25', '1', '2014-11-25 11:20:43', '2014-11-26 18:04:10');
|
---|
329 | INSERT INTO `tbluser` VALUES ('101', '01692006723', null, '2100', '2016-10-25', '4', '2014-11-25 15:11:37', '2014-11-25 16:37:49');
|
---|
330 | INSERT INTO `tbluser` VALUES ('102', '01632002905', null, '0', '2018-12-25', '2', '2014-11-25 16:44:46', '2014-11-25 16:57:56');
|
---|
331 | INSERT INTO `tbluser` VALUES ('103', '0983460604', null, '0', null, null, '2014-11-26 11:54:15', null);
|
---|
332 | INSERT INTO `tbluser` VALUES ('105', '01654040214', null, '15000', null, null, '2014-12-02 10:48:06', '2014-12-02 11:08:44');
|
---|
333 |
|
---|
334 | -- ----------------------------
|
---|
335 | -- Table structure for `tblwebservice`
|
---|
336 | -- ----------------------------
|
---|
337 | DROP TABLE IF EXISTS `tblwebservice`;
|
---|
338 | CREATE TABLE `tblwebservice` (
|
---|
339 | `service_id` int(11) NOT NULL AUTO_INCREMENT,
|
---|
340 | `service_name` varchar(45) NOT NULL,
|
---|
341 | `address` varchar(255) DEFAULT NULL,
|
---|
342 | `uri` varchar(255) DEFAULT NULL,
|
---|
343 | PRIMARY KEY (`service_id`)
|
---|
344 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
---|
345 |
|
---|
346 | -- ----------------------------
|
---|
347 | -- Records of tblwebservice
|
---|
348 | -- ----------------------------
|
---|