snake_skin

MySQL笔记

版本:mysql5.7.35

以下笔记中,均是在SQLyog中实现,在SQLyog中使用关键字时,会自动变成大写字母,但在命令行中是使用小写字母,在#中会单独写出命令行中的小写字母用法

连接MySQL

  • 连接到MySQL指令

  • 连接前需要开启 MySQL服务 net start mysql 停止服务:net stop mysql

  • 格式:mysql -h 主机IP -P 端口 -u 用户名 -p密码

  • -p和密码之间没有空格

  • -p后没有输入密码,回车后会要求输入密码

  • 没有写-h 默认是本机IP

  • 没有写-P 默认是端口3306

  • 详细的:mysql -h 127.0.0.1 -P 3306 -u root -p123456

  • 简化的:mysql -u root -p123456

数据库基本指令

#select * from 查询表
SELECT * FROM users
#create database 创建数据库
#在创建数据库时,为了规避关键字,可以使用反引号`包住要创建的数据库名字`
CREATE DATABASE xsp_db01
#character set 设置基本字符集 utf8 实际上character set可以改成charset
CREATE DATABASE xsp_db02 CHARACTER SET utf8
#collate设置数据库校对规则 utf8_bin(区分大小写) utf8_general_ci(不区分大小写)
CREATE DATABASE xsp_db03 CHARACTER SET utf8 COLLATE utf8_bin
#select(查询) *(表示所有字段) from(从哪个表) t1(表名) where(从哪个字段) name(表内的字段/属性) tom(查询的name)
SELECT * FROM t1 WHERE NAME = 'tom'
#drop database 删除数据库
DROP DATABASE xsp_db01
#show databases 查看当前数据库服务器中所有数据库
SHOW DATABASES
#show create database 查看 xsp_db01 数据库的定义信息
SHOW CREATE DATABASE xsp_db01

备份恢复数据库/表

备份恢复数据库的指令只能在Dos命令行下执行

  • 备份数据

  • mysqldump指令在Dos下执行,并且不能登入MySQL

  • 备份数据库

  • 格式: mysqldump -u root -p(密码) -B 数据库名(可多个) > 文件放置的位置及名字

  • mysqldump -u root -p -B xsp_db01 xsp_db02 > e:\\bak1.sql

  • 备份数据表

  • mysqldump -u root -p(密码) 数据库名 表名(可多个) > 文件放置的位置及名字

  • mysqldump -u root -p xsp_db01 t1 t2 > e:\\bak2.sql

  • 备份的文件内实际是一条条的指令,因此 可以将指令粘贴到SQLyog的查询编辑器运行 进行恢复

  • 恢复数据库

  • source指令需要登入mysql执行

  • 格式:source 备份文件路径

  • source e:\\bak1.sql

  • 另一备份方式:将备份的文件内所有内容粘贴到 SQLyog的查询编辑器(命令行),全部执行

  • 实践发现,通过Dos将恢复表无法成功恢复,使用SQLyog的查询编辑器运行才成功恢复

创建表

#由于某些名字是关键词,因此用``包裹
#create table 创建表user
#属性/字段 id 类型是int
#属性name,类型是varchar,长度限制是255
#属性password,类型是varchar,长度限制是255
#属性birthday,类型是date
#character set 设置字符为utf8  
#collate 设置数据库校对规则
#engine 设置引擎
#haracter set、collate、engine没有设置则默认为数据库设置的
#数据库如果没设置,则有默认值 utf8、utf8_general_ci、innodb
CREATE TABLE `user`(
	id INT,
	`name` VARCHAR(255),
	`password` VARCHAR(255),
	`birthday` DATE)
	CHARACTER SET utf8 COLLATE utf8_bin ENGINE INNODB;

列类型(数据类型)

img

使用规范:在能够满足需求的情况下,尽量使用占用空间小的类型

常用( [] 内是 字节/字符 数)

  • 数值类型

  • 整型

  • bit[M] M:1-64

  • tinyint[1]

  • smallint[2]

  • mediumint[3]

  • int[4]

  • bigint[8]

  • 小数类型

  • float[4] 单精度

  • double[8] 双精度

  • decimal[M,D] 大小可自定

  • 文本类型(字符串类型)

  • char [字符数0-255]

  • varchar[0-65535]

  • text[0->2^16-1]

  • longtext[0->2^31-1]

  • 二进制数据类型

  • blob[0->2^16-1]

  • longblob[0->2^32-1]

  • 日期类型

  • date[年月日]

  • time[时分秒]

  • datetime[年月日时分秒 YYYY-MM-DD HH:mm:ss]

  • timestamp[时间戳]

  • year[年]

bit[M]

  • 有参数M,范围:1-64

  • bit[1]占1个位,即 0/1 如果一个值只有0/1,可以考虑用bit[1]节约空间

  • 是二进制存储显示的,可用十进制数查询

  • 数据范围按照给的字节数决定,bit[8]范围是0-255

decimal[M.D]

  • 参数M:总位数

  • 省略时,默认是10

  • 最大:65

  • 参数D:小数位数(小数点后的)

  • 省略时,默认是0

  • 最大:30

  • 当数据不足小数位数时,会自动补0

varchar[size]

  • size 是可变的 0-65535字节

  • 实际最大字节是 65532 ,有1-3个编码用于记录大小,超过65532系统会提示超过65535字节

  • 存储字符时,按照编码字符的大小存储

  • utf8编码1个字符占3个字节,因此最大可以存储 (65535-3)/3 个字符 = 21844个字符

  • create tanble t1(name varchar(24844)) charset utf8_bin;

  • gbk编码1个字符占2个字节,因此最大可以存储 (65535-3)/2 个字符 = 32766

  • create tanble t2(name varchar(32766)) charset gbk);

字符串使用细节

  • char(M)和varchr(M)的4表示字符数,表示能放M个字符

  • char(M)是定长,无论存入多少个字符(M以内),都会占用M个字符的空间

  • char(4),存入 'aa' 2个字符,占用的是4个字符空间

  • varchar(M)是变长,存入M以内的字符,按照实际的字符空间存储

  • varchar(4),存入 'aa' 2个字符,占用的是2个字符空间

  • 注意:varchar本身需占用1-3个字节 用来 记录存放内容的长度

  • 因此最终的数据大小是:实际存入字节大小 + (1->3)个字节

  • 某些固定的长度可用char 身份证、手机号、md5加密(加密完都是32位) 等 【速度会比varchar快

  • 不固定的长度用varchar

  • 存放文本时,可用text、mediumtext、longtext,没有默认值

unsigned

  • 意思是:无符号

  • unsigned 属性只针对整型

  • unsigned 为非负数,用此类型可以增加数据长度

  • tinyint最大是127,那 tinyint unsigned 最大 就可以到 127 * 2

  • 使用时加在整形后面即可

  • 不要定义unsigned float和unsigned double类型

日期

CREATE TABLE t14(birthday DATE, -- 生日
		job_time DATETIME, -- 记录年月日 时分秒
		login_time TIMESTAMP -- 时间戳
		-- not null default current_timestamp on update current_timestamp
		-- 使得时间戳自动更新,并且显示年月日时分秒
		NOT NULL DEFAULT CURRENT_TIMESTAMP 
		ON UPDATE CURRENT_TIMESTAMP);

-- 设置t14表的birthday和job_time,login_time会自动更新进去,并且当某条记录被更新,其时间戳也会更新(insert和update )
INSERT INTO t14(birthday,job_time) VALUES ('2022-11-11','2022-11-11 10:10:10')
    
-- select * from 查看表 
SELECT * FROM t14

-- drop table 删除表
DROP TABLE t14

修改表

-- emp表添加列image,varchar是10,在resume列后面
ALTER TABLE emp ADD `image` VARCHAR(10) AFTER `resume`
-- emp表修改列job,varchar是60,不能是空,默认值为 '' (空的字符)
ALTER TABLE emp MODIFY `job` VARCHAR(60) NOT NULL DEFAULT ''
-- emp表删除列sex
ALTER TABLE emp DROP `sex`
-- emp表修改名字为employee
RENAME TABLE `emp` TO `employee`
-- employee表修改字符集为utf8
ALTER TABLE employee CHARSET utf8
-- 修改列name名字为user_name 
-- varchar为32个字符
-- 字符集为utf8
-- 不能是空 默认值是 ''
ALTER TABLE `employee` 
	CHANGE `name` `user_name` 
	VARCHAR(32) 
	CHARSET utf8 
	NO NULL DEFAULT ''
-- 查看emp表 在emp改名后需要修改
SELECT * FROM emp
-- 查看emp表的列结构,可以看到所有列
DESC emp

insert

插入方式

-- 创建表goods
CREATE TABLE `goods` ( id INT ,
			goods_name VARCHAR(10), 
			price DOUBLE NOT NULL DEFAULT 100 );
-- 添加数据
-- 方式一
INSERT INTO `goods` (id, goods_name, price) VALUES (01, '华为手机', 2000);
-- 方式二
INSERT INTO `goods` VALUES(02, '苹果手机', 3000);
-- 方式三 (这里的price因为有默认值,可以不设置,不设置的情况下会给默认值100)
INSERT INTO `goods` (id, goods_name) VALUES (03, '联想手机');
SELECT * FROM goods;

细节

  • 插入的数据应和字段的数据类型相同
    • 'abc'插入int类型会报错
    • '123'插入int类型是可以的,系统实际会尝试将字符串转化成int
  • 数据的长度应在列的规定范围内 (字符数/字节数)
  • values后的数据位置应与列的排序位置一致
  • 日期和字符串类型数据在单引号中
  • 列可以插入空值(允许为空时),一般是允许的,除非使用 not null
  • 可以一次添加多条记录
    • insert into t1 values (1,"a"),(2,"b"),(3,"c");
  • 如果给所有字段添加数据,values前可不列出字段名称
  • 当不给某个字段值时,其若有设置默认值则会添加,若没有则报错

update

使用方式

-- 演示 update 语句
-- 1. 将所有员工薪水修改为 5000 元。[如果没有带 where 条件,会修改所有的记录,因此要小心] 
-- 	UPDATE employee SET salary = 5000
-- 2. 将姓名为 小妖怪 的员工薪水修改为 3000 元。

-- 会将所有的salary设置为5000
UPDATE employee SET salary = 5000
-- 将 user_name 为 小妖怪 的 salary 设置为 3000
UPDATE employee SET salary = 3000
	WHERE user_name = '小妖怪'
-- 将 妖怪 的薪水在原有基础上增加 1000 元
UPDATE employee
	SET salary = salary + 1000 WHERE user_name = '小妖怪'
-- 修改小妖怪的多个列的值
UPDATE employee
	SET salary = salary + 1000 , job = '出主意的' 
	WHERE user_name = '小妖怪'
	
SELECT * FROM employee;

细节

  • upadte可以用新值更新 某列/某列某行 的值
  • set后跟的是 要修改的值
  • where后跟的是 与要修改值相关的行 的某个值
    • where与set形成交叉,能确定修改某个位置的值
    • 一般where跟着的是 名字、id等独一无二的
  • 修改多个字段
    • set salary = 1000 , job = '工作'

delete

使用

-- 删除表中所有记录,小心使用!!!
DELETE FROM employee;
-- 删除表中名称为’老妖怪’的记录。
DELETE FROM employee WHERE user_name = '老妖怪';
-- 删除表
DROP TABLE employee;

细节

  • 如果不适用where子句,将删除表中所有数据
  • delete不能删除某列,但alter可以
    • alter table t(表名) drop sex 删除t表的sex列
  • delete仅删除记录,不删除表本身
    • 即:delete from employee;后,其内数据都没有了,但是表依旧存在
    • 删除表本身可用 drop table 表名

select

基础使用

-- 查询 student表的 name 和 english 列
SELECT `name`,`english` FROM student
-- distinct 过滤重复项
-- 查询 english 列 , 过滤掉重复项
SELECT DISTINCT `english` FROM student 
-- 查询 name列 和 (chinese+english+math)列
SELECT `name`,(chinese+english+math) FROM student
-- as 命名一个别名,后续的操作可以使用别名操作
-- 查询name列 和 (chinese+english+math)列,给 (chinese+english+math)列一个别名total
SELECT `name`,(chinese+english+math) AS total FROM student
-- where 进行条件过滤 
-- and 并且
-- 查询 math列 ,过滤条件为:math列 大于 60 的项,并且 id 大于1
SELECT `math` FROM student WHERE math > 60 AND id > 1
-- 查询 name列,过滤条件为:english列 大于 chinese列 的项
SELECT `name` FROM student WHERE english > chinese
-- like 模糊查询 ,如果需要查询姓氏的话,可以在姓后面加%,表示第一个字是姓氏,后面的不知道
-- 查询 所有列,过滤条件为:(chinese+english+math)列 大于 200,并且 math列 小于 chinese列 ,并且 name列 模糊查询 赵%
SELECT * FROM student WHERE (chinese+english+math)> 200 AND math<chinese AND `name` LIKE '赵%'

#注意:where子句不能使用函数

练习

SELECT * FROM student-- 英语成绩在80-90的同学SELECT `name` FROM student WHERE english >= 80 AND english <= 90-- 数学分数为84,85,86的同学SELECT `name` FROM student WHERE english IN(84,85,86)-- 所有姓 韩 的学生成绩SELECT * FROM student WHERE `name` LIKE '韩%'-- 数学>80,语文>80的同学SELECT `name` FROM student WHERE math >= 80 AND chinese >= 80-- 语文在70-80的同学SELECT `name` FROM student WHERE chinese BETWEEN 70 AND 80 -- 总分为170,221,233的同学SELECT `name` FROM student WHERE (chinese + english + math) IN(170,221,233)-- 姓赵或姓宋的同学SELECT * FROM student WHERE `name` LIKE '赵%' OR `name` LIKE '宋%'-- 数学比语文多30分的同学SELECT `name` FROM student WHERE (math-chinese) > 30

where的运算符

  • 比较运算符
    • ` > < <= >= = <> !=
    • between...and...
    • in(set) set是一个集合
      • eg: `number` in(1,2,3,4)
    • like ` 蔡 ` 模糊查询有 蔡 关键字的
      • eg: `name` like '蔡%' 加%表示后面的不知道,但是第一个字是蔡
      • 注意:like后面的字符串是加单引号,不是反引号
    • like ` 蔡 ` no like ` 王 ` 模糊查询有 蔡 关键字,没有 王 关键字的
  • 逻辑运算符
    • and
    • or
    • not

order by ... (asc/desc)

-- order by-- 默认是 asc 升序(从低到高) -- 按math列升序排序SELECT * FROM student ORDER BY math;-- desc是降序(从高到低)-- 按chiese列降序排序SELECT * FROM student ORDER BY chinese DESC;-- 按 total列 降序排序,注意:这里的total是别名SELECT `name`,(chinese + math + english) AS total FROM student ORDER BY total DESC;-- 筛选出 姓韩 的同学,按 total列 升序排序SELECT `name`,(chinese + math + english) AS total FROM student WHERE `name` LIKE '韩%' ORDER BY total ASC;

函数

count

  • count(*)
    • 返回满足条件记录的行数
  • count(列名)
    • 返回满足条件某列的行数,会排除null的行
-- 统计全部有多少学生SELECT COUNT(*) FROM student-- 统计 math > 90 的 有多少学生SELECT COUNT(*) FROM student WHERE math > 90-- 统计 总分 > 90 的 有多少学生SELECT COUNT(*) FROM student WHERE (chinese + english + math) > 250

sum

  • sum(列名) 返回某列数值的和
  • 只对数值有用
  • 可以对多列同时求和,逗号隔开即可
-- 统计math总和SELECT SUM(math) FROM student-- 统计各科成绩综合SELECT SUM(chinese),SUM(english),SUM(math) FROM student -- 统计全部成绩总和SELECT SUM(chinese + english + math) FROM student-- 统计语文平均分SELECT SUM(chinese)/COUNT(chinese) FROM student

avg

-- 语文平均分SELECT AVG(chinese) FROM student-- 总分平均分SELECT AVG(chinese + english + math) FROM student

max/min

-- 语文分数最大值,最小值SELECT MAX(chinese),MIN(chinese) FROM student-- 总分最大值SELECT MAX(chinese + english + math) FROM student

group by

  • group by的作用是分组,但实际就是排序,需要配合函数使用
  • order by 也是排序
  • 区别:
    • order by
      • 后面必须列出排序的字段名,可以是多个字段名
    • group by
      • 分组必须有"聚合函数"来配合才能使用,使用时至少需要一个分组标志字段
      • 有having子句,用来过滤分组的结果
      • 聚合函数:sum、count、avg等
  • 扩展
    • where子句和group by可以一起用,但是where必须在group by前
    • 结合用法:
      先对select xx from xx的记录集合用where进行筛选,然后再使用group by 对筛选后的结果进行分组 使用having字句对分组后的结果进行筛选
    • 注意:where后的条件表达式里不能用聚合函数,但having可以
练习前需要创建的表
CREATE TABLE dept( /*部门表*/deptno MEDIUMINT   UNSIGNED  NOT NULL  DEFAULT 0, dname VARCHAR(20)  NOT NULL  DEFAULT "",loc VARCHAR(13) NOT NULL DEFAULT "");INSERT INTO dept VALUES(10, 'ACCOUNTING', 'NEW YORK'), (20, 'RESEARCH', 'DALLAS'), (30, 'SALES', 'CHICAGO'), (40, 'OPERATIONS', 'BOSTON');#创建表EMP雇员CREATE TABLE emp(empno  MEDIUMINT UNSIGNED  NOT NULL  DEFAULT 0, /*编号*/ename VARCHAR(20) NOT NULL DEFAULT "", /*名字*/job VARCHAR(9) NOT NULL DEFAULT "",/*工作*/mgr MEDIUMINT UNSIGNED ,/*上级编号*/hiredate DATE NOT NULL,/*入职时间*/sal DECIMAL(7,2)  NOT NULL,/*薪水*/comm DECIMAL(7,2) ,/*红利*/deptno MEDIUMINT UNSIGNED NOT NULL DEFAULT 0 /*部门编号*/); INSERT INTO emp VALUES(7369, 'SMITH', 'CLERK', 7902, '1990-12-17', 800.00,NULL , 20), (7499, 'ALLEN', 'SALESMAN', 7698, '1991-2-20', 1600.00, 300.00, 30),  (7521, 'WARD', 'SALESMAN', 7698, '1991-2-22', 1250.00, 500.00, 30),  (7566, 'JONES', 'MANAGER', 7839, '1991-4-2', 2975.00,NULL,20),  (7654, 'MARTIN', 'SALESMAN', 7698, '1991-9-28',1250.00,1400.00,30),  (7698, 'BLAKE','MANAGER', 7839,'1991-5-1', 2850.00,NULL,30),  (7782, 'CLARK','MANAGER', 7839, '1991-6-9',2450.00,NULL,10),  (7788, 'SCOTT','ANALYST',7566, '1997-4-19',3000.00,NULL,20),  (7839, 'KING','PRESIDENT',NULL,'1991-11-17',5000.00,NULL,10),  (7844, 'TURNER', 'SALESMAN',7698, '1991-9-8', 1500.00, NULL,30),  (7900, 'JAMES','CLERK',7698, '1991-12-3',950.00,NULL,30),  (7902, 'FORD', 'ANALYST',7566,'1991-12-3',3000.00, NULL,20),  (7934,'MILLER','CLERK',7782,'1992-1-23', 1300.00, NULL,10);#工资级别表CREATE TABLE salgrade(grade MEDIUMINT UNSIGNED NOT NULL DEFAULT 0,losal DECIMAL(17,2)  NOT NULL,hisal DECIMAL(17,2)  NOT NULL);INSERT INTO salgrade VALUES (1,700,1200);INSERT INTO salgrade VALUES (2,1201,1400);INSERT INTO salgrade VALUES (3,1401,2000);INSERT INTO salgrade VALUES (4,2001,3000);INSERT INTO salgrade VALUES (5,3001,9999);
使用
-- 未分组:所有 平均工资和最高工资SELECT AVG(sal),MAX(sal) FROM emp-- 按照部门分组 计算平均工资和最高工资,可降序升序排列SELECT AVG(sal),MAX(sal),deptno FROM emp GROUP BY deptno DESC;-- 按照部门和岗位分组,计算 平均工资和最低工资SELECT AVG(sal),MIN(sal),deptno,job FROM emp GROUP BY deptno DESC,job DESC;-- having 用来过滤group by的结果-- 显示平均工资低于2000的部门号和它的平均工资SELECT deptno,AVG(sal) AS `avg` FROM emp GROUP BY deptno HAVING `avg` < 2000

字符串函数

# 所有的FROM DUAL(from dual)可以不加-- 演示字符串相关函数的使用  , 使用emp表来演示-- charset(str)	返回字串字符集SELECT CHARSET(ename) FROM emp;-- concat(string[,... ])连接字串, 将多个列拼接成一列SELECT CONCAT(ename,' 工作是 ', job) FROM emp;-- instr (string ,substring )返回substring在string中出现的位置,没有返回0-- dual 亚元表, 系统表 可以作为测试表使用SELECT INSTR('hanshunping', 'ping') FROM DUAL; -- ucase(string)转换成大写SELECT UCASE(ename) FROM emp;-- lcase (string)转换成小写SELECT LCASE(ename) FROM emp;-- left (string,length )从string中的左边起取length个字符-- right (string,length )从string中的右边起取length个字符SELECT LEFT(ename, 2) FROM emp;-- length(string)返回string长度[按照字节]SELECT LENGTH(ename) FROM emp;-- replace(str,search_str,replace_str) 	-- 将str中的search_str替换成replace_str-- job列中如果是MANAGER就替换成 经理SELECT ename, REPLACE(job,'MANAGER', '经理') FROM emp;-- strcmp(string1,string2)逐字符比较两字串大小-- string1>string2返回正数;string1<string2返回负数;string1=string2返回0SELECT STRCMP('wiopp', 'hspp') FROM DUAL;-- substring (str , position  [,length ])	-- 从str的position开始【从1开始计算】,取length个字符-- 从ename 列的第一个位置开始取出2个字符SELECT SUBSTRING(ename, 1, 2) FROM emp;-- ltrim (string2 ) 去除前端空格-- rtrim (string2 ) 去除后端空格-- trim(string) 去除前后端空格SELECT LTRIM('  韩顺平教育') FROM DUAL;SELECT RTRIM('韩顺平教育   ') FROM DUAL;SELECT TRIM('    韩顺平教育   ') FROM DUAL;-- 练习: 以首字母小写的方式显示所有员工emp表的姓名-- 思路:取出ename第一个字符,转成小写-- 	 把他和后面的字符串进行拼接输出-- 方式一:SELECT CONCAT(LCASE(SUBSTRING(ename,1,1)),  SUBSTRING(ename,2)) AS new_name	FROM emp;  -- 方式二:SELECT CONCAT(LCASE(LEFT(ename,1)),  SUBSTRING(ename,2)) AS new_name	FROM emp; 

数学函数

# 所有的FROM DUAL(from dual)可以不加-- 演示数学相关函数-- abs(num)绝对值SELECT ABS(-10) FROM DUAL;-- bin (num)十进制转二进制SELECT BIN(10) FROM DUAL;-- celling(num)	向上取整, 得到比num大的最小整数SELECT CEILING(-1.1) FROM DUAL; -- -1-- floor (num)	向下取整,得到比num小的最大整数SELECT FLOOR(-1.1) FROM DUAL; -- -2-- conv(num,from_base,to_base)	进制转换--  8是16进制, 转成2进制输出SELECT CONV(8,16, 2) FROM DUAL;--  11是16进制, 转成10进制输出SELECT CONV(11, 16, 10) FROM DUAL;-- format (number,decimals)保留小数位数(四舍五入)-- 78.125458保留2位小数SELECT FORMAT(78.125458,2) FROM DUAL;-- hex (DecimalNumber)	转十六进制SELECT HEX(11);-- least (number , number2  [,..])求 括号内的最小值SELECT LEAST(0,1, -10, 4) FROM DUAL;-- mod (num1,num2)求余 num1%num2SELECT MOD(10, 3) FROM DUAL;-- rand([seed])返回随机数 其范围为 0 ≤ v ≤ 1.0 seed是种子值-- 1. 如果使用 rand() 每次返回不同的随机数 ,在 0 ≤ v ≤ 1.0SELECT RAND() FROM DUAL;-- 2. 如果使用 rand(seed) 返回随机数, 范围 0 ≤ v ≤ 1.0--    如果seed不变,该随机数也不变了;--    即:如果后续使用相同的seed,会按顺序产生同样的随机数SELECT empno,RAND(1) FROM emp;SELECT job,RAND(1) FROM emp;SELECT * FROM emp

日期函数

# 所有的FROM DUAL(from dual)可以不加-- 日期时间相关函数-- current_date (  )	当前日期SELECT CURRENT_DATE() FROM DUAL;-- current_time (  )	当前时间SELECT CURRENT_TIME()  FROM DUAL;-- current_timestamp () 当前时间戳SELECT CURRENT_TIMESTAMP()  FROM DUAL;-- 返回当前日期和时间SELECT NOW() FROM DUAL;-- 创建测试表 信息表CREATE TABLE mes(	id INT , 	content VARCHAR(30), 	send_time DATETIME);		-- 添加记录INSERT INTO mes VALUES(1, '北京新闻', CURRENT_TIMESTAMP()); INSERT INTO mes VALUES(2, '上海新闻', NOW());INSERT INTO mes VALUES(3, '广州新闻', NOW());-- 查表SELECT * FROM mes;-- 应用实例-- 显示所有新闻信息,发布日期只显示 日期,不用显示时间-- date返回datetime的日期部分,最终只显示日期,不显示时间SELECT id, content, DATE(send_time) FROM mes;-- 请查询在10分钟内发布的新闻-- 思路一:如果 发布时间加上10分钟 大于等于 当前时间,说明是10分钟内的-- date_add(date,interval value) 在date中加上value【日期/时间】-- interval value 后的值可以是 year、minute、second、day等SELECT * FROM mes WHERE DATE_ADD(send_time,INTERVAL 10 MINUTE) >= NOW();-- 思路二:如果 当前时间减去10分钟 小于等于 发布时间,说明是10分钟内的-- date_sub(date,interval value) 在date中减去value【日期/时间】SELECT * FROM mes WHERE send_time >= DATE_SUB(NOW(), INTERVAL 10 MINUTE) -- 求出 2011-11-11 和 1990-1-1 相差多少天-- datediff(data1,data2) 返回 两个日期的差SELECT DATEDIFF('2011-11-11', '1990-01-01') FROM DUAL;-- 求出活了多少天? 1986-11-11 出生SELECT DATEDIFF(NOW(), '1986-11-11') FROM DUAL;-- 如果活80岁,求还能活多少天 1986-11-11 出生-- 1.活80岁时,是什么日期x-- 2.使用datediff(x, now()); 用未来80岁的日期减去现在的日期-- interval value 后的值可以是 year、minute、second、day等-- '1986-11-11'是date(年月日) 也可以是datetime(年月日时分秒)、timestamp(时间戳)SELECT DATEDIFF(	DATE_ADD('1986-11-11', INTERVAL 80 YEAR), -- 出生日期+80年=80年后的日期	NOW() -- 现在的时间	) FROM DUAL; -- datediff 80年后的日期-现在的日期=剩下的天数-- 计算两个时间的差,返回的是一个时间(时分秒)SELECT TIMEDIFF('10:11:11', '06:10:10') FROM DUAL;SELECT YEAR(NOW()) FROM DUAL;-- 现在的年SELECT MONTH(NOW()) FROM DUAL;-- 现在的月SELECT DAY(NOW()) FROM DUAL;-- 现在的日SELECT MONTH('2013-11-10') FROM DUAL;-- 这个时间的月-- unix_timestamp()返回1970-1-1到现在的秒数SELECT UNIX_TIMESTAMP() FROM DUAL;-- from_unixtime(时间戳,格式)可以把一个unix_timestamp秒数[时间戳],转成指定格式的日期-- %Y-%m-%d 表示年月日 %H:%i:%s 表示时分秒-- 意义:在开发中,可以存放一个整数用来表示时间,通过FROM_UNIXTIME转换 SELECT FROM_UNIXTIME(1618483484, '%Y-%m-%d') FROM DUAL;SELECT FROM_UNIXTIME(1618483100, '%Y-%m-%d %H:%i:%s') FROM DUAL;

加密函数

#所有的select语句没有from的,后面可以加FROM DUAL【from dual】-- 演示加密函数和系统函数-- user()查看当前登录用户以及登录的IPSELECT USER() ; -- 用户@IP地址-- DATABASE()	查询当前使用数据库名称SELECT DATABASE();-- MD5(str)为字符串算出一个 MD5 32的字符串,常用(用户密码)加密-- root 密码是 hsp -> 加密md5 -> 在数据库中存放的是加密后的密码SELECT MD5('hsp');-- length计算长度,md5加密后都是32位SELECT LENGTH(MD5('hsp'));DROP TABLE xsp_user-- 演示用户表CREATE TABLE xsp_user	(id INT , 	`name` VARCHAR(32) NOT NULL DEFAULT '', 	pwd CHAR(32) NOT NULL DEFAULT '');-- 插入一行,pwd用md5加密INSERT INTO xsp_user 	VALUES(1, '小蛇皮', MD5('xsp'));-- 查表	SELECT * FROM xsp_user;-- 查询pwd时,依旧需要通过md5加密的方式查找 能防止SQL注入问题SELECT * FROM xsp_user  	WHERE `name`='小蛇皮' AND pwd = MD5('xsp'); -- password(str)加密函数, MySQL数据库的用户密码就是使用 password函数 进行加密SELECT PASSWORD('123456'); -- 123456加密后是:*DB7F29433326688718E5FAD1F935ED0FC9DFCAAF-- select * from mysql.user \G-- password函数通常用于对mysql数据库的用户密码加密-- mysql.user 表示 mysql数据库的user表,这里存放了用户权限和密码等-- authentication_string列 的root行显示的是123456经过password函数加密后的值-- 这就是我们自己设置的数据库密码123456加密后的值SELECT * FROM mysql.user

流程控制语句

# 演示流程控制语句# if(expr1,expr2,expr3)	如果expr1为True ,则返回expr2,否则返回 expr3SELECT IF(TRUE, '北京', '上海');# ifnull(expr1,expr2)	如果expr1不为空NULL,则返回expr1,否则返回expr2SELECT IFNULL(NULL,'韩顺平教育');# 类似if...if else..else...# select case when ... then ... when ... then... else ... end;# when...then可以有多个,但else...只能有一个,不管有没有else,都必须有 end 表示结束-- 1.如果expr1为true,返回expr2,结束-- 2.如果expr3为true,返回expr4,结束-- 3.如果前面的条件都不成立,返回expr5-- SELECT CASE WHEN expr1 THEN expr2 WHEN expr3 THEN expr4 ELSE expr5 END;SELECT CASE 	WHEN TRUE THEN 'jack'  -- jack	WHEN FALSE THEN 'tom' 	ELSE 'mary' END-- 查询emp 表, 如果 comm 是null , 则显示0.0-- 判断是否为null要使用 is null, 判断不为空 使用 is not null-- 如果comm是空,则返回0.0,不为空则返回comm(即原值)SELECT ename, IF(comm IS NULL, 0.0, comm) FROM emp;-- 如果comm不是空,则返回comm(即原值),comm是空则返回0.0SELECT ename, IFNULL(comm, 0.0) FROM emp;-- 如果emp 表的 job 是 CLERK 则显示 职员, 如果是 MANAGER 则显示经理-- 如果是 SALESMAN 则显示 销售人员,其它正常显示、-- 方式一:-- 注意:else后要写job,否则返回的是空,因为这里显示的列实际是新的一列,不是原来的job列,没有赋值就是nullSELECT ename, (SELECT CASE 		WHEN job = 'CLERK' THEN '职员' 		WHEN job = 'MANAGER' THEN '经理'		WHEN job = 'SALESMAN' THEN '销售人员' 		ELSE job END) AS 'job' FROM emp; -- 方式二:SELECT ename, (CASE job WHEN 'CLERK' THEN '职员' WHEN 'MANAGER' THEN '经理' 		WHEN 'SALESMAN' THEN '销售人员' ELSE job END) AS job FROM emp;SELECT * FROM emp;SELECT * FROM dept;SELECT * FROM salgrade;

分页查询

-- 分页查询-- limit start,rows  (start是开始取的行,rows是要取多少行)-- 按雇员的empno号升序取出, 每页显示3条记录,请分别显示 第1页,第2页,第3页-- 第1页SELECT * FROM emp 	ORDER BY empno 	LIMIT 0, 3;-- 第2页SELECT * FROM emp 	ORDER BY empno 	LIMIT 3, 3;-- 第3页SELECT * FROM emp 	ORDER BY empno 	LIMIT 6, 3;-- 推导一个公式 SELECT * FROM emp	ORDER BY empno 	LIMIT 每页显示记录数 * (第几页-1) , 每页显示记录数

执行顺序

  • 以下按顺序执行,他们出现的位置不能提前或提后
    • group by
    • having
    • order by
    • limit
  • select * from ... group by ... having ... order by ... limit ...
  • 只有group by和order by可以升序asc降序desc
-- 统计各部门的平均工资,并且是大于1000的,按照平均工资降序排序,取出前两行记录SELECT deptno,AVG(sal) AS avg_sal FROM emp GROUP BY deptno HAVING avg_sal>1000 ORDER BY avg_sal DESC LIMIT 0,2

多表查询和笛卡尔集

笛卡尔集

  • 一般直接查询两张表时,会出现笛卡尔集
    • select * from emp,dept;
  • 笛卡尔集
    • 将表1的行1 跟 表2的所有行 拼接,形成多个行;然后表1的行2 继续拼接...
    • 最终的行数是 表1行数 * 表二行数
    • 返回的结果包含了两张表的所有列
    • 解决笛卡尔集的办法就是用where子句增加过滤条件
    • 过滤条件最少是 (表数-1) 即:有5个表时,最少得有4个过滤条件才不会出现笛卡尔集
    • 过滤条件实际是对笛卡尔集的过滤,没有过滤就是笛卡尔集
    • 笛卡尔集出现在多表查询下,要注意两个表的共同列名,要用 表名.列名 表示各表的列

多表查询

  • 多表查询时,如果两个表有共同的列,一般会通过 表1.列名 = 表2.列名 作为筛选条件之一
  • 当有临时表时,临时表如果使用了group by进行分组,分组的列一般是两表共同列,这个列也可作为筛选条件之一
-- 显示雇员名ename,雇员工资sal,所在部门名deptno/*ename、sal在emp表 dname在dept表deptno在两个表都有,可以设置过滤条件,注意使用不同的表名调用deptno列由于deptno在两个表都有,因此在查看列时需要当我们需要指定显示某个表的列时,用: 表名.列名*/SELECT ename,sal,dname,emp.deptno 	FROM emp, dept 	WHERE emp.deptno = dept.deptno	-- 多表查询的条件不能少于表的个数减1, 否则会出现笛卡尔集-- 显示部门号为10的部门名、员工名和工资 SELECT ename,sal,dname,emp.deptno	FROM emp, dept 	WHERE emp.deptno = dept.deptno AND emp.deptno = 10-- 显示各个员工的姓名,工资,及其工资的级别SELECT ename, sal, grade 	FROM emp , salgrade	WHERE sal BETWEEN losal AND hisal; 		-- 显示雇员名、雇员工资、所在部门名字、按部门排序-- 这里无法使用group by,group by需要配合聚合函数使用SELECT ename,sal,dname FROM emp,dept WHERE emp.deptno = dept.deptno ORDER BY dnameSELECT * FROM emp;SELECT * FROM dept;SELECT * FROM salgrade;

自连接

-- 多表查询的 自连接-- 思考题: 显示公司员工名字和他的上级名字-- 这里表中,公司成员有对应的编号,每个成员的上级也是用编号表示的,此表是mgr列-- 员工编号和上级编号在同一个表,可以使用自连接/*自连接的特点  1. 把同一张表当做两张表使用               2. 必须给表取别名,否则系统无法区分,后续也无法调用不同表的列   			   3. 列名不明确,可以指定列的别名 列名 as 列的别名*/SELECT worker.ename AS '职员名' ,  boss.ename AS '上级名' -- 给不同表的ename取别名,方便区分	FROM emp worker, emp boss -- 给表取别名,不需要用as	WHERE worker.mgr = boss.empno; -- 条件:员工表的上级编号 = 上级表的员工编号时SELECT * FROM emp;

多行子查询

#子查询指select在其它sql语句中使用,实际就是select语句的嵌套#多行子查询指 select语句返回的是多行的#单行子查询指 select语句返回的是单行的#多行其实是单列的-- 单行子查询#如何显示与SMITH同一部门的所有员工-- 1. 先查询到 SMITH的部门号得到-- 2. 把上面的select 语句当做一个子查询来使用-- 1.SELECT deptno FROM emp WHERE ename = 'SMITH' -- 20-- 2.SELECT * FROM emp	 	WHERE deptno = (		SELECT deptno 		FROM emp 		WHERE ename = 'SMITH' 	 ) -- 这里实际是 deptno=20-- 多行子查询#查询跟10号部门的工作相同的雇员的 名字、岗位、工资、部门号, 但不含10号部门的成员.-- 思路:先查出部门10有哪些工作 再找出对应的雇员 再排除10号部门的成员SELECT DISTINCT job FROM emp WHERE deptno=10 -- 会返回三个(行)不同的job-- in是运算符,in(set),set是集合,上面语句返回三个job,实际就是返回了一个集合-- 因此这里,只要job包含了 返回的三个job其中一个 条件则成立    <>是不等于号,也可用 != SELECT ename , job , sal , deptno FROM emp WHERE job IN (SELECT DISTINCT job FROM emp WHERE deptno=10) AND deptno<>10SELECT * FROM emp

all和any

  • all和any不算是运算符,in是运算符
  • any和in很相似
  • 但在进行比较时,使用>和<等,已经用了运算符,不能使用in,而是使用any
#all 和 any的使用#显示工资比部门30的所有员工的工资高的员工的姓名、工资和部门号-- 方法一: 使用all,all的意思是 sal需要跟括号内所有项进行比较,都成立才返回trueSELECT ename, sal, deptno	FROM emp	WHERE sal > ALL(		SELECT sal 			FROM emp			WHERE deptno = 30		) -- 方法二:使用max,直接获得最大值SELECT ename, sal, deptno	FROM emp	WHERE sal > (		SELECT MAX(sal) 			FROM emp			WHERE deptno = 30		) #显示工资比部门30的 其中一个员工 的工资高的员工的姓名、工资和部门号-- 方法一: 使用any,any的意思是 sal只需要比括号内任意一项大即可返回trueSELECT ename, sal, deptno	FROM emp	WHERE sal > ANY(		SELECT sal 			FROM emp			WHERE deptno = 30		)-- 方法二: 使用min,直接取得最小值 SELECT ename, sal, deptno	FROM emp	WHERE sal > (		SELECT MIN(sal) 			FROM emp			WHERE deptno = 30		)

子查询临时表

#将一个select当作一个临时表#查询ecshop中各个类别中,价格最高的商品-- 查询 各个类别 最高的价格,当做临时表-- 把子查询当做一张临时表可以解决很多很多复杂的查询SELECT cat_id , MAX(shop_price) 	FROM ecs_goods	GROUP BY cat_id -- 返回的结果可以当作一张表-- 使用多表查询,将ecs_goods表和临时表进行过滤-- from后面是临时表,起了别名temp-- 过滤条件:临时表的cat_id等于ecs_goods表的cat_id (使得 临时表 和 ecs_goods 表的商品类别匹配上)-- 			并且 临时表的max_price等于ecs_goods表的shop_price(实际就是最高价格等于商品价格,以此来筛选出最高价格商品的名字)SELECT goods_id, ecs_goods.cat_id, goods_name, shop_price 	FROM (		SELECT cat_id , MAX(shop_price) AS max_price		FROM ecs_goods		GROUP BY cat_id	) temp , ecs_goods	WHERE  temp.cat_id = ecs_goods.cat_id 	AND temp.max_price = ecs_goods.shop_price 

多列子查询

#多列子查询指 select语句返回的是多列的-- 查询与ALLEN的部门和岗位完全相同的所有雇员(并且不含ALLEN本人)-- 多列查询:where (字段1, 字段2 ...) = (select 字段 1,字段2 from 。。。。)-- 先查出allen的部门和岗位 SELECT deptno,job FROM emp WHERE ename = 'ALLEN' -- 返回了两列,分别是部门和岗位-- 把上面的查询当做子查询来使用,并且使用多列子查询的语法进行匹配-- 多列子查询:where (deptno,job) = (...) 等号前的两列需要 和 等号后返回的两列 对应-- 找出部门和岗位相同的人 然后排除ALLENSELECT ename,deptno,job FROM emp WHERE (deptno,job) = (SELECT deptno,job FROM emp WHERE ename = 'ALLEN') AND ename != 'ALLEN'#查询和宋江 语文、英语、数学 成绩完全相同的学生SELECT * FROM studentSELECT chinese,english,math FROM student WHERE `NAME` = '宋江'SELECT `NAME` FROM student WHERE (chinese,english,math) = (SELECT chinese,english,math FROM student WHERE `NAME` = '宋江')

练习

-- 子查询练习#查找每个部门工资高于本部门平均工资的人的资料-- 这里要用到数据查询的小技巧,把一个子查询当作一个临时表使用-- 1. 先得到每个部门的 部门号和 对应的平均工资SELECT deptno, AVG(sal) AS avg_sal	FROM emp GROUP BY deptno	-- 2. 把上面的结果当做子查询, 和 emp 进行多表查询SELECT ename, sal, temp.avg_sal, emp.deptno	FROM emp, (		SELECT deptno, AVG(sal) AS avg_sal		FROM emp 		GROUP BY deptno	) temp 	where emp.deptno = temp.deptno and emp.sal > temp.avg_sal	#查找每个部门工资最高的人的详细资料SELECT ename, sal, temp.max_sal, emp.deptno	FROM emp, (		SELECT deptno, max(sal) AS max_sal		FROM emp 		GROUP BY deptno	) temp 	WHERE emp.deptno = temp.deptno AND emp.sal = temp.max_sal	#查询每个部门的信息(包括:部门名,编号,地址)和人员数量,我们一起完成。-- 1. 部门名,编号,地址 来自 dept表-- 2. 各个部门的人员数量 -》 构建一个临时表select count(*), deptno 	from emp	group by deptno;	select dname, dept.deptno, loc , tmp.per_num as '人数'	from dept, (		SELECT COUNT(*) as per_num, deptno 		FROM emp		GROUP BY deptno	) tmp 	where tmp.deptno = dept.deptno-- 还有一种写法 表.* 表示将该表所有列都显示出来, 可以简化sql语句-- 在多表查询中,当多个表的列不重复时,才可以直接写列名SELECT tmp.* , dname, loc	FROM dept, (		SELECT COUNT(*) AS per_num, deptno 		FROM emp		GROUP BY deptno	) tmp 	WHERE tmp.deptno = dept.deptno

表复制和去重

#表的复制#为了对某个sql语句进行效率测试,需要海量数据时,可以使用此法为表创建海量数据(自我复制最快)-- 先创建一个表CREATE TABLE my_tab01	( id INT,	  `name` VARCHAR(32),	  sal DOUBLE,	  job VARCHAR(32),	  deptno INT);DESC my_tab01SELECT * FROM my_tab01;-- 表的复制  将emp表复制到my_table表 (使用select语句将查询到的结果插入到my_tab01中)-- 前提:两个表的复制的列应该是对应的 -- 如果两个表的结构是完全相同的,可以不写对应的列 insert into my_tab01 select * from emp;-- 可以直接创建结构一样的表 create table my_tab01 LIKE emp;INSERT INTO my_tab01(id, `name`, sal, job,deptno)SELECT empno, ename, sal, job, deptno FROM emp;-- 自我复制INSERT INTO my_tab01 SELECT * FROM my_tab01;SELECT COUNT(*) FROM my_tab01;-- 查看复制后的数据量#如何删除掉一张表重复记录-- 1. 先创建一张表 my_tab02CREATE TABLE my_tab02 LIKE emp; -- 把emp表的结构(列),复制到my_tab02-- 2. 让 my_tab02 有相同的记录INSERT INTO my_tab02 SELECT * FROM emp;-- 3. 考虑去重 my_tab02的记录/*思路 (1) 创建表 my_tmp,结构和 my_tab02一样(2) 把my_tab02数据复制到my_tmp中并且用distinct去重(3) 清除my_tab02记录(4) 把 my_tmp 记录复制到 my_tab02(5) 删除my_tmp*/-- (1) 创建表 my_tmp,结构和 my_tab02一样CREATE TABLE my_tmp LIKE my_tab02-- (2) 把my_tab02数据用distinct去重后复制到my_tmp中INSERT INTO my_tmp SELECT DISTINCT * FROM my_tab02;-- (3) 清除my_tab02数据 (清除记录用delete from,会清空数据,留下结构,表依旧存在)DELETE FROM my_tab02;-- (4) 把 my_tmp 数据复制到 my_tab02INSERT INTO my_tab02 SELECT * FROM my_tmp;-- (5) 删除my_tmp(直接把表删除,结构和数据都不存在)DROP TABLE my_tmp;SELECT * FROM my_tmp;SELECT * FROM my_tab02;

select合并查询

  • 合并查询是将两条sql语句的结果合并在一起(放在一起)
  • union all 合并结果 不会去重
  • union 合并结果 会自动去重
#合并查询SELECT ename,sal,job FROM emp WHERE sal>2500 -- 5条数据SELECT ename,sal,job FROM emp WHERE job='MANAGER' -- 3条数据-- union all 就是将两个查询结果合并,不会去重SELECT ename,sal,job FROM emp WHERE sal>2500 UNION ALLSELECT ename,sal,job FROM emp WHERE job='MANAGER' -- 合并后8条数据-- union  就是将两个查询结果合并,会去重SELECT ename,sal,job FROM emp WHERE sal>2500 UNION SELECT ename,sal,job FROM emp WHERE job='MANAGER' -- 合并后6条数据,有两天重复的自动去重了

外连接

  • 为什么有外连接?
    • 在使用多表查询时,两个表中不匹配的项不显示(一般是null的)
    • 如果使用外连接,即使是没有相匹配数据的项,也会显示,找不到匹配值的地方会显示为null
    • image-20210814150143953
    • 如图所示,找不到的成绩会显示为null,此时是将有grade的表进行外连接
  • 外连接详解
    • 分为 左外连接和右外连接
    • 左外连接
      • 表示左边的表所有的项都会跟右边的表进行匹配,即使该项是null,最后也会显示出来
      • 格式:select ... from 左表 left join 右表 on 条件
    • 右外连接
      • 表示右边的表所有的项都会跟左边的表进行匹配,即使该项是null,最后也会显示出来
      • 格式:select ... from 左表 right join 右表 on 条件
    • on实际是多表查询中的where,作用是相同的
    • 左右外连接作用是相同的,如果将左外连接中两个表的位置换一下,就是右外连接,反之亦然
-- 创建 stuCREATE TABLE stu (	id INT,	`name` VARCHAR(32));INSERT INTO stu VALUES(1, 'jack'),(2,'tom'),(3, 'kity'),(4, 'nono');SELECT * FROM stu;-- 创建 examCREATE TABLE exam(	id INT,	grade INT);INSERT INTO exam VALUES(1, 56),(2,76),(11, 8);SELECT * FROM exam;#左连接#显示所有人的姓名、id、成绩,如果没有成绩显示为空-- stu表 有姓名、id ,exam表有id、成绩-- 正常的多表情况SELECT `name`, stu.id, grade	FROM stu, exam	WHERE stu.id = exam.id;-- 使用左外连接SELECT `name`, stu.id, grade	FROM stu LEFT JOIN exam	ON stu.id = exam.id;-- 使用右外连接(显示所有成绩,如果没有名字匹配,显示空)-- 即:右边的表(exam) 和左表没有匹配的记录,也会把右表的记录显示出来SELECT `name`, stu.id, grade	FROM stu RIGHT JOIN exam	ON stu.id = exam.id;#列出部门名称和部门的员工信息(名字和工作),-- 需要列出没有员工的部门名-- 使用左外连接实现  -- 在dept表中有 部门名dname ,使用左外连接后,所有的部门名都会显示出来,即使它没有员工信息,没有的员工信息会显示为nullSELECT dname, ename, job	FROM dept LEFT JOIN emp	ON dept.deptno = emp.deptno	-- 使用右外连接实现,实际就是换了一下表的位置SELECT dname, ename, job	FROM emp RIGHT JOIN dept	ON dept.deptno = emp.deptno

约束

主键(primary key)

  • 主键不能重复和null
  • 一张表最多只有一个主键/复合主键
  • 复合主键
    • 将一个以上的列作为主键
    • 复合主键实际是一个主键
    • eg:id和name是复合主键,如果插入的是已有id和已有name,插入失败;如果插入的是已有id,未有name,成功插入;如果插入的是未有id,已有name,成功插入。
  • desc 表名 可以看到主键的情况,如果显示有多个,则是复合主键
#主键 -- 格式一 CREATE TABLE t17	(id INT PRIMARY KEY, -- primary key表示id列是主键 	`name` VARCHAR(32));-- 格式二CREATE TABLE t17	(id INT	`name` VARCHAR(32),     PRIMARY KEY(id));-- 复合主键CREATE TABLE t17	(id INT	`name` VARCHAR(32),     PRIMARY KEY(id,`name`)); -- 将id和name设为复合主键INSERT INTO t17	VALUES(1, 'jack', 'jack@sohu.com');-- 插入成功INSERT INTO t17	VALUES(2, 'tom', 'tom@sohu.com');-- 插入成功INSERT INTO t17	VALUES(1, 'jack', 'hsp@sohu.com');-- 插入失败 因为 1 和 jack 都是已存在的

非空(not null)

  • 创建列时定义了not null,则插入数据时必须给该列提供数据
  • 格式:id int not null

唯一(unique)

  • 创建列时定义unique后该列的值不能重复
  • 格式:id int unique
  • 可以有重复的null
  • 一张表可以有多个列设置unique
  • unique not null 实际类似主键,不能重复且不能为空

外键

介绍

  • 用来定义主表和从表之间的关系
  • 外键约束在从表上定义
  • 主表必须具有primary key(主键约束)或者unique约束
  • 定义外键约束后,要求外键该列存入的数据必须是主表绑定列已存在的值/null
  • 格式 foreign key(从表列) references 主表名(主表列)

细节

  • 外键指向的主表字段,必须是主键(primary key)或者unique
  • 只有innodb类型表才支持外键
  • 主从表的字段类型一致(长度可不同)
  • 从表外键字段的值, 必须在 主表绑定的字段 中出现或者是null
    • 如果主表设置 绑定的字段设置为not null ,从表 外键字段 依旧可以是null
    • 如果从表 外键字段 设置为为not null,从表 外键字段 则不能为null
  • 一旦建立主外键的关系,数据不能随意删除
-- 外键演示-- 创建 主表 my_classCREATE TABLE my_class (	id INT PRIMARY KEY , -- 班级编号	`name` VARCHAR(32) NOT NULL DEFAULT '');-- 创建 从表 my_stuCREATE TABLE my_stu (	id INT PRIMARY KEY , -- 学生编号	`name` VARCHAR(32) NOT NULL DEFAULT '',	class_id INT , -- 学生所在班级的编号	--  指定外键关系 从表的class_id关联主表的id	FOREIGN KEY (class_id) REFERENCES my_class(id));	-- 测试数据INSERT INTO my_class 	VALUES(100, 'java'), (200, 'web');INSERT INTO my_class 	VALUES(300, 'php');	SELECT * FROM my_class;INSERT INTO my_stu 	VALUES(1, 'tom', 100);INSERT INTO my_stu 	VALUES(2, 'jack', 200);INSERT INTO my_stu 	VALUES(3, 'hsp', 300);INSERT INTO my_stu 	VALUES(4, 'mary', 400); -- 这里会失败...因为400班级不存在INSERT INTO my_stu 	VALUES(5, 'king', NULL); -- 可以, 外键没有写not null(即从表该字段允许是null,不受主表的not null影响)SELECT * FROM my_class;-- 一旦建立主外键的关系,数据不能随意删除了DELETE FROM my_class WHERE id = 100; -- 删除失败delete from my_stu where class_id = 100;delete from my_class where id = 100;-- 先删除主表的class_id,从表的id没有任何关联后,就能够删除

check

  • 用于强制数据必须满足某条件
  • 在mysql中实现check的功能,一般是在程序中控制或者通过触发器完成
-- mysql5.7不支持check ,只做语法校验,但不会生效 -- mysql8.0开始、oracle和sql server生效.-- 测试表CREATE TABLE t23 (	id INT PRIMARY KEY,	`name` VARCHAR(32) ,	sex VARCHAR(6) CHECK (sex IN('man','woman')),	sal DOUBLE CHECK ( sal > 1000 AND sal < 2000)	);		-- 添加数据   插入成功,因为mysql5.7不会生效INSERT INTO t23 	VALUES(1, 'jack', 'mid', 1);SELECT * FROM t23;

自增长

  • 跟主键(primary key)/unique配合使用

  • 自增长修饰字段一般为整形(少数情况下用double)

  • 默认从1开始,可以修改初始值(两种方法)

    • ALTER TABLE t25 AUTO_INCREMENT = 100
    • INSERT INTO t25 VALUES(100, 'h', 'hsp');
  • 使用自增长时

    • 自增长的列填入null即可
    • 固定设置其他字段的值,不设置自增长字段的值(会默认为null)
-- 演示自增长的使用-- 创建表CREATE TABLE t24	(id INT PRIMARY KEY AUTO_INCREMENT,	 email VARCHAR(32)NOT NULL DEFAULT '',	 `name` VARCHAR(32)NOT NULL DEFAULT ''); DESC t24-- 测试自增长的使用INSERT INTO t24 -- 插入null则是自增长 从1开始	VALUES(NULL, 'tom@qq.com', 'tom');INSERT INTO t24	(email, `name`) VALUES('hsp@sohu.com', 'hsp');SELECT * FROM t24;#  修改默认的自增长开始值-- 方法一:ALTER TABLE t25 AUTO_INCREMENT = 100-- 方法二:插入时不使用null,给定开始值-- 创建测试表CREATE TABLE t25	(id INT PRIMARY KEY AUTO_INCREMENT,	 email VARCHAR(32)NOT NULL DEFAULT '',	 `name` VARCHAR(32)NOT NULL DEFAULT ''); -- 插入一个值,自增长初始值是1INSERT INTO t25	VALUES(NULL, 'mary@qq.com', 'mary');-- 插入一个值,自增强值为666INSERT INTO t25	VALUES(666, 'hsp@qq.com', 'hsp');SELECT * FROM t25;

索引

  • 细节
    • 创建索引能提高查询速度
    • 代价
      • 提高表的占用大小
      • 降低更新表的速度,使用dml(update delete insert)语句后不仅要保存数据,还要保存索引文件,导致效率降低
    • select语句不影响索引
  • 分类
    • 主键索引(primary key) 主键自动为主键索引
    • 唯一索引(unique index)
    • 普通索引(index)
    • 全文索引(fulltext) 适用于MyISAM 开发中使用:全文所有Solr和ElasticSearch(ES)
  • 场景
    • 频繁作为查询条件的字段应创建索引
    • 唯一性太差的不适合单独创建索引,即使频繁作为查询条件 eg: sex = '男';
    • 更新非常频繁的字段不适合创建索引
    • 不会出现在where子句中的字段不要创建索引(用不到的不用创建)
#mysql的索引的使用-- 创建表CREATE TABLE t25 (	id INT ,	`name` VARCHAR(32));# 查询表是否索引SHOW INDEXES FROM t25;#  添加索引-- 如果某列的值,是不会重复的,则优先考虑使用unique索引, 否则使用普通索引-- 添加唯一(unique)索引 CREATE UNIQUE INDEX id_index ON t25 (id);-- 添加普通索引方式1CREATE INDEX id_index ON t25 (id);-- id_index是我们为索引起的名字-- 添加普通索引方式2ALTER TABLE t25 ADD INDEX id_index (id) -- 添加主键索引方式1CREATE TABLE t26 (	id INT ,	`name` VARCHAR(32));ALTER TABLE t26 ADD PRIMARY KEY (id)-- 添加主键索引方式2 (在建表时直接给字段primary key即可)CREATE TABLE t26 (	id INT PRIMARY KEY,	`name` VARCHAR(32));SHOW INDEX FROM t26# 删除索引DROP INDEX id_index ON t25-- 删除主键索引ALTER TABLE t26 DROP PRIMARY KEY# 修改索引 , 先删除,在添加新的索引# 查询索引-- 方式1SHOW INDEX FROM t25-- 方式2SHOW INDEXES FROM t25-- 方式3SHOW KEYS FROM t25-- 方式4  在key中显示为MUL,此方法查询不够清晰DESC t25

事务

什么是事务

  • 用于保证数据的一致性,由一组相关的dml语句组成,dml语句是一个整体,要么都成功,要么都失败
  • eg:转账需要使用事务,保证数据的一致性
  • 还可以通过设置保存点,回退到保存点的数据状态(相当于临时快照)

事务和锁

  • 事务的基本操作
    • start transaction 开始一个事务
    • savepoint 自定义保存点名字 设置保存点
    • rollback to 保存点名 回退事务(回到保存点的数据,保存点后的操作全部失效,如果后面有其他保存点,也会一并删除)
    • rollback 回退全部事务
    • commit提交事务(所有的操作都生效,再也不能回退)(提交会自动删除所有保存点)
    • 在事务中dml语句操作时,mysql会在表上加锁,防止其他用户改变表的数据(此时其他用户不能对表进行修改)
    • 只有在 可串行化serializable隔离级别 才会加锁
-- 演示-- 创建一张测试表CREATE TABLE t27	( id INT,	  `name` VARCHAR(32));-- 开始事务START TRANSACTION -- 设置保存点aSAVEPOINT a-- 执行dml 操作INSERT INTO t27 VALUES(100, 'tom');SELECT * FROM t27;-- 设置保存点bSAVEPOINT b-- 执行dml操作INSERT INTO t27 VALUES(200, 'jack');-- 回退到 bROLLBACK TO b-- 继续回退到 aROLLBACK TO a-- 回退到事务开始的状态ROLLBACK -- 提交事务COMMIT

事务细节

  • 不开启事务,默认情况下dml操作是自动提交,不能回滚
  • 开始一个事务不设置保存点,使用rollback会回到初始事务开始的状态
  • 提交事务(所有的操作都生效,再也不能回退)(提交会自动删除所有保存点)
  • 回退事务(回到保存点的数据,保存点后的操作全部失效,如果后面有其他保存点,也会一并删除)
  • mysql的事务机制只有innodb存储引擎能使用
  • 开始事务有两种方式
    • start transaction
    • set autocommit = off;

事务隔离级别

介绍

  • 多个连接开启各自的事务操作时,数据库系统要负责隔离操作,保证各个连接在获取数据时的准确性
  • 如果不考虑隔离性,可能引发以下问题:
    • 脏读
    • 不可重复度
    • 幻读
  • 系统的默认隔离级别是可重复度(repeatable read),即不会发生脏读、不可重复度、幻读,也不会加锁
    • 如果需要修改默认隔离级别,需修改配置文件

4种隔离级别

image-20210817140511643

隔离级别引发的情况

  • 脏读(dirty read)
    • 当一个事务读取另一个事务尚未提交的dml改变时,会产生脏读
    • 用户1在事务期间,对表进行dml操作时,用户2查到的数据是随用户1的操作而改变的,即使用户1没有提交事务
  • 不可重复度(nonrepeatbale read)
    • 在本事务中进行查询,由于其他事务提交了所做的修改/删除,本事务查询返回的结果会改变,此时发生不可重复度
    • 用户1在事务中进行查询,用户2在事务中进行了修改/删除并提交,用户1再次进行查询会出现用户2修改/删除后的结果
  • 幻读(phantom read)
    • 由于其他事务提交了所做的插入,本事务再次查询返回的结果会改变,此时产生幻读
    • 用户2在事务中进行了插入并提交,用户1再次进行查询会出现用户2插入后的结果
  • serializable的加锁
    • 当用户1在事务期间,用户2无法进行任何操作(即使不在事务中)(即使只是select),只有用户1进行了commit提交,用户2才能操作

常用指令

-- 查看当前会话隔离级别 SELECT @@tx_isolation-- 查看系统当前隔离级别SELECT @@global.tx_isolation-- 设置当前会话隔离级别SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED-- 设置系统当前隔离级别SET GLOBAL TRANSACTION ISOLATION LEVEL [要设置的级别]-- 如果需要修改默认级别,需修改配置文件

事务的特性(ACID)

  • 原子性:一个事务(transaction)中的所有操作,要么全部完成,要么全部不完成,不会结束在中间某个环节。事务在执行过程中发生错误,会被回滚(Rollback)到事务开始前的状态,就像这个事务从来没有执行过一样。
  • 一致性:在事务开始之前和事务结束以后,数据库的完整性没有被破坏。这表示写入的资料必须完全符合所有的预设规则,这包含资料的精确度、串联性以及后续数据库可以自发性地完成预定的工作。
  • 隔离性:数据库允许多个并发事务同时对其数据进行读写和修改的能力,隔离性可以防止多个事务并发执行时由于交叉执行而导致数据的不一致。事务隔离分为不同级别,包括读未提交(Read uncommitted)、读提交(read committed)、可重复读(repeatable read)和串行化(Serializable)。
  • 持久性:事务处理结束后,对数据的修改就是永久的,即便系统故障也不会丢失。

引擎

介绍

  • mysql表类型由存储引擎决定,主要包括innoDB、MyISAM、Memory等
  • mysql支持六种引擎:CSV Memory ARCHIVE MRG_MYISAM MYISAM InnoDB
  • 六种分两类
    • 第一类:“事务安全型” 有InnoDB
    • 第二类:“非事务安全型” 除了InnoDB其他5种都是

主要的 存储引擎/表类型 特点

image-20210817160218445

细节

  • MyISAM不支持事务,不支持外键,但访问速度快,对事务完整性没有要求
  • InnoDB支持事务,处理效率差一点,会占用更多的磁盘空间来保留数据和索引
  • MRMORY将内存存在内存中来创建表,每个MRMORY表实际对应一个磁盘文件,MRMORY表访问速度非常快,因为数据存放在内存中,并且默认使用hash索引,但一旦mysql服务关闭,表数据就会全部丢失,只存在表结构
#表类型/存储引擎-- 查看所有的存储引擎SHOW ENGINES-- innodb 存储引擎-- 1. 支持事务 2. 支持外键 3. 支持行级锁-- myisam 存储引擎-- 1. 添加速度快 2. 不支持外键和事务 3. 支持表级锁CREATE TABLE t28 (	id INT,	`name` VARCHAR(32)) ENGINE MYISAM-- 开始事务START TRANSACTION;SAVEPOINT t1INSERT INTO t28 VALUES(1, 'jack');SELECT * FROM t28;ROLLBACK TO t1 -- 回滚失败,因为不支持事务-- memory 存储引擎-- 1. 数据存储在内存中[关闭了Mysql服务,数据丢失, 但是表结构还在] -- 2. 执行速度很快(没有IO读写) 3. 默认支持索引(hash表)CREATE TABLE t29 (	id INT,	`name` VARCHAR(32)) ENGINE MEMORYDESC t29INSERT INTO t29	VALUES(1,'tom'), (2,'jack'), (3, 'hsp');SELECT * FROM t29-- 指令修改存储引擎ALTER TABLE `t29` ENGINE = INNODB

如何选择

  • 应用不需要事务,只用基本的curd,选择myisam速度快
  • 需要事务,选择innodb
  • memory就是将数据存储在内存中,由于没有磁盘io的等待,速度非常快。但是由于内存存储引擎,任何修改在服务器重启后都将消失(经典用法:用户的在线状态)

视图

介绍

  • 视图是一个虚拟表,内容由查询定义。
  • 视图的内容是 过滤后的 原表数据(可以是多个原表)
  • 视图映射了原表,视图的修改会改变原表,原表的修改会改变视图
  • 创建视图后,到数据库文件中看,对应视图只有一个视图结构文件(一个有内容的表是有两个文件的,一个存储结构,一个存储数据)

使用

  • create view 视图名 as select语句创建视图
  • alter view 视图名 as select语句改变视图
  • show create view 视图名
  • drop view 视图名1,...
#  视图的使用#  创建一个视图emp_view01,只能查询emp表的(empno、ename, job 和 deptno ) 信息-- 创建视图CREATE VIEW emp_view01	AS	SELECT empno, ename, job, deptno FROM emp; -- 查看视图DESC emp_view01SELECT * FROM emp_view01;SELECT empno, job  FROM emp_view01;-- 查看视图连接所使用的字符集SHOW CREATE VIEW emp_view01-- 删除视图DROP VIEW emp_view01;-- 视图的细节-- 1. 创建视图后,到数据库去看,对应视图只有一个视图结构文件(形式: 视图名.frm) -- 2. 视图的数据变化会影响到基表,基表的数据变化也会影响到视图[insert update delete ]-- 修改视图 会影响到基表UPDATE emp_view01 	SET job = 'MANAGER' 	WHERE empno = 7369	SELECT * FROM emp; -- 查询基表SELECT * FROM emp_view01-- 修改基本表, 会影响到视图UPDATE emp 	SET job = 'SALESMAN' 	WHERE empno = 7369-- 3. 视图中可以再使用视图 , 比如从emp_view01 视图中,选出empno,和ename做出新视图DESC emp_view01CREATE VIEW emp_view02	AS	SELECT empno, ename FROM emp_view01SELECT * FROM emp_view02

为什么需要视图

image-20210817162128771

多表视图练习

#  视图的课堂练习-- 针对 emp,dept,和salgrade三张表.创建一个视图emp_view03,-- 可以显示雇员编号,雇员名,雇员部门名称和 薪水级别[即使用三张表,构建一个视图]-- 分析: 使用三表联合查询,得到结果,将得到的结果,构建成视图  CREATE VIEW emp_view03	AS	SELECT empno, ename, dname, grade	FROM emp, dept, salgrade	WHERE emp.deptno = dept.deptno AND 	(sal BETWEEN losal AND hisal) DESC emp_view03SELECT * FROM emp_view03

用户管理

image-20210817191906416

  • 创建用户

    • image-20210817191931759
    • create user 'xsp'@'localhost' identified by '123456'
    • 允许登录位置 是ip,可以用 * 代替 eg:192.168. 1.* (*表示任何都可以)
    • 可以不指定登录ip,则默认为%,表示任何ip都可以
  • 删除用户

    • image-20210817191945109
  • 修改密码

    • image-20210817192308690
  • mysql中的权限

    • image-20210817192320508
  • 给用户授权

    • image-20210817192338640
  • 回收用户授权

    • image-20210817192352387
  • 权限生效指令(低版本中需要,mysql5.7不需要)

    • image-20210817192407118
  • 练习1

    • -- 说明 用户管理的细节-- 在创建用户的时候,如果不指定Host, 则为% , %表示表示所有IP都有连接权限 -- create user  xxx;CREATE USER jackSELECT `host`, `user` FROM mysql.user-- 你也可以这样指定 -- create user  'xxx'@'192.168.1.%'  表示 xxx用户在 192.168.1.*的ip可以登录mysqlCREATE USER 'smith'@'192.168.1.%'-- 在删除用户的时候,如果 host 不是 %, 需要明确指定  '用户'@'host值'DROP USER jack -- 默认就是 DROP USER 'jack'@'%'DROP USER 'smith'@'192.168.1.%'
      
  • 练习2

    • image-20210817192444663

    • -- 演示 用户权限的管理-- 以下是在root账户中的操作-- 创建用户 shunping  密码 123 , 从本地登录CREATE USER 'shunping'@'localhost' IDENTIFIED BY '123'-- 使用root 用户创建 testdb  ,表 newsCREATE DATABASE testdbCREATE TABLE news (	id INT ,	content VARCHAR(32));-- 添加一条测试数据INSERT INTO news VALUES(100, '北京新闻');SELECT * FROM news;-- 给 shunping 分配查看 news 表和 添加news的权限GRANT SELECT , INSERT 	ON testdb.news	TO 'shunping'@'localhost'	-- 可以增加update权限GRANT UPDATE  	ON testdb.news	TO 'shunping'@'localhost'		-- 修改 shunping的密码为 abcSET PASSWORD FOR 'shunping'@'localhost' = PASSWORD('abc');-- 回收 shunping 用户在 testdb.news 表的所有权限REVOKE SELECT , UPDATE, INSERT ON testdb.news FROM 'shunping'@'localhost'REVOKE ALL ON testdb.news FROM 'shunping'@'localhost'-- 删除 shunpingDROP USER 'shunping'@'localhost'
      

练习需要创建的表

stu表

****创建新的表(student)********create table student(	id int not null default 1,	name varchar(20) not null default '',	chinese float not null default 0.0,	english float not null default 0.0,	math float not null default 0.0);insert into student(id,name,chinese,english,math) values(1,'韩顺平',89,78,90);insert into student(id,name,chinese,english,math) values(2,'张飞',67,98,56);insert into student(id,name,chinese,english,math) values(3,'宋江',87,78,77);insert into student(id,name,chinese,english,math) values(4,'关羽',88,98,90);insert into student(id,name,chinese,english,math) values(5,'赵云',82,84,67);insert into student(id,name,chinese,english,math) values(6,'欧阳锋',55,85,45);insert into student(id,name,chinese,english,math) values(7,'黄蓉',75,65,30);

雇员系统表

CREATE TABLE dept( /*部门表*/deptno MEDIUMINT   UNSIGNED  NOT NULL  DEFAULT 0, dname VARCHAR(20)  NOT NULL  DEFAULT "",loc VARCHAR(13) NOT NULL DEFAULT "");INSERT INTO dept VALUES(10, 'ACCOUNTING', 'NEW YORK'), (20, 'RESEARCH', 'DALLAS'), (30, 'SALES', 'CHICAGO'), (40, 'OPERATIONS', 'BOSTON');#创建表EMP雇员CREATE TABLE emp(empno  MEDIUMINT UNSIGNED  NOT NULL  DEFAULT 0, /*编号*/ename VARCHAR(20) NOT NULL DEFAULT "", /*名字*/job VARCHAR(9) NOT NULL DEFAULT "",/*工作*/mgr MEDIUMINT UNSIGNED ,/*上级编号*/hiredate DATE NOT NULL,/*入职时间*/sal DECIMAL(7,2)  NOT NULL,/*薪水*/comm DECIMAL(7,2) ,/*红利*/deptno MEDIUMINT UNSIGNED NOT NULL DEFAULT 0 /*部门编号*/);  INSERT INTO emp VALUES(7369, 'SMITH', 'CLERK', 7902, '1990-12-17', 800.00,NULL , 20), (7499, 'ALLEN', 'SALESMAN', 7698, '1991-2-20', 1600.00, 300.00, 30),  (7521, 'WARD', 'SALESMAN', 7698, '1991-2-22', 1250.00, 500.00, 30),  (7566, 'JONES', 'MANAGER', 7839, '1991-4-2', 2975.00,NULL,20),  (7654, 'MARTIN', 'SALESMAN', 7698, '1991-9-28',1250.00,1400.00,30),  (7698, 'BLAKE','MANAGER', 7839,'1991-5-1', 2850.00,NULL,30),  (7782, 'CLARK','MANAGER', 7839, '1991-6-9',2450.00,NULL,10),  (7788, 'SCOTT','ANALYST',7566, '1997-4-19',3000.00,NULL,20),  (7839, 'KING','PRESIDENT',NULL,'1991-11-17',5000.00,NULL,10),  (7844, 'TURNER', 'SALESMAN',7698, '1991-9-8', 1500.00, NULL,30),  (7900, 'JAMES','CLERK',7698, '1991-12-3',950.00,NULL,30),  (7902, 'FORD', 'ANALYST',7566,'1991-12-3',3000.00, NULL,20),  (7934,'MILLER','CLERK',7782,'1992-1-23', 1300.00, NULL,10);#工资级别表CREATE TABLE salgrade(grade MEDIUMINT UNSIGNED NOT NULL DEFAULT 0,losal DECIMAL(17,2)  NOT NULL,hisal DECIMAL(17,2)  NOT NULL);INSERT INTO salgrade VALUES (1,700,1200);INSERT INTO salgrade VALUES (2,1201,1400);INSERT INTO salgrade VALUES (3,1401,2000);INSERT INTO salgrade VALUES (4,2001,3000);INSERT INTO salgrade VALUES (5,3001,9999);

海量表

CREATE TABLE dept( /*部门表*/deptno MEDIUMINT   UNSIGNED  NOT NULL  DEFAULT 0,dname VARCHAR(20)  NOT NULL  DEFAULT "",loc VARCHAR(13) NOT NULL DEFAULT "") ;#创建表EMP雇员CREATE TABLE emp(empno  MEDIUMINT UNSIGNED  NOT NULL  DEFAULT 0, /*编号*/ename VARCHAR(20) NOT NULL DEFAULT "", /*名字*/job VARCHAR(9) NOT NULL DEFAULT "",/*工作*/mgr MEDIUMINT UNSIGNED NOT NULL DEFAULT 0,/*上级编号*/hiredate DATE NOT NULL,/*入职时间*/sal DECIMAL(7,2)  NOT NULL,/*薪水*/comm DECIMAL(7,2) NOT NULL,/*红利*/deptno MEDIUMINT UNSIGNED NOT NULL DEFAULT 0 /*部门编号*/) ;#工资级别表CREATE TABLE salgrade(grade MEDIUMINT UNSIGNED NOT NULL DEFAULT 0,losal DECIMAL(17,2)  NOT NULL,hisal DECIMAL(17,2)  NOT NULL);#测试数据INSERT INTO salgrade VALUES (1,700,1200);INSERT INTO salgrade VALUES (2,1201,1400);INSERT INTO salgrade VALUES (3,1401,2000);INSERT INTO salgrade VALUES (4,2001,3000);INSERT INTO salgrade VALUES (5,3001,9999);delimiter $$#创建一个函数,名字 rand_string,可以随机返回我指定的个数字符串create function rand_string(n INT)returns varchar(255) #该函数会返回一个字符串begin#定义了一个变量 chars_str, 类型  varchar(100)#默认给 chars_str 初始值   'abcdefghijklmnopqrstuvwxyzABCDEFJHIJKLMNOPQRSTUVWXYZ' declare chars_str varchar(100) default   'abcdefghijklmnopqrstuvwxyzABCDEFJHIJKLMNOPQRSTUVWXYZ';  declare return_str varchar(255) default ''; declare i int default 0;  while i < n do    # concat 函数 : 连接函数mysql函数   set return_str =concat(return_str,substring(chars_str,floor(1+rand()*52),1));   set i = i + 1;   end while;  return return_str;  end $$ #这里我们又自定了一个函数,返回一个随机的部门号create function rand_num( )returns int(5)begindeclare i int default 0;set i = floor(10+rand()*500);return i;end $$ #创建一个存储过程, 可以添加雇员create procedure insert_emp(in start int(10),in max_num int(10))begindeclare i int default 0;#set autocommit =0 把autocommit设置成0 #autocommit = 0 含义: 不要自动提交 set autocommit = 0; #默认不提交sql语句 repeat set i = i + 1; #通过前面写的函数随机产生字符串和部门编号,然后加入到emp表 insert into emp values ((start+i) ,rand_string(6),'SALESMAN',0001,curdate(),2000,400,rand_num());  until i = max_num end repeat; #commit整体提交所有sql语句,提高效率   commit; end $$ #添加8000000数据call insert_emp(100001,8000000)$$#命令结束符,再重新设置为;delimiter ;

ecshop表

-- MySQL dump 10.13  Distrib 5.5.27, for Win32 (x86)
--
-- Host: localhost    Database: ecshop
-- ------------------------------------------------------
-- Server version	5.5.27

/*!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 */;

--
-- Current Database: `ecshop`
--

CREATE DATABASE /*!32312 IF NOT EXISTS*/ `ecshop` /*!40100 DEFAULT CHARACTER SET utf8 */;

USE `ecshop`;

--
-- Table structure for table `ecs_account_log`
--

DROP TABLE IF EXISTS `ecs_account_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_account_log` (
  `log_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` mediumint(8) unsigned NOT NULL,
  `user_money` decimal(10,2) NOT NULL,
  `frozen_money` decimal(10,2) NOT NULL,
  `rank_points` mediumint(9) NOT NULL,
  `pay_points` mediumint(9) NOT NULL,
  `change_time` int(10) unsigned NOT NULL,
  `change_desc` varchar(255) NOT NULL,
  `change_type` tinyint(3) unsigned NOT NULL,
  PRIMARY KEY (`log_id`),
  KEY `user_id` (`user_id`)
) ENGINE=MyISAM AUTO_INCREMENT=36 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_account_log`
--

LOCK TABLES `ecs_account_log` WRITE;
/*!40000 ALTER TABLE `ecs_account_log` DISABLE KEYS */;
INSERT INTO `ecs_account_log` VALUES (1,5,1100000.00,0.00,0,0,1242140736,'11',2),(2,3,400000.00,0.00,0,0,1242140752,'21312',2),(3,2,300000.00,0.00,0,0,1242140775,'300000',2),(4,1,50000.00,0.00,0,0,1242140811,'50',2),(5,5,0.00,10000.00,0,0,1242140853,'32',2),(6,1,-400.00,0.00,0,0,1242142274,'支付订单 2009051298180',99),(7,1,-975.00,0.00,0,0,1242142324,'支付订单 2009051255518',99),(8,1,0.00,0.00,960,960,1242142390,'订单 2009051255518 赠送的积分',99),(9,1,0.00,0.00,385,385,1242142432,'订单 2009051298180 赠送的积分',99),(10,1,-2310.00,0.00,0,0,1242142549,'支付订单 2009051267570',99),(11,1,0.00,0.00,2300,2300,1242142589,'订单 2009051267570 赠送的积分',99),(12,1,-5989.00,0.00,0,0,1242142681,'支付订单 2009051230249',99),(13,1,-8610.00,0.00,0,0,1242142808,'支付订单 2009051276258',99),(14,1,0.00,0.00,0,-1,1242142910,'参加夺宝奇兵夺宝奇兵之夏新N7 ',99),(15,1,0.00,0.00,0,-1,1242142935,'参加夺宝奇兵夺宝奇兵之诺基亚N96 ',99),(16,1,0.00,0.00,0,100000,1242143867,'奖励',2),(17,1,-10.00,0.00,0,0,1242143920,'支付订单 2009051268194',99),(18,1,0.00,0.00,0,-17000,1242143920,'支付订单 2009051268194',99),(19,1,0.00,0.00,-960,-960,1242144185,'由于退货或未发货操作,退回订单 2009051255518 赠送的积分',99),(20,1,975.00,0.00,0,0,1242144185,'由于取消、无效或退货操作,退回支付订单 2009051255518 时使用的预付款',99),(21,1,0.00,0.00,960,960,1242576445,'订单 2009051719232 赠送的积分',99),(22,3,-1000.00,0.00,0,0,1242973612,'追加使用余额支付订单:2009051227085',99),(23,1,-13806.60,0.00,0,0,1242976699,'支付订单 2009052224892',99),(24,1,0.00,0.00,14045,14045,1242976740,'订单 2009052224892 赠送的积分',99),(25,1,0.00,0.00,-2300,-2300,1245045334,'由于退货或未发货操作,退回订单 2009051267570 赠送的积分',99),(26,1,2310.00,0.00,0,0,1245045334,'由于取消、无效或退货操作,退回支付订单 2009051267570 时使用的预付款',99),(27,1,0.00,0.00,17044,17044,1245045443,'订单 2009061585887 赠送的积分',99),(28,1,17054.00,0.00,0,0,1245045515,'1',99),(29,1,0.00,0.00,-17044,-17044,1245045515,'由于退货或未发货操作,退回订单 2009061585887 赠送的积分',99),(30,1,-3196.30,0.00,0,0,1245045672,'支付订单 2009061525429',99),(31,1,-1910.00,0.00,0,0,1245047978,'支付订单 2009061503335',99),(32,1,0.00,0.00,1900,1900,1245048189,'订单 2009061503335 赠送的积分',99),(33,1,0.00,0.00,-1900,-1900,1245048212,'由于退货或未发货操作,退回订单 2009061503335 赠送的积分',99),(34,1,1910.00,0.00,0,0,1245048212,'由于取消、无效或退货操作,退回支付订单 2009061503335 时使用的预付款',99),(35,1,-500.00,0.00,0,0,1245048585,'支付订单 2009061510313',99);
/*!40000 ALTER TABLE `ecs_account_log` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_ad`
--

DROP TABLE IF EXISTS `ecs_ad`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_ad` (
  `ad_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `position_id` smallint(5) unsigned NOT NULL DEFAULT '0',
  `media_type` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `ad_name` varchar(60) NOT NULL DEFAULT '',
  `ad_link` varchar(255) NOT NULL DEFAULT '',
  `ad_code` text NOT NULL,
  `start_time` int(11) NOT NULL DEFAULT '0',
  `end_time` int(11) NOT NULL DEFAULT '0',
  `link_man` varchar(60) NOT NULL DEFAULT '',
  `link_email` varchar(60) NOT NULL DEFAULT '',
  `link_phone` varchar(60) NOT NULL DEFAULT '',
  `click_count` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `enabled` tinyint(3) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`ad_id`),
  KEY `position_id` (`position_id`),
  KEY `enabled` (`enabled`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_ad`
--

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

--
-- Table structure for table `ecs_ad_custom`
--

DROP TABLE IF EXISTS `ecs_ad_custom`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_ad_custom` (
  `ad_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `ad_type` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `ad_name` varchar(60) DEFAULT NULL,
  `add_time` int(10) unsigned NOT NULL DEFAULT '0',
  `content` mediumtext,
  `url` varchar(255) DEFAULT NULL,
  `ad_status` tinyint(3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`ad_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_ad_custom`
--

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

--
-- Table structure for table `ecs_ad_position`
--

DROP TABLE IF EXISTS `ecs_ad_position`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_ad_position` (
  `position_id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
  `position_name` varchar(60) NOT NULL DEFAULT '',
  `ad_width` smallint(5) unsigned NOT NULL DEFAULT '0',
  `ad_height` smallint(5) unsigned NOT NULL DEFAULT '0',
  `position_desc` varchar(255) NOT NULL DEFAULT '',
  `position_style` text NOT NULL,
  PRIMARY KEY (`position_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_ad_position`
--

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

--
-- Table structure for table `ecs_admin_action`
--

DROP TABLE IF EXISTS `ecs_admin_action`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_admin_action` (
  `action_id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
  `parent_id` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `action_code` varchar(20) NOT NULL DEFAULT '',
  `relevance` varchar(20) NOT NULL DEFAULT '',
  PRIMARY KEY (`action_id`),
  KEY `parent_id` (`parent_id`)
) ENGINE=MyISAM AUTO_INCREMENT=136 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_admin_action`
--

LOCK TABLES `ecs_admin_action` WRITE;
/*!40000 ALTER TABLE `ecs_admin_action` DISABLE KEYS */;
INSERT INTO `ecs_admin_action` VALUES (1,0,'goods',''),(2,0,'cms_manage',''),(3,0,'users_manage',''),(4,0,'priv_manage',''),(5,0,'sys_manage',''),(6,0,'order_manage',''),(7,0,'promotion',''),(8,0,'email',''),(9,0,'templates_manage',''),(10,0,'db_manage',''),(11,0,'sms_manage',''),(21,1,'goods_manage',''),(22,1,'remove_back',''),(23,1,'cat_manage',''),(24,1,'cat_drop','cat_manage'),(25,1,'attr_manage',''),(26,1,'brand_manage',''),(27,1,'comment_priv',''),(84,1,'tag_manage',''),(30,2,'article_cat',''),(31,2,'article_manage',''),(32,2,'shopinfo_manage',''),(33,2,'shophelp_manage',''),(34,2,'vote_priv',''),(35,7,'topic_manage',''),(74,4,'template_manage',''),(73,3,'feedback_priv',''),(38,3,'integrate_users',''),(39,3,'sync_users','integrate_users'),(40,3,'users_manage',''),(41,3,'users_drop','users_manage'),(42,3,'user_rank',''),(85,3,'surplus_manage','account_manage'),(43,4,'admin_manage',''),(44,4,'admin_drop','admin_manage'),(45,4,'allot_priv','admin_manage'),(46,4,'logs_manage',''),(47,4,'logs_drop','logs_manage'),(48,5,'shop_config',''),(49,5,'ship_manage',''),(50,5,'payment',''),(51,5,'shiparea_manage',''),(52,5,'area_manage',''),(53,6,'order_os_edit',''),(54,6,'order_ps_edit','order_os_edit'),(55,6,'order_ss_edit','order_os_edit'),(56,6,'order_edit','order_os_edit'),(57,6,'order_view',''),(58,6,'order_view_finished',''),(59,6,'repay_manage',''),(60,6,'booking',''),(61,6,'sale_order_stats',''),(62,6,'client_flow_stats',''),(78,7,'snatch_manage',''),(83,7,'ad_manage',''),(80,7,'gift_manage',''),(81,7,'card_manage',''),(70,1,'goods_type',''),(82,7,'pack',''),(79,7,'bonus_manage',''),(75,5,'friendlink',''),(76,5,'db_backup',''),(77,5,'db_renew','db_backup'),(86,4,'agency_manage',''),(87,3,'account_manage',''),(88,5,'flash_manage',''),(89,5,'navigator',''),(90,7,'auction',''),(91,7,'group_by',''),(92,7,'favourable',''),(93,7,'whole_sale',''),(94,1,'goods_auto',''),(95,2,'article_auto',''),(96,5,'cron',''),(97,5,'affiliate',''),(98,5,'affiliate_ck',''),(99,8,'attention_list',''),(100,8,'email_list',''),(101,8,'magazine_list',''),(102,8,'view_sendlist',''),(103,1,'virualcard',''),(104,7,'package_manage',''),(105,1,'picture_batch',''),(106,1,'goods_export',''),(107,1,'goods_batch',''),(108,1,'gen_goods_script',''),(109,5,'sitemap',''),(110,5,'file_priv',''),(111,5,'file_check',''),(112,9,'template_select',''),(113,9,'template_setup',''),(114,9,'library_manage',''),(115,9,'lang_edit',''),(116,9,'backup_setting',''),(117,9,'mail_template',''),(118,10,'db_backup',''),(119,10,'db_renew',''),(120,10,'db_optimize',''),(121,10,'sql_query',''),(122,10,'convert',''),(124,11,'sms_send',''),(128,7,'exchange_goods',''),(129,6,'delivery_view',''),(130,6,'back_view',''),(131,5,'reg_fields',''),(132,5,'shop_authorized',''),(133,5,'webcollect_manage',''),(134,4,'suppliers_manage',''),(135,4,'role_manage','');
/*!40000 ALTER TABLE `ecs_admin_action` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_admin_log`
--

DROP TABLE IF EXISTS `ecs_admin_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_admin_log` (
  `log_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `log_time` int(10) unsigned NOT NULL DEFAULT '0',
  `user_id` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `log_info` varchar(255) NOT NULL DEFAULT '',
  `ip_address` varchar(15) NOT NULL DEFAULT '',
  PRIMARY KEY (`log_id`),
  KEY `log_time` (`log_time`),
  KEY `user_id` (`user_id`)
) ENGINE=MyISAM AUTO_INCREMENT=464 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_admin_log`
--

LOCK TABLES `ecs_admin_log` WRITE;
/*!40000 ALTER TABLE `ecs_admin_log` DISABLE KEYS */;
INSERT INTO `ecs_admin_log` VALUES (1,1240294375,1,'添加品牌管理: 诺基亚','0.0.0.0'),(2,1240295621,1,'添加属性: 网络类型','0.0.0.0'),(3,1240295930,1,'添加属性: 扩展卡','0.0.0.0'),(4,1240295980,1,'添加属性: 操作系统','0.0.0.0'),(5,1240296082,1,'添加属性: 通话时间(分)','0.0.0.0'),(6,1240296102,1,'添加属性: 待机时间(小时)','0.0.0.0'),(7,1240296379,1,'添加属性: 上市时间','0.0.0.0'),(8,1240296403,1,'编辑属性: 网络类型','0.0.0.0'),(9,1240296415,1,'编辑属性: 扩展卡','0.0.0.0'),(10,1240298784,1,'添加属性: 手机颜色','0.0.0.0'),(11,1240300896,1,'添加属性: 基本配件','0.0.0.0'),(12,1240301110,1,'添加属性: 附加配件','0.0.0.0'),(13,1240301295,1,'添加属性: 和铉铃声','0.0.0.0'),(14,1240301371,1,'添加属性: 相机像数','0.0.0.0'),(15,1240301487,1,'添加属性: 感光元件','0.0.0.0'),(16,1240301508,1,'编辑属性: 和铉铃声','0.0.0.0'),(17,1240301518,1,'编辑属性: 基本配件','0.0.0.0'),(18,1240301570,1,'添加属性: 移动qq','0.0.0.0'),(19,1240301611,1,'添加属性: gps','0.0.0.0'),(20,1240301650,1,'添加属性: FM收音机','0.0.0.0'),(21,1240301665,1,'编辑属性: GPS','0.0.0.0'),(22,1240301679,1,'编辑属性: FM收音机','0.0.0.0'),(23,1240301705,1,'添加属性: 话机电话薄(条)','0.0.0.0'),(24,1240301715,1,'添加属性: K-JAVA','0.0.0.0'),(25,1240301788,1,'添加属性: 价格档位','0.0.0.0'),(26,1240305032,1,'添加属性: 手机样式','0.0.0.0'),(27,1240380338,1,'添加属性: 图形菜单','0.0.0.0'),(28,1240380399,1,'添加属性: 中文短消息','0.0.0.0'),(29,1240380444,1,'添加属性: 内置游戏','0.0.0.0'),(30,1240380507,1,'添加属性: Wap 上网','0.0.0.0'),(31,1240380533,1,'添加属性: Wap 上网','0.0.0.0'),(32,1240380552,1,'编辑属性: Wap 上网','0.0.0.0'),(33,1240380574,1,'编辑属性: Wap 上网','0.0.0.0'),(34,1240380587,1,'编辑属性: Wap 上网','0.0.0.0'),(35,1240380646,1,'添加属性: 数据功能','0.0.0.0'),(36,1240380743,1,'添加属性: 移动QQ','0.0.0.0'),(37,1240380759,1,'添加属性: 视频格式','0.0.0.0'),(38,1240380831,1,'添加属性: 扩张卡','0.0.0.0'),(39,1240380875,1,'添加属性: 手机颜色','0.0.0.0'),(40,1240380920,1,'添加属性: 来电防火墙','0.0.0.0'),(41,1240380945,1,'添加属性: 英汉词典','0.0.0.0'),(42,1240380957,1,'添加属性: 多语言显示','0.0.0.0'),(43,1240381002,1,'添加属性: 电子书','0.0.0.0'),(44,1240381052,1,'添加属性: 移动 MSN','0.0.0.0'),(45,1240381088,1,'添加属性: 音频格式','0.0.0.0'),(46,1240381143,1,'添加属性: 上市时间','0.0.0.0'),(47,1240381206,1,'添加属性: 语音拨号','0.0.0.0'),(48,1240381229,1,'添加属性: 语音菜单','0.0.0.0'),(49,1240381356,1,'添加属性: 外观样式','0.0.0.0'),(50,1240381382,1,'添加属性: 天线位置','0.0.0.0'),(51,1240381425,1,'编辑属性: K-JAVA','0.0.0.0'),(52,1240381430,1,'添加属性: K-JAVA','0.0.0.0'),(53,1240381464,1,'添加属性: PDA 功能','0.0.0.0'),(54,1240381480,1,'添加属性: 操作系统','0.0.0.0'),(55,1240381512,1,'添加属性: 外壳材质','0.0.0.0'),(56,1240381561,1,'编辑属性: 基本配件','0.0.0.0'),(57,1240381572,1,'添加属性: 基本配件','0.0.0.0'),(58,1240381580,1,'编辑属性: 附加配件','0.0.0.0'),(59,1240381602,1,'添加属性: 附加配件','0.0.0.0'),(60,1240381627,1,'编辑属性: 附加配件','0.0.0.0'),(61,1240381694,1,'添加属性: 自动开关机','0.0.0.0'),(62,1240381717,1,'添加属性: 视频分辨率','0.0.0.0'),(63,1240381731,1,'添加属性: 影音编辑器','0.0.0.0'),(64,1240381741,1,'添加属性: 图像编辑器','0.0.0.0'),(65,1240381759,1,'添加属性: 可用内存','0.0.0.0'),(66,1240381775,1,'添加属性: 主屏幕像素','0.0.0.0'),(67,1240381786,1,'添加属性: 副屏幕像素','0.0.0.0'),(68,1240382037,1,'添加属性: 更换外壳','0.0.0.0'),(69,1240382801,1,'添加属性: 办公功能','0.0.0.0'),(70,1240382823,1,'添加属性: 传感器','0.0.0.0'),(71,1240382844,1,'添加属性: CPU频率','0.0.0.0'),(72,1240382866,1,'添加属性: 理论待机时间','0.0.0.0'),(73,1240382875,1,'添加属性: 理论通话时间','0.0.0.0'),(74,1240383267,1,'编辑商品类型: 3g手机','0.0.0.0'),(75,1240383268,1,'编辑商品类型: 手机','0.0.0.0'),(76,1240383269,1,'编辑商品类型: 3g手机','0.0.0.0'),(77,1240383397,1,'删除商品类型: 图形菜单','0.0.0.0'),(78,1240383432,1,'添加属性: 图形菜单','0.0.0.0'),(79,1240383491,1,'添加属性: EFR 服务','0.0.0.0'),(80,1240383509,1,'添加属性: STK 服务','0.0.0.0'),(81,1240383528,1,'添加属性: 通话录音','0.0.0.0'),(82,1240383554,1,'添加属性: 语音菜单','0.0.0.0'),(83,1240383575,1,'添加属性: 中文输入法','0.0.0.0'),(84,1240383594,1,'编辑属性: 中文输入法','0.0.0.0'),(85,1240383613,1,'编辑属性: 语音菜单','0.0.0.0'),(86,1240383635,1,'添加属性: 和弦铃声','0.0.0.0'),(87,1240383651,1,'添加属性: 主屏幕色彩','0.0.0.0'),(88,1240383658,1,'添加属性: 副屏幕色彩','0.0.0.0'),(89,1240383682,1,'添加属性: 天线位置','0.0.0.0'),(90,1240383700,1,'添加属性: 数据功能','0.0.0.0'),(91,1240392733,1,'安装配送方式: 邮政快递包裹','0.0.0.0'),(92,1240392748,1,'安装配送方式: 圆通速递','0.0.0.0'),(93,1240392761,1,'安装配送方式: 城际快递','0.0.0.0'),(94,1240392769,1,'安装配送方式: 市内快递','0.0.0.0'),(95,1240463689,1,'添加属性: 连拍','0.0.0.0'),(96,1240463709,1,'添加属性: 定时拍摄','0.0.0.0'),(97,1240463729,1,'添加属性: 照片打印','0.0.0.0'),(98,1240463748,1,'添加属性: 照片特效','0.0.0.0'),(99,1240463766,1,'添加属性: 电子书','0.0.0.0'),(100,1240463777,1,'添加属性: 外壳材质','0.0.0.0'),(101,1240463793,1,'添加属性: 名片扫描','0.0.0.0'),(102,1240463803,1,'添加属性: GPU','0.0.0.0'),(103,1240463814,1,'添加属性: CPU频率','0.0.0.0'),(104,1240463830,1,'添加属性: TV-OUT电视输出','0.0.0.0'),(105,1240463843,1,'添加属性: 来电图片识别','0.0.0.0'),(106,1240463855,1,'添加属性: 来电防火墙','0.0.0.0'),(107,1240463865,1,'添加属性: 背光自动调节','0.0.0.0'),(108,1240463873,1,'添加属性: 照片分辨率','0.0.0.0'),(109,1240463880,1,'添加属性: 变焦模式','0.0.0.0'),(110,1240463903,1,'添加属性: 英汉词典','0.0.0.0'),(111,1240463925,1,'添加属性: 多语言显示','0.0.0.0'),(112,1240463974,1,'添加属性: 数据线功能','0.0.0.0'),(113,1240463992,1,'添加属性: 留言应答','0.0.0.0'),(114,1240464004,1,'添加属性: 可用内存(MB)','0.0.0.0'),(115,1240464015,1,'添加属性: GPS','0.0.0.0'),(116,1240464022,1,'添加属性: 相机闪光灯','0.0.0.0'),(117,1240464030,1,'添加属性: 移动 MSN','0.0.0.0'),(118,1240464038,1,'添加属性: 移动QQ','0.0.0.0'),(119,1240464050,1,'添加属性: 内置媒体播放器','0.0.0.0'),(120,1240464066,1,'添加属性: 电子邮件','0.0.0.0'),(121,1240464220,1,'编辑属性: 待机时间(小时)','0.0.0.0'),(122,1240464272,1,'编辑属性: 网络类型','0.0.0.0'),(123,1240464277,1,'编辑属性: 网络类型','0.0.0.0'),(124,1240464331,1,'编辑属性: 网络类型','0.0.0.0'),(125,1240464631,1,'编辑属性: 网络类型','0.0.0.0'),(126,1240464639,1,'编辑属性: 扩展卡','0.0.0.0'),(127,1240464650,1,'编辑属性: 操作系统','0.0.0.0'),(128,1240464709,1,'编辑属性: 通话时间(分)','0.0.0.0'),(129,1240464720,1,'编辑属性: 待机时间(小时)','0.0.0.0'),(130,1240464737,1,'编辑属性: 上市时间','0.0.0.0'),(131,1240464748,1,'编辑属性: 手机颜色','0.0.0.0'),(132,1240464758,1,'编辑属性: 基本配件','0.0.0.0'),(133,1240464770,1,'编辑属性: 和铉铃声','0.0.0.0'),(134,1240464783,1,'编辑属性: 相机像数','0.0.0.0'),(135,1240464794,1,'编辑属性: 移动qq','0.0.0.0'),(136,1240464806,1,'编辑属性: 感光元件','0.0.0.0'),(137,1240464816,1,'编辑属性: GPS','0.0.0.0'),(138,1240464827,1,'编辑属性: FM收音机','0.0.0.0'),(139,1240464853,1,'编辑属性: FM收音机','0.0.0.0'),(140,1240464869,1,'编辑属性: 话机电话薄(条)','0.0.0.0'),(141,1240464880,1,'编辑属性: 扩展卡','0.0.0.0'),(142,1240464896,1,'编辑属性: 扩展卡','0.0.0.0'),(143,1240464917,1,'编辑属性: K-JAVA','0.0.0.0'),(144,1240464931,1,'编辑属性: 价格档位','0.0.0.0'),(145,1240464945,1,'编辑属性: 手机样式','0.0.0.0'),(146,1240464959,1,'编辑属性: Wap 上网','0.0.0.0'),(147,1240800622,1,'添加商品分类: 手机类型','0.0.0.0'),(148,1240800687,1,'添加商品分类: GSM手机','0.0.0.0'),(149,1240800745,1,'添加商品分类: GSM手机','0.0.0.0'),(150,1240800791,1,'添加商品分类: 3G手机','0.0.0.0'),(151,1240800845,1,'添加商品分类: 双模手机','0.0.0.0'),(152,1240800877,1,'编辑商品分类: GSM手机','0.0.0.0'),(153,1240802922,1,'添加品牌管理: 摩托罗拉','0.0.0.0'),(154,1240803062,1,'编辑品牌管理: 诺基亚','0.0.0.0'),(155,1240803144,1,'添加品牌管理: 多普达','0.0.0.0'),(156,1240803248,1,'添加品牌管理: 飞利浦','0.0.0.0'),(157,1240803352,1,'添加品牌管理: 夏新','0.0.0.0'),(158,1240803412,1,'添加品牌管理: 三星','0.0.0.0'),(159,1240803482,1,'添加品牌管理: 索爱','0.0.0.0'),(160,1240803526,1,'添加品牌管理: LG','0.0.0.0'),(161,1240803578,1,'添加品牌管理: 联想','0.0.0.0'),(162,1240803689,1,'添加品牌管理: 金立','0.0.0.0'),(163,1240803736,1,'添加品牌管理: 恒基伟业','0.0.0.0'),(164,1240803750,1,'编辑品牌管理: 恒基伟业','0.0.0.0'),(165,1240804593,1,'编辑商品分类: CDMA手机','0.0.0.0'),(166,1240902890,1,'添加商品: KD876','0.0.0.0'),(167,1240904370,1,'编辑商品: KD876','0.0.0.0'),(168,1240904461,1,'编辑商品: KD876','0.0.0.0'),(169,1240912338,1,'删除商品类型: 手机配件','0.0.0.0'),(170,1240912361,1,'添加商品分类: 手机配件','0.0.0.0'),(171,1240912385,1,'添加商品分类: 充电器','0.0.0.0'),(172,1240912477,1,'添加商品分类: 耳机','0.0.0.0'),(173,1240912489,1,'添加商品分类: 电池','0.0.0.0'),(174,1241420935,1,'添加商品分类: 111','0.0.0.0'),(175,1241420966,1,'添加商品: 斤','0.0.0.0'),(176,1241421093,1,'回收商品: 斤','0.0.0.0'),(177,1241421104,1,'删除商品: 斤','0.0.0.0'),(178,1241421110,1,'删除商品分类: 111','0.0.0.0'),(179,1241421127,1,'编辑商品分类: GSM手机','0.0.0.0'),(180,1241422082,1,'添加商品: 诺基亚原装5800耳机','0.0.0.0'),(181,1241422137,1,'添加属性: 卡的类型','0.0.0.0'),(182,1241422163,1,'添加属性: 卡的大小','0.0.0.0'),(183,1241422236,1,'添加属性: 颜色','0.0.0.0'),(184,1241422272,1,'编辑属性: 卡的容量','0.0.0.0'),(185,1241422289,1,'添加属性: 电池容量','0.0.0.0'),(186,1241422347,1,'编辑商品: 诺基亚原装5800耳机','0.0.0.0'),(187,1241422402,1,'添加商品: 诺基亚N85原装充电器','0.0.0.0'),(188,1241422416,1,'编辑商品: KD876','0.0.0.0'),(189,1241422518,1,'添加商品: 索爱原装M2卡读卡器','0.0.0.0'),(190,1241422573,1,'添加商品: 胜创KINGMAX内存卡','0.0.0.0'),(191,1241422615,1,'编辑商品: 胜创KINGMAX内存卡','0.0.0.0'),(192,1241422626,1,'编辑商品: 诺基亚N85原装充电器','0.0.0.0'),(193,1241422785,1,'添加商品: 诺基亚N85原装立体声耳机HS-82 查看商品相册 诺基亚N85原装立体声耳机HS-82','0.0.0.0'),(194,1241425512,1,'添加商品: 飞利浦9@9v ','0.0.0.0'),(195,1241425836,1,'编辑商品: 飞利浦9@9v ','0.0.0.0'),(196,1241425891,1,'编辑商品: 飞利浦9@9v ','0.0.0.0'),(197,1241426819,1,'添加文章分类: 3G手机资讯','0.0.0.0'),(198,1241426864,1,'添加文章: 三星电子宣布将在中国发布15款3G手机','0.0.0.0'),(199,1241426898,1,'编辑文章: 三星电子宣布将在中国发布15款3G手机','0.0.0.0'),(200,1241427051,1,'添加文章: 薄锐极限 电信3G定制摩托罗拉V10发布','0.0.0.0'),(201,1241427449,1,'编辑文章: 薄锐极限 电信3G定制摩托罗拉V10发布','0.0.0.0'),(202,1241427779,1,'编辑文章: 诺基亚牵手移动 5款热门TD手机机型推荐','0.0.0.0'),(203,1241427850,1,'编辑文章: 诺基亚牵手移动 5款热门TD手机机型推荐','0.0.0.0'),(204,1241511486,1,'编辑商品: 飞利浦9@9v','0.0.0.0'),(205,1241511514,1,'编辑属性: FM收音机','0.0.0.0'),(206,1241511871,1,'添加商品: 诺基亚E66','0.0.0.0'),(207,1241512315,1,'编辑商品: 诺基亚E66','0.0.0.0'),(208,1241512443,1,'删除商品类型: 手机','0.0.0.0'),(209,1241512563,1,'添加属性: 手机制式','0.0.0.0'),(210,1241512693,1,'添加属性: 外观样式','0.0.0.0'),(211,1241512704,1,'添加属性: 上市时间','0.0.0.0'),(212,1241512712,1,'添加属性: 屏幕参数','0.0.0.0'),(213,1241512720,1,'添加属性: 摄像功能','0.0.0.0'),(214,1241512728,1,'添加属性: 其它功能','0.0.0.0'),(215,1241512737,1,'添加属性: 产品配置','0.0.0.0'),(216,1241512762,1,'添加属性: 理论通话时间','0.0.0.0'),(217,1241512772,1,'添加属性: 理论待机时间','0.0.0.0'),(218,1241512804,1,'添加属性: 中文短消息','0.0.0.0'),(219,1241512813,1,'添加属性: 存储卡格式','0.0.0.0'),(220,1241512842,1,'添加属性: 外壳材质','0.0.0.0'),(221,1241512868,1,'添加属性: # 情景模式','0.0.0.0'),(222,1241512907,1,'添加属性: 蓝牙接口','0.0.0.0'),(223,1241512939,1,'添加属性: GPS','0.0.0.0'),(224,1241512966,1,'添加属性: MP3播放器','0.0.0.0'),(225,1241512977,1,'添加属性: 视频播放','0.0.0.0'),(226,1241513003,1,'添加属性: 内置游戏','0.0.0.0'),(227,1241513036,1,'编辑属性: 情景模式','0.0.0.0'),(228,1241513132,1,'添加属性: 价位','0.0.0.0'),(229,1241513210,1,'添加属性: 颜色','0.0.0.0'),(230,1241513508,1,'编辑商品: 飞利浦9@9v','0.0.0.0'),(231,1241513571,1,'编辑属性: MP3播放器','0.0.0.0'),(232,1241513596,1,'编辑属性: 外壳材质','0.0.0.0'),(233,1241513630,1,'编辑商品: 飞利浦9@9v','0.0.0.0'),(234,1241513750,1,'编辑属性: MP3播放器','0.0.0.0'),(235,1241513771,1,'添加属性: 附加配件','0.0.0.0'),(236,1241513918,1,'编辑属性: 像数(万)','0.0.0.0'),(237,1241513939,1,'编辑商品: 飞利浦9@9v','0.0.0.0'),(238,1241513959,1,'编辑属性: 像数(万)','0.0.0.0'),(239,1241518314,1,'编辑属性: 外壳材质','0.0.0.0'),(240,1241518329,1,'编辑属性: 价位','0.0.0.0'),(241,1241946343,1,'还原数据库备份: 备份时间2009-05-05 10:36:29','127.0.0.1'),(242,1241965622,1,'添加商品: 索爱C702c','127.0.0.1'),(243,1241965816,1,'添加商品: 索爱C702c','127.0.0.1'),(244,1241965859,1,'编辑品牌管理: 摩托罗拉','127.0.0.1'),(245,1241965978,1,'添加商品: 摩托罗拉A810','127.0.0.1'),(246,1241966023,1,'编辑商品: 摩托罗拉A810','127.0.0.1'),(247,1241966218,1,'编辑商品: 摩托罗拉A810','127.0.0.1'),(248,1241966408,1,'编辑商品: 摩托罗拉A810','127.0.0.1'),(249,1241966536,1,'编辑品牌管理: 诺基亚','127.0.0.1'),(250,1241966874,1,'编辑商品: 摩托罗拉A810','127.0.0.1'),(251,1241966922,1,'回收商品: 索爱C702c','127.0.0.1'),(252,1241966951,1,'还原商品: 索爱C702c','127.0.0.1'),(253,1241966963,1,'回收商品: 索爱C702c','127.0.0.1'),(254,1241967340,1,'编辑商品: 诺基亚E66','127.0.0.1'),(255,1241967424,1,'编辑商品: 诺基亚N85原装立体声耳机HS-82','127.0.0.1'),(256,1241967465,1,'编辑商品: 索爱原装M2卡读卡器','127.0.0.1'),(257,1241967487,1,'编辑商品: 诺基亚N85原装充电器','127.0.0.1'),(258,1241967556,1,'编辑商品: KD876','127.0.0.1'),(259,1241967667,1,'编辑商品: 飞利浦9@9v','127.0.0.1'),(260,1241967762,1,'添加商品: 诺基亚5320 XpressMusic','127.0.0.1'),(261,1241968002,1,'编辑商品: 诺基亚5320 XpressMusic','127.0.0.1'),(262,1241968058,1,'编辑商品: 诺基亚5320 XpressMusic','127.0.0.1'),(263,1241968492,1,'添加商品: 诺基亚5800XM','127.0.0.1'),(264,1241968703,1,'添加商品: 摩托罗拉A810','127.0.0.1'),(265,1241968949,1,'添加商品: 恒基伟业G101','127.0.0.1'),(266,1241969394,1,'添加商品: 夏新N7','127.0.0.1'),(267,1241969533,1,'添加商品: 夏新T5','127.0.0.1'),(268,1241969541,1,'回收商品: 夏新T5','127.0.0.1'),(269,1241970139,1,'添加商品: 三星SGH-F258','127.0.0.1'),(270,1241970175,1,'编辑商品: 三星SGH-F258','127.0.0.1'),(271,1241970417,1,'添加商品: 三星BC01','127.0.0.1'),(272,1241970634,1,'添加商品: 金立 A30','127.0.0.1'),(273,1241970743,1,'编辑商品: 飞利浦9@9v','127.0.0.1'),(274,1241971076,1,'添加商品: 多普达Touch HD','127.0.0.1'),(275,1241971488,1,'添加商品: 诺基亚N96','127.0.0.1'),(276,1241971556,1,'编辑商品: 诺基亚N96','127.0.0.1'),(277,1241971981,1,'添加商品: P806','127.0.0.1'),(278,1241972305,1,'编辑商品: 飞利浦9@9v','127.0.0.1'),(279,1241972339,1,'编辑商品: 恒基伟业G101','127.0.0.1'),(280,1241972512,1,'添加商品分类: 充值卡','127.0.0.1'),(281,1241972554,1,'添加商品分类: 小灵通/固话充值卡','127.0.0.1'),(282,1241972598,1,'添加商品分类: 移动手机充值卡','127.0.0.1'),(283,1241972634,1,'添加商品分类: 联通手机充值卡','127.0.0.1'),(284,1241972709,1,'添加商品: 小灵通/固话50元充值卡','127.0.0.1'),(285,1241972789,1,'添加商品: 小灵通/固话20元充值卡','127.0.0.1'),(286,1241972894,1,'添加商品: 联通100元充值卡','127.0.0.1'),(287,1241972976,1,'添加商品: 联通50元充值卡','127.0.0.1'),(288,1241973022,1,'添加商品: 移动100元充值卡','127.0.0.1'),(289,1241973114,1,'添加商品: 移动20元充值卡','127.0.0.1'),(290,1242105946,1,'还原数据库备份: 备份时间2009-05-10 16:33:51','0.0.0.0'),(291,1242106383,1,'编辑商品: 三星BC01','0.0.0.0'),(292,1242106490,1,'编辑商品: 三星BC01','0.0.0.0'),(293,1242106594,1,'添加会员账号: ecshop','0.0.0.0'),(294,1242106663,1,'添加会员等级: vip','0.0.0.0'),(295,1242106727,1,'添加会员等级: 钻石用户','0.0.0.0'),(296,1242106771,1,'编辑商品: 诺基亚N96','0.0.0.0'),(297,1242106836,1,'编辑商品: 诺基亚5320 XpressMusic','0.0.0.0'),(298,1242106894,1,'添加会员账号: vip','0.0.0.0'),(299,1242106928,1,'添加会员账号: text','0.0.0.0'),(300,1242106997,1,'添加会员账号: zhuangshi','0.0.0.0'),(301,1242107017,1,'删除会员账号: zhuangshi','0.0.0.0'),(302,1242107045,1,'添加会员账号: zuanshi','0.0.0.0'),(303,1242107052,1,'编辑会员账号: vip','0.0.0.0'),(304,1242107224,1,'编辑操作日志: ','0.0.0.0'),(305,1242107360,1,'添加: 音乐手机','0.0.0.0'),(306,1242107418,1,'添加: 音乐手机','0.0.0.0'),(307,1242107466,1,'添加: 音乐手机','0.0.0.0'),(308,1242107517,1,'添加: 智能手机','0.0.0.0'),(309,1242107557,1,'添加: 智能手机','0.0.0.0'),(310,1242107611,1,'添加: 智能手机','0.0.0.0'),(311,1242107825,1,'添加夺宝奇兵: 夺宝奇兵之诺基亚N96','0.0.0.0'),(312,1242107987,1,'添加夺宝奇兵: 夺宝奇兵之夏新N7','0.0.0.0'),(313,1242108026,1,'添加红包类型: 用户红包','0.0.0.0'),(314,1242108084,1,'添加红包类型: 商品红包','0.0.0.0'),(315,1242108124,1,'添加红包类型: 订单红包','0.0.0.0'),(316,1242108159,1,'添加红包类型: 线下红包','0.0.0.0'),(317,1242108754,1,'添加商品贺卡: 祝福贺卡','0.0.0.0'),(318,1242109088,1,'添加团购商品: P806','0.0.0.0'),(319,1242109198,1,'编辑商品: 金立 A30','0.0.0.0'),(320,1242109298,1,'编辑商品: 金立 A30','0.0.0.0'),(321,1242109354,1,'添加批发活动: 金立 A30','0.0.0.0'),(322,1242109644,1,'编辑会员等级: 钻石用户','0.0.0.0'),(323,1242109964,1,'添加优惠活动: 5.1诺基亚优惠活动','0.0.0.0'),(324,1242110117,1,'添加拍卖活动: 拍卖活动——索爱C702c','0.0.0.0'),(325,1242110412,1,'添加商品: 摩托罗拉E8 ','0.0.0.0'),(326,1242110451,1,'添加: 音乐手机','0.0.0.0'),(327,1242110566,1,'添加超值礼包: 摩托罗拉E8 大礼包','0.0.0.0'),(328,1242110760,1,'添加商品: 诺基亚N85','0.0.0.0'),(329,1242110880,1,'添加超值礼包: 诺基亚N85大礼包','0.0.0.0'),(330,1242140620,1,'还原数据库备份: 备份时间2009-05-12 06:48:22','127.0.0.1'),(331,1242140683,1,'添加积分可兑换的商品: 24','127.0.0.1'),(332,1242141551,1,'安装支付方式: 余额支付','127.0.0.1'),(333,1242141813,1,'安装配送方式: 申通快递','127.0.0.1'),(334,1242141841,1,'添加配送区域: 申通','127.0.0.1'),(335,1242141890,1,'添加配送区域: 1','127.0.0.1'),(336,1242141897,1,'安装配送方式: 邮局平邮','127.0.0.1'),(337,1242141914,1,'添加配送区域: 邮局','127.0.0.1'),(338,1242141958,1,'安装配送方式: 运费到付','127.0.0.1'),(339,1242142014,1,'添加配送区域: 运费到付','127.0.0.1'),(340,1242142081,1,'安装支付方式: 银行汇款/转帐','127.0.0.1'),(341,1242142190,1,'编辑配送区域: 1','127.0.0.1'),(342,1242142210,1,'编辑配送区域: 运费到付','127.0.0.1'),(343,1242142227,1,'编辑配送区域: 邮局','127.0.0.1'),(344,1242142503,1,'编辑红包类型: 商品红包','127.0.0.1'),(345,1242143005,1,'编辑团购商品: P806[3]','127.0.0.1'),(346,1242143557,1,'编辑商店设置: ','127.0.0.1'),(347,1242144250,1,'添加订单: 2009051264945','127.0.0.1'),(348,1242144268,1,'编辑订单: 2009051264945,订单总金额由 0.00 变为 3800.00','127.0.0.1'),(349,1242144348,1,'编辑订单: 2009051264945','127.0.0.1'),(350,1242144353,1,'编辑订单: 2009051264945,订单总金额由 3800.00 变为 3810.00','127.0.0.1'),(351,1242144356,1,'编辑订单: 2009051264945','127.0.0.1'),(352,1242144359,1,'编辑订单: 2009051264945','127.0.0.1'),(353,1242144363,1,'编辑订单: 2009051264945','127.0.0.1'),(354,1242576182,1,'安装支付方式: 货到付款','127.0.0.1'),(355,1242576584,1,'添加文章分类: 新手上路 ','127.0.0.1'),(356,1242576615,1,'添加文章分类: 手机常识 ','127.0.0.1'),(357,1242576627,1,'添加文章分类: 配送与支付 ','127.0.0.1'),(358,1242576634,1,'添加文章分类: 服务保证 ','127.0.0.1'),(359,1242576641,1,'添加文章分类: 联系我们 ','127.0.0.1'),(360,1242576650,1,'添加文章分类: 会员 ','127.0.0.1'),(361,1242576700,1,'添加文章: 售后流程','127.0.0.1'),(362,1242576717,1,'添加文章: 购物流程','127.0.0.1'),(363,1242576727,1,'添加文章: 订购方式','127.0.0.1'),(364,1242576826,1,'添加文章: 如何分辨原装电池','127.0.0.1'),(365,1242576911,1,'添加文章: 如何分辨水货手机 ','127.0.0.1'),(366,1242576927,1,'添加文章: 如何享受全国联保','127.0.0.1'),(367,1242576971,1,'编辑文章: 如何分辨原装电池','127.0.0.1'),(368,1242577023,1,'添加文章: 货到付款区域','127.0.0.1'),(369,1242577032,1,'添加文章: 配送支付智能查询 ','127.0.0.1'),(370,1242577041,1,'添加文章: 支付方式说明','127.0.0.1'),(371,1242577080,1,'编辑文章分类: 会员中心','127.0.0.1'),(372,1242577127,1,'添加文章: 资金管理','127.0.0.1'),(373,1242577178,1,'添加文章: 我的收藏','127.0.0.1'),(374,1242577199,1,'添加文章: 我的订单','127.0.0.1'),(375,1242577230,1,'编辑文章: 资金管理','127.0.0.1'),(376,1242577293,1,'添加文章: 退换货原则','127.0.0.1'),(377,1242577308,1,'添加文章: 售后服务保证 ','127.0.0.1'),(378,1242577326,1,'添加文章: 产品质量保证 ','127.0.0.1'),(379,1242577409,1,'编辑文章分类: 联系我们 ','127.0.0.1'),(380,1242577432,1,'添加文章: 网站故障报告','127.0.0.1'),(381,1242577448,1,'添加文章: 选机咨询 ','127.0.0.1'),(382,1242577459,1,'添加文章: 投诉与建议 ','127.0.0.1'),(383,1242577702,1,'添加文章: 800万像素超强拍照机 LG Viewty Smart再曝光','127.0.0.1'),(384,1242577731,1,'编辑商品: KD876','127.0.0.1'),(385,1242577749,1,'编辑商品: 三星BC01','127.0.0.1'),(386,1242577768,1,'编辑商品: 三星SGH-F258','127.0.0.1'),(387,1242577791,1,'编辑商品: 诺基亚N85','127.0.0.1'),(388,1242577813,1,'编辑商品: 诺基亚N96','127.0.0.1'),(389,1242577838,1,'编辑商品: 诺基亚N96','127.0.0.1'),(390,1242577864,1,'编辑商品: 诺基亚E66','127.0.0.1'),(391,1242578018,1,'添加文章分类: 本站手机促销','127.0.0.1'),(392,1242578199,1,'添加文章: 飞利浦9@9促销','127.0.0.1'),(393,1242578365,1,'编辑文章: 飞利浦9@9促销','127.0.0.1'),(394,1242578676,1,'添加文章: 诺基亚5320 促销','127.0.0.1'),(395,1242578826,1,'添加文章: 促销诺基亚N96','127.0.0.1'),(396,1242578885,1,'添加文章分类: 站内快讯','127.0.0.1'),(397,1242579069,1,'添加文章: 诺基亚6681手机广告欣赏','127.0.0.1'),(398,1242579189,1,'添加文章: 手机游戏下载','127.0.0.1'),(399,1242579559,1,'添加文章: 三星SGHU308说明书下载','127.0.0.1'),(400,1242579587,1,'编辑文章: 三星SGHU308说明书下载','127.0.0.1'),(401,1242579622,1,'编辑文章: 手机游戏下载','127.0.0.1'),(402,1242580013,1,'添加文章: 3G知识普及','127.0.0.1'),(403,1242973211,1,'还原数据库备份: 备份时间2009-05-17 17:10:28','0.0.0.0'),(404,1242973252,1,'编辑商品分类: 联通手机充值卡','0.0.0.0'),(405,1242973362,1,'编辑商品: 摩托罗拉A810','0.0.0.0'),(406,1242973436,1,'编辑商品: 索爱C702c','0.0.0.0'),(407,1242973501,1,'编辑文章分类: 3G资讯','0.0.0.0'),(408,1242974080,1,'添加拍卖活动: 拍卖活动——索爱C702c(第2期)','0.0.0.0'),(409,1242974159,1,'编辑拍卖活动: 拍卖活动——索爱C702c(第2期)','0.0.0.0'),(410,1242974327,1,'添加团购商品: P806','0.0.0.0'),(411,1242974380,1,'编辑团购商品: P806[8]','0.0.0.0'),(412,1242974613,1,'添加文章: “沃”的世界我做主','0.0.0.0'),(413,1242976639,1,'添加用户红包: 1000091405','0.0.0.0'),(414,1244189181,1,'编辑商品: 索爱C702c','0.0.0.0'),(415,1244189344,1,'编辑文章分类: 手机促销','0.0.0.0'),(416,1244190576,1,'编辑文章: 三星SGHU308说明书下载','0.0.0.0'),(417,1244190791,1,'编辑文章: 三星SGHU308说明书下载','0.0.0.0'),(418,1244190825,1,'编辑文章: 三星SGHU308说明书下载','0.0.0.0'),(419,1244190882,1,'编辑文章: 三星SGHU308说明书下载','0.0.0.0'),(420,1244190952,1,'编辑文章: 三星SGHU308说明书下载','0.0.0.0'),(421,1244191015,1,'编辑文章: 三星SGHU308说明书下载','0.0.0.0'),(422,1244191031,1,'编辑文章: 三星SGHU308说明书下载','0.0.0.0'),(423,1244773301,1,'添加在线调查: 您从哪里知道我们的网站','0.0.0.0'),(424,1244773315,1,'添加在线调查: 论坛','0.0.0.0'),(425,1244773328,1,'添加在线调查: 朋友','0.0.0.0'),(426,1244773345,1,'添加在线调查: 友情链接','0.0.0.0'),(427,1245042408,1,'还原数据库备份: 备份时间2009-06-12 02:23:14','0.0.0.0'),(428,1245042659,1,'编辑商品分类: 手机类型','0.0.0.0'),(429,1245042742,1,'编辑商品分类: GSM手机','0.0.0.0'),(430,1245042772,1,'编辑商品分类: 手机类型','0.0.0.0'),(431,1245043251,1,'编辑文章: 三星SGHU308说明书下载','0.0.0.0'),(432,1245043292,1,'编辑文章: 三星SGHU308说明书下载','0.0.0.0'),(433,1245044142,1,'编辑权限管理: bjgonghuo1','0.0.0.0'),(434,1245044234,1,'添加供货商管理: 北京供货商','0.0.0.0'),(435,1245044248,1,'添加供货商管理: 上海供货商','0.0.0.0'),(436,1245044469,1,'编辑红包类型: 订单红包','0.0.0.0'),(437,1245044698,1,'编辑供货商管理: 北京供货商','0.0.0.0'),(438,1245044706,1,'编辑供货商管理: 上海供货商','0.0.0.0'),(439,1245136915,1,'还原数据库备份: 备份时间2009-06-15 06:54:05','0.0.0.0'),(440,1245138481,1,'还原数据库备份: 备份时间2009-06-16 07:47:15','0.0.0.0'),(441,1245220014,1,'编辑商品: 诺基亚N85','0.0.0.0'),(442,1245220040,1,'编辑商品: 诺基亚N85','0.0.0.0'),(443,1245220295,1,'编辑商品: P806','0.0.0.0'),(444,1245220617,1,'编辑商品: 诺基亚N96','0.0.0.0'),(445,1245220821,1,'编辑商品: 多普达Touch HD','0.0.0.0'),(446,1245221079,1,'编辑商品: 金立 A30','0.0.0.0'),(447,1245221279,1,'编辑商品: 三星BC01','0.0.0.0'),(448,1245221460,1,'编辑商品: 三星SGH-F258','0.0.0.0'),(449,1245221658,1,'编辑商品: 夏新N7','0.0.0.0'),(450,1245221889,1,'编辑商品: 摩托罗拉A810','0.0.0.0'),(451,1245222018,1,'编辑商品: 诺基亚5800XM','0.0.0.0'),(452,1245222169,1,'编辑商品: 诺基亚5320 XpressMusic','0.0.0.0'),(453,1245222267,1,'回收商品: 摩托罗拉A810','0.0.0.0'),(454,1245222409,1,'编辑商品: 索爱C702c','0.0.0.0'),(455,1245222545,1,'编辑商品: 诺基亚E66','0.0.0.0'),(456,1245222658,1,'编辑商品: 飞利浦9@9v','0.0.0.0'),(457,1245222832,1,'编辑商品: KD876','0.0.0.0'),(458,1245222978,1,'编辑商店设置: ','0.0.0.0'),(459,1245223043,1,'编辑商品分类: 手机类型','0.0.0.0'),(460,1245223128,1,'编辑商品分类: GSM手机','0.0.0.0'),(461,1245223340,1,'编辑文章: 诺基亚牵手移动 5款热门TD手机机型推荐','0.0.0.0'),(462,1245223387,1,'编辑文章: 诺基亚牵手移动 5款热门TD手机机型推荐','0.0.0.0'),(463,1245223611,1,'还原数据库备份: 备份时间2009-06-17 07:23:51','0.0.0.0');
/*!40000 ALTER TABLE `ecs_admin_log` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_admin_message`
--

DROP TABLE IF EXISTS `ecs_admin_message`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_admin_message` (
  `message_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `sender_id` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `receiver_id` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `sent_time` int(11) unsigned NOT NULL DEFAULT '0',
  `read_time` int(11) unsigned NOT NULL DEFAULT '0',
  `readed` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `deleted` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `title` varchar(150) NOT NULL DEFAULT '',
  `message` text NOT NULL,
  PRIMARY KEY (`message_id`),
  KEY `sender_id` (`sender_id`,`receiver_id`),
  KEY `receiver_id` (`receiver_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_admin_message`
--

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

--
-- Table structure for table `ecs_admin_user`
--

DROP TABLE IF EXISTS `ecs_admin_user`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_admin_user` (
  `user_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `user_name` varchar(60) NOT NULL DEFAULT '',
  `email` varchar(60) NOT NULL DEFAULT '',
  `password` varchar(32) NOT NULL DEFAULT '',
  `add_time` int(11) NOT NULL DEFAULT '0',
  `last_login` int(11) NOT NULL DEFAULT '0',
  `last_ip` varchar(15) NOT NULL DEFAULT '',
  `action_list` text NOT NULL,
  `nav_list` text NOT NULL,
  `lang_type` varchar(50) NOT NULL DEFAULT '',
  `agency_id` smallint(5) unsigned NOT NULL,
  `suppliers_id` smallint(5) unsigned DEFAULT '0',
  `todolist` longtext,
  `role_id` smallint(5) DEFAULT NULL,
  PRIMARY KEY (`user_id`),
  KEY `user_name` (`user_name`),
  KEY `agency_id` (`agency_id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_admin_user`
--

LOCK TABLES `ecs_admin_user` WRITE;
/*!40000 ALTER TABLE `ecs_admin_user` DISABLE KEYS */;
INSERT INTO `ecs_admin_user` VALUES (1,'admin','','0192023a7bbd73250516f069df18b500',1452223644,0,'','all','商品列表|goods.php?act=list,订单列表|order.php?act=list,用户评论|comment_manage.php?act=list,会员列表|users.php?act=list,商店设置|shop_config.php?act=list_edit','',0,0,NULL,NULL),(2,'bjgonghuo1','bj@163.com','d0c015b6eb9a280f318a4c0510581e7e',1245044099,0,'','','商品列表|goods.php?act=list,订单列表|order.php?act=list,用户评论|comment_manage.php?act=list,会员列表|users.php?act=list,商店设置|shop_config.php?act=list_edit','',0,1,'',NULL),(3,'shhaigonghuo1','shanghai@163.com','4146fecce77907d264f6bd873f4ea27b',1245044202,0,'','','商品列表|goods.php?act=list,订单列表|order.php?act=list,用户评论|comment_manage.php?act=list,会员列表|users.php?act=list,商店设置|shop_config.php?act=list_edit','',0,2,'',NULL);
/*!40000 ALTER TABLE `ecs_admin_user` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_adsense`
--

DROP TABLE IF EXISTS `ecs_adsense`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_adsense` (
  `from_ad` smallint(5) NOT NULL DEFAULT '0',
  `referer` varchar(255) NOT NULL DEFAULT '',
  `clicks` int(10) unsigned NOT NULL DEFAULT '0',
  KEY `from_ad` (`from_ad`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_adsense`
--

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

--
-- Table structure for table `ecs_affiliate_log`
--

DROP TABLE IF EXISTS `ecs_affiliate_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_affiliate_log` (
  `log_id` mediumint(8) NOT NULL AUTO_INCREMENT,
  `order_id` mediumint(8) NOT NULL,
  `time` int(10) NOT NULL,
  `user_id` mediumint(8) NOT NULL,
  `user_name` varchar(60) DEFAULT NULL,
  `money` decimal(10,2) NOT NULL DEFAULT '0.00',
  `point` int(10) NOT NULL DEFAULT '0',
  `separate_type` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`log_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_affiliate_log`
--

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

--
-- Table structure for table `ecs_agency`
--

DROP TABLE IF EXISTS `ecs_agency`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_agency` (
  `agency_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `agency_name` varchar(255) NOT NULL,
  `agency_desc` text NOT NULL,
  PRIMARY KEY (`agency_id`),
  KEY `agency_name` (`agency_name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_agency`
--

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

--
-- Table structure for table `ecs_area_region`
--

DROP TABLE IF EXISTS `ecs_area_region`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_area_region` (
  `shipping_area_id` smallint(5) unsigned NOT NULL DEFAULT '0',
  `region_id` smallint(5) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`shipping_area_id`,`region_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_area_region`
--

LOCK TABLES `ecs_area_region` WRITE;
/*!40000 ALTER TABLE `ecs_area_region` DISABLE KEYS */;
INSERT INTO `ecs_area_region` VALUES (1,1),(2,1),(3,1),(4,3),(4,4),(4,6),(4,9),(4,30),(4,32);
/*!40000 ALTER TABLE `ecs_area_region` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_article`
--

DROP TABLE IF EXISTS `ecs_article`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_article` (
  `article_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `cat_id` smallint(5) NOT NULL DEFAULT '0',
  `title` varchar(150) NOT NULL DEFAULT '',
  `content` longtext NOT NULL,
  `author` varchar(30) NOT NULL DEFAULT '',
  `author_email` varchar(60) NOT NULL DEFAULT '',
  `keywords` varchar(255) NOT NULL DEFAULT '',
  `article_type` tinyint(1) unsigned NOT NULL DEFAULT '2',
  `is_open` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `add_time` int(10) unsigned NOT NULL DEFAULT '0',
  `file_url` varchar(255) NOT NULL DEFAULT '',
  `open_type` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `link` varchar(255) NOT NULL DEFAULT '',
  `description` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`article_id`),
  KEY `cat_id` (`cat_id`)
) ENGINE=MyISAM AUTO_INCREMENT=36 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_article`
--

LOCK TABLES `ecs_article` WRITE;
/*!40000 ALTER TABLE `ecs_article` DISABLE KEYS */;
INSERT INTO `ecs_article` VALUES (1,2,'免责条款','','','','',0,1,1452252444,'',0,'',NULL),(2,2,'隐私保护','','','','',0,1,1452252444,'',0,'',NULL),(3,2,'咨询热点','','','','',0,1,1452252444,'',0,'',NULL),(4,2,'联系我们','','','','',0,1,1452252444,'',0,'',NULL),(5,2,'公司简介','','','','',0,1,1452252444,'',0,'',NULL),(6,-1,'用户协议','','','','',0,1,1452252444,'',0,'',NULL),(7,4,'三星电子宣布将在中国发布15款3G手机','<p>全球领先的电子产品及第二大移动通信终端制造商三星电子今天在北京宣布,为全面支持中国开展3G移动通信业务,将在3G服务正式商用之际,向中国市场推出 15款3G手机。这些产品分别支持中国三大无线运营商的各种3G服务,并已经得到运营商的合作认可。凭借在电子和通信领域的整体技术实力和对消费者的准确 把握,三星电子已经开始全面发力中国的3G移动通信市场。<br />\n<br />\n&nbsp;&nbsp;&nbsp;&nbsp;2009年1月,中国政府宣布正式启动3G移动通信服务。并根据中国的实际情况,决定由三大运营商分别采用全部三种3G网络制式,&nbsp;即以中国自主知识产权为核心的TD-SCDMA,以欧洲为主要市场的WCDMA和源自北美的CDMA2000技术。<br />\n<br />\n&nbsp;&nbsp;&nbsp;&nbsp;多 年来,三星电子秉承&ldquo;做中国人民喜爱的企业,贡献于中国社会的企业&rdquo;的企业理念,准确地把握了中国社会的发展和市场的需求,推出了一系列深受中国消费者喜 爱的电子产品。为了配合中国推进具有自主知识产权的3G移动通信标准TD-SCDMA,&nbsp;三星电子从2000年开始在中国设立了通信技术研究院,&nbsp;开始进 行TD-SCDMA技术的研究。作为最早承诺支持中国3G标准的手机制造企业,三星电子已经先后投入了上亿元的研究费用,&nbsp;组建了几百人的研发团队。推出 的TD-SCDMA制式的产品,不仅通过了各级权威部门的试验和检测,也经历了2008年北京奥运会的现场考验。此次为中国移动定制的TD-SCDMA手 机,包括了满足高端商务需求的双待产品B7702C,以及数字电视手机、多媒体手机和时尚手机。<br />\n<br />\n&nbsp;&nbsp;&nbsp;&nbsp;作为世界第二大手机制造企业,三 星电子已经在全球3G市场积累了多年的技术和市场经验。最新的统计表明,在完全采用WCDMA标准的欧洲,三星电子的市场份额已经排名第二。在为中国联通 准备的产品中,不仅包括能够支持HSDPA的高端多媒体手机S7520U,也涵盖了能够支持高速上网、在线电影、在线音乐等适合不同消费需求的各种产品。<br />\n<br />\n&nbsp;&nbsp;&nbsp;&nbsp;而 在主要采用CDMA2000技术的北美市场,三星电子也取得了市场份额的第一名。即将陆续上市的支持中国电信3G服务的EVDO产品,有高端商务手机 W709。该机能够支持EVDO/GSM的双网双待功能,含800万像素拍摄系统。其他产品还包括音乐手机M609,双模手机W239,以及时尚设计的 F539等。<br />\n<br />\n&nbsp;&nbsp;&nbsp;&nbsp;作为世界上少数能够提供支持三种3G标准的终端厂商,三星电子正利用其在通信、半导体、显示器以及数字多媒体等方面 的优势,加快产品数字融合的进程。除上述3G手机产品外,三星电子也于近期推出了用于3G网络的上网卡和网络笔记本电脑。三星电子专务、无线事业部大中华 区高级副总裁卢基学先生说,&ldquo;上述15款新品,&nbsp;只是我们二季度新产品的一部分。随着中国3G移动通信市场的不断扩大,三星还将推出更多适合中国市场的终 端产品,以满足消费者对于通信和数字产品的不同需求。三星也将积极配合运营商业务的发展计划,加快技术和应用的研发。中国3G的移动通信市场前景将是非常 明亮的。&rdquo;</p>','','','',0,1,1241426864,'',0,'http://',NULL),(8,4,'诺基亚牵手移动 5款热门TD手机机型推荐','<table width=\"100%\" cellspacing=\"0\" cellpadding=\"4\" align=\"center\" class=\"tableborder\">\r\n<tbody>\r\n<tr>\r\n<td width=\"180\" valign=\"top\" class=\"altbg4\">&nbsp;</td>\r\n<td height=\"100%\" valign=\"top\" class=\"altbg3\">\r\n<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" style=\"padding: 5px; table-layout: fixed; width: 973px; height: 2195px;\">\r\n<tbody>\r\n<tr>\r\n<td valign=\"top\">\r\n<div class=\"bbs_content clearfix\">随着5月17日电信日的来临,自从09年初网民对于3G方面关注越来越多,目前国内3G网络主要有中国移动TD-SCDMA,中国联通WCDMA以及 中国电信的CDMA2000这三种制式。到底是哪一种网络制式能让消费者满意,相信好多消费者都难以判断。<br />\r\n<br />\r\n而作为3G网络最主要的组 成部分-手持终端(手机) ,相信也是好多消费者关注的焦点。目前,中国移动TD-SCDMA手机机型频频爆出,其中不乏亮点产品,像联想联想 Ophone、诺基亚、多普达 Magic等,下面就让笔者与大家一起来了解TD-SCDMA网络制式下的几款强势机型吧。<br />\r\n<br />\r\n诺基亚TD-SCDMA手机 型号:待定 参考报价:尚未上市<br />\r\n<br />\r\n随着国内3G网络发展速度加快及众多手机厂商纷纷跟进,诺基亚终于推出TD-SCDMA手机,这款诺基亚的首台TD-SCDMA测试手机型号目前仍无法 得知,但从键盘及菜单设计来看,我们可以是知道其并没有采用S60操作系统,只是配备了S40系统,机身直板造型与早期热卖的6300有几分相像。<br />\r\n<br />\r\n<p><img width=\"450\" alt=\"\" src=\"http://dstatic.esqimg.com/4812278/1.jpg\" style=\"display: block;\" /></p>\r\n<br />\r\n<br />\r\n图为:诺基亚TD-SCDMA手机<br />\r\n<br />\r\n虽然没有更多的参数资料,但是从曝光的图片我们可以知道这款诺基亚TD-SCDMA手机必定配备了QVGA分辨率的屏幕以及320万像素的摄像头,而标准的MP3以及蓝牙等功能自然不会缺少,在功能方面不会比以往的S40手机逊色。<br />\r\n<br />\r\n<p><img width=\"450\" alt=\"\" src=\"http://dstatic.esqimg.com/4812279/2.jpg\" style=\"display: block;\" /></p>\r\n<br />\r\n<br />\r\n图为:诺基亚TD-SCDMA手机<br />\r\n<br />\r\n这款诺基亚的TD手机最大的卖点便是提供了对TD-HSDPA技术的支持,最大的功能特色便是该技术被看为是TD网络下一步的演进技术,能够同时适用于 WCDMA和TD-SCDMA两种不同的网络支持,能够很好的支持非对称的数据业务,也就是说这款诺基亚手机的用户即便在全球漫游都能够使用到3G网络。 而其机身前置的摄像头也更是证实了其3G手机的身份。<br />\r\n<br />\r\n<p><img width=\"450\" alt=\"\" src=\"http://dstatic.esqimg.com/4812280/3.jpg\" style=\"display: block;\" /></p>\r\n<p><br />\r\n<br />\r\n图为:诺基亚TD-SCDMA手机<br />\r\n<br />\r\n从目前曝光的测试情况来看,通过这款诺基亚TD手机连接网络,其下载速度能够稳定在1.3Mbps左右,不过根据国内有些媒体的报道,诺基亚官方已经证实将于今天下半年配合运营商中国移动对出自己的第一款TD-SCDMA制式的S60手机,大家要拭目以待了。</p>\r\n<p>&nbsp;</p>\r\n图为:诺基亚TD-SCDMA手机<br />\r\n<br />\r\n最后较为耐人寻味的便是目前有业内人士指出目前曝光的的诺基亚TD手机其实是去年夏季就出现过的 TD测试手机,但是随着诺基亚拥有部分股份的TD芯片厂商&ldquo;凯明&rdquo;的倒闭,这款机型也就被取消了。尽管对于目前这款诺基亚的TD测试手机的身份尚无官方的 消息,但是诺基亚将推出TD手机遗失毫无悬念的事情了,相信大家也希望在TD制式下能够有更多的手机可以选择。</div>\r\n</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<p>&nbsp;</p>','','','',0,1,1241427051,'',0,'http://',NULL),(9,5,'售后流程','','','','',0,1,1242576700,'',0,'http://',NULL),(10,5,'购物流程','','','','',0,1,1242576717,'',0,'http://',NULL),(11,5,'订购方式','','','','',0,1,1242576727,'',0,'http://',NULL),(12,6,'如何分辨原装电池','<p><font size=\"2\">一般在购买时主要是依靠观察外观特征的方法来鉴别电池,而原装电池一般应具有以下一些特征:&nbsp;<br />\n<br />\n1、 电池外观整齐,外表面有一定的粗糙度且手感舒适,内表面手感光滑,灯光下能看见细密的纵向划痕&nbsp;<br />\n<br />\n2、 生产厂家字样应该轮廓清晰,且防伪标志亮度高,看上去有立体感,电池标贴 字迹清晰,有与电池类型相一致的电池件号<br />\n3、 电池标贴采用二次印刷技术,在一定光线下从斜面看,条形码部分的颜色比其他部分要黑,且用手触摸有凹凸感<br />\n<br />\n4、 原装电池电极与手机电池片宽度相等,电池电极下方标有&ldquo; + &rdquo;、&ldquo; - &rdquo;标志,电池电极片之间的隔离材料与外壳材料一致,但不是一体<br />\n<br />\n5、 原装电池装入手机时手感舒适,安装自如,电池按压部分卡位适当而且牢固<br />\n<br />\n6、 原装电池的金属触点采用优质的铜片,只有在正面看时才会有反光,而从其它角度看的话,都是比较暗淡的</font></p>','','','',1,1,1242576826,'',0,'http://',NULL),(15,7,'货到付款区域','','','','',0,1,1242577023,'',0,'http://',NULL),(16,7,'配送支付智能查询 ','','','','',0,1,1242577032,'',0,'http://',NULL),(17,7,'支付方式说明','','','','',0,1,1242577041,'',0,'http://',NULL),(18,10,'资金管理','','','','',0,1,1242577127,'',0,'user.php?act=account_log',NULL),(19,10,'我的收藏','','','','',0,1,1242577178,'',0,'user.php?act=collection_list',NULL),(20,10,'我的订单','','','','',0,1,1242577199,'',0,'user.php?act=order_list',NULL),(21,8,'退换货原则','','','','服务',0,1,1242577293,'',0,'http://',NULL),(22,8,'售后服务保证 ','','','','售后',0,1,1242577308,'',0,'http://',NULL),(23,8,'产品质量保证 ','','','','质量',1,1,1242577326,'',0,'http://',NULL),(24,9,'网站故障报告','','','','',0,1,1242577432,'',0,'http://',NULL),(25,9,'选机咨询 ','','','','',0,1,1242577448,'',0,'http://',NULL),(26,9,'投诉与建议 ','','','','',0,1,1242577459,'',0,'http://',NULL),(27,4,'800万像素超强拍照机 LG Viewty Smart再曝光','','','','',0,1,1242577702,'',0,'http://news.imobile.com.cn/index-a-view-id-66790.html',NULL),(28,11,'飞利浦9@9促销','<p>&nbsp;</p>\r\n<div class=\"boxCenterList RelaArticle\" id=\"com_v\">\r\n<p align=\"left\">作为一款性价比极高的入门级<font size=\"3\" color=\"#ff0000\"><strong>商务手机</strong></font>,飞利浦<a href=\"mailto:9@9v\">Xenium&nbsp; 9@9v</a>三围大小为105&times;44&times;15.8mm,机身重量仅为<strong><font size=\"3\" color=\"#ff0000\">75g</font></strong>,装配了一块低规格1.75英寸128&times;160像素65000色CSTN显示屏。身正面采用月银色功能键区与屏幕数字键区相分隔,键盘设计较为<font size=\"3\"><strong><font color=\"#ff0000\">别</font><font color=\"#ff0000\">致</font></strong></font>,中部导航键区采用钛金色的&ldquo;腰带&rdquo;彰显出浓郁的商务气息。</p>\r\n<p align=\"left\">&nbsp;</p>\r\n<p align=\"left\">此款手机采用<strong><font size=\"3\" color=\"#ff0000\">触摸屏</font></strong>设计,搭配精致的手写笔,可支持手写中文和英文两个版本。增强的内置系统还能识别潦草字迹,确保在移动中和匆忙时输入文字的识别率。手写指令功能还支持特定图案的瞬间调用,独特的手写记事本功能,可以在触摸屏上随意绘制个性化的图案并进行<strong><font size=\"3\" color=\"#ff0000\">记事提醒</font></strong>,让商务应用更加随意。</p>\r\n<p align=\"left\">&nbsp;</p>\r\n<p align=\"left\">&nbsp;作为入门级为数不多支持<strong><font size=\"3\" color=\"#ff0000\">双卡功能</font></strong>的手机,可以同时插入两张SIM卡,通过菜单随意切换,只需开启漫游自动切换模式,<a href=\"mailto:9@9V\">9@9V</a>在该模式下能够判断网络情况,自动切换适合的手机号。</p>\r\n<p align=\"left\">&nbsp;</p>\r\n<p align=\"left\">&nbsp;</p>\r\n</div>\r\n<p>&nbsp;</p>','','','',0,1,1242578199,'',0,'http://',NULL),(29,11,'诺基亚5320 促销','<p>&nbsp;</p>\r\n<div id=\"com_v\" class=\"boxCenterList RelaArticle\">\r\n<p>诺基亚5320XpressMusic音乐手机采用XpressMusic系列常见的黑红、黑蓝配色方案,而材质方便则选用的是经过<strong><font size=\"3\" color=\"#ff0000\">抛光处理</font></strong>的工程塑料;三围/体重为,为108&times;46&times;15mm/<strong><font size=\"3\" color=\"#ff0000\">90g</font></strong>,手感舒适。</p>\r\n<p>&nbsp;</p>\r\n<p>诺基亚5320采用的是一块可视面积为2.0英寸的<font size=\"3\" color=\"#ff0000\"><strong>1600万色</strong></font>屏幕,分辨率是常见的240&times;320像素(QVGA)。虽然屏幕不是特别大,但效果非常精细,色彩还原不错。</p>\r\n<p>&nbsp;</p>\r\n<p>手机背面,诺基亚为5320XM配备一颗<strong><font size=\"3\" color=\"#ff0000\">200W像素</font></strong>的摄像头,并且带有<strong><font size=\"3\" color=\"#ff0000\">两个LED的补光灯</font></strong>,可以实现拍照、摄像功能,并能通过彩信、邮件方式发送给朋友。</p>\r\n<p>&nbsp;</p>\r\n</div>\r\n<p>&nbsp;</p>','','','',1,1,1242578676,'',0,'http://',NULL),(30,11,'促销诺基亚N96','<p>&nbsp;</p>\r\n<div class=\"boxCenterList RelaArticle\" id=\"com_v\">\r\n<p>诺基亚N96采用了<strong><font size=\"3\" color=\"#ff0000\">双向滑盖</font></strong>设计,机身整体呈灰黑色,沉稳、大气,机身材质采用了高强度的塑料材质,手机背面采用了抛光面板的设计风格。N96三维体积103*55*20mm,重量为125g。屏幕方面,诺基亚N96配备一块<strong><font size=\"3\" color=\"#ff0000\">2.8英寸</font></strong>的屏幕,支持<strong><font size=\"3\" color=\"#ff0000\">1670万色</font></strong>显示,分辨率达到QVGA(320&times;240)水准。</p>\r\n<p>&nbsp;<img src=\"http://img2.zol.com.cn/product/21/896/ceN6LBMCid3X6.jpg\" alt=\"\" /></p>\r\n<p>&nbsp;</p>\r\n<p>诺基亚N96设置有专门的<strong><font size=\"3\" color=\"#ff0000\">音乐播放键</font></strong>和标准的3.5毫米音频插口,支持多格式音乐播放。内置了<strong><font size=\"3\" color=\"#ff0000\">多媒体播放器</font></strong>,支持FM调频收音机等娱乐功能。N96手机支持<strong><font size=\"3\" color=\"#ff0000\">N-Gage游戏平台</font></strong>,内置包括<font size=\"3\" color=\"#ff0000\"><strong>《PinBall》完整版</strong></font>在内的四款N-Gage游戏,除了手机本身内置的游戏,还可以从N-Gage的网站下载或者购买最新的游戏,而且可以在论坛里和其他玩家一起讨论。</p>\r\n<p>&nbsp;</p>\r\n</div>\r\n<p>&nbsp;<img src=\"http://img2.zol.com.cn/product/21/898/cekkw57qJjSI.jpg\" alt=\"\" /></p>','','','',1,1,1242578826,'',0,'http://',NULL),(13,6,'如何分辨水货手机 ','<p>\n<div class=\"artibody\">\n<p><font size=\"2\"><strong>1、&nbsp;什么是水货?</strong><br />\n提及水货手机,按照行业内的说法,可以将水货手机分成三类:A类、B类和C类。 </font></p>\n<p><font size=\"2\">A类水货手机是指由国外、港澳台等地区在没有经过正常海关渠道的情况下进入国内市场的产品,就是我们常说的走私货, 与行货的主要差异是在输入法上,这类手机都是英文输入法或者是港澳台地区的繁体中文输入法。这类手机其最主要的目的是为了逃避国家关税或者因为该种产品曾 经过不正当改装而不能够通过正常渠道入关,质量一般没有大的问题。但由于逃避关税本身就是违法的,所以购买这类手机的用户根本得不到任何售后保障服务; </font></p>\n<p><font size=\"2\">B类水货手机就是走私者将手机的系统软件由英文版升级至中文版后,偷运到内地,然后贴上非法渠道购买的入网标志,作为行货手机充数。 </font></p>\n<p><font size=\"2\">C类水货手机则是那些由其他型号机改装、更换芯片等等方法做假&ldquo;生产&rdquo;出来的,或者就是从各地购买手机的部件,自己组装然后再贴上非法购买的入网标志。 </font></p>\n<p><font size=\"2\">水货手机虽然不排除它是原厂正货的可能,但通过市场调研发现,绝大多数水货手机都是改版的次货,而且产品基本没有受国内厂商的保修许可。</font></p>\n<p><font size=\"2\"><strong>2、水货有哪些?</strong>水货有两种,一种俗称港行,也称作水行,这种产品原本是在香港 及周边地区销售的,但是经过非法途径进入大陆地区销售。另一种是欧版水改机,也称作欧版,水改等,此种产品以英文改版机为主,通过刷改机内软件达到英文改 中文的目的,原来这类产品是销往欧美地区的,由于和大陆地区有相当大的价格差,所以通过走私进入中国市场。</font></p>\n<p><font size=\"2\"><strong>3、水货手机的危害</strong><br />\n1、售后服务无保障 <br />\n手机作为精密类电子产品,软件、硬件方面都有可能产生不同的问题。购买正规渠道的手机,一旦出现问题,只要将问题反映给厂商客户服务中心并静候佳音就 可以了。大多数走私手机的贩卖点规模较小,根本没有资金和技术能力建立起自己的维修网点,因此他们往往制定非常苛刻的保修条件,将国家明令的一年保修期缩 短为三个月,并加入完全对走私手机经销商有利的诸如&ldquo;认为摔打&rdquo;等概念难以界定的排除条件(众所周知,手机很有可能发生摔撞事件),是确确实实的霸王条 款。规定时间内手机出了故障,走私手机经销商会通过曲解条款尽可能地开脱保修责任。即使他们愿意承担保修服务,也需将手机发往广州、深圳等地,委托他人维 修。一来路途漫长,二来经手人繁多,小问题&ldquo;修&rdquo;成了大问题。最终走私手机经销商会以无法维修为由劝客户自行去当地正规客服维修。至于维修费用,他们自然 也不愿意出了。<br />\n<br />\n2、产品本身质量不过关<br />\n&nbsp;&nbsp;&nbsp; 现在很多奸商为了谋取暴利,经常使用C类的翻修或者组装手机冒充A类水货手机进行销售。作为消费者来说面对和正规行货之间巨大的价格差异,他们无法分辨想要购买的手机是否象销售商说的那样质量过硬,在销售商的巧舌如簧下只能眼看自己的钱包&ldquo;减肥&rdquo;。 </font></p>\n<p><font size=\"2\">但是这类翻修或者组装的水货手机往往为了降低成本,其采用的配件往往也是不合格产品,甚至也是伪劣产品,可以想象由这样产品组装起来的手机的质量究竟可以好到那里去。目前在经常看到手机电池爆炸伤人的事件的报道,究其原因也是消费者购买了这些组装的水货手机。</font></p>\n<p><font size=\"2\">而且不光这类手机硬件存在问题,包括手机使用的软件。由于组装的水货硬件规格根本无法保证和原场产品一致,手机使用的软件也会造成和手机硬件的冲突。频繁死机就是家常便饭,更有甚者会造成经常性的电话本丢失,无法联系到好友。</font></p>\n<p><br />\n<font size=\"2\"><strong>4、如何分辨行、水货手机?</strong><br />\n1、看手机上是否贴有信息产业部&ldquo;进网许可&rdquo;标志。水货与正品的入网标志稍微有一点不同:真的入网标志一般都是针式打印机打印的,数字清晰,颜色较浅,仔细看有针打的凹痕;假的入网标志一般是普通喷墨打印机打印的,数字不很清晰,颜色较深,没有凹痕。 </font></p>\n<p><font size=\"2\">2、检查手机的配置,包括中文说明书、电池、充电器等,如果是厂家原配,一般均贴有厂家的激光防伪标志。原厂配置的 中文说明书通常印刷精美,并与其他语言的说明书及相关产品资料的印刷质量、格式、风格等保持一致。不是原厂家配置的中文说明书通常印刷质量低劣,常出现错 别字,甚至字迹模糊。正品手机的包装盒中均附带有原厂合格证、原厂条码卡、原厂保修卡,而水货则没有。 </font></p>\n<p><font size=\"2\">3、确认经销商的保修条例是否与厂家一致,在购买手机时应索要发票和保修卡。 </font></p>\n<p><font size=\"2\">4、电子串号是否一致也是验证是否水货手机的重要途径。首先在手机上按&ldquo;*#06#&rdquo;,一般会在手机上显示15个数 字,这就是本手机的IMEI码。然后打开手机的电池盖,在手机里有一张贴纸,上面也有一个IMEI码,这个码应该同手机上显示的IMEI码完全一致。然后 再检查手机的外包装盒上的贴纸,上面也应该有一个IMEI码,这个码也应该同手机上显示的IMEI码完全一致。如果此三个码有不一致的地方,这个手机就有 问题。</font></p>\n</div>\n<p>&nbsp;</p>\n</p>','','','',0,1,1242576911,'',0,'http://',NULL),(14,6,'如何享受全国联保','','','','',0,1,1242576927,'',0,'http://',NULL),(31,12,'诺基亚6681手机广告欣赏','<object>\n<param value=\"always\" name=\"allowScriptAccess\" />\n<param value=\"transparent\" name=\"wmode\" />\n<param value=\"http://6.cn/player.swf?flag=0&amp;vid=nZNyu3nGNWWYjmtPQDY9nQ\" name=\"movie\" /><embed width=\"480\" height=\"385\" src=\"http://6.cn/player.swf?flag=0&amp;vid=nZNyu3nGNWWYjmtPQDY9nQ\" allowscriptaccess=\"always\" wmode=\"transparent\" type=\"application/x-shockwave-flash\"></embed></object>','','','',0,1,1242579069,'',0,'http://',NULL),(32,12,'手机游戏下载','<p>三星SGHU308说明书下载,点击相关链接下载</p>','','','',1,1,1242579189,'',0,'http://soft.imobile.com.cn/index-a-list_softs-cid-1.html',NULL),(33,12,'三星SGHU308说明书下载','<p>三星SGHU308说明书下载</p>','','','',1,1,1242579559,'data/article/1245043292228851198.rar',2,'http://',NULL),(34,12,'3G知识普及','<p>\n<h2>3G知识普及</h2>\n<div class=\"t_msgfont\" id=\"postmessage_8792145\"><font color=\"black\">3G,全称为3rd Generation,中文含义就是指第三代数字通信。<br />\n</font><br />\n<font color=\"black\">  1995年问世的第一代<span class=\"t_tag\" onclick=\"tagshow(event)\" href=\"http://mbbs.enet.com.cn/tag.php?name=%C4%A3%C4%E2\">模拟</span>制式<span class=\"t_tag\" onclick=\"tagshow(event)\" href=\"http://mbbs.enet.com.cn/tag.php?name=%CA%D6%BB%FA\">手机</span>(1G)只能进行<span class=\"t_tag\" onclick=\"tagshow(event)\" href=\"http://mbbs.enet.com.cn/tag.php?name=%D3%EF%D2%F4\">语音</span>通话;<br />\n</font><br />\n<font color=\"black\">  1996到1997年出现的第二代GSM、TDMA等数字制式手机(2G)便增加了接收数据的功能,如接收电子邮件或网页;<br />\n</font><br />\n<font color=\"black\">  3G不是2009年诞生的,它是上个世纪的产物,而早在2007年国外就已经产生4G了,而<span class=\"t_tag\" onclick=\"tagshow(event)\" href=\"http://mbbs.enet.com.cn/tag.php?name=%D6%D0%B9%FA\">中国</span>也于2008年成功开发出<span class=\"t_tag\" onclick=\"tagshow(event)\" href=\"http://mbbs.enet.com.cn/tag.php?name=%D6%D0%B9%FA\">中国</span>4G,其网络传输的速度可达到每秒钟2G,也就相当于下一部电影只要一秒钟。在上世纪90年末的日韩电影如《我的野蛮女友》中,女主角使用的可以让对方看见自己的视频<span class=\"t_tag\" onclick=\"tagshow(event)\" href=\"http://mbbs.enet.com.cn/tag.php?name=%B5%E7%BB%B0\">电话</span>,就是属于3G技术的重要运用之一。日韩等国3G的运用是上世纪末期的事。而目前国外有些地区已经试运行3.5G甚至4G网络。<br />\n</font><br />\n<font color=\"black\">  </font><font color=\"black\">(以下为误导)2009年问世的第三代(3G)与 前两代的主要区别是在传输声音和数据的速度上的提升,它能够在全球范围内更好地实现无缝漫游,并处理图像、音乐、视频流等多种媒体形式,提供包括网页浏 览、电话会议、电子商务等多种信息服务,同时也要考虑与已有第二代系统的良好兼容性。为了提供这种服务,无线网络必须能够支持不同的数据传输速度,也就是 说在室内、室外和行车的环境中能够分别支持至少2Mbps(兆比特/每秒)、384kbps(千比特/每秒)以及144kbps的传输速度。(此数值根据 网络环境会发生变化)。<br />\n</font><br />\n<font color=\"black\">  3G标准,国际电信联盟(ITU)目前一共确定了全球四大3G标准,它们分别是WCDMA、CDMA2000和TD-SCDMA和WiMAX。</font><br />\n<br />\n<font color=\"black\">3G标准  国际电信联盟(ITU)在2000年5月确定W-CDMA、CDMA2000、TD-SCDMA以 及WiMAX四大主流无线接口标准,写入3G技术指导性文件《2000年国际移动通讯计划》(简称IMT&mdash;2000)。 CDMA是Code Division Multiple Access (码分多址)的缩写,是第三代移动通信系统的技术基础。第一代移动通信系统采用频分多址(FDMA)的模拟调制方式,这种系统的主要缺点是频谱利用率低, 信令干扰话音业务。第二代移动通信系统主要采用时分多址(TDMA)的数字调制方式,提高了系统容量,并采用独立信道传送信令,使系统性能大大改善,但 TDMA的系统容量仍然有限,越区切换性能仍不完善。CDMA系统以其频率规划简单、系统容量大、频率复用系数高、抗多径能力强、通信质量好、软容量、软 切换等特点显示出巨大的发展潜力。下面分别介绍一下3G的几种标准:<br />\n</font><br />\n<br />\n<font color=\"black\">   </font><br />\n<font color=\"black\">(1) W-CDMA</font><font color=\"black\"><br />\n</font><br />\n<br />\n<font color=\"black\">  也称为WCDMA,全称为Wideband CDMA,也称为CDMA Direct Spread,意为宽频分码多重存取,这是基于GSM网发展出来的3G技术规范,是欧洲提出的宽带CDMA技术,它与日本提出的宽带CDMA技术基本相 同,目前正在进一步融合。W-CDMA的支持者主要是以GSM系统为主的欧洲厂商,日本公司也或多或少参与其中,包括欧美的爱立信、阿尔卡特、<span class=\"t_tag\" onclick=\"tagshow(event)\" href=\"http://mbbs.enet.com.cn/tag.php?name=%C5%B5%BB%F9%D1%C7\">诺基亚</span>、 朗讯、北电,以及日本的NTT、富士通、夏普等厂商。 该标准提出了GSM(2G)-GPRS-EDGE-WCDMA(3G)的演进策略。这套系统能够架设在现有的GSM网络上,对于系统提供商而言可以较轻易 地过渡,但是GSM系统相当普及的亚洲对这套新技术的接受度预料会相当高。因此W-CDMA具有先天的市场优势。<br />\n</font><br />\n<br />\n<font color=\"black\">   </font><br />\n<font color=\"black\">(2)CDMA2000</font><font color=\"black\"><br />\n</font><br />\n<br />\n<font color=\"black\">  CDMA2000是由窄带CDMA(CDMA IS95)技术发展而来的宽带CDMA技术,也称为CDMA Multi-Carrier,它是由美国高通北美公司为主导提出,<span class=\"t_tag\" onclick=\"tagshow(event)\" href=\"http://mbbs.enet.com.cn/tag.php?name=%C4%A6%CD%D0%C2%DE%C0%AD\">摩托罗拉</span>、Lucent 和后来加入的韩国三星都有参与,韩国现在成为该标准的主导者。这套系统是从窄频CDMAOne数字标准衍生出来的,可以从原有的CDMAOne结构直接升 级到3G,建设成本低廉。但目前使用CDMA的地区只有日、韩和北美,所以CDMA2000的支持者不如W-CDMA多。不过CDMA2000的研发技术 却是目前各标准中进度最快的,许多3G手机已经率先面世。该标准提出了从CDMA IS95(2G)-CDMA20001x-CDMA20003x(3G)的演进策略。CDMA20001x被称为2.5代移动通信技术。 CDMA20003x与CDMA20001x的主要区别在于应用了多路载波技术,通过采用三载波使带宽提高。目前<span class=\"t_tag\" onclick=\"tagshow(event)\" href=\"http://mbbs.enet.com.cn/tag.php?name=%D6%D0%B9%FA%B5%E7%D0%C5\">中国电信</span>正在采用这一方案向3G过渡,并已建成了CDMA IS95网络。<br />\n</font><br />\n<br />\n<font color=\"black\">   </font><br />\n<font color=\"black\">(3)TD-SCDMA</font><font color=\"black\"><br />\n</font><br />\n<br />\n<font color=\"black\">  全称为Time Division - Synchronous CDMA(时分<span class=\"t_tag\" onclick=\"tagshow(event)\" href=\"http://mbbs.enet.com.cn/tag.php?name=%CD%AC%B2%BD\">同步</span>CDMA),该标准是由中国大陆独自制定的3G标准,1999年6月29日,中国原邮电部电信科学技术研究院(大唐电信)向ITU提出。该标准将智能无线、<span class=\"t_tag\" onclick=\"tagshow(event)\" href=\"http://mbbs.enet.com.cn/tag.php?name=%CD%AC%B2%BD\">同步</span>CDMA和<span class=\"t_tag\" onclick=\"tagshow(event)\" href=\"http://mbbs.enet.com.cn/tag.php?name=%C8%ED%BC%FE\">软件</span>无 线电等当今国际领先技术融于其中,在频谱利用率、对业务支持具有灵活性、频率灵活性及成本等方面的独特优势。另外,由于中国内的庞大的市场,该标准受到各 大主要电信设备厂商的重视,全球一半以上的设备厂商都宣布可以支持TD&mdash;SCDMA标准。 该标准提出不经过2.5代的中间环节,直接向3G过渡,非常适用于GSM系统向3G升级。<br />\n</font><br />\n<br />\n<font color=\"black\">   </font><br />\n<font color=\"black\">(4)WiMAX</font><font color=\"black\"><br />\n</font><br />\n<br />\n<font color=\"black\">  WiMAX 的全名是微波存取全球互通(Worldwide Interoperability for Microwave Access),又称为802&middot;16无线城域网,是又一种为企业和家庭用户提供&ldquo;最后一英里&rdquo;的宽带无线连接方案。将此技术与需要授权或免授权的微波设备 相结合之后,由于成本较低,将扩大宽带无线市场,改善企业与服务供应商的认知度。2007年10月19日,国际电信联盟在日内瓦举行的无线通信全体会议 上,经过多数国家投票通过,WiMAX正式被批准成为继WCDMA、CDMA2000和TD-SCDMA之后的第四个全球3G标准。</font></div>\n</p>','','','',0,1,1242580013,'',0,'http://',NULL),(35,4,'“沃”的世界我做主','<p><strong>导语:<br />\n<br />\n</strong>&nbsp;&nbsp;&nbsp;&nbsp;今年5月17日,是每年一度的世界电信日。同时,也是值得中国人民高兴的日子。昨天,中国联通企业品牌下的全品牌业务&ldquo;沃&rdquo;开始试商用,这也就意味着继中国移动、中国电信之后,国内第三种3G网络将要走入我们的生活,为我们带来更加快速便捷的通信服务。<br />\n<br />\n&nbsp;&nbsp;&nbsp;&nbsp;沃,意味着此品牌将为用户提供一个丰盈的平台,为个人客户、家庭客户、集团客户和企业服务提供全面的支撑,它代表着中国联通全新的服务理念和创新的品牌精神,在3G时代,为客户提供精彩的信息化服务。<br />\n<br />\n&nbsp;&nbsp;&nbsp;&nbsp;下面小编为各位介绍几款各大手机品牌专为&ldquo;沃&rdquo;打造的定制机型,为您迎接&ldquo;沃&rdquo;的到来做好充分准备。</p>\n<p><strong>诺基亚6210si<br />\n<br />\n</strong>&nbsp;&nbsp;&nbsp;&nbsp;诺基亚6210s大家肯定不陌生,经典的滑盖导航手机。其实6210si 与6210s外观、参数、硬件配置几乎完全一样,只不过在6210s的基础上,增加了对WCDMA网络的支持,成为中国联通定制手机。6210si采用诺 基亚经典的滑盖机身设计,机身面板为钢琴烤漆材质,高贵优雅。机身背板则为磨砂外观工程塑料材质,美观的同时增加了手机与手掌间的摩擦系数,防止使用中手 机滑落。</p>\n<p><strong>摩托罗拉A3100<br />\n</strong><br />\n&nbsp;&nbsp;&nbsp;&nbsp;作为摩托罗拉旗下为中国联通定制的A3100,它有着经典的鹅卵石造型, 大气稳重。从最初的U6,到U9再到A3100,鹅卵石的辉煌依旧。A3100有着高贵的血统,钢琴烤漆黑色面板,金属拉丝机身以及 Windows&nbsp;Mobile&nbsp;6.1&nbsp;Professional操作系统,都告诉我们它绝对是一部不可多得的好手机。</p>\n<p><br />\n<strong>三星S7520U<br />\n</strong><br />\n&nbsp;&nbsp;&nbsp;&nbsp;三星S7520U外观造型时尚,镜面设计以及超薄的 98.4&times;55&times;11.6mm金属机身,更适合女性朋友使用。通观机身,最显眼的就要数这3.0英寸的超大触摸屏幕了,400x240的WQGVA级别分 辨率,能够比QVGA级别屏幕显示更为细腻,细节表现力更强。500万像素摄像头说明了该机还是一名拍照能手,捕捉精彩瞬间不在话下。</p>','','','',0,0,1242974613,'',0,'http://',NULL);
/*!40000 ALTER TABLE `ecs_article` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_article_cat`
--

DROP TABLE IF EXISTS `ecs_article_cat`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_article_cat` (
  `cat_id` smallint(5) NOT NULL AUTO_INCREMENT,
  `cat_name` varchar(255) NOT NULL DEFAULT '',
  `cat_type` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `keywords` varchar(255) NOT NULL DEFAULT '',
  `cat_desc` varchar(255) NOT NULL DEFAULT '',
  `sort_order` tinyint(3) unsigned NOT NULL DEFAULT '50',
  `show_in_nav` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `parent_id` smallint(5) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`cat_id`),
  KEY `cat_type` (`cat_type`),
  KEY `sort_order` (`sort_order`),
  KEY `parent_id` (`parent_id`)
) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_article_cat`
--

LOCK TABLES `ecs_article_cat` WRITE;
/*!40000 ALTER TABLE `ecs_article_cat` DISABLE KEYS */;
INSERT INTO `ecs_article_cat` VALUES (1,'系统分类',2,'','系统保留分类',50,0,0),(2,'网店信息',3,'','网店信息分类',50,0,1),(3,'网店帮助分类',4,'','网店帮助分类',50,0,1),(4,'3G资讯',1,'','',50,0,0),(5,'新手上路 ',5,'','',50,0,3),(6,'手机常识 ',5,'','手机常识 ',50,0,3),(7,'配送与支付 ',5,'','配送与支付 ',50,0,3),(8,'服务保证 ',5,'','',50,0,3),(9,'联系我们 ',5,'','联系我们 ',50,0,3),(10,'会员中心',5,'','',50,0,3),(11,'手机促销',1,'','',50,0,0),(12,'站内快讯',1,'','',50,0,0);
/*!40000 ALTER TABLE `ecs_article_cat` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_attribute`
--

DROP TABLE IF EXISTS `ecs_attribute`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_attribute` (
  `attr_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `cat_id` smallint(5) unsigned NOT NULL DEFAULT '0',
  `attr_name` varchar(60) NOT NULL DEFAULT '',
  `attr_input_type` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `attr_type` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `attr_values` text NOT NULL,
  `attr_index` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `sort_order` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `is_linked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `attr_group` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`attr_id`),
  KEY `cat_id` (`cat_id`)
) ENGINE=MyISAM AUTO_INCREMENT=211 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_attribute`
--

LOCK TABLES `ecs_attribute` WRITE;
/*!40000 ALTER TABLE `ecs_attribute` DISABLE KEYS */;
INSERT INTO `ecs_attribute` VALUES (1,1,'作者',0,0,'',0,0,0,0),(2,1,'出版社',0,0,'',0,0,0,0),(3,1,'图书书号/ISBN',0,0,'',0,0,0,0),(4,1,'出版日期',0,0,'',0,0,0,0),(5,1,'开本',0,0,'',0,0,0,0),(6,1,'图书页数',0,0,'',0,0,0,0),(7,1,'图书装订',1,0,'平装\r\n黑白',0,0,0,0),(8,1,'图书规格',0,0,'',0,0,0,0),(9,1,'版次',0,0,'',0,0,0,0),(10,1,'印张',0,0,'',0,0,0,0),(11,1,'字数',0,0,'',0,0,0,0),(12,1,'所属分类',0,0,'',0,0,0,0),(13,2,'中文片名',0,0,'',0,0,0,0),(14,2,'英文片名',0,0,'',0,0,0,0),(15,2,'商品别名',0,0,'',0,0,0,0),(16,2,'介质/格式',1,0,'HDCD\r\nDTS\r\nDVD\r\nDVD9\r\nVCD\r\nCD\r\nTAPE\r\nLP',0,0,0,0),(17,2,'片装数',0,0,'',0,0,0,0),(18,2,'国家地区',0,0,'',0,0,0,0),(19,2,'语种',1,0,'中文\r\n英文\r\n法文\r\n西班牙文',0,0,0,0),(20,2,'导演/指挥',0,0,'',0,0,0,0),(21,2,'主唱',0,0,'',0,0,0,0),(22,2,'所属类别',1,0,'古典\r\n流行\r\n摇滚\r\n乡村\r\n民谣\r\n爵士\r\n蓝调\r\n电子\r\n舞曲\r\n国乐\r\n民族\r\n怀旧\r\n经典\r\n人声\r\n合唱\r\n发烧\r\n试音\r\n儿童\r\n胎教\r\n轻音乐\r\n世界音乐\r\n庆典音乐\r\n影视音乐\r\n新世纪音乐\r\n大自然音乐',0,0,0,0),(23,2,'长度',0,0,'',0,0,0,0),(24,2,'歌词',1,0,'有\r\n无',0,0,0,0),(25,2,'碟片代码',0,0,'',0,0,0,0),(26,2,'ISRC码',0,0,'',0,0,0,0),(27,2,'发行公司',0,0,'',0,0,0,0),(28,2,'出版',0,0,'',0,0,0,0),(29,2,'出版号',0,0,'',0,0,0,0),(30,2,'引进号',0,0,'',0,0,0,0),(31,2,'版权号',0,0,'',0,0,0,0),(32,3,'中文片名',0,0,'',0,0,0,0),(33,3,'英文片名',0,0,'',0,0,0,0),(34,3,'商品别名',0,0,'',0,0,0,0),(35,3,'介质/格式',1,0,'HDCD\r\nDTS\r\nDVD\r\nDVD9\r\nVCD',0,0,0,0),(36,3,'碟片类型',1,0,'单面\r\n双层',0,0,0,0),(37,3,'片装数',0,0,'',0,0,0,0),(38,3,'国家地区',0,0,'',0,0,0,0),(39,3,'语种/配音',1,0,'中文\r\n英文\r\n法文\r\n西班牙文',0,0,0,0),(40,3,'字幕',0,0,'',0,0,0,0),(41,3,'色彩',0,0,'',0,0,0,0),(42,3,'中文字幕',1,0,'有\r\n无',0,0,0,0),(43,3,'导演',0,0,'',0,0,0,0),(44,3,'表演者',0,0,'',0,0,0,0),(45,3,'所属类别',1,0,'爱情\r\n偶像\r\n生活\r\n社会\r\n科幻\r\n神话\r\n武侠\r\n动作\r\n惊险\r\n恐怖\r\n传奇\r\n人物\r\n侦探\r\n警匪\r\n历史\r\n军事\r\n戏剧\r\n舞台\r\n经典\r\n名著\r\n喜剧\r\n情景\r\n动漫\r\n卡通\r\n儿童\r\n伦理激情',0,0,0,0),(46,3,'年份',0,0,'',0,0,0,0),(47,3,'音频格式',0,0,'',0,0,0,0),(48,3,'区码',0,0,'',0,0,0,0),(49,3,'碟片代码',0,0,'',0,0,0,0),(50,3,'ISRC码',0,0,'',0,0,0,0),(51,3,'发行公司',0,0,'',0,0,0,0),(52,3,'出版 ',0,0,'',0,0,0,0),(53,3,'出版号',0,0,'',0,0,0,0),(54,3,'引进号',0,0,'',0,0,0,0),(55,3,'版权号',0,0,'',0,0,0,0),(56,4,'网络制式',0,0,'',0,0,0,0),(57,4,'支持频率/网络频率',0,0,'',0,0,0,0),(58,4,'尺寸体积',1,0,'   ',0,0,0,0),(59,4,'外观样式/手机类型',1,0,'翻盖\r\n滑盖\r\n直板\r\n折叠\r\n手写',0,0,0,0),(60,4,'主屏参数/内屏参数',0,0,'',0,0,0,0),(61,4,'副屏参数/外屏参数',0,0,'',0,0,0,0),(62,4,'清晰度',0,0,'',0,0,0,0),(63,4,'色数/灰度',1,0,'   ',0,0,0,0),(64,4,'长度',0,0,'',0,0,0,0),(65,4,'宽度',0,0,'',0,0,0,0),(66,4,'厚度',0,0,'',0,0,0,0),(67,4,'屏幕材质',0,0,'',0,0,0,0),(68,4,'内存容量',0,0,'',0,0,0,0),(69,4,'操作系统',0,0,'',0,0,0,0),(70,4,'通话时间',0,0,'',0,0,0,0),(71,4,'待机时间',0,0,'',0,0,0,0),(72,4,'标准配置',0,0,'',0,0,0,0),(73,4,'WAP上网',0,0,'',0,0,0,0),(74,4,'数据业务',0,0,'',0,0,0,0),(75,4,'天线位置',1,0,'内置\r\n外置',0,0,0,0),(76,4,'随机配件',0,0,'',0,0,0,0),(77,4,'铃声',0,0,'',0,0,0,0),(78,4,'摄像头',0,0,'',0,0,0,0),(79,4,'彩信/彩e',1,0,'支持\r\n不支持',0,0,0,0),(80,4,'红外/蓝牙',0,0,'',0,0,0,0),(81,4,'价格等级',1,0,'高价机\r\n中价机\r\n低价机',0,0,0,0),(82,5,'型号',0,0,'',0,0,0,0),(83,5,'详细规格',0,0,'',0,0,0,0),(84,5,'笔记本尺寸',0,0,'',0,0,0,0),(85,5,'处理器类型',0,0,'',0,0,0,0),(86,5,'处理器最高主频',0,0,'',0,0,0,0),(87,5,'二级缓存',0,0,'',0,0,0,0),(88,5,'系统总线',0,0,'',0,0,0,0),(89,5,'主板芯片组',0,0,'',0,0,0,0),(90,5,'内存容量',0,0,'',0,0,0,0),(91,5,'内存类型',0,0,'',0,0,0,0),(92,5,'硬盘',0,0,'',0,0,0,0),(93,5,'屏幕尺寸',0,0,'',0,0,0,0),(94,5,'显示芯片',0,0,'',0,0,0,0),(95,5,'标称频率',0,0,'',0,0,0,0),(96,5,'显卡显存',0,0,'',0,0,0,0),(97,5,'显卡类型',0,0,'',0,0,0,0),(98,5,'光驱类型',0,0,'',0,0,0,0),(99,5,'电池容量',0,0,'',0,0,0,0),(100,5,'其他配置',0,0,'',0,0,0,0),(101,6,'类型',0,0,'',0,0,0,0),(102,6,'最大像素/总像素  ',0,0,'',0,0,0,0),(103,6,'有效像素',1,0,'  ',0,0,0,0),(104,6,'光学变焦倍数',0,0,'',0,0,0,0),(105,6,'数字变焦倍数',0,0,'',0,0,0,0),(106,6,'操作模式',0,0,'',0,0,0,0),(107,6,'显示屏类型',0,0,'',0,0,0,0),(108,6,'显示屏尺寸',0,0,'',0,0,0,0),(109,6,'感光器件',0,0,'',0,0,0,0),(110,6,'感光器件尺寸',0,0,'',0,0,0,0),(111,6,'最高分辨率',0,0,'',0,0,0,0),(112,6,'图像分辨率',0,0,'',0,0,0,0),(113,6,'传感器类型',0,0,'',0,0,0,0),(114,6,'传感器尺寸',0,0,'',0,0,0,0),(115,6,'镜头',0,0,'',0,0,0,0),(116,6,'光圈',0,0,'',0,0,0,0),(117,6,'焦距',0,0,'',0,0,0,0),(118,6,'旋转液晶屏',1,0,'支持\r\n不支持',0,0,0,0),(119,6,'存储介质',0,0,'',0,0,0,0),(120,6,'存储卡',1,0,'  记录媒体\r\n存储卡容量',0,0,0,0),(121,6,'影像格式',1,0,'    静像\r\n动画',0,0,0,0),(122,6,'曝光控制',0,0,'',0,0,0,0),(123,6,'曝光模式',0,0,'',0,0,0,0),(124,6,'曝光补偿',0,0,'',0,0,0,0),(125,6,'白平衡',0,0,'',0,0,0,0),(126,6,'连拍',0,0,'',0,0,0,0),(127,6,'快门速度',0,0,'',0,0,0,0),(128,6,'闪光灯',1,0,'内置\r\n外置',0,0,0,0),(129,6,'拍摄范围',1,0,'  ',0,0,0,0),(130,6,'自拍定时器',0,0,'',0,0,0,0),(131,6,'ISO感光度',0,0,'',0,0,0,0),(132,6,'测光模式',0,0,'',0,0,0,0),(133,6,'场景模式',0,0,'',0,0,0,0),(134,6,'短片拍摄',0,0,'',0,0,0,0),(135,6,'外接接口',0,0,'',0,0,0,0),(136,6,'电源',0,0,'',0,0,0,0),(137,6,'电池使用时间',0,0,'',0,0,0,0),(138,6,'外形尺寸',0,0,'',0,0,0,0),(139,6,'标配软件',0,0,'',0,0,0,0),(140,6,'标准配件',0,0,'',0,0,0,0),(141,6,'兼容操作系统',0,0,'',0,0,0,0),(142,7,'编号',0,0,'',0,0,0,0),(143,7,'类型',0,0,'',0,0,0,0),(144,7,'外型尺寸',0,0,'',0,0,0,0),(145,7,'最大像素数',0,0,'',0,0,0,0),(146,7,'光学变焦倍数',0,0,'',0,0,0,0),(147,7,'数字变焦倍数',0,0,'',0,0,0,0),(148,7,'显示屏尺寸及类型',0,0,'',0,0,0,0),(149,7,'感光器件',0,0,'',0,0,0,0),(150,7,'感光器件尺寸',0,0,'',0,0,0,0),(151,7,'感光器件数量',0,0,'',0,0,0,0),(152,7,'像素范围',0,0,'',0,0,0,0),(153,7,'传感器数量',0,0,'',0,0,0,0),(154,7,'传感器尺寸',0,0,'',0,0,0,0),(155,7,'水平清晰度',0,0,'',0,0,0,0),(156,7,'取景器',0,0,'',0,0,0,0),(157,7,'数码效果',0,0,'',0,0,0,0),(158,7,'镜头性能',0,0,'',0,0,0,0),(159,7,'对焦方式',0,0,'',0,0,0,0),(160,7,'曝光控制',0,0,'',0,0,0,0),(161,7,'其他接口',0,0,'',0,0,0,0),(162,7,'随机存储',0,0,'',0,0,0,0),(163,7,'电池类型',0,0,'',0,0,0,0),(164,7,'电池供电时间',0,0,'',0,0,0,0),(165,8,'产地',0,0,'',0,0,0,0),(166,8,'产品规格/容量',0,0,'',0,0,0,0),(167,8,'主要原料',0,0,'',0,0,0,0),(168,8,'所属类别',1,0,'彩妆\r\n化妆工具\r\n护肤品\r\n香水',0,0,0,0),(169,8,'使用部位',0,0,'',0,0,0,0),(170,8,'适合肤质',1,0,'油性\r\n中性\r\n干性',0,0,0,0),(171,8,'适用人群',1,0,'女性\r\n男性',0,0,0,0),(172,9,'上市日期',1,0,'2008年01月\r\n2008年02月\r\n2008年03月\r\n2008年04月\r\n2008年05月\r\n2008年06月\r\n2008年07月\r\n2008年08月\r\n2008年09月\r\n2008年10月\r\n2008年11月\r\n2008年12月\r\n2007年01月\r\n2007年02月\r\n2007年03月\r\n2007年04月\r\n2007年05月\r\n2007年06月\r\n2007年07月\r\n2007年08月\r\n2007年09月\r\n2007年10月\r\n2007年11月\r\n2007年12月',1,0,0,0),(173,9,'手机制式',1,0,'GSM,850,900,1800,1900\r\nGSM,900,1800,1900,2100\r\nCDMA\r\n双模(GSM,900,1800,CDMA 1X)\r\n3G(GSM,900,1800,1900,TD-SCDMA )',1,1,1,0),(174,9,'理论通话时间',0,0,'',0,2,0,0),(175,9,'理论待机时间',0,0,'',0,3,0,0),(176,9,'铃声',0,0,'',0,4,0,0),(177,9,'铃声格式',0,0,'',0,5,0,0),(178,9,'外观样式',1,0,'翻盖\r\n滑盖\r\n直板\r\n折叠',1,6,1,0),(179,9,'中文短消息',0,0,'',0,7,0,0),(180,9,'存储卡格式',0,0,'',0,0,0,0),(181,9,'内存容量',0,0,'',2,0,0,0),(182,9,'操作系统',0,0,'',0,0,0,0),(183,9,'K-JAVA',0,0,'',0,0,0,0),(184,9,'尺寸体积',0,0,'',0,0,0,0),(185,9,'颜色',1,1,'黑色\r\n白色\r\n蓝色\r\n金色\r\n粉色\r\n银色\r\n灰色\r\n深李色\r\n黑红色\r\n黑蓝色\r\n白紫色',1,0,0,0),(186,9,'屏幕颜色',1,0,'1600万\r\n262144万',1,0,1,1),(187,9,'屏幕材质',1,0,'TFT',0,0,0,1),(188,9,'屏幕分辨率',1,0,'320×240 像素\r\n240×400 像素\r\n240×320 像素\r\n176x220 像素',1,0,0,1),(189,9,'屏幕大小',0,0,'',0,0,0,1),(190,9,'中文输入法',0,0,'',0,0,0,2),(191,9,'情景模式',0,0,'',0,0,0,2),(192,9,'网络链接',0,0,'',0,0,0,2),(193,9,'蓝牙接口',0,0,'',0,0,0,0),(194,9,'数据线接口',0,0,'',0,0,0,2),(195,9,'电子邮件',0,0,'',0,0,0,2),(196,9,'闹钟',0,0,'',0,35,0,4),(197,9,'办公功能',0,0,'',0,0,0,4),(198,9,'数码相机',0,0,'',1,0,0,3),(199,9,'像素',0,0,'',0,0,0,3),(200,9,'传感器',0,0,'',0,0,0,0),(201,9,'变焦模式',0,0,'',0,0,0,3),(202,9,'视频拍摄',0,0,'',0,0,0,3),(203,9,'MP3播放器',0,0,'',0,0,0,3),(204,9,'视频播放',0,0,'',0,0,0,3),(205,9,'CPU频率',0,0,'',0,0,0,0),(206,9,'收音机',0,0,'',0,0,0,3),(207,9,'耳机接口',0,0,'',0,0,0,3),(208,9,'闪光灯',0,0,'',0,0,0,3),(209,9,'浏览器',0,0,'',0,0,0,2),(210,9,'配件',1,2,'线控耳机\r\n蓝牙耳机\r\n数据线',0,0,0,0);
/*!40000 ALTER TABLE `ecs_attribute` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_auction_log`
--

DROP TABLE IF EXISTS `ecs_auction_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_auction_log` (
  `log_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `act_id` mediumint(8) unsigned NOT NULL,
  `bid_user` mediumint(8) unsigned NOT NULL,
  `bid_price` decimal(10,2) unsigned NOT NULL,
  `bid_time` int(10) unsigned NOT NULL,
  PRIMARY KEY (`log_id`),
  KEY `act_id` (`act_id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_auction_log`
--

LOCK TABLES `ecs_auction_log` WRITE;
/*!40000 ALTER TABLE `ecs_auction_log` DISABLE KEYS */;
INSERT INTO `ecs_auction_log` VALUES (1,4,1,170.00,1242144083);
/*!40000 ALTER TABLE `ecs_auction_log` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_auto_manage`
--

DROP TABLE IF EXISTS `ecs_auto_manage`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_auto_manage` (
  `item_id` mediumint(8) NOT NULL,
  `type` varchar(10) NOT NULL,
  `starttime` int(10) NOT NULL,
  `endtime` int(10) NOT NULL,
  PRIMARY KEY (`item_id`,`type`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_auto_manage`
--

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

--
-- Table structure for table `ecs_back_goods`
--

DROP TABLE IF EXISTS `ecs_back_goods`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_back_goods` (
  `rec_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `back_id` mediumint(8) unsigned DEFAULT '0',
  `goods_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `product_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `product_sn` varchar(60) DEFAULT NULL,
  `goods_name` varchar(120) DEFAULT NULL,
  `brand_name` varchar(60) DEFAULT NULL,
  `goods_sn` varchar(60) DEFAULT NULL,
  `is_real` tinyint(1) unsigned DEFAULT '0',
  `send_number` smallint(5) unsigned DEFAULT '0',
  `goods_attr` text,
  PRIMARY KEY (`rec_id`),
  KEY `back_id` (`back_id`),
  KEY `goods_id` (`goods_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_back_goods`
--

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

--
-- Table structure for table `ecs_back_order`
--

DROP TABLE IF EXISTS `ecs_back_order`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_back_order` (
  `back_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `delivery_sn` varchar(20) NOT NULL,
  `order_sn` varchar(20) NOT NULL,
  `order_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `invoice_no` varchar(50) DEFAULT NULL,
  `add_time` int(10) unsigned DEFAULT '0',
  `shipping_id` tinyint(3) unsigned DEFAULT '0',
  `shipping_name` varchar(120) DEFAULT NULL,
  `user_id` mediumint(8) unsigned DEFAULT '0',
  `action_user` varchar(30) DEFAULT NULL,
  `consignee` varchar(60) DEFAULT NULL,
  `address` varchar(250) DEFAULT NULL,
  `country` smallint(5) unsigned DEFAULT '0',
  `province` smallint(5) unsigned DEFAULT '0',
  `city` smallint(5) unsigned DEFAULT '0',
  `district` smallint(5) unsigned DEFAULT '0',
  `sign_building` varchar(120) DEFAULT NULL,
  `email` varchar(60) DEFAULT NULL,
  `zipcode` varchar(60) DEFAULT NULL,
  `tel` varchar(60) DEFAULT NULL,
  `mobile` varchar(60) DEFAULT NULL,
  `best_time` varchar(120) DEFAULT NULL,
  `postscript` varchar(255) DEFAULT NULL,
  `how_oos` varchar(120) DEFAULT NULL,
  `insure_fee` decimal(10,2) unsigned DEFAULT '0.00',
  `shipping_fee` decimal(10,2) unsigned DEFAULT '0.00',
  `update_time` int(10) unsigned DEFAULT '0',
  `suppliers_id` smallint(5) DEFAULT '0',
  `status` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `return_time` int(10) unsigned DEFAULT '0',
  `agency_id` smallint(5) unsigned DEFAULT '0',
  PRIMARY KEY (`back_id`),
  KEY `user_id` (`user_id`),
  KEY `order_id` (`order_id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_back_order`
--

LOCK TABLES `ecs_back_order` WRITE;
/*!40000 ALTER TABLE `ecs_back_order` DISABLE KEYS */;
INSERT INTO `ecs_back_order` VALUES (1,'20090615054961769','2009061585887',15,'2009061585884',1245044533,3,'',1,'admin','刘先生','海兴大厦',1,2,52,502,'','ecshop@ecshop.com','','010-25851234','13986765412','','','等待所有商品备齐后再发',0.00,10.00,1245044964,2,0,1245045515,0),(2,'20090615055104671','2009061585887',15,'20090615',1245044533,3,'',1,'admin','刘先生','海兴大厦',1,2,52,502,'','ecshop@ecshop.com','','010-25851234','13986765412','','','等待所有商品备齐后再发',0.00,10.00,1245045061,1,0,1245045515,0),(3,'20090615055780744','2009061585887',15,'123232',1245044533,3,'',1,'admin','刘先生','海兴大厦',1,2,52,502,'','ecshop@ecshop.com','','010-25851234','13986765412','','','等待所有商品备齐后再发',0.00,10.00,1245045443,0,0,1245045515,0),(4,'20090615064331475','2009061503335',17,'00906150333512',1245047978,3,'',1,'admin','刘先生','海兴大厦',1,2,52,502,'','ecshop@ecshop.com','','010-25851234','13986765412','','','等待所有商品备齐后再发',0.00,10.00,1245048189,0,0,1245048212,0);
/*!40000 ALTER TABLE `ecs_back_order` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_bonus_type`
--

DROP TABLE IF EXISTS `ecs_bonus_type`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_bonus_type` (
  `type_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `type_name` varchar(60) NOT NULL DEFAULT '',
  `type_money` decimal(10,2) NOT NULL DEFAULT '0.00',
  `send_type` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `min_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00',
  `max_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00',
  `send_start_date` int(11) NOT NULL DEFAULT '0',
  `send_end_date` int(11) NOT NULL DEFAULT '0',
  `use_start_date` int(11) NOT NULL DEFAULT '0',
  `use_end_date` int(11) NOT NULL DEFAULT '0',
  `min_goods_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00',
  PRIMARY KEY (`type_id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_bonus_type`
--

LOCK TABLES `ecs_bonus_type` WRITE;
/*!40000 ALTER TABLE `ecs_bonus_type` DISABLE KEYS */;
INSERT INTO `ecs_bonus_type` VALUES (1,'用户红包',2.00,0,0.00,0.00,1242057600,1244736000,1242057600,1250006400,500.00),(2,'商品红包',10.00,1,0.00,0.00,1241971200,1250352000,1242057600,1250006400,500.00),(3,'订单红包',20.00,2,1500.00,0.00,1242057600,1309363200,1242057600,1257955200,800.00),(4,'线下红包',5.00,3,0.00,0.00,1242057600,1244736000,1242057600,1255449600,360.00);
/*!40000 ALTER TABLE `ecs_bonus_type` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_booking_goods`
--

DROP TABLE IF EXISTS `ecs_booking_goods`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_booking_goods` (
  `rec_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `email` varchar(60) NOT NULL DEFAULT '',
  `link_man` varchar(60) NOT NULL DEFAULT '',
  `tel` varchar(60) NOT NULL DEFAULT '',
  `goods_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `goods_desc` varchar(255) NOT NULL DEFAULT '',
  `goods_number` smallint(5) unsigned NOT NULL DEFAULT '0',
  `booking_time` int(10) unsigned NOT NULL DEFAULT '0',
  `is_dispose` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `dispose_user` varchar(30) NOT NULL DEFAULT '',
  `dispose_time` int(10) unsigned NOT NULL DEFAULT '0',
  `dispose_note` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`rec_id`),
  KEY `user_id` (`user_id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_booking_goods`
--

LOCK TABLES `ecs_booking_goods` WRITE;
/*!40000 ALTER TABLE `ecs_booking_goods` DISABLE KEYS */;
INSERT INTO `ecs_booking_goods` VALUES (1,1,'ecshop@ecshop.com','刘先生','13986765412',19,'可以补货吗?\n我想要一个',1,1242142762,0,'',0,''),(2,3,'text@ecshop.com','叶先生','13588104710',17,'什么时候有货',1,1242143592,0,'',0,'');
/*!40000 ALTER TABLE `ecs_booking_goods` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_brand`
--

DROP TABLE IF EXISTS `ecs_brand`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_brand` (
  `brand_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `brand_name` varchar(60) NOT NULL DEFAULT '',
  `brand_logo` varchar(80) NOT NULL DEFAULT '',
  `brand_desc` text NOT NULL,
  `site_url` varchar(255) NOT NULL DEFAULT '',
  `sort_order` tinyint(3) unsigned NOT NULL DEFAULT '50',
  `is_show` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`brand_id`),
  KEY `is_show` (`is_show`)
) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_brand`
--

LOCK TABLES `ecs_brand` WRITE;
/*!40000 ALTER TABLE `ecs_brand` DISABLE KEYS */;
INSERT INTO `ecs_brand` VALUES (1,'诺基亚','1240803062307572427.gif','公司网站:http://www.nokia.com.cn/\n\n客服电话:400-880-0123','http://www.nokia.com.cn/',50,1),(2,'摩托罗拉','1240802922410634065.gif','官方咨询电话:4008105050\n售后网点:http://www.motorola.com.cn/service/carecenter/search.asp ','http://www.motorola.com.cn',50,1),(3,'多普达','1240803144788047486.gif','官方咨询电话:4008201668\n售后网点:http://www.dopod.com/pc/service/searchresult2.php ','http://www.dopod.com ',50,1),(4,'飞利浦','1240803247838195732.gif','官方咨询电话:4008800008\n售后网点:http://www.philips.com.cn/service/mustservice/index.page ','http://www.philips.com.cn ',50,1),(5,'夏新','1240803352280856940.gif','官方咨询电话:4008875777\n售后网点:http://www.amobile.com.cn/service_fwyzc.asp ','http://www.amobile.com.cn',50,1),(6,'三星','1240803412367015368.gif','官方咨询电话:8008105858\n售后网点:http://cn.samsungmobile.com/cn/support/search_area_o.jsp ','http://cn.samsungmobile.com',50,1),(7,'索爱','1240803482283160654.gif','官方咨询电话:4008100000\n售后网点:http://www.sonyericsson.com/cws/common/contact?cc=cn&lc=zh ','http://www.sonyericsson.com.cn/',50,1),(8,'LG','1240803526904622792.gif','官方咨询电话:4008199999\n售后网点:http://www.lg.com.cn/front.support.svccenter.retrieveCenter.laf?hrefId=9 ','http://cn.wowlg.com',50,1),(9,'联想','1240803578417877983.gif','官方咨询电话:4008188818\n售后网点:http://www.lenovomobile.com/service/kf-wanglou.asp','http://www.lenovomobile.com/',50,1),(10,'金立','','官方咨询电话:4007796666\n售后网点:http://www.gionee.net/service.asp ','http://www.gionee.net',50,1),(11,'  恒基伟业','1240803736391383580.gif','官方咨询电话:4008899126\n售后网点:http://www.htwchina.com/htwt/wexiu.shtml ','http://www.htwchina.com',50,1);
/*!40000 ALTER TABLE `ecs_brand` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_card`
--

DROP TABLE IF EXISTS `ecs_card`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_card` (
  `card_id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
  `card_name` varchar(120) NOT NULL DEFAULT '',
  `card_img` varchar(255) NOT NULL DEFAULT '',
  `card_fee` decimal(6,2) unsigned NOT NULL DEFAULT '0.00',
  `free_money` decimal(6,2) unsigned NOT NULL DEFAULT '0.00',
  `card_desc` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`card_id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_card`
--

LOCK TABLES `ecs_card` WRITE;
/*!40000 ALTER TABLE `ecs_card` DISABLE KEYS */;
INSERT INTO `ecs_card` VALUES (1,'祝福贺卡','1242108754847457261.jpg',5.00,1000.00,'把您的祝福带给您身边的人');
/*!40000 ALTER TABLE `ecs_card` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_cart`
--

DROP TABLE IF EXISTS `ecs_cart`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_cart` (
  `rec_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `session_id` char(32) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
  `goods_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `goods_sn` varchar(60) NOT NULL DEFAULT '',
  `product_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `goods_name` varchar(120) NOT NULL DEFAULT '',
  `market_price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00',
  `goods_price` decimal(10,2) NOT NULL DEFAULT '0.00',
  `goods_number` smallint(5) unsigned NOT NULL DEFAULT '0',
  `goods_attr` text NOT NULL,
  `is_real` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `extension_code` varchar(30) NOT NULL DEFAULT '',
  `parent_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `rec_type` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_gift` smallint(5) unsigned NOT NULL DEFAULT '0',
  `is_shipping` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `can_handsel` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `goods_attr_id` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`rec_id`),
  KEY `session_id` (`session_id`)
) ENGINE=MyISAM AUTO_INCREMENT=43 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_cart`
--

LOCK TABLES `ecs_cart` WRITE;
/*!40000 ALTER TABLE `ecs_cart` DISABLE KEYS */;
INSERT INTO `ecs_cart` VALUES (40,0,'50267c918cd909d345dc03549b4c2718',24,'ECS000024',0,'P806',2400.00,2000.00,1,'',1,'',0,0,0,0,0,'0'),(42,1,'bcbcc1492eca623e624aa93a978ee66d',24,'ECS000024',0,'P806',2400.00,100.00,5,'',1,'',0,1,0,0,0,'0');
/*!40000 ALTER TABLE `ecs_cart` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_cat_recommend`
--

DROP TABLE IF EXISTS `ecs_cat_recommend`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_cat_recommend` (
  `cat_id` smallint(5) NOT NULL,
  `recommend_type` tinyint(1) NOT NULL,
  PRIMARY KEY (`cat_id`,`recommend_type`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_cat_recommend`
--

LOCK TABLES `ecs_cat_recommend` WRITE;
/*!40000 ALTER TABLE `ecs_cat_recommend` DISABLE KEYS */;
INSERT INTO `ecs_cat_recommend` VALUES (3,1),(3,2),(3,3),(5,1),(5,2),(5,3),(12,1),(12,2),(12,3),(13,3),(14,2),(14,3),(15,1),(15,2);
/*!40000 ALTER TABLE `ecs_cat_recommend` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_category`
--

DROP TABLE IF EXISTS `ecs_category`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_category` (
  `cat_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `cat_name` varchar(90) NOT NULL DEFAULT '',
  `keywords` varchar(255) NOT NULL DEFAULT '',
  `cat_desc` varchar(255) NOT NULL DEFAULT '',
  `parent_id` smallint(5) unsigned NOT NULL DEFAULT '0',
  `sort_order` tinyint(1) unsigned NOT NULL DEFAULT '50',
  `template_file` varchar(50) NOT NULL DEFAULT '',
  `measure_unit` varchar(15) NOT NULL DEFAULT '',
  `show_in_nav` tinyint(1) NOT NULL DEFAULT '0',
  `style` varchar(150) NOT NULL,
  `is_show` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `grade` tinyint(4) NOT NULL DEFAULT '0',
  `filter_attr` varchar(255) NOT NULL DEFAULT '0',
  PRIMARY KEY (`cat_id`),
  KEY `parent_id` (`parent_id`)
) ENGINE=MyISAM AUTO_INCREMENT=16 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_category`
--

LOCK TABLES `ecs_category` WRITE;
/*!40000 ALTER TABLE `ecs_category` DISABLE KEYS */;
INSERT INTO `ecs_category` VALUES (1,'手机类型','','',0,50,'','',0,'',1,5,'172,185,178'),(2,'CDMA手机','','',1,50,'','',0,'',1,0,'6'),(3,'GSM手机','','',1,50,'','台',1,'',1,4,'185,189,173,178'),(4,'3G手机','','',1,50,'','',1,'',1,0,'28'),(5,'双模手机','','',1,50,'','',0,'',1,5,'18'),(6,'手机配件','','',0,50,'','',1,'',1,0,'0'),(7,'充电器','','',6,50,'','',0,'',1,0,'0'),(8,'耳机','','',6,50,'','',0,'',1,0,'0'),(9,'电池','','',6,50,'','',0,'',1,0,'0'),(11,'读卡器和内存卡','','',6,50,'','',0,'',1,0,'0'),(12,'充值卡','','',0,50,'','',0,'',1,0,'0'),(13,'小灵通/固话充值卡','','',12,50,'','',0,'',1,0,'0'),(14,'移动手机充值卡','','',12,50,'','',0,'',1,0,'0'),(15,'联通手机充值卡','','',12,50,'','',0,'',1,0,'0');
/*!40000 ALTER TABLE `ecs_category` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_collect_goods`
--

DROP TABLE IF EXISTS `ecs_collect_goods`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_collect_goods` (
  `rec_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `goods_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `add_time` int(11) unsigned NOT NULL DEFAULT '0',
  `is_attention` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`rec_id`),
  KEY `user_id` (`user_id`),
  KEY `goods_id` (`goods_id`),
  KEY `is_attention` (`is_attention`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_collect_goods`
--

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

--
-- Table structure for table `ecs_comment`
--

DROP TABLE IF EXISTS `ecs_comment`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_comment` (
  `comment_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `comment_type` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `id_value` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `email` varchar(60) NOT NULL DEFAULT '',
  `user_name` varchar(60) NOT NULL DEFAULT '',
  `content` text NOT NULL,
  `comment_rank` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `add_time` int(10) unsigned NOT NULL DEFAULT '0',
  `ip_address` varchar(15) NOT NULL DEFAULT '',
  `status` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `parent_id` int(10) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`comment_id`),
  KEY `parent_id` (`parent_id`),
  KEY `id_value` (`id_value`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_comment`
--

LOCK TABLES `ecs_comment` WRITE;
/*!40000 ALTER TABLE `ecs_comment` DISABLE KEYS */;
INSERT INTO `ecs_comment` VALUES (1,0,12,'ecshop@ecshop.com','ecshop','很好,我很喜欢',5,1242107120,'0.0.0.0',1,0,1),(2,0,22,'ecshop@ecshop.com','ecshop','这个我不是很适合我',5,1242107295,'0.0.0.0',0,0,1);
/*!40000 ALTER TABLE `ecs_comment` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_crons`
--

DROP TABLE IF EXISTS `ecs_crons`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_crons` (
  `cron_id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
  `cron_code` varchar(20) NOT NULL,
  `cron_name` varchar(120) NOT NULL,
  `cron_desc` text,
  `cron_order` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `cron_config` text NOT NULL,
  `thistime` int(10) NOT NULL DEFAULT '0',
  `nextime` int(10) NOT NULL,
  `day` tinyint(2) NOT NULL,
  `week` varchar(1) NOT NULL,
  `hour` varchar(2) NOT NULL,
  `minute` varchar(255) NOT NULL,
  `enable` tinyint(1) NOT NULL DEFAULT '1',
  `run_once` tinyint(1) NOT NULL DEFAULT '0',
  `allow_ip` varchar(100) NOT NULL DEFAULT '',
  `alow_files` varchar(255) NOT NULL,
  PRIMARY KEY (`cron_id`),
  KEY `nextime` (`nextime`),
  KEY `enable` (`enable`),
  KEY `cron_code` (`cron_code`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_crons`
--

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

--
-- Table structure for table `ecs_delivery_goods`
--

DROP TABLE IF EXISTS `ecs_delivery_goods`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_delivery_goods` (
  `rec_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `delivery_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `goods_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `product_id` mediumint(8) unsigned DEFAULT '0',
  `product_sn` varchar(60) DEFAULT NULL,
  `goods_name` varchar(120) DEFAULT NULL,
  `brand_name` varchar(60) DEFAULT NULL,
  `goods_sn` varchar(60) DEFAULT NULL,
  `is_real` tinyint(1) unsigned DEFAULT '0',
  `extension_code` varchar(30) DEFAULT NULL,
  `parent_id` mediumint(8) unsigned DEFAULT '0',
  `send_number` smallint(5) unsigned DEFAULT '0',
  `goods_attr` text,
  PRIMARY KEY (`rec_id`),
  KEY `delivery_id` (`delivery_id`,`goods_id`),
  KEY `goods_id` (`goods_id`)
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_delivery_goods`
--

LOCK TABLES `ecs_delivery_goods` WRITE;
/*!40000 ALTER TABLE `ecs_delivery_goods` DISABLE KEYS */;
INSERT INTO `ecs_delivery_goods` VALUES (1,1,13,0,NULL,'诺基亚5320 XpressMusic','诺基亚','ECS000013',1,'',0,3,NULL),(2,1,14,0,NULL,'诺基亚5800XM','诺基亚','ECS000014',1,'',0,1,NULL),(3,2,24,0,NULL,'P806','联想','ECS000024',1,'',0,3,NULL),(4,2,9,0,NULL,'诺基亚E66','诺基亚','ECS000009',1,'',0,1,NULL),(5,3,24,0,NULL,'P806','联想','ECS000024',1,'',0,1,NULL),(6,3,8,0,NULL,'飞利浦9@9v','飞利浦','ECS000008',1,'',0,3,NULL),(7,4,12,0,NULL,'摩托罗拉A810','摩托罗拉','ECS000012',1,'',0,2,NULL),(8,5,24,0,NULL,'P806','联想','ECS000024',1,'',0,1,NULL);
/*!40000 ALTER TABLE `ecs_delivery_goods` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_delivery_order`
--

DROP TABLE IF EXISTS `ecs_delivery_order`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_delivery_order` (
  `delivery_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `delivery_sn` varchar(20) NOT NULL,
  `order_sn` varchar(20) NOT NULL,
  `order_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `invoice_no` varchar(50) DEFAULT NULL,
  `add_time` int(10) unsigned DEFAULT '0',
  `shipping_id` tinyint(3) unsigned DEFAULT '0',
  `shipping_name` varchar(120) DEFAULT NULL,
  `user_id` mediumint(8) unsigned DEFAULT '0',
  `action_user` varchar(30) DEFAULT NULL,
  `consignee` varchar(60) DEFAULT NULL,
  `address` varchar(250) DEFAULT NULL,
  `country` smallint(5) unsigned DEFAULT '0',
  `province` smallint(5) unsigned DEFAULT '0',
  `city` smallint(5) unsigned DEFAULT '0',
  `district` smallint(5) unsigned DEFAULT '0',
  `sign_building` varchar(120) DEFAULT NULL,
  `email` varchar(60) DEFAULT NULL,
  `zipcode` varchar(60) DEFAULT NULL,
  `tel` varchar(60) DEFAULT NULL,
  `mobile` varchar(60) DEFAULT NULL,
  `best_time` varchar(120) DEFAULT NULL,
  `postscript` varchar(255) DEFAULT NULL,
  `how_oos` varchar(120) DEFAULT NULL,
  `insure_fee` decimal(10,2) unsigned DEFAULT '0.00',
  `shipping_fee` decimal(10,2) unsigned DEFAULT '0.00',
  `update_time` int(10) unsigned DEFAULT '0',
  `suppliers_id` smallint(5) DEFAULT '0',
  `status` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `agency_id` smallint(5) unsigned DEFAULT '0',
  PRIMARY KEY (`delivery_id`),
  KEY `user_id` (`user_id`),
  KEY `order_id` (`order_id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_delivery_order`
--

LOCK TABLES `ecs_delivery_order` WRITE;
/*!40000 ALTER TABLE `ecs_delivery_order` DISABLE KEYS */;
INSERT INTO `ecs_delivery_order` VALUES (1,'20090615054961769','2009061585887',15,'2009061585884',1245044533,3,'城际快递',1,'admin','刘先生','海兴大厦',1,2,52,502,'','ecshop@ecshop.com','','010-25851234','13986765412','','','等待所有商品备齐后再发',0.00,10.00,1245044964,2,1,0),(2,'20090615055104671','2009061585887',15,'20090615',1245044533,3,'城际快递',1,'admin','刘先生','海兴大厦',1,2,52,502,'','ecshop@ecshop.com','','010-25851234','13986765412','','','等待所有商品备齐后再发',0.00,10.00,1245045061,1,1,0),(3,'20090615055780744','2009061585887',15,'123232',1245044533,3,'城际快递',1,'admin','刘先生','海兴大厦',1,2,52,502,'','ecshop@ecshop.com','','010-25851234','13986765412','','','等待所有商品备齐后再发',0.00,10.00,1245045443,0,1,0),(4,'20090615060281017','2009061525429',16,'2009061525121',1245045672,3,'城际快递',1,'admin','刘先生','海兴大厦',1,2,52,502,'','ecshop@ecshop.com','','010-25851234','13986765412','','','等待所有商品备齐后再发',0.00,10.00,1245045723,2,0,0),(5,'20090615064331475','2009061503335',17,'00906150333512',1245047978,3,'城际快递',1,'admin','刘先生','海兴大厦',1,2,52,502,'','ecshop@ecshop.com','','010-25851234','13986765412','','','等待所有商品备齐后再发',0.00,10.00,1245048189,0,1,0);
/*!40000 ALTER TABLE `ecs_delivery_order` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_email_list`
--

DROP TABLE IF EXISTS `ecs_email_list`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_email_list` (
  `id` mediumint(8) NOT NULL AUTO_INCREMENT,
  `email` varchar(60) NOT NULL,
  `stat` tinyint(1) NOT NULL DEFAULT '0',
  `hash` varchar(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_email_list`
--

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

--
-- Table structure for table `ecs_email_sendlist`
--

DROP TABLE IF EXISTS `ecs_email_sendlist`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_email_sendlist` (
  `id` mediumint(8) NOT NULL AUTO_INCREMENT,
  `email` varchar(100) NOT NULL,
  `template_id` mediumint(8) NOT NULL,
  `email_content` text NOT NULL,
  `error` tinyint(1) NOT NULL DEFAULT '0',
  `pri` tinyint(10) NOT NULL,
  `last_send` int(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_email_sendlist`
--

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

--
-- Table structure for table `ecs_error_log`
--

DROP TABLE IF EXISTS `ecs_error_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_error_log` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `info` varchar(255) NOT NULL,
  `file` varchar(100) NOT NULL,
  `time` int(10) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `time` (`time`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_error_log`
--

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

--
-- Table structure for table `ecs_exchange_goods`
--

DROP TABLE IF EXISTS `ecs_exchange_goods`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_exchange_goods` (
  `goods_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `exchange_integral` int(10) unsigned NOT NULL DEFAULT '0',
  `is_exchange` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_hot` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`goods_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_exchange_goods`
--

LOCK TABLES `ecs_exchange_goods` WRITE;
/*!40000 ALTER TABLE `ecs_exchange_goods` DISABLE KEYS */;
INSERT INTO `ecs_exchange_goods` VALUES (24,17000,1,0),(19,80000,1,0);
/*!40000 ALTER TABLE `ecs_exchange_goods` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_favourable_activity`
--

DROP TABLE IF EXISTS `ecs_favourable_activity`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_favourable_activity` (
  `act_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `act_name` varchar(255) NOT NULL,
  `start_time` int(10) unsigned NOT NULL,
  `end_time` int(10) unsigned NOT NULL,
  `user_rank` varchar(255) NOT NULL,
  `act_range` tinyint(3) unsigned NOT NULL,
  `act_range_ext` varchar(255) NOT NULL,
  `min_amount` decimal(10,2) unsigned NOT NULL,
  `max_amount` decimal(10,2) unsigned NOT NULL,
  `act_type` tinyint(3) unsigned NOT NULL,
  `act_type_ext` decimal(10,2) unsigned NOT NULL,
  `gift` text NOT NULL,
  `sort_order` tinyint(3) unsigned NOT NULL DEFAULT '50',
  PRIMARY KEY (`act_id`),
  KEY `act_name` (`act_name`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_favourable_activity`
--

LOCK TABLES `ecs_favourable_activity` WRITE;
/*!40000 ALTER TABLE `ecs_favourable_activity` DISABLE KEYS */;
INSERT INTO `ecs_favourable_activity` VALUES (1,'5.1诺基亚优惠活动',1241107200,1253030400,'1,2',2,'1',500.00,5000.00,2,95.00,'a:0:{}',50);
/*!40000 ALTER TABLE `ecs_favourable_activity` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_feedback`
--

DROP TABLE IF EXISTS `ecs_feedback`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_feedback` (
  `msg_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `parent_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `user_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `user_name` varchar(60) NOT NULL DEFAULT '',
  `user_email` varchar(60) NOT NULL DEFAULT '',
  `msg_title` varchar(200) NOT NULL DEFAULT '',
  `msg_type` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `msg_status` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `msg_content` text NOT NULL,
  `msg_time` int(10) unsigned NOT NULL DEFAULT '0',
  `message_img` varchar(255) NOT NULL DEFAULT '0',
  `order_id` int(11) unsigned NOT NULL DEFAULT '0',
  `msg_area` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`msg_id`),
  KEY `user_id` (`user_id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_feedback`
--

LOCK TABLES `ecs_feedback` WRITE;
/*!40000 ALTER TABLE `ecs_feedback` DISABLE KEYS */;
INSERT INTO `ecs_feedback` VALUES (1,0,1,'ecshop','ecshop@ecshop.com','三星SGH-F258什么时候到',4,0,'三星SGH-F258什么时候有货',1242107197,'',0,0);
/*!40000 ALTER TABLE `ecs_feedback` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_friend_link`
--

DROP TABLE IF EXISTS `ecs_friend_link`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_friend_link` (
  `link_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `link_name` varchar(255) NOT NULL DEFAULT '',
  `link_url` varchar(255) NOT NULL DEFAULT '',
  `link_logo` varchar(255) NOT NULL DEFAULT '',
  `show_order` tinyint(3) unsigned NOT NULL DEFAULT '50',
  PRIMARY KEY (`link_id`),
  KEY `show_order` (`show_order`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_friend_link`
--

LOCK TABLES `ecs_friend_link` WRITE;
/*!40000 ALTER TABLE `ecs_friend_link` DISABLE KEYS */;
INSERT INTO `ecs_friend_link` VALUES (1,'ECSHOP 网上商店管理系统','http://www.ecshop.com/','http://www.ecshop.com/images/logo/ecshop_logo.gif',50),(2,'免费申请网店','http://www.maifou.net/','',51),(3,'免费开独立网店','http://www.wdwd.com/','',52);
/*!40000 ALTER TABLE `ecs_friend_link` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_goods`
--

DROP TABLE IF EXISTS `ecs_goods`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_goods` (
  `goods_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `cat_id` smallint(5) unsigned NOT NULL DEFAULT '0',
  `goods_sn` varchar(60) NOT NULL DEFAULT '',
  `goods_name` varchar(120) NOT NULL DEFAULT '',
  `goods_name_style` varchar(60) NOT NULL DEFAULT '+',
  `click_count` int(10) unsigned NOT NULL DEFAULT '0',
  `brand_id` smallint(5) unsigned NOT NULL DEFAULT '0',
  `provider_name` varchar(100) NOT NULL DEFAULT '',
  `goods_number` smallint(5) unsigned NOT NULL DEFAULT '0',
  `goods_weight` decimal(10,3) unsigned NOT NULL DEFAULT '0.000',
  `market_price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00',
  `shop_price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00',
  `promote_price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00',
  `promote_start_date` int(11) unsigned NOT NULL DEFAULT '0',
  `promote_end_date` int(11) unsigned NOT NULL DEFAULT '0',
  `warn_number` tinyint(3) unsigned NOT NULL DEFAULT '1',
  `keywords` varchar(255) NOT NULL DEFAULT '',
  `goods_brief` varchar(255) NOT NULL DEFAULT '',
  `goods_desc` text NOT NULL,
  `goods_thumb` varchar(255) NOT NULL DEFAULT '',
  `goods_img` varchar(255) NOT NULL DEFAULT '',
  `original_img` varchar(255) NOT NULL DEFAULT '',
  `is_real` tinyint(3) unsigned NOT NULL DEFAULT '1',
  `extension_code` varchar(30) NOT NULL DEFAULT '',
  `is_on_sale` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `is_alone_sale` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `is_shipping` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `integral` int(10) unsigned NOT NULL DEFAULT '0',
  `add_time` int(10) unsigned NOT NULL DEFAULT '0',
  `sort_order` smallint(4) unsigned NOT NULL DEFAULT '100',
  `is_delete` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_best` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_new` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_hot` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_promote` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `bonus_type_id` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `last_update` int(10) unsigned NOT NULL DEFAULT '0',
  `goods_type` smallint(5) unsigned NOT NULL DEFAULT '0',
  `seller_note` varchar(255) NOT NULL DEFAULT '',
  `give_integral` int(11) NOT NULL DEFAULT '-1',
  `rank_integral` int(11) NOT NULL DEFAULT '-1',
  `suppliers_id` smallint(5) unsigned DEFAULT NULL,
  `is_check` tinyint(1) unsigned DEFAULT NULL,
  PRIMARY KEY (`goods_id`),
  KEY `goods_sn` (`goods_sn`),
  KEY `cat_id` (`cat_id`),
  KEY `last_update` (`last_update`),
  KEY `brand_id` (`brand_id`),
  KEY `goods_weight` (`goods_weight`),
  KEY `promote_end_date` (`promote_end_date`),
  KEY `promote_start_date` (`promote_start_date`),
  KEY `goods_number` (`goods_number`),
  KEY `sort_order` (`sort_order`)
) ENGINE=MyISAM AUTO_INCREMENT=33 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_goods`
--

LOCK TABLES `ecs_goods` WRITE;
/*!40000 ALTER TABLE `ecs_goods` DISABLE KEYS */;
INSERT INTO `ecs_goods` VALUES (1,4,'ECS000000','KD876','+',7,8,'',1,0.110,1665.60,1388.00,0.00,0,0,1,'LG 3g 876 支持 双模 2008年04月 灰色 GSM,850,900,1800,1900','','<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 很多朋友都已经抢先体验了3G网络的可视通话、高速上网等功能。LG KD876手机<span style=\"font-size: x-large;\"><span style=\"color: rgb(255, 0, 0);\"><strong>支持TD-SCDMA/GSM双模单待</strong></span></span>,便于测试初期GSM网络和TD网络之间的切换和共享。</p>\r\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LG KD876手机整体采用银色塑料材质,<strong><span style=\"font-size: x-large;\"><span style=\"color: rgb(255, 0, 0);\">特殊的旋转屏设计是本机的亮点</span></span></strong>,而机身背部的300万像素摄像头也是首发的六款TD-SCDMA手机中配置最高的。LG KD876手机屏幕下方设置有外键盘,该键盘由左/右软键、通话/挂机键、返回键、五维摇杆组成,摇杆灵敏度很高,定位准确。KD876的内键盘由标准12个电话键和三个功能键、一个内置摄像头组成。三个功能键分别为视频通话、MP3、和菜单键,所有按键的手感都比较一般,键程适中,当由于按键排列过于紧密,快速发短信时很容易误按,用户在使用时一定要多加注意。LG KD876手机机身周边的接口设计非常简洁,手机的厚度主要来自屏幕旋转轴的长度,如果舍弃旋屏设计的话,估计<span style=\"font-size: x-large;\"><strong><span style=\"color: rgb(255, 0, 0);\">厚度可以做到10mm以下</span></strong></span>。</p>','images/200905/thumb_img/1_thumb_G_1240902890710.jpg','images/200905/goods_img/1_G_1240902890755.jpg','images/200905/source_img/1_G_1240902890895.gif',1,'',1,1,0,13,1240902890,100,0,1,1,1,0,0,1269589545,9,'',-1,-1,NULL,NULL),(4,8,'ECS000004','诺基亚N85原装充电器','+',0,1,'',17,0.000,69.60,58.00,0.00,0,0,1,'','','','images/200905/thumb_img/4_thumb_G_1241422402467.jpg','images/200905/goods_img/4_G_1241422402722.jpg','images/200905/source_img/4_G_1241422402919.jpg',1,'',1,0,0,0,1241422402,100,0,0,0,0,0,0,1242110662,6,'',-1,-1,NULL,NULL),(3,8,'ECS000002','诺基亚原装5800耳机','+',3,1,'',24,0.000,81.60,68.00,0.00,0,0,1,'','','','images/200905/thumb_img/3_thumb_G_1241422082679.jpg','images/200905/goods_img/3_G_1241422082168.jpg','images/200905/source_img/3_G_1241422082367.jpg',1,'',1,1,0,0,1241422082,100,0,0,0,0,0,0,1241972255,6,'',-1,-1,NULL,NULL),(5,11,'ECS000005','索爱原装M2卡读卡器','+',3,7,'',8,0.000,24.00,20.00,0.00,0,0,1,'','','','images/200905/thumb_img/5_thumb_G_1241422518886.jpg','images/200905/goods_img/5_G_1241422518773.jpg','images/200905/source_img/5_G_1241422518470.jpg',1,'',1,1,0,0,1241422518,100,0,1,1,0,0,0,1241972241,2,'',-1,-1,NULL,NULL),(6,11,'ECS000006','胜创KINGMAX内存卡','+',0,0,'',15,0.000,50.40,42.00,0.00,0,0,1,'','','','','','',1,'',1,0,0,0,1241422573,100,0,0,0,0,0,0,1241972238,6,'',-1,-1,NULL,NULL),(7,8,'ECS000007','诺基亚N85原装立体声耳机HS-82','+',0,1,'',20,0.000,120.00,100.00,0.00,0,0,1,'','','','images/200905/thumb_img/7_thumb_G_1241422785492.jpg','images/200905/goods_img/7_G_1241422785856.jpg','images/200905/source_img/7_G_1241422785657.jpg',1,'',1,1,0,1,1241422785,100,0,0,0,0,0,0,1241972232,2,'',-1,-1,NULL,NULL),(8,3,'ECS000008','飞利浦9@9v','+',9,4,'',1,0.075,478.79,399.00,385.00,1241366400,1244044800,1,'双模 2008年春 黑色 直板 中低档','','<p align=\"left\">作为一款性价比极高的入门级<font size=\"3\" color=\"#ff0000\"><strong>商务手机</strong></font>,飞利浦<a href=\"mailto:9@9v\">Xenium&nbsp; 9@9v</a>三围大小为105&times;44&times;15.8mm,机身重量仅为<strong><font size=\"3\" color=\"#ff0000\">75g</font></strong>,装配了一块低规格1.75英寸128&times;160像素65000色CSTN显示屏。身正面采用月银色功能键区与屏幕数字键区相分隔,键盘设计较为<font size=\"3\"><strong><font color=\"#ff0000\">别</font><font color=\"#ff0000\">致</font></strong></font>,中部导航键区采用钛金色的&ldquo;腰带&rdquo;彰显出浓郁的商务气息。</p>\r\n<p align=\"left\">&nbsp;</p>\r\n<p align=\"left\">此款手机采用<strong><font size=\"3\" color=\"#ff0000\">触摸屏</font></strong>设计,搭配精致的手写笔,可支持手写中文和英文两个版本。增强的内置系统还能识别潦草字迹,确保在移动中和匆忙时输入文字的识别率。手写指令功能还支持特定图案的瞬间调用,独特的手写记事本功能,可以在触摸屏上随意绘制个性化的图案并进行<strong><font size=\"3\" color=\"#ff0000\">记事提醒</font></strong>,让商务应用更加随意。</p>\r\n<p align=\"left\">&nbsp;</p>\r\n<p align=\"left\">&nbsp;作为入门级为数不多支持<strong><font size=\"3\" color=\"#ff0000\">双卡功能</font></strong>的手机,可以同时插入两张SIM卡,通过菜单随意切换,只需开启漫游自动切换模式,<a href=\"mailto:9@9V\">9@9V</a>在该模式下能够判断网络情况,自动切换适合的手机号。</p>\r\n<p align=\"left\">&nbsp;</p>\r\n<p align=\"left\">&nbsp;</p>','images/200905/thumb_img/8_thumb_G_1241425513488.jpg','images/200905/goods_img/8_G_1241425513055.jpg','images/200905/source_img/8_G_1241425513518.jpg',1,'',1,1,0,3,1241425512,100,0,1,1,1,1,0,1269589533,9,'',-1,-1,NULL,NULL),(9,3,'ECS000009','诺基亚E66','+',20,1,'',4,0.121,2757.60,2298.00,0.00,0,0,1,'SMS EMS MMS 短消息群发 语音 阅读器 SMS,EMS,MMS,短消息群发语音合成信息阅读器 黑色 白色 滑盖','','<p>在机身材质方面,诺基亚E66大量采用金属材质,刨光的金属表面光泽动人,背面的点状效果规则却又不失变化,时尚感总是在不经意间诠释出来,并被人们所感知。E66机身尺寸为<span style=\"color: rgb(255, 0, 0);\"><span style=\"font-size: larger;\"><strong>107.5&times;49.5&times;13.6毫米,重量为121克</strong></span></span>,滑盖的造型竟然比E71还要轻一些。</p>\r\n<p>&nbsp;</p>\r\n<div>诺基亚E66机身正面是<span style=\"color: rgb(255, 0, 0);\"><span style=\"font-size: larger;\"><strong>一块2.4英寸1600万色QVGA分辨率(240&times;320像素)液晶显示屏</strong></span></span>。屏幕上方拥有光线感应元件,能够自适应周 围环境光调节屏幕亮度;屏幕下方是方向功能键区。打开滑盖,可以看到传统的数字键盘,按键的大小、手感、间隔以及键程适中,手感非常舒适。</div>\r\n<div>&nbsp;</div>\r\n<div>诺基亚为E66配备了一颗320万像素自动对焦摄像头,带有LED 闪光灯,支持多种拍照尺寸选择。</div>\r\n<p>&nbsp;</p>','images/200905/thumb_img/9_thumb_G_1241511871555.jpg','images/200905/goods_img/9_G_1241511871574.jpg','images/200905/source_img/9_G_1241511871550.jpg',1,'',1,1,0,22,1241511871,100,0,1,1,1,0,0,1269589743,9,'',-1,-1,NULL,NULL),(10,3,'ECS000010','索爱C702c','+',11,7,'',7,0.000,1593.60,1328.00,1250.00,1243785600,1277827200,1,'2008年05月 GSM,850,900,1800,1900 直板','','<p>C702可以说是一种在外观上复古的产物,不仅延续T系列早期的直板造型,而且在屏幕和键盘的组合分布上都继承了前辈的精髓。C702的机身尺寸为106&times;48&times;15.5毫米,重量为105克。此外索尼爱立信为C702融入了<font size=\"3\" color=\"#ff0000\"><strong>三防特性,即防尘、防滑和防水溅</strong></font>,这款新的C702搭载了索尼爱立信经典A200平台,界面布局与W908c、K858c一致,典型的特征就是配备左右软键、中央确定键和通话/挂机键。</p>\r\n<p>索尼爱立信C702配备一块<strong><font size=\"3\" color=\"#ff0000\">2.2英寸26万色TFT液晶显示屏</font></strong>,分辨率为240&times;320像素(QVGA),显示效果属于目前主流水准。C702可以说是索尼爱立信首批<strong><font size=\"3\" color=\"#ff0000\">内置GPS模块</font></strong>的 手机产品之一,C702的搜星、定位一气呵成,十分精准,误差大约在10米之内。基本上定位后可以将有效卫星数量控制在4&mdash;6颗,可以说可以满足我们的需 要了。C702还提供了&ldquo;影像定位&rdquo;功能,配合内置的AGPS全球定位辅助系统,只须启动Geo-Tagging智能影像定位功能,便可将拍摄地点记录在 照片内,方便用户随时查询。</p>\r\n<p>&nbsp;</p>\r\n<p>作为一款Cyber-shot系列影像手机,索尼爱立信C702在拍照功能方面同样有不俗的表现。并且手机内置的<strong><font size=\"3\" color=\"#ff0000\">320万像素摄像头</font></strong>也 同样在拍照功能上也不错的表现。不仅支持自动聚焦和双LED闪光功能,而且还拥有2倍数码变焦、防红眼、Photo fix优画及场景模式等功能。索尼爱立信C702除了配备的是最大光圈为F3.2的4.2毫米镜头之外,该机也如同门中的旗舰C902一样增加了对脸部有 先自动聚焦功能的支持。</p>\r\n<p>&nbsp;</p>','images/200905/thumb_img/10_thumb_G_1242973436403.jpg','images/200905/goods_img/10_G_1242973436141.jpg','images/200905/source_img/10_G_1242973436172.jpg',1,'',1,1,0,13,1241965622,100,0,0,0,1,1,0,1245290333,9,'',-1,-1,NULL,NULL),(11,3,'ECS000011','索爱C702c','+',0,7,'',1,0.000,0.00,1300.00,0.00,0,0,1,'直板','','','','','',1,'',0,1,0,0,1241966951,100,1,0,0,0,0,0,1241966960,7,'',-1,-1,NULL,NULL),(12,3,'ECS000012','摩托罗拉A810','+',13,2,'',8,0.000,1179.60,983.00,960.00,1241107200,1255104000,1,'SMS EMS MMS pda 摄像 智能 音乐 SMS,EMS,MMS','','<p>全机使用的材质除去电池盖部分采用了金属以外,其它均使用了ABS工程塑料作为主材,这款手机的三围是105&times;51&times;14毫米,有着100克的轻量级重量,拿在手中的感觉还是非常不错的。A810手机作为一款<strong><font size=\"3\" color=\"#ff0000\">PDA手机</font></strong>在设计的时候取消了键盘配置,一切数字键都要依靠手机内提供的虚拟键盘进行操作,在手机的左上侧是一个<strong><font size=\"3\" color=\"#ff0000\">3.5mm的标准耳机插口</font></strong>,这种设计可以让用户使用自己习惯或者喜欢的耳机去欣赏音乐。</p>\r\n<p>&nbsp;</p>\r\n<p>这款摩托罗拉A810手机配置了一块<font size=\"3\" color=\"#ff0000\"><strong>26万色的2.2英寸TFT全触摸屏幕</strong></font>,其分辨率达到了主流的QVGA水平(240&times;320像素),摩托罗拉A810采用了内部核心为2.6.10的<strong><font size=\"3\" color=\"#ff0000\">LINUX操作系统</font></strong>,菜单上依然采用传统的9宫格的显示方式,一般手机的名片式电话本只能支持诸如电话、邮件、传真、公司等一些基本信息,而A810手机的电话本除了这些还支持公司地址,配偶信息、子女姓名、上司名称、助手等等,对于一款手机来说,电话本不可谓不强大。A810的<strong><font size=\"3\" color=\"#ff0000\">手写识别能力相当的惊人</font></strong>,对连笔、草书和倒插笔的识别率都相当的高,同时还为左右手设置了不同的书写习惯选择,并支持手写速度的调节。</p>\r\n<p>这款A810手机<strong><font size=\"3\" color=\"#ff0000\">内置的音乐播放功能</font></strong>可以支持MP3、WAV、AMR、AAC等格式的音乐播放,<font size=\"3\" color=\"#ff0000\"><strong>支持后台播放</strong></font>。视频方面,这款A810支持MP4、3GP、H.263格式的播放,视频播放器同样简约,操作方便,这款摩托罗拉A810还内置了6款游戏,每一款都有很高的耐玩性,而且都是支持触摸屏操作的,同时这款手机还内置了<strong><font size=\"3\" color=\"#ff0000\">FM收音机</font></strong>,支持自动搜索,并提供了20个频道供用户存储,不过收音机并不支持后台播放。</p>\r\n<p>&nbsp;</p>','images/200905/thumb_img/12_thumb_G_1241965978410.jpg','images/200905/goods_img/12_G_1241965978209.jpg','images/200905/source_img/12_G_1241965978878.jpg',1,'',1,1,0,9,1245297652,100,0,0,1,0,1,0,1245297670,3,'',-1,-1,NULL,NULL),(13,3,'ECS000013','诺基亚5320 XpressMusic','+',13,1,'',8,0.000,1573.20,1311.00,0.00,0,0,1,'摄像 智能 音乐 蓝色 红色 舒适 直板 中档 2008年07月 黑色 GSM,850,900,1800,1900','','<p>诺基亚5320XpressMusic音乐手机采用XpressMusic系列常见的黑红、黑蓝配色方案,而材质方便则选用的是经过<strong><font size=\"3\" color=\"#ff0000\">抛光处理</font></strong>的工程塑料;三围/体重为,为108&times;46&times;15mm/<strong><font size=\"3\" color=\"#ff0000\">90g</font></strong>,手感舒适。</p>\r\n<p>&nbsp;</p>\r\n<p>诺基亚5320采用的是一块可视面积为2.0英寸的<font size=\"3\" color=\"#ff0000\"><strong>1600万色</strong></font>屏幕,分辨率是常见的240&times;320像素(QVGA)。虽然屏幕不是特别大,但效果非常精细,色彩还原不错。</p>\r\n<p>&nbsp;</p>\r\n<p>手机背面,诺基亚为5320XM配备一颗<strong><font size=\"3\" color=\"#ff0000\">200W像素</font></strong>的摄像头,并且带有<strong><font size=\"3\" color=\"#ff0000\">两个LED的补光灯</font></strong>,可以实现拍照、摄像功能,并能通过彩信、邮件方式发送给朋友。</p>\r\n<p>&nbsp;</p>','images/200905/thumb_img/13_thumb_G_1241968002527.jpg','images/200905/goods_img/13_G_1241968002233.jpg','images/200905/source_img/13_G_1241968002732.jpg',1,'',1,1,0,13,1241967762,100,0,0,0,1,0,0,1269589198,9,'',-1,-1,NULL,NULL),(14,4,'ECS000014','诺基亚5800XM','+',6,1,'',1,0.000,3150.00,2625.00,0.00,0,0,1,'GSM 64和弦 2009年2月 320万摄像头 GPS 直板 工程塑料 支持 2008年10月 黑色','','','images/200905/thumb_img/14_thumb_G_1241968492116.jpg','images/200905/goods_img/14_G_1241968492932.jpg','images/200905/source_img/14_G_1241968492305.jpg',1,'',1,1,0,26,1241968492,100,0,0,0,1,0,0,1269589186,9,'',-1,-1,NULL,NULL),(15,3,'ECS000015','摩托罗拉A810','+',8,2,'',3,0.000,945.60,788.00,0.00,0,0,1,'600 直板 工程塑料 蓝牙 视频拍摄 音乐 黑色 白色','','','images/200905/thumb_img/15_thumb_G_1242973362970.jpg','images/200905/goods_img/15_G_1242973362318.jpg','images/200905/source_img/15_G_1242973362751.jpg',1,'',1,1,0,5,1241968703,100,1,0,1,1,0,0,1245297631,9,'',-1,-1,NULL,NULL),(16,2,'ECS000016','恒基伟业G101','+',3,11,'',0,0.000,988.00,823.33,0.00,0,0,1,'','','','images/200905/thumb_img/16_thumb_G_1241968949103.jpg','images/200905/goods_img/16_G_1241968949002.jpg','images/200905/source_img/16_G_1241968949402.jpg',1,'',0,1,0,8,1241968949,100,0,0,0,0,0,0,1245290562,2,'',-1,-1,NULL,NULL),(17,3,'ECS000017','夏新N7','+',2,5,'',1,0.000,2760.00,2300.00,0.00,0,0,1,'2008年01月 GSM,900,1800,1900,2100 直板 262144万 240×400 像素 SMS,EMS,MMS,超长信息发送,短消息群发 黑色 CDMA','','','images/200905/thumb_img/17_thumb_G_1241969394587.jpg','images/200905/goods_img/17_G_1241969394677.jpg','images/200905/source_img/17_G_1241969394844.jpg',1,'',1,1,0,23,1241969394,100,0,1,0,1,0,0,1269589169,9,'',-1,-1,NULL,NULL),(18,4,'ECS000018','夏新T5','+',0,5,'',1,0.000,3453.60,2878.00,0.00,0,0,1,'2008年04月 3G(GSM,900,1800,1900,TD-SCDMA ) 直板 262144万 320×240 像素 是 银色','','<p>&nbsp;  TD-SCDMA/GSM两种模式任意切换,中国3G手机先驱,支持大陆特有3G网络,轻松实现可视电话、视频留言、视频会议功能,2.6英寸Q屏,手写、键盘双输入,内置移动证券,支持手机邮箱、手机地图、无驱U盘</p>','','','',1,'',1,1,0,28,1241969533,100,1,0,0,0,0,0,1241969533,2,'',-1,-1,NULL,NULL),(19,3,'ECS000019','三星SGH-F258','+',7,6,'',12,0.000,1029.60,858.00,0.00,0,0,1,'滑盖 GSM 258 时尚 蓝牙 黑色 金色 白色','从整体来看,三星SGH-F258比较时尚可爱,三围尺寸为94×46×17.5mm,重量为96克,曲线柔和具有玲珑美感\r\n','<p>从整体来看,三星SGH-F258比较<font size=\"3\" color=\"#ff0000\"><strong>时尚</strong></font>可爱,三围尺寸为94&times;46&times;17.5mm,重量为96克,曲线柔和具有玲珑美感。</p>\r\n<p>&nbsp;</p>\r\n<p>三星F258的前面板整体应用<strong><font size=\"3\" color=\"#ff0000\">镜面效果</font></strong>,2.0英寸显示屏幕略显窄小,导航键与功能键在滑盖滑开之前是前面板的全部控制键,没有挂断和接听键,不过,五向键有<font size=\"3\"><strong><font color=\"#ff0000\">音乐操</font><font color=\"#ff0000\">作</font></strong></font>功能,明确显示了F258音乐手机的定位。</p>\r\n<p>&nbsp;</p>\r\n<p>F258的数字键键区采用了极具金属质感的平板式设计,每颗按键的面积足够大,按键与按键之间的间隔明显,操作起来手感舒适。</p>','images/200905/thumb_img/19_thumb_G_1241970175208.jpg','images/200905/goods_img/19_G_1241970175091.jpg','images/200905/source_img/19_G_1241970175549.jpg',1,'',1,1,0,8,1241970139,100,0,1,1,1,0,0,1269589154,9,'',-1,-1,NULL,NULL),(20,3,'ECS000020','三星BC01','+',14,6,'',12,0.000,336.00,280.00,238.00,1241884800,1251648000,1,'GSM 直板 40和弦 金属材质 2008年07月 黑色 GSM,900,1800,1900,2100','','','images/200905/thumb_img/20_thumb_G_1242106490058.jpg','images/200905/goods_img/20_G_1242106490663.jpg','images/200905/source_img/20_G_1242106490922.jpg',1,'',1,1,0,2,1241970417,100,0,1,1,1,1,0,1269589110,9,'',-1,-1,NULL,NULL),(21,3,'ECS000021','金立 A30','+',4,10,'',40,0.000,2400.00,2000.00,0.00,0,0,1,'2008年03月 GSM,900,1800,1900,2100 直板 1600万 240×400 像素 2007年12月 200万摄像头 黑色','','<p>&nbsp;</p>\r\n<p align=\"left\"><span style=\"font-size: medium;\"><font size=\"3\">标准配置: 标准锂电池两块,充电器两个,立体声耳机一个,数据线,说明书送256TF</font></span></p>\r\n<p align=\"left\"><span style=\"font-size: medium;\"><font size=\"3\">通讯功能&nbsp; 输入法 短信功能 话机通讯录 通话记录</font></span></p>\r\n<p align=\"left\"><span style=\"font-size: medium;\"><font size=\"3\">输入法: 中文输入法</font></span></p>\r\n<p align=\"left\"><span style=\"font-size: medium;\"><font size=\"3\">短信功能: 支持短信300条和彩信100条</font></span></p>\r\n<p align=\"left\"><span style=\"font-size: medium;\"><font size=\"3\">话机通讯录: 1000组名片式电话存储 来电防火墙功能&nbsp; 来电大头贴及来电铃声识别</font></span></p>\r\n<p align=\"left\"><span style=\"font-size: medium;\"><font size=\"3\">通话记录:支持电话录音,恢复/静音,双音多频,免提</font></span></p>\r\n<p>&nbsp;</p>\r\n<p><font size=\"3\">高级功能</font></p>\r\n<p align=\"left\"><span style=\"font-size: medium;\"><font size=\"3\">多媒体娱乐: 200万像素,最大支持10240*960,11级数码变焦,多种效果设置,连拍可全屏查看拍摄或下载的图片.支持有声MP4短片拍摄,录像时间根据内存 大小而定,拍摄录像,TV电视可跟朋友家人一起分享。支持网络摄像头功能 支持MPEG4、3GP(H.263)等视频格式 支持MP3等音频格式播放, 支持歌词播放</font></span></p>\r\n<p align=\"left\"><span style=\"font-size: medium;\"><font size=\"3\">内置游戏:智能拼图</font></span></p>\r\n<p align=\"left\"><span style=\"font-size: medium;\"><font size=\"3\">扩展存储功能:支持TF扩展,支持U盘功能,本机内置1M,随机赠送256TF卡</font></span></p>\r\n<p align=\"left\"><span style=\"font-size: medium;\"><font size=\"3\">高级功能:直板/智能PDA手写/键盘输入 超长待机 WAP上网&nbsp; 录音 蓝牙 FM收音机 电子书 Java扩展 TV电视输出 声控语音拨号 免费电视 来电防火墙&nbsp;&nbsp;&nbsp;</font></span></p>\r\n<p align=\"left\"><span style=\"font-size: medium;\"><font size=\"3\">附加功能: 日历 计算器 闹钟 记事本 日程表 秒表 单位换算</font></span></p>\r\n<p><span style=\"font-size: medium;\"><font size=\"3\">提醒 以上性能均为本公司员工试机后所写,产品资料仅供参考,请以收到实物为准</font></span></p>','images/200905/thumb_img/21_thumb_G_1242109298150.jpg','images/200905/goods_img/21_G_1242109298873.jpg','images/200905/source_img/21_G_1242109298831.jpg',1,'',1,1,0,20,1241970634,100,0,0,0,0,0,0,1269589102,9,'',-1,-1,NULL,NULL),(22,3,'ECS000022','多普达Touch HD','+',15,3,'',1,0.000,7198.80,5999.00,0.00,0,0,1,'500万摄像头 蓝牙 手写 GPS 办公应用 语音拨号 2008年12月 黑色 GSM,850,900,1800,1900 直板','','<p><img src=\"http://xgone.xgou.com/xgoumanage/upload/20090325/2009032502045081100887.jpg\" alt=\"\" /></p>\r\n<p>&nbsp;</p>\r\n<p><img src=\"http://www.ouku.com/upimg/ouku/Image/002(1).jpg\" alt=\"\" /></p>\r\n<p>&nbsp;</p>\r\n<p>&nbsp;</p>','images/200905/thumb_img/22_thumb_G_1241971076803.jpg','images/200905/goods_img/22_G_1241971076358.jpg','images/200905/source_img/22_G_1241971076130.jpg',1,'',1,1,0,59,1241971076,100,0,1,1,0,0,0,1269589090,9,'',-1,-1,NULL,NULL),(23,5,'ECS000023','诺基亚N96','+',17,1,'',8,0.000,4440.00,3700.00,0.00,0,0,1,'500万摄像头 microSD 工程塑料 蓝牙 数码相机 内置游戏 滑盖 高档 2008年09月 320×240 像素 黑色','','<p>诺基亚N96采用了<strong><font size=\"3\" color=\"#ff0000\">双向滑盖</font></strong>设计,机身整体呈灰黑色,沉稳、大气,机身材质采用了高强度的塑料材质,手机背面采用了抛光面板的设计风格。N96三维体积103*55*20mm,重量为125g。屏幕方面,诺基亚N96配备一块<strong><font size=\"3\" color=\"#ff0000\">2.8英寸</font></strong>的屏幕,支持<strong><font size=\"3\" color=\"#ff0000\">1670万色</font></strong>显示,分辨率达到QVGA(320&times;240)水准。</p>\r\n<p><img alt=\"\" src=\"file:///C:/DOCUME~1/user/LOCALS~1/Temp/moz-screenshot.jpg\" /></p>\r\n<p>&nbsp;</p>\r\n<p>&nbsp;<img src=\"http://img2.zol.com.cn/product/21/896/ceN6LBMCid3X6.jpg\" alt=\"\" /></p>\r\n<p>诺基亚N96设置有专门的<strong><font size=\"3\" color=\"#ff0000\">音乐播放键</font></strong>和标准的3.5毫米音频插口,支持多格式音乐播放。内置了<strong><font size=\"3\" color=\"#ff0000\">多媒体播放器</font></strong>,支持FM调频收音机等娱乐功能。N96手机支持<strong><font size=\"3\" color=\"#ff0000\">N-Gage游戏平台</font></strong>,内置包括<font size=\"3\" color=\"#ff0000\"><strong>《PinBall》完整版</strong></font>在内的四款N-Gage游戏,除了手机本身内置的游戏,还可以从N-Gage的网站下载或者购买最新的游戏,而且可以在论坛里和其他玩家一起讨论。</p>\r\n<p><img src=\"http://img2.zol.com.cn/product/21/898/cekkw57qJjSI.jpg\" alt=\"\" /></p>\r\n<p>&nbsp;</p>','images/200905/thumb_img/23_thumb_G_1241971556399.jpg','images/200905/goods_img/23_G_1241971556855.jpg','images/200905/source_img/23_G_1241971556256.jpg',1,'',1,1,0,37,1241971488,100,0,1,1,0,0,0,1269589078,9,'',-1,-1,NULL,NULL),(24,3,'ECS000024','P806','+',35,9,'',100,0.000,2400.00,2000.00,1850.00,1243785600,1277827200,1,'旅行充电器 图形菜单 Wap 上网 红外接口 移动 MSN 支持 2008年06月 灰色','','<div>\r\n<div>\r\n<div><font size=\"4\">规格参数</font></div>\r\n<p><font size=\"4\"><span>上市时间:</span><span>2008年06月</span></font></p>\r\n<p><font size=\"4\"><span>网络频率:</span><span>GSM/GPRS;900/1800MHz</span></font></p>\r\n<p><font size=\"4\"><span>重 量 :</span><span>未知</span></font></p>\r\n<p><font size=\"4\"><span>尺寸/体积:</span><span>未知</span></font></p>\r\n<p><font size=\"4\"><span>可选颜色:</span><span>银色</span></font></p>\r\n<p><font size=\"4\"><span>屏幕参数:</span><span>26万色TFT彩色屏幕;</span></font></p>\r\n<p><font size=\"4\"><span>WAP上网:</span><span>支持飞笺</span></font></p>\r\n<p><font size=\"4\"><span>基本配置:<em><strong><font size=\"5\" color=\"#ff00ff\">二电(1760毫安) 一充 数据线 耳机 手写笔 512M内存卡</font></strong></em></span></font></p>\r\n<p>&nbsp;</p>\r\n</div>\r\n</div>\r\n<div><font size=\"4\">基本功能</font></div>\r\n<p><font size=\"4\"><span>『时钟』</span><span>『内置振动』</span><span>『录音』</span><span>『可选铃声』</span></font></p>\r\n<p><font size=\"4\"><span>『和弦铃声』</span><span>『MP3铃声』</span><span>『来电铃声识别』</span><span>『来电图片识别』</span></font></p>\r\n<p><font size=\"4\"><span>『情景模式』</span><span>『待机图片』</span><span>『图形菜单』</span><span>『触摸屏』</span></font></p>\r\n<p><span><font size=\"4\">『手写输入』</font></span></p>\r\n<div><font size=\"4\">通信功能</font></div>\r\n<p><font size=\"4\"><span>『双卡双待』</span><span>『内置天线』</span><span>『输入法』</span><span>『中文短信』</span></font></p>\r\n<p><font size=\"4\"><span>『短信群发』</span><span>『多媒体短信』</span><span>『话机通讯录』</span><span>『通话记录』</span></font></p>\r\n<p><font size=\"4\"><span>『免提通话』</span><span>『飞行模式』</span></font></p>\r\n<div><font size=\"4\">多媒体娱乐 :支持3GP、MP4文件播放</font></div>\r\n<p><font size=\"4\"><span>『视频播放』</span><span>『MP3播放器』</span></font></p>\r\n<p><font size=\"4\"><span>多媒体卡扩展:</span><span>支持microSD卡扩展&nbsp;</span></font></p>\r\n<p><font size=\"4\"><span>摄像头:</span><span>内置</span></font></p>\r\n<p><font size=\"4\"><span>摄像头像素:</span><span>30万像素</span></font></p>\r\n<p><font size=\"4\"><span>传感器类型:</span><span>CMOS</span></font></p>\r\n<p><font size=\"4\"><span>变焦模式:</span><span>数码变焦</span></font></p>\r\n<p><font size=\"4\"><span>照片分辨率:</span><span>多种照片分辨率选择</span></font></p>\r\n<p><font size=\"4\"><span>拍摄模式:</span><span>多种拍摄模式选择</span></font></p>\r\n<p><font size=\"4\"><span>照片质量:</span><span>多种照片质量选择</span></font></p>\r\n<p><font size=\"4\"><span>视频拍摄:</span><span>有声视频拍摄</span></font></p>\r\n<div><font size=\"4\">数据传输</font></div>\r\n<p><font size=\"4\"><span>『WAP浏览器』</span><span>『数据线接口』</span></font></p>\r\n<div><font size=\"4\">个人助理</font></div>\r\n<p><font size=\"4\"><span>『闹钟』</span><span>『日历』</span><span>『计算器』</span></font></p>','images/200905/thumb_img/24_thumb_G_1241971981429.jpg','images/200905/goods_img/24_G_1241971981284.jpg','images/200905/source_img/24_G_1241971981107.jpg',1,'',1,1,0,20,1241971981,100,0,1,1,1,1,0,1269589064,9,'',-1,-1,NULL,NULL),(25,13,'ECS000025','小灵通/固话50元充值卡','+',0,0,'',2,0.000,57.59,48.00,0.00,0,0,1,'','','','images/200905/thumb_img/25_thumb_G_1241972709885.jpg','images/200905/goods_img/25_G_1241972709544.jpg','images/200905/source_img/25_G_1241972709750.jpg',0,'virtual_card',1,1,0,0,1241972709,100,0,1,0,1,0,0,1245047546,0,'',-1,-1,NULL,NULL),(26,13,'ECS000026','小灵通/固话20元充值卡','+',0,0,'',2,0.000,22.80,19.00,0.00,0,0,1,'','','','images/200905/thumb_img/26_thumb_G_1241972789393.jpg','images/200905/goods_img/26_G_1241972789293.jpg','images/200905/source_img/26_G_1241972789353.jpg',0,'virtual_card',1,1,0,0,1241972789,100,0,0,0,1,0,0,1245047540,0,'',-1,-1,NULL,NULL),(27,15,'ECS000027','联通100元充值卡','+',0,0,'',2,0.000,100.00,95.00,0.00,0,0,1,'','','','images/200905/thumb_img/27_thumb_G_1241972894068.jpg','images/200905/goods_img/27_G_1241972894061.jpg','images/200905/source_img/27_G_1241972894069.jpg',0,'virtual_card',1,1,0,0,1241972894,100,0,1,1,1,0,0,1245047557,0,'',-1,-1,NULL,NULL),(28,15,'ECS000028','联通50元充值卡','+',0,0,'',0,0.000,50.00,45.00,0.00,0,0,1,'','','','images/200905/thumb_img/28_thumb_G_1241972976986.jpg','images/200905/goods_img/28_G_1241972976313.jpg','images/200905/source_img/28_G_1241972976695.jpg',0,'virtual_card',1,1,0,0,1241972976,100,0,0,0,1,0,0,1245047542,0,'',-1,-1,NULL,NULL),(29,14,'ECS000029','移动100元充值卡','+',0,0,'',0,0.000,0.00,90.00,0.00,0,0,1,'','','','images/200905/thumb_img/29_thumb_G_1241973022239.jpg','images/200905/goods_img/29_G_1241973022206.jpg','images/200905/source_img/29_G_1241973022514.jpg',0,'virtual_card',1,1,0,0,1241973022,100,0,1,0,1,0,0,1245047543,0,'',-1,-1,NULL,NULL),(30,14,'ECS000030','移动20元充值卡','+',1,0,'',9,0.000,21.00,18.00,0.00,0,0,1,'','','','images/200905/thumb_img/30_thumb_G_1241973114800.jpg','images/200905/goods_img/30_G_1241973114234.jpg','images/200905/source_img/30_G_1241973114587.jpg',0,'virtual_card',1,1,0,0,1241973114,100,0,1,0,1,0,0,1245047549,0,'',-1,-1,NULL,NULL),(31,3,'ECS000031','摩托罗拉E8 ','+',5,2,'',1,0.000,1604.39,1337.00,0.00,0,0,1,'直板','','','images/200905/thumb_img/31_thumb_G_1242110412996.jpg','images/200905/goods_img/31_G_1242110412332.jpg','images/200905/source_img/31_G_1242110412519.jpg',1,'',0,1,0,13,1242110412,100,0,0,0,0,0,0,1242140652,7,'',-1,-1,NULL,NULL),(32,3,'ECS000032','诺基亚N85','+',9,1,'',4,0.000,3612.00,3010.00,2750.00,1243785600,1277827200,1,'2008年10月 GSM,850,900,1800,1900 黑色','','<p>诺基亚N85参数</p>\r\n<div>&nbsp;</div>\r\n<div>\r\n<table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n    <tbody>\r\n        <tr>\r\n            <td bgcolor=\"#f1f7fc\" colspan=\"2\">\r\n            <p><b>基本参数</b></p>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">手机昵称</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">N85</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">上市日期</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">2008年10月</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">手机类型</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">3G手机;拍照手机;智能手机</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">手机制式</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">GSM</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">支持频段</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">GSM850/900/1800/1900MHz</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">数据传输</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">GPRS、EDGE</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">屏幕材质</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">AMOLED</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">屏幕色彩</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">1600万色</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">主屏尺寸</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">2.6英寸</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">主屏参数</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">QVGA 320&times;240像素</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">铃音描述</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">可选MP3、WAV、AAC或和弦Midi铃声等格式</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">操作系统</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">Symbian OS v9.3操作系统与S60 v3.2平台的组合</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">机身内存</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">74MB 内部动态存储空间<br />\r\n            78MB 内置NAND闪存</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">存储卡</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">支持MicroSD(T-Flash)卡扩展最大至8GB</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">电池规格</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">1200毫安时锂电池</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">标配</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">诺基亚 N85<br />\r\n            诺基亚电池(BL-5K)<br />\r\n            诺基亚旅行充电器(AC-10)<br />\r\n            诺基亚视频数据线(CA-75U)<br />\r\n            诺基亚数据线(CA-101)<br />\r\n            诺基亚音乐耳机(HS-45、AD-54)<br />\r\n            诺基亚 8 GB microSD 卡(MU-43)<br />\r\n            《用户手册》<br />\r\n            《快速入门》</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">理论通话时间</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">6.9 小时</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">理论待机时间</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">363 小时</td>\r\n        </tr>\r\n        <tr>\r\n            <td bgcolor=\"#f1f7fc\" colspan=\"2\">\r\n            <p><b>产品外形</b></p>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">外观设计</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">双向滑盖</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">产品尺寸</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">103&times;50&times;16mm<br />\r\n            体积:76 立方厘米</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">手机重量</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">128克</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">产品天线</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">内置</td>\r\n        </tr>\r\n        <tr>\r\n            <td bgcolor=\"#f1f7fc\" colspan=\"2\">\r\n            <p><b>拍照功能</b></p>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"550\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\" style=\"padding: 8px 0px;\" colspan=\"2\">\r\n            <table cellspacing=\"1\" cellpadding=\"0\" border=\"0\" align=\"left\">\r\n                <tbody>\r\n                    <tr>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" bgcolor=\"#f1f7fc\" align=\"middle\" style=\"padding: 2px; font-weight: bold;\">定时器</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">&nbsp;</td>\r\n                    </tr>\r\n                </tbody>\r\n            </table>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">摄像头</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">内置</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">摄像头像素</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">500万像素</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">连拍功能</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">支持</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">LED闪光灯</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">双LED 闪光灯</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">数码变焦</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">20 倍数码变焦</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">拍摄模式</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">静止、连拍、自动定时器、摄像</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">照片特效</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">正常、怀旧、黑白、负片、逼真</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">拍照描述</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">支持最大2592&times;1944分辨率照片拍摄<br />\r\n            支持JPEG、Exif格式<br />\r\n            白平衡模式:自动、阳光、阴天、白炽灯、荧光灯<br />\r\n            感光度模式:高、中、低、自动</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">视频拍摄</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">最高支持640 x 480 像素(VGA)、30 帧/秒</td>\r\n        </tr>\r\n        <tr>\r\n            <td bgcolor=\"#f1f7fc\" colspan=\"2\">\r\n            <p><b>娱乐功能</b></p>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"550\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\" style=\"padding: 8px 0px;\" colspan=\"2\">\r\n            <table cellspacing=\"1\" cellpadding=\"0\" border=\"0\" align=\"left\">\r\n                <tbody>\r\n                    <tr>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" bgcolor=\"#f1f7fc\" align=\"middle\" style=\"padding: 2px; font-weight: bold;\">收音机</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" bgcolor=\"#f1f7fc\" align=\"middle\" style=\"padding: 2px; font-weight: bold;\">TV-OUT</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" bgcolor=\"#f1f7fc\" align=\"middle\" style=\"padding: 2px; font-weight: bold;\">录音功能</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" bgcolor=\"#f1f7fc\" align=\"middle\" style=\"padding: 2px; font-weight: bold;\">电子书</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">&nbsp;</td>\r\n                    </tr>\r\n                </tbody>\r\n            </table>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">视频播放</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">内置RealPlayer播放器, 支持MPEG4、H.264/AVC、H.263/3GP、RealVideo等视频格式全屏播放</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">音乐播放</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">内置播放器, 支持mp3、.wma、.aac、eAAC、eAAC+格式</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">游戏</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">内置</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">Java功能</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">支持Java MIDP 2.0 CLDC 1.1</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">Flash功能</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">第3.0版Flash lite播放器</td>\r\n        </tr>\r\n        <tr>\r\n            <td bgcolor=\"#f1f7fc\" colspan=\"2\">\r\n            <p><b>数据功能</b></p>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"550\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\" style=\"padding: 8px 0px;\" colspan=\"2\">\r\n            <table cellspacing=\"1\" cellpadding=\"0\" border=\"0\" align=\"left\">\r\n                <tbody>\r\n                    <tr>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" bgcolor=\"#f1f7fc\" align=\"middle\" style=\"padding: 2px; font-weight: bold;\">蓝牙功能</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">&nbsp;</td>\r\n                    </tr>\r\n                </tbody>\r\n            </table>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">数据线接口</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">USB数据线 3.5mm立体声耳机插孔</td>\r\n        </tr>\r\n        <tr>\r\n            <td bgcolor=\"#f1f7fc\" colspan=\"2\">\r\n            <p><b>基本功能</b></p>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"550\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\" style=\"padding: 8px 0px;\" colspan=\"2\">\r\n            <table cellspacing=\"1\" cellpadding=\"0\" border=\"0\" align=\"left\">\r\n                <tbody>\r\n                    <tr>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" bgcolor=\"#f1f7fc\" align=\"middle\" style=\"padding: 2px; font-weight: bold;\">短信(SMS)</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" bgcolor=\"#f1f7fc\" align=\"middle\" style=\"padding: 2px; font-weight: bold;\">彩信(MMS)</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" bgcolor=\"#f1f7fc\" align=\"middle\" style=\"padding: 2px; font-weight: bold;\">免提通话</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" bgcolor=\"#f1f7fc\" align=\"middle\" style=\"padding: 2px; font-weight: bold;\">情景模式</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" bgcolor=\"#f1f7fc\" align=\"middle\" style=\"padding: 2px; font-weight: bold;\">闹钟功能</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                    </tr>\r\n                    <tr>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" bgcolor=\"#f1f7fc\" align=\"middle\" style=\"padding: 2px; font-weight: bold;\">日历功能</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">&nbsp;</td>\r\n                    </tr>\r\n                </tbody>\r\n            </table>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">输入方式</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">键盘</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">通话记录</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">未接来电+已接来电+已拨电话记录</td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"100\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\">通讯录</td>\r\n            <td width=\"450\" bgcolor=\"#ffffff\">S60标准化名片式通讯录</td>\r\n        </tr>\r\n        <tr>\r\n            <td bgcolor=\"#f1f7fc\" colspan=\"2\">\r\n            <p><b>网络功能</b></p>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"550\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\" style=\"padding: 8px 0px;\" colspan=\"2\">\r\n            <table cellspacing=\"1\" cellpadding=\"0\" border=\"0\" align=\"left\">\r\n                <tbody>\r\n                    <tr>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" bgcolor=\"#f1f7fc\" align=\"middle\" style=\"padding: 2px; font-weight: bold;\">电子邮件</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" bgcolor=\"#f1f7fc\" align=\"middle\" style=\"padding: 2px; font-weight: bold;\">WWW浏览器</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" bgcolor=\"#f1f7fc\" align=\"middle\" style=\"padding: 2px; font-weight: bold;\">WAP浏览器</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">&nbsp;</td>\r\n                    </tr>\r\n                </tbody>\r\n            </table>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td bgcolor=\"#f1f7fc\" colspan=\"2\">\r\n            <p><b>商务功能</b></p>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"550\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\" style=\"padding: 8px 0px;\" colspan=\"2\">\r\n            <table cellspacing=\"1\" cellpadding=\"0\" border=\"0\" align=\"left\">\r\n                <tbody>\r\n                    <tr>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" bgcolor=\"#f1f7fc\" align=\"middle\" style=\"padding: 2px; font-weight: bold;\">飞行模式</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" bgcolor=\"#f1f7fc\" align=\"middle\" style=\"padding: 2px; font-weight: bold;\">语音拨号</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" bgcolor=\"#f1f7fc\" align=\"middle\" style=\"padding: 2px; font-weight: bold;\">备忘录</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" bgcolor=\"#f1f7fc\" align=\"middle\" style=\"padding: 2px; font-weight: bold;\">日程表</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" bgcolor=\"#f1f7fc\" align=\"middle\" style=\"padding: 2px; font-weight: bold;\">世界时间</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                    </tr>\r\n                    <tr>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">&nbsp;</td>\r\n                    </tr>\r\n                </tbody>\r\n            </table>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td bgcolor=\"#f1f7fc\" colspan=\"2\">\r\n            <p><b>其他功能</b></p>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td width=\"550\" valign=\"center\" bgcolor=\"#ffffff\" align=\"left\" style=\"padding: 8px 0px;\" colspan=\"2\">\r\n            <table cellspacing=\"1\" cellpadding=\"0\" border=\"0\" align=\"left\">\r\n                <tbody>\r\n                    <tr>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" bgcolor=\"#f1f7fc\" align=\"middle\" style=\"padding: 2px; font-weight: bold;\">GPS功能</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" bgcolor=\"#f1f7fc\" align=\"middle\" style=\"padding: 2px; font-weight: bold;\">电子词典</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" bgcolor=\"#f1f7fc\" align=\"middle\" style=\"padding: 2px; font-weight: bold;\">待机图片</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" bgcolor=\"#f1f7fc\" align=\"middle\" style=\"padding: 2px; font-weight: bold;\">计算器</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" bgcolor=\"#f1f7fc\" align=\"middle\" style=\"padding: 2px; font-weight: bold;\">来电铃声识别</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                    </tr>\r\n                    <tr>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" bgcolor=\"#f1f7fc\" align=\"middle\" style=\"padding: 2px; font-weight: bold;\">来电图片识别</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" bgcolor=\"#f1f7fc\" align=\"middle\" style=\"padding: 2px; font-weight: bold;\">来电防火墙</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" bgcolor=\"#f1f7fc\" align=\"middle\" style=\"padding: 2px; font-weight: bold;\">动画屏保</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" bgcolor=\"#f1f7fc\" align=\"middle\" style=\"padding: 2px; font-weight: bold;\">图形菜单</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" bgcolor=\"#f1f7fc\" align=\"middle\" style=\"padding: 2px; font-weight: bold;\">秒表</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                    </tr>\r\n                    <tr>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\" bgcolor=\"#c5d7ed\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" bgcolor=\"#f1f7fc\" align=\"middle\" style=\"padding: 2px; font-weight: bold;\">单位换算</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                        <td width=\"100\" style=\"padding: 5px 0px 5px 10px;\">\r\n                        <table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td width=\"100%\" align=\"middle\" style=\"padding: 2px; float: none;\">&nbsp;</td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                    </tr>\r\n                </tbody>\r\n            </table>\r\n            </td>\r\n        </tr>\r\n    </tbody>\r\n</table>\r\n</div>\r\n<p>&nbsp;</p>','images/200905/thumb_img/32_thumb_G_1242110760196.jpg','images/200905/goods_img/32_G_1242110760868.jpg','images/200905/source_img/32_G_1242110760437.jpg',1,'',1,1,0,30,1242110760,100,0,0,1,1,1,0,1269589051,9,'',-1,-1,NULL,NULL);
/*!40000 ALTER TABLE `ecs_goods` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_goods_activity`
--

DROP TABLE IF EXISTS `ecs_goods_activity`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_goods_activity` (
  `act_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `act_name` varchar(255) NOT NULL,
  `act_desc` text NOT NULL,
  `act_type` tinyint(3) unsigned NOT NULL,
  `goods_id` mediumint(8) unsigned NOT NULL,
  `product_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `goods_name` varchar(255) NOT NULL,
  `start_time` int(10) unsigned NOT NULL,
  `end_time` int(10) unsigned NOT NULL,
  `is_finished` tinyint(3) unsigned NOT NULL,
  `ext_info` text NOT NULL,
  PRIMARY KEY (`act_id`),
  KEY `act_name` (`act_name`,`act_type`,`goods_id`)
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_goods_activity`
--

LOCK TABLES `ecs_goods_activity` WRITE;
/*!40000 ALTER TABLE `ecs_goods_activity` DISABLE KEYS */;
INSERT INTO `ecs_goods_activity` VALUES (1,'夺宝奇兵之诺基亚N96','新一轮的夺宝开始了\n本期是 诺基亚n96',0,23,0,'诺基亚N96',1242107580,1242193980,0,'a:4:{s:11:\"start_price\";s:4:\"1.00\";s:9:\"end_price\";s:6:\"800.00\";s:9:\"max_price\";i:0;s:11:\"cost_points\";s:1:\"1\";}'),(2,'夺宝奇兵之夏新N7','本期的夺宝奖品是 夏新N7',0,17,0,'夏新N7',1242107820,1250661420,0,'a:4:{s:11:\"start_price\";s:4:\"1.00\";s:9:\"end_price\";s:6:\"800.00\";s:9:\"max_price\";i:0;s:11:\"cost_points\";s:1:\"1\";}'),(3,'P806','本期团购活动——联想新品P806\n团购买的多优惠多',1,24,0,'P806',1241971200,1242403200,3,'a:4:{s:12:\"price_ladder\";a:3:{i:0;a:2:{s:6:\"amount\";i:10;s:5:\"price\";d:1850;}i:1;a:2:{s:6:\"amount\";i:15;s:5:\"price\";d:1800;}i:2;a:2:{s:6:\"amount\";i:20;s:5:\"price\";d:1780;}}s:15:\"restrict_amount\";i:0;s:13:\"gift_integral\";i:0;s:7:\"deposit\";d:1000;}'),(4,'拍卖活动——索爱C702c','',2,10,0,'索爱C702c',1242144000,1242403200,0,'a:5:{s:7:\"deposit\";d:0;s:11:\"start_price\";d:0;s:9:\"end_price\";i:0;s:9:\"amplitude\";d:20;s:6:\"no_top\";i:1;}'),(5,'摩托罗拉E8 大礼包','礼包大优惠',4,31,0,'摩托罗拉E8 ',1242110400,1252046400,0,'a:1:{s:13:\"package_price\";s:4:\"1430\";}'),(6,'诺基亚N85大礼包','诺基亚N85超值大礼包',4,32,0,'诺基亚N85',1242110760,1248936360,0,'a:1:{s:13:\"package_price\";s:4:\"3150\";}'),(7,'拍卖活动——索爱C702c(第2期)','拍卖活动————索爱C702c (第2期)',2,10,0,'索爱C702c',1241712000,1274803200,0,'a:5:{s:7:\"deposit\";d:50;s:11:\"start_price\";d:0;s:9:\"end_price\";i:0;s:9:\"amplitude\";d:50;s:6:\"no_top\";i:1;}'),(8,'P806','团购第2期',1,24,0,'P806',1242316800,1274803200,0,'a:4:{s:12:\"price_ladder\";a:2:{i:0;a:2:{s:6:\"amount\";i:5;s:5:\"price\";d:1910;}i:1;a:2:{s:6:\"amount\";i:10;s:5:\"price\";d:1860;}}s:15:\"restrict_amount\";i:0;s:13:\"gift_integral\";i:0;s:7:\"deposit\";d:1000;}');
/*!40000 ALTER TABLE `ecs_goods_activity` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_goods_article`
--

DROP TABLE IF EXISTS `ecs_goods_article`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_goods_article` (
  `goods_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `article_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `admin_id` tinyint(3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`goods_id`,`article_id`,`admin_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_goods_article`
--

LOCK TABLES `ecs_goods_article` WRITE;
/*!40000 ALTER TABLE `ecs_goods_article` DISABLE KEYS */;
INSERT INTO `ecs_goods_article` VALUES (1,27,1),(8,28,0),(9,8,1),(13,29,0),(14,29,0),(14,31,0),(23,8,1),(23,30,0),(23,31,0),(32,8,1),(32,30,0);
/*!40000 ALTER TABLE `ecs_goods_article` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_goods_attr`
--

DROP TABLE IF EXISTS `ecs_goods_attr`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_goods_attr` (
  `goods_attr_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `goods_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `attr_id` smallint(5) unsigned NOT NULL DEFAULT '0',
  `attr_value` text NOT NULL,
  `attr_price` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`goods_attr_id`),
  KEY `goods_id` (`goods_id`),
  KEY `attr_id` (`attr_id`)
) ENGINE=MyISAM AUTO_INCREMENT=241 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_goods_attr`
--

LOCK TABLES `ecs_goods_attr` WRITE;
/*!40000 ALTER TABLE `ecs_goods_attr` DISABLE KEYS */;
INSERT INTO `ecs_goods_attr` VALUES (238,1,173,'GSM,850,900,1800,1900','0'),(237,1,185,'灰色',''),(236,1,191,'支持','0'),(235,1,190,'支持','0'),(234,1,189,'2.4英寸','0'),(233,1,172,'2008年04月','0'),(228,9,178,'滑盖','0'),(227,9,185,'白色','0'),(226,9,185,'黑色','10'),(232,8,178,'直板','0'),(231,8,185,'黑色',''),(230,8,190,'支持','0'),(229,8,189,'1.75英寸','0'),(217,13,185,'黑色',''),(216,13,189,'2.0英寸','0'),(215,13,172,'2008年07月','0'),(225,10,178,'直板','0'),(221,13,178,'直板','0'),(222,10,172,'2008年05月','0'),(223,10,189,'2.2英寸','0'),(224,10,173,'GSM,850,900,1800,1900','0'),(220,13,175,'300小时','0'),(219,13,174,'4小时','0'),(212,14,172,'2008年10月','0'),(213,14,185,'黑色','0'),(214,14,178,'直板','0'),(218,13,173,'GSM,850,900,1800,1900','0'),(211,15,178,'直板','0'),(210,15,210,'线控耳机','50'),(200,17,189,'2.8英寸','0'),(201,17,185,'黑色',''),(202,17,173,'CDMA','0'),(203,17,174,'8小时','0'),(204,17,175,'300小时','0'),(205,17,178,'直板','0'),(206,15,189,'2.2英寸','0'),(207,15,185,'黑色',''),(208,15,185,'白色','20'),(209,15,210,'数据线','20'),(196,19,185,'黑色',''),(197,19,185,'金色','10'),(198,19,185,'白色','20'),(199,19,178,'滑盖','0'),(195,20,173,'GSM,900,1800,1900,2100','0'),(193,20,172,'2008年07月','0'),(194,20,185,'黑色',''),(187,21,180,'T-Flash','0'),(189,21,210,'线控耳机','50'),(188,21,185,'黑色',''),(186,22,178,'直板','0'),(182,22,185,'黑色',''),(183,22,173,'GSM,850,900,1800,1900','0'),(184,22,174,'6.5小时','0'),(185,22,175,'450小时','0'),(181,22,181,'288MB','0'),(180,22,180,'microSD','0'),(179,22,172,'2008年12月','0'),(192,21,175,'100小时','0'),(191,21,174,'2.5小时','0'),(178,23,178,'滑盖','0'),(190,21,210,'数据线','20'),(176,23,174,'2.5小时','0'),(177,23,175,'200小时','0'),(173,23,188,'320×240 像素','0'),(174,23,189,'2.8英寸','0'),(175,23,185,'黑色',''),(172,23,182,'Symbian OS 9.3操作系统','0'),(171,23,181,'256MB','0'),(170,23,172,'2008年09月','0'),(169,24,179,'SMS','0'),(166,24,190,'支持','0'),(167,24,185,'灰色',''),(168,24,210,'数据线','20'),(165,24,183,'支持','0'),(164,24,172,'2008年06月','0'),(152,32,172,'2008年10月','0'),(153,32,180,'MicroSD','0'),(154,32,181,'78MB','0'),(155,32,182,'Symbian OS v9.3','0'),(156,32,189,'2.6英寸','0'),(157,32,210,'线控耳机','50'),(158,32,210,'蓝牙耳机','100'),(159,32,210,'数据线','12'),(160,32,173,'GSM,850,900,1800,1900','0'),(161,32,174,'6.9 小时','0'),(162,32,175,'363 小时','0'),(163,32,185,'黑色',''),(239,10,185,'黑色',''),(240,10,185,'白色','');
/*!40000 ALTER TABLE `ecs_goods_attr` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_goods_cat`
--

DROP TABLE IF EXISTS `ecs_goods_cat`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_goods_cat` (
  `goods_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `cat_id` smallint(5) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`goods_id`,`cat_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_goods_cat`
--

LOCK TABLES `ecs_goods_cat` WRITE;
/*!40000 ALTER TABLE `ecs_goods_cat` DISABLE KEYS */;
INSERT INTO `ecs_goods_cat` VALUES (8,2),(8,5),(16,3),(16,5);
/*!40000 ALTER TABLE `ecs_goods_cat` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_goods_gallery`
--

DROP TABLE IF EXISTS `ecs_goods_gallery`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_goods_gallery` (
  `img_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `goods_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `img_url` varchar(255) NOT NULL DEFAULT '',
  `img_desc` varchar(255) NOT NULL DEFAULT '',
  `thumb_url` varchar(255) NOT NULL DEFAULT '',
  `img_original` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`img_id`),
  KEY `goods_id` (`goods_id`)
) ENGINE=MyISAM AUTO_INCREMENT=44 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_goods_gallery`
--

LOCK TABLES `ecs_goods_gallery` WRITE;
/*!40000 ALTER TABLE `ecs_goods_gallery` DISABLE KEYS */;
INSERT INTO `ecs_goods_gallery` VALUES (1,1,'images/200905/goods_img/1_P_1240902890730.gif','','images/200905/thumb_img/1_thumb_P_1240902890139.jpg','images/200905/source_img/1_P_1240902890193.gif'),(2,1,'images/200905/goods_img/1_P_1240904370445.jpg','','images/200905/thumb_img/1_thumb_P_1240904370846.jpg','images/200905/source_img/1_P_1240904370647.jpg'),(3,1,'images/200905/goods_img/1_P_1240904371414.jpg','','images/200905/thumb_img/1_thumb_P_1240904371539.jpg','images/200905/source_img/1_P_1240904371019.jpg'),(4,1,'images/200905/goods_img/1_P_1240904371355.jpg','','images/200905/thumb_img/1_thumb_P_1240904371335.jpg','images/200905/source_img/1_P_1240904371118.jpg'),(5,1,'images/200905/goods_img/1_P_1240904371252.jpg','','images/200905/thumb_img/1_thumb_P_1240904371430.jpg','images/200905/source_img/1_P_1240904371758.jpg'),(6,3,'images/200905/goods_img/3_P_1241422082461.jpg','','images/200905/thumb_img/3_thumb_P_1241422082160.jpg','images/200905/source_img/3_P_1241422082816.jpg'),(7,4,'images/200905/goods_img/4_P_1241422402169.jpg','','images/200905/thumb_img/4_thumb_P_1241422402909.jpg','images/200905/source_img/4_P_1241422402362.jpg'),(8,5,'images/200905/goods_img/5_P_1241422518168.jpg','','images/200905/thumb_img/5_thumb_P_1241422518416.jpg','images/200905/source_img/5_P_1241422518314.jpg'),(9,7,'images/200905/goods_img/7_P_1241422785926.jpg','','images/200905/thumb_img/7_thumb_P_1241422785889.jpg','images/200905/source_img/7_P_1241422785172.jpg'),(10,8,'images/200905/goods_img/8_P_1241425513388.jpg','','images/200905/thumb_img/8_thumb_P_1241425513834.jpg','images/200905/source_img/8_P_1241425513810.jpg'),(11,8,'images/200905/goods_img/8_P_1241425891781.JPG','正面','images/200905/thumb_img/8_thumb_P_1241425891460.jpg','images/200905/source_img/8_P_1241425891321.JPG'),(12,8,'images/200905/goods_img/8_P_1241425891193.jpg','背面','images/200905/thumb_img/8_thumb_P_1241425892547.jpg','images/200905/source_img/8_P_1241425891588.jpg'),(13,8,'images/200905/goods_img/8_P_1241425892941.JPG','侧面','images/200905/thumb_img/8_thumb_P_1241425892356.jpg','images/200905/source_img/8_P_1241425892999.JPG'),(14,9,'images/200905/goods_img/9_P_1241511871575.jpg','','images/200905/thumb_img/9_thumb_P_1241511871787.jpg','images/200905/source_img/9_P_1241511871749.jpg'),(15,12,'images/200905/goods_img/12_P_1241965978060.jpg','','images/200905/thumb_img/12_thumb_P_1241965978845.jpg','images/200905/source_img/12_P_1241965978333.jpg'),(16,12,'images/200905/goods_img/12_P_1241966218046.jpg','','images/200905/thumb_img/12_thumb_P_1241966218835.jpg','images/200905/source_img/12_P_1241966218225.jpg'),(17,12,'images/200905/goods_img/12_P_1241966218391.jpg','','images/200905/thumb_img/12_thumb_P_1241966218843.jpg','images/200905/source_img/12_P_1241966218859.jpg'),(18,13,'images/200905/goods_img/13_P_1241967762510.jpg','','images/200905/thumb_img/13_thumb_P_1241967762510.jpg','images/200905/source_img/13_P_1241967762358.jpg'),(19,13,'images/200905/goods_img/13_P_1241968002659.jpg','','images/200905/thumb_img/13_thumb_P_1241968002193.jpg','images/200905/source_img/13_P_1241968002709.jpg'),(20,14,'images/200905/goods_img/14_P_1241968492774.jpg','','images/200905/thumb_img/14_thumb_P_1241968492168.jpg','images/200905/source_img/14_P_1241968492973.jpg'),(21,14,'images/200905/goods_img/14_P_1241968492721.jpg','','images/200905/thumb_img/14_thumb_P_1241968492995.jpg','images/200905/source_img/14_P_1241968492307.jpg'),(22,14,'images/200905/goods_img/14_P_1241968492279.jpg','','images/200905/thumb_img/14_thumb_P_1241968492674.jpg','images/200905/source_img/14_P_1241968492392.jpg'),(23,16,'images/200905/goods_img/16_P_1241968949498.jpg','','images/200905/thumb_img/16_thumb_P_1241968949965.jpg','images/200905/source_img/16_P_1241968949069.jpg'),(24,17,'images/200905/goods_img/17_P_1241969394354.jpg','','images/200905/thumb_img/17_thumb_P_1241969394537.jpg','images/200905/source_img/17_P_1241969394369.jpg'),(25,19,'images/200905/goods_img/19_P_1241970140820.jpg','','images/200905/thumb_img/19_thumb_P_1241970140527.jpg','images/200905/source_img/19_P_1241970139925.jpg'),(26,19,'images/200905/goods_img/19_P_1241970140600.jpg','','images/200905/thumb_img/19_thumb_P_1241970140229.jpg','images/200905/source_img/19_P_1241970140187.jpg'),(27,19,'images/200905/goods_img/19_P_1241970175007.jpg','','images/200905/thumb_img/19_thumb_P_1241970175086.jpg','images/200905/source_img/19_P_1241970175028.jpg'),(28,22,'images/200905/goods_img/22_P_1241971076061.jpg','','images/200905/thumb_img/22_thumb_P_1241971076595.jpg','images/200905/source_img/22_P_1241971076696.jpg'),(29,23,'images/200905/goods_img/23_P_1241971556661.jpg','','images/200905/thumb_img/23_thumb_P_1241971556920.jpg','images/200905/source_img/23_P_1241971556122.jpg'),(30,24,'images/200905/goods_img/24_P_1241971981420.jpg','','images/200905/thumb_img/24_thumb_P_1241971981834.jpg','images/200905/source_img/24_P_1241971981824.jpg'),(31,25,'images/200905/goods_img/25_P_1241972709888.jpg','','images/200905/thumb_img/25_thumb_P_1241972709070.jpg','images/200905/source_img/25_P_1241972709222.jpg'),(32,26,'images/200905/goods_img/26_P_1241972789025.jpg','','images/200905/thumb_img/26_thumb_P_1241972789061.jpg','images/200905/source_img/26_P_1241972789731.jpg'),(33,27,'images/200905/goods_img/27_P_1241972894128.jpg','','images/200905/thumb_img/27_thumb_P_1241972894915.jpg','images/200905/source_img/27_P_1241972894886.jpg'),(34,28,'images/200905/goods_img/28_P_1241972976099.jpg','','images/200905/thumb_img/28_thumb_P_1241972976277.jpg','images/200905/source_img/28_P_1241972976150.jpg'),(35,29,'images/200905/goods_img/29_P_1241973022876.jpg','','images/200905/thumb_img/29_thumb_P_1241973022886.jpg','images/200905/source_img/29_P_1241973022880.jpg'),(36,30,'images/200905/goods_img/30_P_1241973114554.jpg','','images/200905/thumb_img/30_thumb_P_1241973114166.jpg','images/200905/source_img/30_P_1241973114795.jpg'),(38,20,'images/200905/goods_img/20_P_1242106490582.jpg','','images/200905/thumb_img/20_thumb_P_1242106490836.jpg','images/200905/source_img/20_P_1242106490796.jpg'),(39,21,'images/200905/goods_img/21_P_1242109298519.jpg','','images/200905/thumb_img/21_thumb_P_1242109298525.jpg','images/200905/source_img/21_P_1242109298459.jpg'),(40,31,'images/200905/goods_img/31_P_1242110412503.jpg','','images/200905/thumb_img/31_thumb_P_1242110412614.jpg','images/200905/source_img/31_P_1242110412152.jpg'),(41,32,'images/200905/goods_img/32_P_1242110760641.jpg','','images/200905/thumb_img/32_thumb_P_1242110760997.jpg','images/200905/source_img/32_P_1242110760203.jpg'),(42,15,'images/200905/goods_img/15_P_1242973362276.jpg','','images/200905/thumb_img/15_thumb_P_1242973362611.jpg','images/200905/source_img/15_P_1242973362172.jpg'),(43,10,'images/200905/goods_img/10_P_1242973436620.jpg','','images/200905/thumb_img/10_thumb_P_1242973436219.jpg','images/200905/source_img/10_P_1242973436898.jpg');
/*!40000 ALTER TABLE `ecs_goods_gallery` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_goods_type`
--

DROP TABLE IF EXISTS `ecs_goods_type`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_goods_type` (
  `cat_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `cat_name` varchar(60) NOT NULL DEFAULT '',
  `enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `attr_group` varchar(255) NOT NULL,
  PRIMARY KEY (`cat_id`)
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_goods_type`
--

LOCK TABLES `ecs_goods_type` WRITE;
/*!40000 ALTER TABLE `ecs_goods_type` DISABLE KEYS */;
INSERT INTO `ecs_goods_type` VALUES (1,'书',1,''),(2,'音乐',1,''),(3,'电影',1,''),(4,'手机',1,''),(5,'笔记本电脑',1,''),(6,'数码相机',1,''),(7,'数码摄像机',1,''),(8,'化妆品',1,''),(9,'精品手机',1,'');
/*!40000 ALTER TABLE `ecs_goods_type` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_group_goods`
--

DROP TABLE IF EXISTS `ecs_group_goods`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_group_goods` (
  `parent_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `goods_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `goods_price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00',
  `admin_id` tinyint(3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`parent_id`,`goods_id`,`admin_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_group_goods`
--

LOCK TABLES `ecs_group_goods` WRITE;
/*!40000 ALTER TABLE `ecs_group_goods` DISABLE KEYS */;
INSERT INTO `ecs_group_goods` VALUES (9,4,58.00,1),(9,3,68.00,1),(9,7,100.00,1),(14,5,20.00,1),(14,6,42.00,1),(14,7,100.00,1);
/*!40000 ALTER TABLE `ecs_group_goods` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_keywords`
--

DROP TABLE IF EXISTS `ecs_keywords`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_keywords` (
  `date` date NOT NULL DEFAULT '0000-00-00',
  `searchengine` varchar(20) NOT NULL DEFAULT '',
  `keyword` varchar(90) NOT NULL DEFAULT '',
  `count` mediumint(8) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`date`,`searchengine`,`keyword`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_keywords`
--

LOCK TABLES `ecs_keywords` WRITE;
/*!40000 ALTER TABLE `ecs_keywords` DISABLE KEYS */;
INSERT INTO `ecs_keywords` VALUES ('2009-04-21','ecshop','诺基亚',1),('2009-04-27','ecshop','智能手机',1),('2009-05-04','ecshop','斤',1),('2009-05-10','ecshop','诺基亚',1),('2009-05-11','ecshop','智能手机',1),('2009-05-11','ecshop','诺基亚',1),('2009-05-12','ecshop','三星',1),('2009-05-12','ecshop','智能手机',1),('2009-05-12','ecshop','p806',1),('2009-05-12','ecshop','诺基亚',1),('2009-05-12','ecshop','夏新',1),('2009-05-18','ecshop','52',2),('2009-05-22','ecshop','p',1);
/*!40000 ALTER TABLE `ecs_keywords` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_link_goods`
--

DROP TABLE IF EXISTS `ecs_link_goods`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_link_goods` (
  `goods_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `link_goods_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `is_double` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `admin_id` tinyint(3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`goods_id`,`link_goods_id`,`admin_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_link_goods`
--

LOCK TABLES `ecs_link_goods` WRITE;
/*!40000 ALTER TABLE `ecs_link_goods` DISABLE KEYS */;
INSERT INTO `ecs_link_goods` VALUES (12,9,0,1),(12,10,0,1),(12,11,0,1),(9,13,1,1),(13,9,1,1),(14,9,0,1),(14,13,0,1),(23,9,0,1),(13,23,1,1),(23,13,1,1);
/*!40000 ALTER TABLE `ecs_link_goods` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_mail_templates`
--

DROP TABLE IF EXISTS `ecs_mail_templates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_mail_templates` (
  `template_id` tinyint(1) unsigned NOT NULL AUTO_INCREMENT,
  `template_code` varchar(30) NOT NULL DEFAULT '',
  `is_html` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `template_subject` varchar(200) NOT NULL DEFAULT '',
  `template_content` text NOT NULL,
  `last_modify` int(10) unsigned NOT NULL DEFAULT '0',
  `last_send` int(10) unsigned NOT NULL DEFAULT '0',
  `type` varchar(10) NOT NULL,
  PRIMARY KEY (`template_id`),
  UNIQUE KEY `template_code` (`template_code`),
  KEY `type` (`type`)
) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_mail_templates`
--

LOCK TABLES `ecs_mail_templates` WRITE;
/*!40000 ALTER TABLE `ecs_mail_templates` DISABLE KEYS */;
INSERT INTO `ecs_mail_templates` VALUES (1,'send_password',1,'密码找回','{$user_name}您好!<br>\n<br>\n您已经进行了密码重置的操作,请点击以下链接(或者复制到您的浏览器):<br>\n<br>\n<a href=\"{$reset_email}\" target=\"_blank\">{$reset_email}</a><br>\n<br>\n以确认您的新密码重置操作!<br>\n<br>\n{$shop_name}<br>\n{$send_date}',1194824789,0,'template'),(2,'order_confirm',0,'订单确认通知','亲爱的{$order.consignee},你好! \n\n我们已经收到您于 {$order.formated_add_time} 提交的订单,该订单编号为:{$order.order_sn} 请记住这个编号以便日后的查询。\n\n{$shop_name}\n{$sent_date}\n\n\n',1158226370,0,'template'),(3,'deliver_notice',1,'发货通知','亲爱的{$order.consignee}。你好!</br></br>\n\n您的订单{$order.order_sn}已于{$send_time}按照您预定的配送方式给您发货了。</br>\n</br>\n{if $order.invoice_no}发货单号是{$order.invoice_no}。</br>{/if}\n</br>\n在您收到货物之后请点击下面的链接确认您已经收到货物:</br>\n<a href=\"{$confirm_url}\" target=\"_blank\">{$confirm_url}</a></br></br>\n如果您还没有收到货物可以点击以下链接给我们留言:</br></br>\n<a href=\"{$send_msg_url}\" target=\"_blank\">{$send_msg_url}</a></br>\n<br>\n再次感谢您对我们的支持。欢迎您的再次光临。 <br>\n<br>\n{$shop_name} </br>\n{$send_date}',1194823291,0,'template'),(4,'order_cancel',0,'订单取消','亲爱的{$order.consignee},你好! \n\n您的编号为:{$order.order_sn}的订单已取消。\n\n{$shop_name}\n{$send_date}',1156491130,0,'template'),(5,'order_invalid',0,'订单无效','亲爱的{$order.consignee},你好!\n\n您的编号为:{$order.order_sn}的订单无效。\n\n{$shop_name}\n{$send_date}',1156491164,0,'template'),(6,'send_bonus',0,'发红包','亲爱的{$user_name}您好!\n\n恭喜您获得了{$count}个红包,金额{if $count > 1}分别{/if}为{$money}\n\n{$shop_name}\n{$send_date}\n',1156491184,0,'template'),(7,'group_buy',1,'团购商品','亲爱的{$consignee},您好!<br>\n<br>\n您于{$order_time}在本店参加团购商品活动,所购买的商品名称为:{$goods_name},数量:{$goods_number},订单号为:{$order_sn},订单金额为:{$order_amount}<br>\n<br>\n此团购商品现在已到结束日期,并达到最低价格,您现在可以对该订单付款。<br>\n<br>\n请点击下面的链接:<br>\n<a href=\"{$shop_url}\" target=\"_blank\">{$shop_url}</a><br>\n<br>\n请尽快登录到用户中心,查看您的订单详情信息。 <br>\n<br>\n{$shop_name} <br>\n<br>\n{$send_date}',1194824668,0,'template'),(8,'register_validate',1,'邮件验证','{$user_name}您好!<br><br>\r\n\r\n这封邮件是 {$shop_name} 发送的。你收到这封邮件是为了验证你注册邮件地址是否有效。如果您已经通过验证了,请忽略这封邮件。<br>\r\n请点击以下链接(或者复制到您的浏览器)来验证你的邮件地址:<br>\r\n<a href=\"{$validate_email}\" target=\"_blank\">{$validate_email}</a><br><br>\r\n\r\n{$shop_name}<br>\r\n{$send_date}',1162201031,0,'template'),(9,'virtual_card',0,'虚拟卡片','亲爱的{$order.consignee}\r\n你好!您的订单{$order.order_sn}中{$goods.goods_name} 商品的详细信息如下:\r\n{foreach from=$virtual_card item=card}\r\n{if $card.card_sn}卡号:{$card.card_sn}{/if}{if $card.card_password}卡片密码:{$card.card_password}{/if}{if $card.end_date}截至日期:{$card.end_date}{/if}\r\n{/foreach}\r\n再次感谢您对我们的支持。欢迎您的再次光临。\r\n\r\n{$shop_name} \r\n{$send_date}',1162201031,0,'template'),(10,'attention_list',0,'关注商品','亲爱的{$user_name}您好~\n\n您关注的商品 : {$goods_name} 最近已经更新,请您查看最新的商品信息\n\n{$goods_url}\r\n\r\n{$shop_name} \r\n{$send_date}',1183851073,0,'template'),(11,'remind_of_new_order',0,'新订单通知','亲爱的店长,您好:\n   快来看看吧,又有新订单了。\n    订单号:{$order.order_sn} \n 订单金额:{$order.order_amount},\n 用户购买商品:{foreach from=$goods_list item=goods_data}{$goods_data.goods_name}(货号:{$goods_data.goods_sn})    {/foreach} \n\n 收货人:{$order.consignee}, \n 收货人地址:{$order.address},\n 收货人电话:{$order.tel} {$order.mobile}, \n 配送方式:{$order.shipping_name}(费用:{$order.shipping_fee}), \n 付款方式:{$order.pay_name}(费用:{$order.pay_fee})。\n\n               系统提醒\n               {$send_date}',1196239170,0,'template'),(12,'goods_booking',1,'缺货回复','亲爱的{$user_name}。你好!</br></br>{$dispose_note}</br></br>您提交的缺货商品链接为</br></br><a href=\"{$goods_link}\" target=\"_blank\">{$goods_name}</a></br><br>{$shop_name} </br>{$send_date}',0,0,'template'),(13,'user_message',1,'留言回复','亲爱的{$user_name}。你好!</br></br>对您的留言:</br>{$message_content}</br></br>店主作了如下回复:</br>{$message_note}</br></br>您可以随时回到店中和店主继续沟通。</br>{$shop_name}</br>{$send_date}',0,0,'template'),(14,'recomment',1,'用户评论回复','亲爱的{$user_name}。你好!</br></br>对您的评论:</br>“{$comment}”</br></br>店主作了如下回复:</br>“{$recomment}”</br></br>您可以随时回到店中和店主继续沟通。</br>{$shop_name}</br>{$send_date}',0,0,'template');
/*!40000 ALTER TABLE `ecs_mail_templates` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_member_price`
--

DROP TABLE IF EXISTS `ecs_member_price`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_member_price` (
  `price_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `goods_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `user_rank` tinyint(3) NOT NULL DEFAULT '0',
  `user_price` decimal(10,2) NOT NULL DEFAULT '0.00',
  PRIMARY KEY (`price_id`),
  KEY `goods_id` (`goods_id`,`user_rank`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_member_price`
--

LOCK TABLES `ecs_member_price` WRITE;
/*!40000 ALTER TABLE `ecs_member_price` DISABLE KEYS */;
INSERT INTO `ecs_member_price` VALUES (1,23,3,3200.00),(2,23,2,3300.00),(3,13,3,1100.00),(4,13,2,1200.00);
/*!40000 ALTER TABLE `ecs_member_price` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_nav`
--

DROP TABLE IF EXISTS `ecs_nav`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_nav` (
  `id` mediumint(8) NOT NULL AUTO_INCREMENT,
  `ctype` varchar(10) DEFAULT NULL,
  `cid` smallint(5) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `ifshow` tinyint(1) NOT NULL,
  `vieworder` tinyint(1) NOT NULL,
  `opennew` tinyint(1) NOT NULL,
  `url` varchar(255) NOT NULL,
  `type` varchar(10) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `type` (`type`),
  KEY `ifshow` (`ifshow`)
) ENGINE=MyISAM AUTO_INCREMENT=28 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_nav`
--

LOCK TABLES `ecs_nav` WRITE;
/*!40000 ALTER TABLE `ecs_nav` DISABLE KEYS */;
INSERT INTO `ecs_nav` VALUES (2,NULL,NULL,'选购中心',1,2,0,'pick_out.php','top'),(3,'',0,'查看购物车',1,0,0,'flow.php','top'),(4,'',0,'团购商品',1,20,0,'group_buy.php','middle'),(5,'',0,'夺宝奇兵',1,22,0,'snatch.php','middle'),(6,NULL,NULL,'标签云',1,5,6,'tag_cloud.php','top'),(7,NULL,NULL,'免责条款',1,1,0,'article.php?id=1','bottom'),(8,NULL,NULL,'隐私保护',1,2,0,'article.php?id=2','bottom'),(9,NULL,NULL,'咨询热点',1,3,0,'article.php?id=3','bottom'),(10,NULL,NULL,'联系我们',1,4,0,'article.php?id=4','bottom'),(11,NULL,NULL,'公司简介',1,5,0,'article.php?id=5','bottom'),(12,NULL,NULL,'批发方案',1,6,0,'wholesale.php','bottom'),(14,NULL,NULL,'配送方式',1,7,0,'myship.php','bottom'),(15,NULL,NULL,'留言板',1,99,0,'message.php','middle'),(18,'c',4,'双模手机',1,14,0,'category.php?id=5','middle'),(20,'',0,'EC论坛',1,100,1,'http://bbs.ecshop.com/','middle'),(21,NULL,NULL,'优惠活动',1,21,0,'activity.php','middle'),(23,NULL,NULL,'报价单',1,6,0,'quotation.php','top'),(24,NULL,NULL,'拍卖活动',1,23,0,'auction.php','middle'),(25,NULL,NULL,'积分商城',1,24,0,'exchange.php','middle'),(26,'c',3,'GSM手机',1,13,0,'category.php?id=3','middle'),(27,'c',6,'手机配件',1,15,0,'category.php?id=6','middle');
/*!40000 ALTER TABLE `ecs_nav` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_order_action`
--

DROP TABLE IF EXISTS `ecs_order_action`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_order_action` (
  `action_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `order_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `action_user` varchar(30) NOT NULL DEFAULT '',
  `order_status` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `shipping_status` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `pay_status` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `action_place` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `action_note` varchar(255) NOT NULL DEFAULT '',
  `log_time` int(11) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`action_id`),
  KEY `order_id` (`order_id`)
) ENGINE=MyISAM AUTO_INCREMENT=28 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_order_action`
--

LOCK TABLES `ecs_order_action` WRITE;
/*!40000 ALTER TABLE `ecs_order_action` DISABLE KEYS */;
INSERT INTO `ecs_order_action` VALUES (1,2,'admin',1,0,2,0,'[售后] 1132',1242142350),(2,2,'admin',1,1,2,0,'已经发货,注意接收',1242142389),(3,1,'admin',1,1,2,0,'已经发货,注意接收',1242142432),(4,2,'买家',1,2,2,0,'',1242142449),(5,1,'买家',1,2,2,0,'',1242142451),(6,3,'admin',1,1,2,0,'已经发货了,注意接收',1242142589),(7,3,'买家',1,2,2,0,'',1242142634),(8,5,'admin',1,3,2,0,'',1242142869),(9,6,'admin',3,0,0,0,'暂时缺货',1242143337),(10,7,'admin',1,0,0,0,'',1242143454),(11,1,'admin',1,2,2,0,'[售后] 售后',1242143773),(12,2,'admin',4,0,0,0,'质量问题',1242144185),(13,12,'buyer',2,0,0,0,'用户取消',1242576313),(14,13,'admin',1,1,0,0,'11',1242576445),(15,14,'admin',1,3,2,0,'',1242976715),(16,14,'admin',1,1,2,0,'已经发货,请接收',1242976740),(17,15,'admin',1,0,0,0,'',1245044587),(18,15,'admin',1,0,2,0,'已经付款',1245044644),(19,15,'admin',1,4,2,0,'',1245044964),(20,15,'admin',1,4,2,0,'北京供货商',1245045061),(21,3,'admin',4,0,0,0,'不喜欢这个颜色',1245045334),(22,15,'admin',1,1,2,0,'',1245045443),(23,15,'admin',4,0,0,0,'退货',1245045515),(24,16,'admin',1,4,2,0,'上海供货',1245045723),(25,17,'admin',1,1,2,0,'',1245048189),(26,17,'admin',4,0,0,0,'退货',1245048212),(27,19,'admin',1,1,2,0,'',1245384050);
/*!40000 ALTER TABLE `ecs_order_action` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_order_goods`
--

DROP TABLE IF EXISTS `ecs_order_goods`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_order_goods` (
  `rec_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `order_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `goods_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `goods_name` varchar(120) NOT NULL DEFAULT '',
  `goods_sn` varchar(60) NOT NULL DEFAULT '',
  `product_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `goods_number` smallint(5) unsigned NOT NULL DEFAULT '1',
  `market_price` decimal(10,2) NOT NULL DEFAULT '0.00',
  `goods_price` decimal(10,2) NOT NULL DEFAULT '0.00',
  `goods_attr` text NOT NULL,
  `send_number` smallint(5) unsigned NOT NULL DEFAULT '0',
  `is_real` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `extension_code` varchar(30) NOT NULL DEFAULT '',
  `parent_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `is_gift` smallint(5) unsigned NOT NULL DEFAULT '0',
  `goods_attr_id` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`rec_id`),
  KEY `order_id` (`order_id`),
  KEY `goods_id` (`goods_id`)
) ENGINE=MyISAM AUTO_INCREMENT=32 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_order_goods`
--

LOCK TABLES `ecs_order_goods` WRITE;
/*!40000 ALTER TABLE `ecs_order_goods` DISABLE KEYS */;
INSERT INTO `ecs_order_goods` VALUES (1,1,8,'飞利浦9@9v','ECS000008',0,1,478.79,385.00,'颜色:黑 \n',0,1,'',0,0,'231'),(2,2,12,'摩托罗拉A810','ECS000012',0,1,1179.60,960.00,'',0,1,'',0,0,''),(3,3,17,'夏新N7','ECS000017',0,1,2760.00,2300.00,'',0,1,'',0,0,''),(4,4,22,'多普达Touch HD','ECS000022',0,1,7198.80,5999.00,'',0,1,'',0,0,''),(5,5,9,'诺基亚E66','ECS000009',0,3,2757.60,2200.00,'',0,1,'',0,0,''),(6,5,24,'P806','ECS000024',0,1,2400.00,2000.00,'',0,1,'',0,0,''),(7,6,5,'索爱原装M2卡读卡器','ECS000005',0,1,24.00,20.00,'',0,1,'',0,0,''),(8,7,9,'诺基亚E66','ECS000009',0,1,2757.60,2298.00,'',0,1,'',0,0,''),(9,8,20,'三星BC01','ECS000020',0,1,336.00,238.00,'',0,1,'',0,0,''),(10,8,8,'飞利浦9@9v','ECS000008',0,1,478.79,385.00,'颜色:黑 \n',0,1,'',0,0,'231'),(11,9,24,'P806','ECS000024',0,1,2400.00,2000.00,'',0,1,'',0,0,''),(12,10,24,'P806','ECS000024',0,1,2400.00,0.00,'',0,1,'',0,0,''),(13,11,23,'诺基亚N96','ECS000023',0,1,4440.00,3800.00,'附加配件: 原装电池 [+100]',0,1,'',0,0,''),(14,12,20,'三星BC01','ECS000020',0,1,336.00,238.00,'',0,1,'',0,0,''),(15,13,12,'摩托罗拉A810','ECS000012',0,1,1179.60,960.00,'',0,1,'',0,0,''),(16,14,15,'摩托罗拉A810','ECS000015',0,5,705.60,588.00,'',0,1,'',0,0,''),(17,14,20,'三星BC01','ECS000020',0,1,336.00,238.00,'',0,1,'',0,0,''),(18,14,22,'多普达Touch HD','ECS000022',0,1,7198.80,5999.00,'',0,1,'',0,0,''),(19,14,3,'诺基亚原装5800耳机','ECS000002',0,4,81.60,68.00,'颜色:银色 \n',0,1,'',0,0,''),(20,14,9,'诺基亚E66','ECS000009',0,2,2757.60,2298.00,'',0,1,'',0,0,''),(21,15,13,'诺基亚5320 XpressMusic','ECS000013',0,3,1583.20,1210.00,'颜色:红[10] \n',0,1,'',0,0,''),(22,15,14,'诺基亚5800XM','ECS000014',0,1,3150.00,2493.75,'',0,1,'',0,0,''),(23,15,24,'P806','ECS000024',0,4,2400.00,1900.00,'',0,1,'',0,0,''),(24,15,9,'诺基亚E66','ECS000009',0,1,2757.60,2183.10,'',0,1,'',0,0,''),(25,15,8,'飞利浦9@9v','ECS000008',0,3,478.79,379.05,'颜色:黑 \n',0,1,'',0,0,'231'),(26,16,12,'摩托罗拉A810','ECS000012',0,2,1179.60,933.85,'',2,1,'',0,0,''),(27,16,1,'KD876','ECS000000',0,1,1665.60,1318.60,'',0,1,'',0,0,''),(28,17,24,'P806','ECS000024',0,1,2400.00,1900.00,'',0,1,'',0,0,''),(29,18,24,'P806','ECS000024',0,5,2400.00,100.00,'',0,1,'',0,0,''),(30,19,12,'摩托罗拉A810','ECS000012',0,2,1179.60,933.85,'',2,1,'',0,0,''),(31,19,24,'P806','ECS000024',0,2,2400.00,1850.00,'颜色:灰色 \n',2,1,'',0,0,'167');
/*!40000 ALTER TABLE `ecs_order_goods` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_order_info`
--

DROP TABLE IF EXISTS `ecs_order_info`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_order_info` (
  `order_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `order_sn` varchar(20) NOT NULL DEFAULT '',
  `user_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `order_status` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `shipping_status` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `pay_status` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `consignee` varchar(60) NOT NULL DEFAULT '',
  `country` smallint(5) unsigned NOT NULL DEFAULT '0',
  `province` smallint(5) unsigned NOT NULL DEFAULT '0',
  `city` smallint(5) unsigned NOT NULL DEFAULT '0',
  `district` smallint(5) unsigned NOT NULL DEFAULT '0',
  `address` varchar(255) NOT NULL DEFAULT '',
  `zipcode` varchar(60) NOT NULL DEFAULT '',
  `tel` varchar(60) NOT NULL DEFAULT '',
  `mobile` varchar(60) NOT NULL DEFAULT '',
  `email` varchar(60) NOT NULL DEFAULT '',
  `best_time` varchar(120) NOT NULL DEFAULT '',
  `sign_building` varchar(120) NOT NULL DEFAULT '',
  `postscript` varchar(255) NOT NULL DEFAULT '',
  `shipping_id` tinyint(3) NOT NULL DEFAULT '0',
  `shipping_name` varchar(120) NOT NULL DEFAULT '',
  `pay_id` tinyint(3) NOT NULL DEFAULT '0',
  `pay_name` varchar(120) NOT NULL DEFAULT '',
  `how_oos` varchar(120) NOT NULL DEFAULT '',
  `how_surplus` varchar(120) NOT NULL DEFAULT '',
  `pack_name` varchar(120) NOT NULL DEFAULT '',
  `card_name` varchar(120) NOT NULL DEFAULT '',
  `card_message` varchar(255) NOT NULL DEFAULT '',
  `inv_payee` varchar(120) NOT NULL DEFAULT '',
  `inv_content` varchar(120) NOT NULL DEFAULT '',
  `goods_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `shipping_fee` decimal(10,2) NOT NULL DEFAULT '0.00',
  `insure_fee` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pay_fee` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_fee` decimal(10,2) NOT NULL DEFAULT '0.00',
  `card_fee` decimal(10,2) NOT NULL DEFAULT '0.00',
  `money_paid` decimal(10,2) NOT NULL DEFAULT '0.00',
  `surplus` decimal(10,2) NOT NULL DEFAULT '0.00',
  `integral` int(10) unsigned NOT NULL DEFAULT '0',
  `integral_money` decimal(10,2) NOT NULL DEFAULT '0.00',
  `bonus` decimal(10,2) NOT NULL DEFAULT '0.00',
  `order_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `from_ad` smallint(5) NOT NULL DEFAULT '0',
  `referer` varchar(255) NOT NULL DEFAULT '',
  `add_time` int(10) unsigned NOT NULL DEFAULT '0',
  `confirm_time` int(10) unsigned NOT NULL DEFAULT '0',
  `pay_time` int(10) unsigned NOT NULL DEFAULT '0',
  `shipping_time` int(10) unsigned NOT NULL DEFAULT '0',
  `pack_id` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `card_id` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `bonus_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `invoice_no` varchar(255) NOT NULL DEFAULT '',
  `extension_code` varchar(30) NOT NULL DEFAULT '',
  `extension_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `to_buyer` varchar(255) NOT NULL DEFAULT '',
  `pay_note` varchar(255) NOT NULL DEFAULT '',
  `agency_id` smallint(5) unsigned NOT NULL,
  `inv_type` varchar(60) NOT NULL,
  `tax` decimal(10,2) NOT NULL,
  `is_separate` tinyint(1) NOT NULL DEFAULT '0',
  `parent_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `discount` decimal(10,2) NOT NULL,
  PRIMARY KEY (`order_id`),
  UNIQUE KEY `order_sn` (`order_sn`),
  KEY `user_id` (`user_id`),
  KEY `order_status` (`order_status`),
  KEY `shipping_status` (`shipping_status`),
  KEY `pay_status` (`pay_status`),
  KEY `shipping_id` (`shipping_id`),
  KEY `pay_id` (`pay_id`),
  KEY `extension_code` (`extension_code`,`extension_id`),
  KEY `agency_id` (`agency_id`)
) ENGINE=MyISAM AUTO_INCREMENT=20 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_order_info`
--

LOCK TABLES `ecs_order_info` WRITE;
/*!40000 ALTER TABLE `ecs_order_info` DISABLE KEYS */;
INSERT INTO `ecs_order_info` VALUES (1,'2009051298180',1,1,2,2,'刘先生',1,2,52,500,'[中国 北京 北京 海淀区] 中关村海兴大厦','100085','010-25851234','13986765412','ecshop@ecshop.com','中午','法院','',5,'申通快递',1,'余额支付','等待所有商品备齐后再发','','','','','','',385.00,15.00,0.00,0.00,0.00,0.00,0.00,400.00,0,0.00,0.00,0.00,0,'本站',1242142274,1242142274,1242142274,1242142432,0,0,0,'122','',0,'','',0,'',0.00,0,0,0.00),(2,'2009051255518',1,4,0,0,'刘先生',1,2,52,500,'[中国 北京 北京 海淀区] 中关村海兴大厦','100085','010-25851234','13986765412','ecshop@ecshop.com','中午','法院','',3,'城际快递',1,'余额支付','等待所有商品备齐后再发','','精品包装','祝福贺卡','晚来的祝福','','',960.00,10.00,0.00,0.00,0.00,5.00,0.00,0.00,0,0.00,0.00,0.00,0,'本站',1242142324,1242142324,1242142324,1242142389,1,1,0,'111','',0,'','',0,'',0.00,0,0,0.00),(3,'2009051267570',1,4,0,0,'刘先生',1,2,52,500,'[中国 北京 北京 海淀区] 中关村海兴大厦','100085','010-25851234','13986765412','ecshop@ecshop.com','中午','法院','',3,'城际快递',1,'余额支付','等待所有商品备齐后再发','','','','','','',2300.00,10.00,0.00,0.00,0.00,0.00,0.00,0.00,0,0.00,0.00,0.00,0,'本站',1242142549,1242142549,1242142549,1242142589,0,0,0,'','',0,'','',0,'',0.00,0,0,0.00),(4,'2009051230249',1,1,0,2,'刘先生',1,2,52,500,'[中国 北京 北京 海淀区] 中关村海兴大厦','100085','010-25851234','13986765412','ecshop@ecshop.com','中午','法院','',3,'城际快递',1,'余额支付','等待所有商品备齐后再发','','','','','','',5999.00,10.00,0.00,0.00,0.00,0.00,0.00,5989.00,0,0.00,20.00,0.00,0,'本站',1242142681,1242142681,1242142681,0,0,0,1,'','',0,'','',0,'',0.00,0,0,0.00),(5,'2009051276258',1,1,3,2,'刘先生',1,2,52,500,'[中国 北京 北京 海淀区] 中关村海兴大厦','100085','010-25851234','13986765412','ecshop@ecshop.com','中午','法院','',3,'城际快递',1,'余额支付','等待所有商品备齐后再发','','','','','','',8600.00,10.00,0.00,0.00,0.00,0.00,0.00,8610.00,0,0.00,0.00,0.00,0,'本站',1242142808,1242142808,1242142808,0,0,0,0,'','',0,'','',0,'',0.00,0,0,0.00),(6,'2009051217221',3,3,0,0,'叶先生',1,2,52,510,'通州区旗舰凯旋小区','','13588104710','','text@ecshop.com','','','',5,'申通快递',2,'银行汇款/转帐','等待所有商品备齐后再发','','','','','','',20.00,15.00,0.00,0.00,0.00,0.00,0.00,0.00,0,0.00,0.00,35.00,0,'',1242143292,0,0,0,0,0,0,'','',0,'','',0,'',0.00,0,0,0.00),(7,'2009051227085',3,1,0,0,'叶先生',1,2,52,510,'通州区旗舰凯旋小区','','13588104710','','text@ecshop.com','','','',5,'申通快递',2,'银行汇款/转帐','等待所有商品备齐后再发','','','','','','',2298.00,15.00,0.00,0.00,0.00,0.00,0.00,1000.00,0,0.00,0.00,1198.10,0,'',1242143383,1242143454,0,0,0,0,0,'','',0,'','',0,'',0.00,0,0,114.90),(8,'2009051299732',3,0,0,0,'叶先生',1,2,52,510,'通州区旗舰凯旋小区','','13588104710','','text@ecshop.com','','','',5,'申通快递',2,'银行汇款/转帐','等待所有商品备齐后再发','','','','','','',623.00,15.00,0.00,0.00,0.00,0.00,0.00,0.00,0,0.00,0.00,638.00,0,'',1242143444,0,0,0,0,0,0,'','',0,'','',0,'',0.00,0,0,0.00),(9,'2009051210718',3,0,0,0,'叶先生',1,2,52,510,'通州区旗舰凯旋小区','','13588104710','','text@ecshop.com','','','',5,'申通快递',2,'银行汇款/转帐','等待所有商品备齐后再发','','','','','','',2000.00,15.00,0.00,0.00,0.00,0.00,0.00,0.00,0,0.00,0.00,2015.00,0,'',1242143732,0,0,0,0,0,0,'','',0,'','',0,'',0.00,0,0,0.00),(10,'2009051268194',1,1,0,2,'刘先生',1,2,52,500,'海兴大厦','','010-25851234','13986765412','ecshop@ecshop.com','','','',3,'城际快递',1,'余额支付','等待所有商品备齐后再发','','','','','','',0.00,10.00,0.00,0.00,0.00,0.00,0.00,10.00,17000,0.00,0.00,0.00,0,'',1242143920,1242143920,1242143920,0,0,0,0,'','exchange_goods',24,'','',0,'',0.00,0,0,0.00),(11,'2009051264945',0,1,0,0,'林小姐',1,2,52,500,'中关村海兴大厦','','135474510','','linzi@116.com','','','',3,'城际快递',2,'银行汇款/转帐','','','','','','','',3800.00,10.00,0.00,0.00,0.00,0.00,0.00,0.00,0,0.00,0.00,3810.00,0,'管理员添加',1242144250,1242144363,0,0,0,0,0,'','',0,'','',0,'',0.00,0,0,0.00),(12,'2009051712919',1,2,0,0,'刘先生',1,2,52,502,'海兴大厦','','010-25851234','13986765412','ecshop@ecshop.com','','','',3,'城际快递',3,'货到付款','等待所有商品备齐后再发','','','','','','',238.00,10.00,0.00,5.00,0.00,0.00,0.00,0.00,0,0.00,0.00,253.00,0,'本站',1242576304,0,0,0,0,0,0,'','',0,'','',0,'',0.00,0,0,0.00),(13,'2009051719232',1,1,1,0,'刘先生',1,2,52,502,'海兴大厦','','010-25851234','13986765412','ecshop@ecshop.com','','','',3,'城际快递',3,'货到付款','等待所有商品备齐后再发','','','','','','',960.00,10.00,0.00,5.00,0.00,0.00,0.00,0.00,0,0.00,0.00,975.00,0,'本站',1242576341,1242576445,0,1242576445,0,0,0,'','',0,'','',0,'',0.00,0,0,0.00),(14,'2009052224892',1,1,1,2,'刘先生',1,2,52,502,'海兴大厦','','010-25851234','13986765412','ecshop@ecshop.com','','','',3,'城际快递',1,'余额支付','等待所有商品备齐后再发','','','','','','',14045.00,10.00,0.00,0.00,0.00,0.00,0.00,13806.60,0,0.00,5.00,0.00,0,'本站',1242976699,1242976699,1242976699,1242976740,0,0,2,'1123344','',0,'','',0,'',0.00,0,0,243.40),(15,'2009061585887',1,4,0,0,'刘先生',1,2,52,502,'海兴大厦','','010-25851234','13986765412','ecshop@ecshop.com','','','',3,'城际快递',2,'银行汇款/转帐','等待所有商品备齐后再发','','','','','','',17044.00,10.00,0.00,0.00,0.00,0.00,0.00,0.00,0,0.00,0.00,17054.00,0,'本站',1245044533,1245044587,1245044644,1245045443,0,0,0,'','',0,'','',0,'',0.00,0,0,0.00),(16,'2009061525429',1,1,4,2,'刘先生',1,2,52,502,'海兴大厦','','010-25851234','13986765412','ecshop@ecshop.com','','','',3,'城际快递',1,'余额支付','等待所有商品备齐后再发','','','','','','',3186.30,10.00,0.00,0.00,0.00,0.00,0.00,3196.30,0,0.00,0.00,0.00,0,'本站',1245045672,1245045672,1245045672,1245045723,0,0,0,'2009061525121','',0,'','',0,'',0.00,0,0,0.00),(17,'2009061503335',1,4,0,0,'刘先生',1,2,52,502,'海兴大厦','','010-25851234','13986765412','ecshop@ecshop.com','','','',3,'城际快递',1,'余额支付','等待所有商品备齐后再发','','','','','','',1900.00,10.00,0.00,0.00,0.00,0.00,0.00,0.00,0,0.00,0.00,0.00,0,'本站',1245047978,1245047978,1245047978,1245048189,0,0,0,'','',0,'','',0,'',0.00,0,0,0.00),(18,'2009061510313',1,1,0,2,'刘先生',1,2,52,502,'海兴大厦','','010-25851234','13986765412','ecshop@ecshop.com','','','',3,'城际快递',1,'余额支付','等待所有商品备齐后再发','','','','','','',500.00,10.00,0.00,0.00,0.00,0.00,0.00,500.00,0,0.00,0.00,0.00,0,'本站',1245048585,1245048585,1245048585,0,0,0,0,'','group_buy',8,'','',0,'',0.00,0,0,0.00),(19,'2009061909851',1,1,1,2,'刘先生',1,2,52,502,'海兴大厦','','010-25851234','13986765412','ecshop@ecshop.com','','','',3,'城际快递',1,'余额支付','等待所有商品备齐后再发','','','','','','',5567.70,10.00,0.00,0.00,0.00,0.00,0.00,5577.70,0,0.00,0.00,0.00,0,'本站',1245384008,1245384008,1245384008,1245384049,0,0,0,'232421','',0,'','',0,'',0.00,0,0,0.00);
/*!40000 ALTER TABLE `ecs_order_info` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_pack`
--

DROP TABLE IF EXISTS `ecs_pack`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_pack` (
  `pack_id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
  `pack_name` varchar(120) NOT NULL DEFAULT '',
  `pack_img` varchar(255) NOT NULL DEFAULT '',
  `pack_fee` decimal(6,2) unsigned NOT NULL DEFAULT '0.00',
  `free_money` smallint(5) unsigned NOT NULL DEFAULT '0',
  `pack_desc` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`pack_id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_pack`
--

LOCK TABLES `ecs_pack` WRITE;
/*!40000 ALTER TABLE `ecs_pack` DISABLE KEYS */;
INSERT INTO `ecs_pack` VALUES (1,'精品包装','1242108360911825791.jpg',5.00,800,'精品包装,尽心为您设计一份不一样的礼物');
/*!40000 ALTER TABLE `ecs_pack` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_package_goods`
--

DROP TABLE IF EXISTS `ecs_package_goods`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_package_goods` (
  `package_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `goods_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `product_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `goods_number` smallint(5) unsigned NOT NULL DEFAULT '1',
  `admin_id` tinyint(3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`package_id`,`goods_id`,`admin_id`,`product_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_package_goods`
--

LOCK TABLES `ecs_package_goods` WRITE;
/*!40000 ALTER TABLE `ecs_package_goods` DISABLE KEYS */;
INSERT INTO `ecs_package_goods` VALUES (5,6,0,1,1),(5,5,0,1,1),(6,4,0,1,1),(6,7,0,1,1),(6,32,0,1,1),(5,31,0,1,1);
/*!40000 ALTER TABLE `ecs_package_goods` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_pay_log`
--

DROP TABLE IF EXISTS `ecs_pay_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_pay_log` (
  `log_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `order_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `order_amount` decimal(10,2) unsigned NOT NULL,
  `order_type` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_paid` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`log_id`)
) ENGINE=MyISAM AUTO_INCREMENT=19 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_pay_log`
--

LOCK TABLES `ecs_pay_log` WRITE;
/*!40000 ALTER TABLE `ecs_pay_log` DISABLE KEYS */;
INSERT INTO `ecs_pay_log` VALUES (1,1,0.00,0,0),(2,2,0.00,0,0),(3,3,0.00,0,0),(4,4,0.00,0,0),(5,5,0.00,0,0),(6,6,35.00,0,0),(7,7,2198.10,0,0),(8,8,638.00,0,0),(9,9,2015.00,0,0),(10,10,0.00,0,0),(11,11,3810.00,0,0),(12,12,253.00,0,0),(13,13,975.00,0,0),(14,14,0.00,0,0),(15,15,17054.00,0,0),(16,16,0.00,0,0),(17,17,0.00,0,0),(18,18,0.00,0,0);
/*!40000 ALTER TABLE `ecs_pay_log` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_payment`
--

DROP TABLE IF EXISTS `ecs_payment`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_payment` (
  `pay_id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
  `pay_code` varchar(20) NOT NULL DEFAULT '',
  `pay_name` varchar(120) NOT NULL DEFAULT '',
  `pay_fee` varchar(10) NOT NULL DEFAULT '0',
  `pay_desc` text NOT NULL,
  `pay_order` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `pay_config` text NOT NULL,
  `enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_cod` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_online` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`pay_id`),
  UNIQUE KEY `pay_code` (`pay_code`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_payment`
--

LOCK TABLES `ecs_payment` WRITE;
/*!40000 ALTER TABLE `ecs_payment` DISABLE KEYS */;
INSERT INTO `ecs_payment` VALUES (1,'balance','余额支付','0','使用帐户余额支付。只有会员才能使用,通过设置信用额度,可以透支。',0,'a:0:{}',1,0,1),(2,'bank','银行汇款/转帐','0','银行名称\n收款人信息:全称 ××× ;帐号或地址 ××× ;开户行 ×××。\n注意事项:办理电汇时,请在电汇单“汇款用途”一栏处注明您的订单号。',0,'a:0:{}',1,0,0),(3,'cod','货到付款','0','开通城市:×××\n货到付款区域:×××',0,'a:0:{}',1,1,0);
/*!40000 ALTER TABLE `ecs_payment` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_plugins`
--

DROP TABLE IF EXISTS `ecs_plugins`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_plugins` (
  `code` varchar(30) NOT NULL DEFAULT '',
  `version` varchar(10) NOT NULL DEFAULT '',
  `library` varchar(255) NOT NULL DEFAULT '',
  `assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `install_date` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`code`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_plugins`
--

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

--
-- Table structure for table `ecs_products`
--

DROP TABLE IF EXISTS `ecs_products`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_products` (
  `product_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `goods_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `goods_attr` varchar(50) DEFAULT NULL,
  `product_sn` varchar(60) DEFAULT NULL,
  `product_number` smallint(5) unsigned DEFAULT '0',
  PRIMARY KEY (`product_id`)
) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_products`
--

LOCK TABLES `ecs_products` WRITE;
/*!40000 ALTER TABLE `ecs_products` DISABLE KEYS */;
INSERT INTO `ecs_products` VALUES (1,32,'163','',100),(2,24,'167','',100),(3,23,'175','',100),(4,21,'188','',20),(5,20,'194','',13),(6,17,'201','',1),(7,14,'213','',4),(8,13,'217','',8),(9,10,'239','',6),(10,10,'240','',12),(11,9,'227','',12),(12,9,'226','',3),(13,8,'231','',17),(14,1,'237','',1);
/*!40000 ALTER TABLE `ecs_products` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_reg_extend_info`
--

DROP TABLE IF EXISTS `ecs_reg_extend_info`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_reg_extend_info` (
  `Id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` mediumint(8) unsigned NOT NULL,
  `reg_field_id` int(10) unsigned NOT NULL,
  `content` text NOT NULL,
  PRIMARY KEY (`Id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_reg_extend_info`
--

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

--
-- Table structure for table `ecs_reg_fields`
--

DROP TABLE IF EXISTS `ecs_reg_fields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_reg_fields` (
  `id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
  `reg_field_name` varchar(60) NOT NULL,
  `dis_order` tinyint(3) unsigned NOT NULL DEFAULT '100',
  `display` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `type` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_need` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=100 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_reg_fields`
--

LOCK TABLES `ecs_reg_fields` WRITE;
/*!40000 ALTER TABLE `ecs_reg_fields` DISABLE KEYS */;
INSERT INTO `ecs_reg_fields` VALUES (1,'MSN',0,1,1,1),(2,'QQ',0,1,1,1),(3,'办公电话',0,1,1,1),(4,'家庭电话',0,1,1,1),(5,'手机',0,1,1,1),(6,'密码找回问题',0,1,1,1);
/*!40000 ALTER TABLE `ecs_reg_fields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_region`
--

DROP TABLE IF EXISTS `ecs_region`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_region` (
  `region_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `parent_id` smallint(5) unsigned NOT NULL DEFAULT '0',
  `region_name` varchar(120) NOT NULL DEFAULT '',
  `region_type` tinyint(1) NOT NULL DEFAULT '2',
  `agency_id` smallint(5) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`region_id`),
  KEY `parent_id` (`parent_id`),
  KEY `region_type` (`region_type`),
  KEY `agency_id` (`agency_id`)
) ENGINE=MyISAM AUTO_INCREMENT=3409 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_region`
--

LOCK TABLES `ecs_region` WRITE;
/*!40000 ALTER TABLE `ecs_region` DISABLE KEYS */;
INSERT INTO `ecs_region` VALUES (1,0,'中国',0,0),(2,1,'北京',1,0),(3,1,'安徽',1,0),(4,1,'福建',1,0),(5,1,'甘肃',1,0),(6,1,'广东',1,0),(7,1,'广西',1,0),(8,1,'贵州',1,0),(9,1,'海南',1,0),(10,1,'河北',1,0),(11,1,'河南',1,0),(12,1,'黑龙江',1,0),(13,1,'湖北',1,0),(14,1,'湖南',1,0),(15,1,'吉林',1,0),(16,1,'江苏',1,0),(17,1,'江西',1,0),(18,1,'辽宁',1,0),(19,1,'内蒙古',1,0),(20,1,'宁夏',1,0),(21,1,'青海',1,0),(22,1,'山东',1,0),(23,1,'山西',1,0),(24,1,'陕西',1,0),(25,1,'上海',1,0),(26,1,'四川',1,0),(27,1,'天津',1,0),(28,1,'西藏',1,0),(29,1,'新疆',1,0),(30,1,'云南',1,0),(31,1,'浙江',1,0),(32,1,'重庆',1,0),(33,1,'香港',1,0),(34,1,'澳门',1,0),(35,1,'台湾',1,0),(36,3,'安庆',2,0),(37,3,'蚌埠',2,0),(38,3,'巢湖',2,0),(39,3,'池州',2,0),(40,3,'滁州',2,0),(41,3,'阜阳',2,0),(42,3,'淮北',2,0),(43,3,'淮南',2,0),(44,3,'黄山',2,0),(45,3,'六安',2,0),(46,3,'马鞍山',2,0),(47,3,'宿州',2,0),(48,3,'铜陵',2,0),(49,3,'芜湖',2,0),(50,3,'宣城',2,0),(51,3,'亳州',2,0),(52,2,'北京',2,0),(53,4,'福州',2,0),(54,4,'龙岩',2,0),(55,4,'南平',2,0),(56,4,'宁德',2,0),(57,4,'莆田',2,0),(58,4,'泉州',2,0),(59,4,'三明',2,0),(60,4,'厦门',2,0),(61,4,'漳州',2,0),(62,5,'兰州',2,0),(63,5,'白银',2,0),(64,5,'定西',2,0),(65,5,'甘南',2,0),(66,5,'嘉峪关',2,0),(67,5,'金昌',2,0),(68,5,'酒泉',2,0),(69,5,'临夏',2,0),(70,5,'陇南',2,0),(71,5,'平凉',2,0),(72,5,'庆阳',2,0),(73,5,'天水',2,0),(74,5,'武威',2,0),(75,5,'张掖',2,0),(76,6,'广州',2,0),(77,6,'深圳',2,0),(78,6,'潮州',2,0),(79,6,'东莞',2,0),(80,6,'佛山',2,0),(81,6,'河源',2,0),(82,6,'惠州',2,0),(83,6,'江门',2,0),(84,6,'揭阳',2,0),(85,6,'茂名',2,0),(86,6,'梅州',2,0),(87,6,'清远',2,0),(88,6,'汕头',2,0),(89,6,'汕尾',2,0),(90,6,'韶关',2,0),(91,6,'阳江',2,0),(92,6,'云浮',2,0),(93,6,'湛江',2,0),(94,6,'肇庆',2,0),(95,6,'中山',2,0),(96,6,'珠海',2,0),(97,7,'南宁',2,0),(98,7,'桂林',2,0),(99,7,'百色',2,0),(100,7,'北海',2,0),(101,7,'崇左',2,0),(102,7,'防城港',2,0),(103,7,'贵港',2,0),(104,7,'河池',2,0),(105,7,'贺州',2,0),(106,7,'来宾',2,0),(107,7,'柳州',2,0),(108,7,'钦州',2,0),(109,7,'梧州',2,0),(110,7,'玉林',2,0),(111,8,'贵阳',2,0),(112,8,'安顺',2,0),(113,8,'毕节',2,0),(114,8,'六盘水',2,0),(115,8,'黔东南',2,0),(116,8,'黔南',2,0),(117,8,'黔西南',2,0),(118,8,'铜仁',2,0),(119,8,'遵义',2,0),(120,9,'海口',2,0),(121,9,'三亚',2,0),(122,9,'白沙',2,0),(123,9,'保亭',2,0),(124,9,'昌江',2,0),(125,9,'澄迈县',2,0),(126,9,'定安县',2,0),(127,9,'东方',2,0),(128,9,'乐东',2,0),(129,9,'临高县',2,0),(130,9,'陵水',2,0),(131,9,'琼海',2,0),(132,9,'琼中',2,0),(133,9,'屯昌县',2,0),(134,9,'万宁',2,0),(135,9,'文昌',2,0),(136,9,'五指山',2,0),(137,9,'儋州',2,0),(138,10,'石家庄',2,0),(139,10,'保定',2,0),(140,10,'沧州',2,0),(141,10,'承德',2,0),(142,10,'邯郸',2,0),(143,10,'衡水',2,0),(144,10,'廊坊',2,0),(145,10,'秦皇岛',2,0),(146,10,'唐山',2,0),(147,10,'邢台',2,0),(148,10,'张家口',2,0),(149,11,'郑州',2,0),(150,11,'洛阳',2,0),(151,11,'开封',2,0),(152,11,'安阳',2,0),(153,11,'鹤壁',2,0),(154,11,'济源',2,0),(155,11,'焦作',2,0),(156,11,'南阳',2,0),(157,11,'平顶山',2,0),(158,11,'三门峡',2,0),(159,11,'商丘',2,0),(160,11,'新乡',2,0),(161,11,'信阳',2,0),(162,11,'许昌',2,0),(163,11,'周口',2,0),(164,11,'驻马店',2,0),(165,11,'漯河',2,0),(166,11,'濮阳',2,0),(167,12,'哈尔滨',2,0),(168,12,'大庆',2,0),(169,12,'大兴安岭',2,0),(170,12,'鹤岗',2,0),(171,12,'黑河',2,0),(172,12,'鸡西',2,0),(173,12,'佳木斯',2,0),(174,12,'牡丹江',2,0),(175,12,'七台河',2,0),(176,12,'齐齐哈尔',2,0),(177,12,'双鸭山',2,0),(178,12,'绥化',2,0),(179,12,'伊春',2,0),(180,13,'武汉',2,0),(181,13,'仙桃',2,0),(182,13,'鄂州',2,0),(183,13,'黄冈',2,0),(184,13,'黄石',2,0),(185,13,'荆门',2,0),(186,13,'荆州',2,0),(187,13,'潜江',2,0),(188,13,'神农架林区',2,0),(189,13,'十堰',2,0),(190,13,'随州',2,0),(191,13,'天门',2,0),(192,13,'咸宁',2,0),(193,13,'襄樊',2,0),(194,13,'孝感',2,0),(195,13,'宜昌',2,0),(196,13,'恩施',2,0),(197,14,'长沙',2,0),(198,14,'张家界',2,0),(199,14,'常德',2,0),(200,14,'郴州',2,0),(201,14,'衡阳',2,0),(202,14,'怀化',2,0),(203,14,'娄底',2,0),(204,14,'邵阳',2,0),(205,14,'湘潭',2,0),(206,14,'湘西',2,0),(207,14,'益阳',2,0),(208,14,'永州',2,0),(209,14,'岳阳',2,0),(210,14,'株洲',2,0),(211,15,'长春',2,0),(212,15,'吉林',2,0),(213,15,'白城',2,0),(214,15,'白山',2,0),(215,15,'辽源',2,0),(216,15,'四平',2,0),(217,15,'松原',2,0),(218,15,'通化',2,0),(219,15,'延边',2,0),(220,16,'南京',2,0),(221,16,'苏州',2,0),(222,16,'无锡',2,0),(223,16,'常州',2,0),(224,16,'淮安',2,0),(225,16,'连云港',2,0),(226,16,'南通',2,0),(227,16,'宿迁',2,0),(228,16,'泰州',2,0),(229,16,'徐州',2,0),(230,16,'盐城',2,0),(231,16,'扬州',2,0),(232,16,'镇江',2,0),(233,17,'南昌',2,0),(234,17,'抚州',2,0),(235,17,'赣州',2,0),(236,17,'吉安',2,0),(237,17,'景德镇',2,0),(238,17,'九江',2,0),(239,17,'萍乡',2,0),(240,17,'上饶',2,0),(241,17,'新余',2,0),(242,17,'宜春',2,0),(243,17,'鹰潭',2,0),(244,18,'沈阳',2,0),(245,18,'大连',2,0),(246,18,'鞍山',2,0),(247,18,'本溪',2,0),(248,18,'朝阳',2,0),(249,18,'丹东',2,0),(250,18,'抚顺',2,0),(251,18,'阜新',2,0),(252,18,'葫芦岛',2,0),(253,18,'锦州',2,0),(254,18,'辽阳',2,0),(255,18,'盘锦',2,0),(256,18,'铁岭',2,0),(257,18,'营口',2,0),(258,19,'呼和浩特',2,0),(259,19,'阿拉善盟',2,0),(260,19,'巴彦淖尔盟',2,0),(261,19,'包头',2,0),(262,19,'赤峰',2,0),(263,19,'鄂尔多斯',2,0),(264,19,'呼伦贝尔',2,0),(265,19,'通辽',2,0),(266,19,'乌海',2,0),(267,19,'乌兰察布市',2,0),(268,19,'锡林郭勒盟',2,0),(269,19,'兴安盟',2,0),(270,20,'银川',2,0),(271,20,'固原',2,0),(272,20,'石嘴山',2,0),(273,20,'吴忠',2,0),(274,20,'中卫',2,0),(275,21,'西宁',2,0),(276,21,'果洛',2,0),(277,21,'海北',2,0),(278,21,'海东',2,0),(279,21,'海南',2,0),(280,21,'海西',2,0),(281,21,'黄南',2,0),(282,21,'玉树',2,0),(283,22,'济南',2,0),(284,22,'青岛',2,0),(285,22,'滨州',2,0),(286,22,'德州',2,0),(287,22,'东营',2,0),(288,22,'菏泽',2,0),(289,22,'济宁',2,0),(290,22,'莱芜',2,0),(291,22,'聊城',2,0),(292,22,'临沂',2,0),(293,22,'日照',2,0),(294,22,'泰安',2,0),(295,22,'威海',2,0),(296,22,'潍坊',2,0),(297,22,'烟台',2,0),(298,22,'枣庄',2,0),(299,22,'淄博',2,0),(300,23,'太原',2,0),(301,23,'长治',2,0),(302,23,'大同',2,0),(303,23,'晋城',2,0),(304,23,'晋中',2,0),(305,23,'临汾',2,0),(306,23,'吕梁',2,0),(307,23,'朔州',2,0),(308,23,'忻州',2,0),(309,23,'阳泉',2,0),(310,23,'运城',2,0),(311,24,'西安',2,0),(312,24,'安康',2,0),(313,24,'宝鸡',2,0),(314,24,'汉中',2,0),(315,24,'商洛',2,0),(316,24,'铜川',2,0),(317,24,'渭南',2,0),(318,24,'咸阳',2,0),(319,24,'延安',2,0),(320,24,'榆林',2,0),(321,25,'上海',2,0),(322,26,'成都',2,0),(323,26,'绵阳',2,0),(324,26,'阿坝',2,0),(325,26,'巴中',2,0),(326,26,'达州',2,0),(327,26,'德阳',2,0),(328,26,'甘孜',2,0),(329,26,'广安',2,0),(330,26,'广元',2,0),(331,26,'乐山',2,0),(332,26,'凉山',2,0),(333,26,'眉山',2,0),(334,26,'南充',2,0),(335,26,'内江',2,0),(336,26,'攀枝花',2,0),(337,26,'遂宁',2,0),(338,26,'雅安',2,0),(339,26,'宜宾',2,0),(340,26,'资阳',2,0),(341,26,'自贡',2,0),(342,26,'泸州',2,0),(343,27,'天津',2,0),(344,28,'拉萨',2,0),(345,28,'阿里',2,0),(346,28,'昌都',2,0),(347,28,'林芝',2,0),(348,28,'那曲',2,0),(349,28,'日喀则',2,0),(350,28,'山南',2,0),(351,29,'乌鲁木齐',2,0),(352,29,'阿克苏',2,0),(353,29,'阿拉尔',2,0),(354,29,'巴音郭楞',2,0),(355,29,'博尔塔拉',2,0),(356,29,'昌吉',2,0),(357,29,'哈密',2,0),(358,29,'和田',2,0),(359,29,'喀什',2,0),(360,29,'克拉玛依',2,0),(361,29,'克孜勒苏',2,0),(362,29,'石河子',2,0),(363,29,'图木舒克',2,0),(364,29,'吐鲁番',2,0),(365,29,'五家渠',2,0),(366,29,'伊犁',2,0),(367,30,'昆明',2,0),(368,30,'怒江',2,0),(369,30,'普洱',2,0),(370,30,'丽江',2,0),(371,30,'保山',2,0),(372,30,'楚雄',2,0),(373,30,'大理',2,0),(374,30,'德宏',2,0),(375,30,'迪庆',2,0),(376,30,'红河',2,0),(377,30,'临沧',2,0),(378,30,'曲靖',2,0),(379,30,'文山',2,0),(380,30,'西双版纳',2,0),(381,30,'玉溪',2,0),(382,30,'昭通',2,0),(383,31,'杭州',2,0),(384,31,'湖州',2,0),(385,31,'嘉兴',2,0),(386,31,'金华',2,0),(387,31,'丽水',2,0),(388,31,'宁波',2,0),(389,31,'绍兴',2,0),(390,31,'台州',2,0),(391,31,'温州',2,0),(392,31,'舟山',2,0),(393,31,'衢州',2,0),(394,32,'重庆',2,0),(395,33,'香港',2,0),(396,34,'澳门',2,0),(397,35,'台湾',2,0),(398,36,'迎江区',3,0),(399,36,'大观区',3,0),(400,36,'宜秀区',3,0),(401,36,'桐城市',3,0),(402,36,'怀宁县',3,0),(403,36,'枞阳县',3,0),(404,36,'潜山县',3,0),(405,36,'太湖县',3,0),(406,36,'宿松县',3,0),(407,36,'望江县',3,0),(408,36,'岳西县',3,0),(409,37,'中市区',3,0),(410,37,'东市区',3,0),(411,37,'西市区',3,0),(412,37,'郊区',3,0),(413,37,'怀远县',3,0),(414,37,'五河县',3,0),(415,37,'固镇县',3,0),(416,38,'居巢区',3,0),(417,38,'庐江县',3,0),(418,38,'无为县',3,0),(419,38,'含山县',3,0),(420,38,'和县',3,0),(421,39,'贵池区',3,0),(422,39,'东至县',3,0),(423,39,'石台县',3,0),(424,39,'青阳县',3,0),(425,40,'琅琊区',3,0),(426,40,'南谯区',3,0),(427,40,'天长市',3,0),(428,40,'明光市',3,0),(429,40,'来安县',3,0),(430,40,'全椒县',3,0),(431,40,'定远县',3,0),(432,40,'凤阳县',3,0),(433,41,'蚌山区',3,0),(434,41,'龙子湖区',3,0),(435,41,'禹会区',3,0),(436,41,'淮上区',3,0),(437,41,'颍州区',3,0),(438,41,'颍东区',3,0),(439,41,'颍泉区',3,0),(440,41,'界首市',3,0),(441,41,'临泉县',3,0),(442,41,'太和县',3,0),(443,41,'阜南县',3,0),(444,41,'颖上县',3,0),(445,42,'相山区',3,0),(446,42,'杜集区',3,0),(447,42,'烈山区',3,0),(448,42,'濉溪县',3,0),(449,43,'田家庵区',3,0),(450,43,'大通区',3,0),(451,43,'谢家集区',3,0),(452,43,'八公山区',3,0),(453,43,'潘集区',3,0),(454,43,'凤台县',3,0),(455,44,'屯溪区',3,0),(456,44,'黄山区',3,0),(457,44,'徽州区',3,0),(458,44,'歙县',3,0),(459,44,'休宁县',3,0),(460,44,'黟县',3,0),(461,44,'祁门县',3,0),(462,45,'金安区',3,0),(463,45,'裕安区',3,0),(464,45,'寿县',3,0),(465,45,'霍邱县',3,0),(466,45,'舒城县',3,0),(467,45,'金寨县',3,0),(468,45,'霍山县',3,0),(469,46,'雨山区',3,0),(470,46,'花山区',3,0),(471,46,'金家庄区',3,0),(472,46,'当涂县',3,0),(473,47,'埇桥区',3,0),(474,47,'砀山县',3,0),(475,47,'萧县',3,0),(476,47,'灵璧县',3,0),(477,47,'泗县',3,0),(478,48,'铜官山区',3,0),(479,48,'狮子山区',3,0),(480,48,'郊区',3,0),(481,48,'铜陵县',3,0),(482,49,'镜湖区',3,0),(483,49,'弋江区',3,0),(484,49,'鸠江区',3,0),(485,49,'三山区',3,0),(486,49,'芜湖县',3,0),(487,49,'繁昌县',3,0),(488,49,'南陵县',3,0),(489,50,'宣州区',3,0),(490,50,'宁国市',3,0),(491,50,'郎溪县',3,0),(492,50,'广德县',3,0),(493,50,'泾县',3,0),(494,50,'绩溪县',3,0),(495,50,'旌德县',3,0),(496,51,'涡阳县',3,0),(497,51,'蒙城县',3,0),(498,51,'利辛县',3,0),(499,51,'谯城区',3,0),(500,52,'东城区',3,0),(501,52,'西城区',3,0),(502,52,'海淀区',3,0),(503,52,'朝阳区',3,0),(504,52,'崇文区',3,0),(505,52,'宣武区',3,0),(506,52,'丰台区',3,0),(507,52,'石景山区',3,0),(508,52,'房山区',3,0),(509,52,'门头沟区',3,0),(510,52,'通州区',3,0),(511,52,'顺义区',3,0),(512,52,'昌平区',3,0),(513,52,'怀柔区',3,0),(514,52,'平谷区',3,0),(515,52,'大兴区',3,0),(516,52,'密云县',3,0),(517,52,'延庆县',3,0),(518,53,'鼓楼区',3,0),(519,53,'台江区',3,0),(520,53,'仓山区',3,0),(521,53,'马尾区',3,0),(522,53,'晋安区',3,0),(523,53,'福清市',3,0),(524,53,'长乐市',3,0),(525,53,'闽侯县',3,0),(526,53,'连江县',3,0),(527,53,'罗源县',3,0),(528,53,'闽清县',3,0),(529,53,'永泰县',3,0),(530,53,'平潭县',3,0),(531,54,'新罗区',3,0),(532,54,'漳平市',3,0),(533,54,'长汀县',3,0),(534,54,'永定县',3,0),(535,54,'上杭县',3,0),(536,54,'武平县',3,0),(537,54,'连城县',3,0),(538,55,'延平区',3,0),(539,55,'邵武市',3,0),(540,55,'武夷山市',3,0),(541,55,'建瓯市',3,0),(542,55,'建阳市',3,0),(543,55,'顺昌县',3,0),(544,55,'浦城县',3,0),(545,55,'光泽县',3,0),(546,55,'松溪县',3,0),(547,55,'政和县',3,0),(548,56,'蕉城区',3,0),(549,56,'福安市',3,0),(550,56,'福鼎市',3,0),(551,56,'霞浦县',3,0),(552,56,'古田县',3,0),(553,56,'屏南县',3,0),(554,56,'寿宁县',3,0),(555,56,'周宁县',3,0),(556,56,'柘荣县',3,0),(557,57,'城厢区',3,0),(558,57,'涵江区',3,0),(559,57,'荔城区',3,0),(560,57,'秀屿区',3,0),(561,57,'仙游县',3,0),(562,58,'鲤城区',3,0),(563,58,'丰泽区',3,0),(564,58,'洛江区',3,0),(565,58,'清濛开发区',3,0),(566,58,'泉港区',3,0),(567,58,'石狮市',3,0),(568,58,'晋江市',3,0),(569,58,'南安市',3,0),(570,58,'惠安县',3,0),(571,58,'安溪县',3,0),(572,58,'永春县',3,0),(573,58,'德化县',3,0),(574,58,'金门县',3,0),(575,59,'梅列区',3,0),(576,59,'三元区',3,0),(577,59,'永安市',3,0),(578,59,'明溪县',3,0),(579,59,'清流县',3,0),(580,59,'宁化县',3,0),(581,59,'大田县',3,0),(582,59,'尤溪县',3,0),(583,59,'沙县',3,0),(584,59,'将乐县',3,0),(585,59,'泰宁县',3,0),(586,59,'建宁县',3,0),(587,60,'思明区',3,0),(588,60,'海沧区',3,0),(589,60,'湖里区',3,0),(590,60,'集美区',3,0),(591,60,'同安区',3,0),(592,60,'翔安区',3,0),(593,61,'芗城区',3,0),(594,61,'龙文区',3,0),(595,61,'龙海市',3,0),(596,61,'云霄县',3,0),(597,61,'漳浦县',3,0),(598,61,'诏安县',3,0),(599,61,'长泰县',3,0),(600,61,'东山县',3,0),(601,61,'南靖县',3,0),(602,61,'平和县',3,0),(603,61,'华安县',3,0),(604,62,'皋兰县',3,0),(605,62,'城关区',3,0),(606,62,'七里河区',3,0),(607,62,'西固区',3,0),(608,62,'安宁区',3,0),(609,62,'红古区',3,0),(610,62,'永登县',3,0),(611,62,'榆中县',3,0),(612,63,'白银区',3,0),(613,63,'平川区',3,0),(614,63,'会宁县',3,0),(615,63,'景泰县',3,0),(616,63,'靖远县',3,0),(617,64,'临洮县',3,0),(618,64,'陇西县',3,0),(619,64,'通渭县',3,0),(620,64,'渭源县',3,0),(621,64,'漳县',3,0),(622,64,'岷县',3,0),(623,64,'安定区',3,0),(624,64,'安定区',3,0),(625,65,'合作市',3,0),(626,65,'临潭县',3,0),(627,65,'卓尼县',3,0),(628,65,'舟曲县',3,0),(629,65,'迭部县',3,0),(630,65,'玛曲县',3,0),(631,65,'碌曲县',3,0),(632,65,'夏河县',3,0),(633,66,'嘉峪关市',3,0),(634,67,'金川区',3,0),(635,67,'永昌县',3,0),(636,68,'肃州区',3,0),(637,68,'玉门市',3,0),(638,68,'敦煌市',3,0),(639,68,'金塔县',3,0),(640,68,'瓜州县',3,0),(641,68,'肃北',3,0),(642,68,'阿克塞',3,0),(643,69,'临夏市',3,0),(644,69,'临夏县',3,0),(645,69,'康乐县',3,0),(646,69,'永靖县',3,0),(647,69,'广河县',3,0),(648,69,'和政县',3,0),(649,69,'东乡族自治县',3,0),(650,69,'积石山',3,0),(651,70,'成县',3,0),(652,70,'徽县',3,0),(653,70,'康县',3,0),(654,70,'礼县',3,0),(655,70,'两当县',3,0),(656,70,'文县',3,0),(657,70,'西和县',3,0),(658,70,'宕昌县',3,0),(659,70,'武都区',3,0),(660,71,'崇信县',3,0),(661,71,'华亭县',3,0),(662,71,'静宁县',3,0),(663,71,'灵台县',3,0),(664,71,'崆峒区',3,0),(665,71,'庄浪县',3,0),(666,71,'泾川县',3,0),(667,72,'合水县',3,0),(668,72,'华池县',3,0),(669,72,'环县',3,0),(670,72,'宁县',3,0),(671,72,'庆城县',3,0),(672,72,'西峰区',3,0),(673,72,'镇原县',3,0),(674,72,'正宁县',3,0),(675,73,'甘谷县',3,0),(676,73,'秦安县',3,0),(677,73,'清水县',3,0),(678,73,'秦州区',3,0),(679,73,'麦积区',3,0),(680,73,'武山县',3,0),(681,73,'张家川',3,0),(682,74,'古浪县',3,0),(683,74,'民勤县',3,0),(684,74,'天祝',3,0),(685,74,'凉州区',3,0),(686,75,'高台县',3,0),(687,75,'临泽县',3,0),(688,75,'民乐县',3,0),(689,75,'山丹县',3,0),(690,75,'肃南',3,0),(691,75,'甘州区',3,0),(692,76,'从化市',3,0),(693,76,'天河区',3,0),(694,76,'东山区',3,0),(695,76,'白云区',3,0),(696,76,'海珠区',3,0),(697,76,'荔湾区',3,0),(698,76,'越秀区',3,0),(699,76,'黄埔区',3,0),(700,76,'番禺区',3,0),(701,76,'花都区',3,0),(702,76,'增城区',3,0),(703,76,'从化区',3,0),(704,76,'市郊',3,0),(705,77,'福田区',3,0),(706,77,'罗湖区',3,0),(707,77,'南山区',3,0),(708,77,'宝安区',3,0),(709,77,'龙岗区',3,0),(710,77,'盐田区',3,0),(711,78,'湘桥区',3,0),(712,78,'潮安县',3,0),(713,78,'饶平县',3,0),(714,79,'南城区',3,0),(715,79,'东城区',3,0),(716,79,'万江区',3,0),(717,79,'莞城区',3,0),(718,79,'石龙镇',3,0),(719,79,'虎门镇',3,0),(720,79,'麻涌镇',3,0),(721,79,'道滘镇',3,0),(722,79,'石碣镇',3,0),(723,79,'沙田镇',3,0),(724,79,'望牛墩镇',3,0),(725,79,'洪梅镇',3,0),(726,79,'茶山镇',3,0),(727,79,'寮步镇',3,0),(728,79,'大岭山镇',3,0),(729,79,'大朗镇',3,0),(730,79,'黄江镇',3,0),(731,79,'樟木头',3,0),(732,79,'凤岗镇',3,0),(733,79,'塘厦镇',3,0),(734,79,'谢岗镇',3,0),(735,79,'厚街镇',3,0),(736,79,'清溪镇',3,0),(737,79,'常平镇',3,0),(738,79,'桥头镇',3,0),(739,79,'横沥镇',3,0),(740,79,'东坑镇',3,0),(741,79,'企石镇',3,0),(742,79,'石排镇',3,0),(743,79,'长安镇',3,0),(744,79,'中堂镇',3,0),(745,79,'高埗镇',3,0),(746,80,'禅城区',3,0),(747,80,'南海区',3,0),(748,80,'顺德区',3,0),(749,80,'三水区',3,0),(750,80,'高明区',3,0),(751,81,'东源县',3,0),(752,81,'和平县',3,0),(753,81,'源城区',3,0),(754,81,'连平县',3,0),(755,81,'龙川县',3,0),(756,81,'紫金县',3,0),(757,82,'惠阳区',3,0),(758,82,'惠城区',3,0),(759,82,'大亚湾',3,0),(760,82,'博罗县',3,0),(761,82,'惠东县',3,0),(762,82,'龙门县',3,0),(763,83,'江海区',3,0),(764,83,'蓬江区',3,0),(765,83,'新会区',3,0),(766,83,'台山市',3,0),(767,83,'开平市',3,0),(768,83,'鹤山市',3,0),(769,83,'恩平市',3,0),(770,84,'榕城区',3,0),(771,84,'普宁市',3,0),(772,84,'揭东县',3,0),(773,84,'揭西县',3,0),(774,84,'惠来县',3,0),(775,85,'茂南区',3,0),(776,85,'茂港区',3,0),(777,85,'高州市',3,0),(778,85,'化州市',3,0),(779,85,'信宜市',3,0),(780,85,'电白县',3,0),(781,86,'梅县',3,0),(782,86,'梅江区',3,0),(783,86,'兴宁市',3,0),(784,86,'大埔县',3,0),(785,86,'丰顺县',3,0),(786,86,'五华县',3,0),(787,86,'平远县',3,0),(788,86,'蕉岭县',3,0),(789,87,'清城区',3,0),(790,87,'英德市',3,0),(791,87,'连州市',3,0),(792,87,'佛冈县',3,0),(793,87,'阳山县',3,0),(794,87,'清新县',3,0),(795,87,'连山',3,0),(796,87,'连南',3,0),(797,88,'南澳县',3,0),(798,88,'潮阳区',3,0),(799,88,'澄海区',3,0),(800,88,'龙湖区',3,0),(801,88,'金平区',3,0),(802,88,'濠江区',3,0),(803,88,'潮南区',3,0),(804,89,'城区',3,0),(805,89,'陆丰市',3,0),(806,89,'海丰县',3,0),(807,89,'陆河县',3,0),(808,90,'曲江县',3,0),(809,90,'浈江区',3,0),(810,90,'武江区',3,0),(811,90,'曲江区',3,0),(812,90,'乐昌市',3,0),(813,90,'南雄市',3,0),(814,90,'始兴县',3,0),(815,90,'仁化县',3,0),(816,90,'翁源县',3,0),(817,90,'新丰县',3,0),(818,90,'乳源',3,0),(819,91,'江城区',3,0),(820,91,'阳春市',3,0),(821,91,'阳西县',3,0),(822,91,'阳东县',3,0),(823,92,'云城区',3,0),(824,92,'罗定市',3,0),(825,92,'新兴县',3,0),(826,92,'郁南县',3,0),(827,92,'云安县',3,0),(828,93,'赤坎区',3,0),(829,93,'霞山区',3,0),(830,93,'坡头区',3,0),(831,93,'麻章区',3,0),(832,93,'廉江市',3,0),(833,93,'雷州市',3,0),(834,93,'吴川市',3,0),(835,93,'遂溪县',3,0),(836,93,'徐闻县',3,0),(837,94,'肇庆市',3,0),(838,94,'高要市',3,0),(839,94,'四会市',3,0),(840,94,'广宁县',3,0),(841,94,'怀集县',3,0),(842,94,'封开县',3,0),(843,94,'德庆县',3,0),(844,95,'石岐街道',3,0),(845,95,'东区街道',3,0),(846,95,'西区街道',3,0),(847,95,'环城街道',3,0),(848,95,'中山港街道',3,0),(849,95,'五桂山街道',3,0),(850,96,'香洲区',3,0),(851,96,'斗门区',3,0),(852,96,'金湾区',3,0),(853,97,'邕宁区',3,0),(854,97,'青秀区',3,0),(855,97,'兴宁区',3,0),(856,97,'良庆区',3,0),(857,97,'西乡塘区',3,0),(858,97,'江南区',3,0),(859,97,'武鸣县',3,0),(860,97,'隆安县',3,0),(861,97,'马山县',3,0),(862,97,'上林县',3,0),(863,97,'宾阳县',3,0),(864,97,'横县',3,0),(865,98,'秀峰区',3,0),(866,98,'叠彩区',3,0),(867,98,'象山区',3,0),(868,98,'七星区',3,0),(869,98,'雁山区',3,0),(870,98,'阳朔县',3,0),(871,98,'临桂县',3,0),(872,98,'灵川县',3,0),(873,98,'全州县',3,0),(874,98,'平乐县',3,0),(875,98,'兴安县',3,0),(876,98,'灌阳县',3,0),(877,98,'荔浦县',3,0),(878,98,'资源县',3,0),(879,98,'永福县',3,0),(880,98,'龙胜',3,0),(881,98,'恭城',3,0),(882,99,'右江区',3,0),(883,99,'凌云县',3,0),(884,99,'平果县',3,0),(885,99,'西林县',3,0),(886,99,'乐业县',3,0),(887,99,'德保县',3,0),(888,99,'田林县',3,0),(889,99,'田阳县',3,0),(890,99,'靖西县',3,0),(891,99,'田东县',3,0),(892,99,'那坡县',3,0),(893,99,'隆林',3,0),(894,100,'海城区',3,0),(895,100,'银海区',3,0),(896,100,'铁山港区',3,0),(897,100,'合浦县',3,0),(898,101,'江州区',3,0),(899,101,'凭祥市',3,0),(900,101,'宁明县',3,0),(901,101,'扶绥县',3,0),(902,101,'龙州县',3,0),(903,101,'大新县',3,0),(904,101,'天等县',3,0),(905,102,'港口区',3,0),(906,102,'防城区',3,0),(907,102,'东兴市',3,0),(908,102,'上思县',3,0),(909,103,'港北区',3,0),(910,103,'港南区',3,0),(911,103,'覃塘区',3,0),(912,103,'桂平市',3,0),(913,103,'平南县',3,0),(914,104,'金城江区',3,0),(915,104,'宜州市',3,0),(916,104,'天峨县',3,0),(917,104,'凤山县',3,0),(918,104,'南丹县',3,0),(919,104,'东兰县',3,0),(920,104,'都安',3,0),(921,104,'罗城',3,0),(922,104,'巴马',3,0),(923,104,'环江',3,0),(924,104,'大化',3,0),(925,105,'八步区',3,0),(926,105,'钟山县',3,0),(927,105,'昭平县',3,0),(928,105,'富川',3,0),(929,106,'兴宾区',3,0),(930,106,'合山市',3,0),(931,106,'象州县',3,0),(932,106,'武宣县',3,0),(933,106,'忻城县',3,0),(934,106,'金秀',3,0),(935,107,'城中区',3,0),(936,107,'鱼峰区',3,0),(937,107,'柳北区',3,0),(938,107,'柳南区',3,0),(939,107,'柳江县',3,0),(940,107,'柳城县',3,0),(941,107,'鹿寨县',3,0),(942,107,'融安县',3,0),(943,107,'融水',3,0),(944,107,'三江',3,0),(945,108,'钦南区',3,0),(946,108,'钦北区',3,0),(947,108,'灵山县',3,0),(948,108,'浦北县',3,0),(949,109,'万秀区',3,0),(950,109,'蝶山区',3,0),(951,109,'长洲区',3,0),(952,109,'岑溪市',3,0),(953,109,'苍梧县',3,0),(954,109,'藤县',3,0),(955,109,'蒙山县',3,0),(956,110,'玉州区',3,0),(957,110,'北流市',3,0),(958,110,'容县',3,0),(959,110,'陆川县',3,0),(960,110,'博白县',3,0),(961,110,'兴业县',3,0),(962,111,'南明区',3,0),(963,111,'云岩区',3,0),(964,111,'花溪区',3,0),(965,111,'乌当区',3,0),(966,111,'白云区',3,0),(967,111,'小河区',3,0),(968,111,'金阳新区',3,0),(969,111,'新天园区',3,0),(970,111,'清镇市',3,0),(971,111,'开阳县',3,0),(972,111,'修文县',3,0),(973,111,'息烽县',3,0),(974,112,'西秀区',3,0),(975,112,'关岭',3,0),(976,112,'镇宁',3,0),(977,112,'紫云',3,0),(978,112,'平坝县',3,0),(979,112,'普定县',3,0),(980,113,'毕节市',3,0),(981,113,'大方县',3,0),(982,113,'黔西县',3,0),(983,113,'金沙县',3,0),(984,113,'织金县',3,0),(985,113,'纳雍县',3,0),(986,113,'赫章县',3,0),(987,113,'威宁',3,0),(988,114,'钟山区',3,0),(989,114,'六枝特区',3,0),(990,114,'水城县',3,0),(991,114,'盘县',3,0),(992,115,'凯里市',3,0),(993,115,'黄平县',3,0),(994,115,'施秉县',3,0),(995,115,'三穗县',3,0),(996,115,'镇远县',3,0),(997,115,'岑巩县',3,0),(998,115,'天柱县',3,0),(999,115,'锦屏县',3,0),(1000,115,'剑河县',3,0),(1001,115,'台江县',3,0),(1002,115,'黎平县',3,0),(1003,115,'榕江县',3,0),(1004,115,'从江县',3,0),(1005,115,'雷山县',3,0),(1006,115,'麻江县',3,0),(1007,115,'丹寨县',3,0),(1008,116,'都匀市',3,0),(1009,116,'福泉市',3,0),(1010,116,'荔波县',3,0),(1011,116,'贵定县',3,0),(1012,116,'瓮安县',3,0),(1013,116,'独山县',3,0),(1014,116,'平塘县',3,0),(1015,116,'罗甸县',3,0),(1016,116,'长顺县',3,0),(1017,116,'龙里县',3,0),(1018,116,'惠水县',3,0),(1019,116,'三都',3,0),(1020,117,'兴义市',3,0),(1021,117,'兴仁县',3,0),(1022,117,'普安县',3,0),(1023,117,'晴隆县',3,0),(1024,117,'贞丰县',3,0),(1025,117,'望谟县',3,0),(1026,117,'册亨县',3,0),(1027,117,'安龙县',3,0),(1028,118,'铜仁市',3,0),(1029,118,'江口县',3,0),(1030,118,'石阡县',3,0),(1031,118,'思南县',3,0),(1032,118,'德江县',3,0),(1033,118,'玉屏',3,0),(1034,118,'印江',3,0),(1035,118,'沿河',3,0),(1036,118,'松桃',3,0),(1037,118,'万山特区',3,0),(1038,119,'红花岗区',3,0),(1039,119,'务川县',3,0),(1040,119,'道真县',3,0),(1041,119,'汇川区',3,0),(1042,119,'赤水市',3,0),(1043,119,'仁怀市',3,0),(1044,119,'遵义县',3,0),(1045,119,'桐梓县',3,0),(1046,119,'绥阳县',3,0),(1047,119,'正安县',3,0),(1048,119,'凤冈县',3,0),(1049,119,'湄潭县',3,0),(1050,119,'余庆县',3,0),(1051,119,'习水县',3,0),(1052,119,'道真',3,0),(1053,119,'务川',3,0),(1054,120,'秀英区',3,0),(1055,120,'龙华区',3,0),(1056,120,'琼山区',3,0),(1057,120,'美兰区',3,0),(1058,137,'市区',3,0),(1059,137,'洋浦开发区',3,0),(1060,137,'那大镇',3,0),(1061,137,'王五镇',3,0),(1062,137,'雅星镇',3,0),(1063,137,'大成镇',3,0),(1064,137,'中和镇',3,0),(1065,137,'峨蔓镇',3,0),(1066,137,'南丰镇',3,0),(1067,137,'白马井镇',3,0),(1068,137,'兰洋镇',3,0),(1069,137,'和庆镇',3,0),(1070,137,'海头镇',3,0),(1071,137,'排浦镇',3,0),(1072,137,'东成镇',3,0),(1073,137,'光村镇',3,0),(1074,137,'木棠镇',3,0),(1075,137,'新州镇',3,0),(1076,137,'三都镇',3,0),(1077,137,'其他',3,0),(1078,138,'长安区',3,0),(1079,138,'桥东区',3,0),(1080,138,'桥西区',3,0),(1081,138,'新华区',3,0),(1082,138,'裕华区',3,0),(1083,138,'井陉矿区',3,0),(1084,138,'高新区',3,0),(1085,138,'辛集市',3,0),(1086,138,'藁城市',3,0),(1087,138,'晋州市',3,0),(1088,138,'新乐市',3,0),(1089,138,'鹿泉市',3,0),(1090,138,'井陉县',3,0),(1091,138,'正定县',3,0),(1092,138,'栾城县',3,0),(1093,138,'行唐县',3,0),(1094,138,'灵寿县',3,0),(1095,138,'高邑县',3,0),(1096,138,'深泽县',3,0),(1097,138,'赞皇县',3,0),(1098,138,'无极县',3,0),(1099,138,'平山县',3,0),(1100,138,'元氏县',3,0),(1101,138,'赵县',3,0),(1102,139,'新市区',3,0),(1103,139,'南市区',3,0),(1104,139,'北市区',3,0),(1105,139,'涿州市',3,0),(1106,139,'定州市',3,0),(1107,139,'安国市',3,0),(1108,139,'高碑店市',3,0),(1109,139,'满城县',3,0),(1110,139,'清苑县',3,0),(1111,139,'涞水县',3,0),(1112,139,'阜平县',3,0),(1113,139,'徐水县',3,0),(1114,139,'定兴县',3,0),(1115,139,'唐县',3,0),(1116,139,'高阳县',3,0),(1117,139,'容城县',3,0),(1118,139,'涞源县',3,0),(1119,139,'望都县',3,0),(1120,139,'安新县',3,0),(1121,139,'易县',3,0),(1122,139,'曲阳县',3,0),(1123,139,'蠡县',3,0),(1124,139,'顺平县',3,0),(1125,139,'博野县',3,0),(1126,139,'雄县',3,0),(1127,140,'运河区',3,0),(1128,140,'新华区',3,0),(1129,140,'泊头市',3,0),(1130,140,'任丘市',3,0),(1131,140,'黄骅市',3,0),(1132,140,'河间市',3,0),(1133,140,'沧县',3,0),(1134,140,'青县',3,0),(1135,140,'东光县',3,0),(1136,140,'海兴县',3,0),(1137,140,'盐山县',3,0),(1138,140,'肃宁县',3,0),(1139,140,'南皮县',3,0),(1140,140,'吴桥县',3,0),(1141,140,'献县',3,0),(1142,140,'孟村',3,0),(1143,141,'双桥区',3,0),(1144,141,'双滦区',3,0),(1145,141,'鹰手营子矿区',3,0),(1146,141,'承德县',3,0),(1147,141,'兴隆县',3,0),(1148,141,'平泉县',3,0),(1149,141,'滦平县',3,0),(1150,141,'隆化县',3,0),(1151,141,'丰宁',3,0),(1152,141,'宽城',3,0),(1153,141,'围场',3,0),(1154,142,'从台区',3,0),(1155,142,'复兴区',3,0),(1156,142,'邯山区',3,0),(1157,142,'峰峰矿区',3,0),(1158,142,'武安市',3,0),(1159,142,'邯郸县',3,0),(1160,142,'临漳县',3,0),(1161,142,'成安县',3,0),(1162,142,'大名县',3,0),(1163,142,'涉县',3,0),(1164,142,'磁县',3,0),(1165,142,'肥乡县',3,0),(1166,142,'永年县',3,0),(1167,142,'邱县',3,0),(1168,142,'鸡泽县',3,0),(1169,142,'广平县',3,0),(1170,142,'馆陶县',3,0),(1171,142,'魏县',3,0),(1172,142,'曲周县',3,0),(1173,143,'桃城区',3,0),(1174,143,'冀州市',3,0),(1175,143,'深州市',3,0),(1176,143,'枣强县',3,0),(1177,143,'武邑县',3,0),(1178,143,'武强县',3,0),(1179,143,'饶阳县',3,0),(1180,143,'安平县',3,0),(1181,143,'故城县',3,0),(1182,143,'景县',3,0),(1183,143,'阜城县',3,0),(1184,144,'安次区',3,0),(1185,144,'广阳区',3,0),(1186,144,'霸州市',3,0),(1187,144,'三河市',3,0),(1188,144,'固安县',3,0),(1189,144,'永清县',3,0),(1190,144,'香河县',3,0),(1191,144,'大城县',3,0),(1192,144,'文安县',3,0),(1193,144,'大厂',3,0),(1194,145,'海港区',3,0),(1195,145,'山海关区',3,0),(1196,145,'北戴河区',3,0),(1197,145,'昌黎县',3,0),(1198,145,'抚宁县',3,0),(1199,145,'卢龙县',3,0),(1200,145,'青龙',3,0),(1201,146,'路北区',3,0),(1202,146,'路南区',3,0),(1203,146,'古冶区',3,0),(1204,146,'开平区',3,0),(1205,146,'丰南区',3,0),(1206,146,'丰润区',3,0),(1207,146,'遵化市',3,0),(1208,146,'迁安市',3,0),(1209,146,'滦县',3,0),(1210,146,'滦南县',3,0),(1211,146,'乐亭县',3,0),(1212,146,'迁西县',3,0),(1213,146,'玉田县',3,0),(1214,146,'唐海县',3,0),(1215,147,'桥东区',3,0),(1216,147,'桥西区',3,0),(1217,147,'南宫市',3,0),(1218,147,'沙河市',3,0),(1219,147,'邢台县',3,0),(1220,147,'临城县',3,0),(1221,147,'内丘县',3,0),(1222,147,'柏乡县',3,0),(1223,147,'隆尧县',3,0),(1224,147,'任县',3,0),(1225,147,'南和县',3,0),(1226,147,'宁晋县',3,0),(1227,147,'巨鹿县',3,0),(1228,147,'新河县',3,0),(1229,147,'广宗县',3,0),(1230,147,'平乡县',3,0),(1231,147,'威县',3,0),(1232,147,'清河县',3,0),(1233,147,'临西县',3,0),(1234,148,'桥西区',3,0),(1235,148,'桥东区',3,0),(1236,148,'宣化区',3,0),(1237,148,'下花园区',3,0),(1238,148,'宣化县',3,0),(1239,148,'张北县',3,0),(1240,148,'康保县',3,0),(1241,148,'沽源县',3,0),(1242,148,'尚义县',3,0),(1243,148,'蔚县',3,0),(1244,148,'阳原县',3,0),(1245,148,'怀安县',3,0),(1246,148,'万全县',3,0),(1247,148,'怀来县',3,0),(1248,148,'涿鹿县',3,0),(1249,148,'赤城县',3,0),(1250,148,'崇礼县',3,0),(1251,149,'金水区',3,0),(1252,149,'邙山区',3,0),(1253,149,'二七区',3,0),(1254,149,'管城区',3,0),(1255,149,'中原区',3,0),(1256,149,'上街区',3,0),(1257,149,'惠济区',3,0),(1258,149,'郑东新区',3,0),(1259,149,'经济技术开发区',3,0),(1260,149,'高新开发区',3,0),(1261,149,'出口加工区',3,0),(1262,149,'巩义市',3,0),(1263,149,'荥阳市',3,0),(1264,149,'新密市',3,0),(1265,149,'新郑市',3,0),(1266,149,'登封市',3,0),(1267,149,'中牟县',3,0),(1268,150,'西工区',3,0),(1269,150,'老城区',3,0),(1270,150,'涧西区',3,0),(1271,150,'瀍河回族区',3,0),(1272,150,'洛龙区',3,0),(1273,150,'吉利区',3,0),(1274,150,'偃师市',3,0),(1275,150,'孟津县',3,0),(1276,150,'新安县',3,0),(1277,150,'栾川县',3,0),(1278,150,'嵩县',3,0),(1279,150,'汝阳县',3,0),(1280,150,'宜阳县',3,0),(1281,150,'洛宁县',3,0),(1282,150,'伊川县',3,0),(1283,151,'鼓楼区',3,0),(1284,151,'龙亭区',3,0),(1285,151,'顺河回族区',3,0),(1286,151,'金明区',3,0),(1287,151,'禹王台区',3,0),(1288,151,'杞县',3,0),(1289,151,'通许县',3,0),(1290,151,'尉氏县',3,0),(1291,151,'开封县',3,0),(1292,151,'兰考县',3,0),(1293,152,'北关区',3,0),(1294,152,'文峰区',3,0),(1295,152,'殷都区',3,0),(1296,152,'龙安区',3,0),(1297,152,'林州市',3,0),(1298,152,'安阳县',3,0),(1299,152,'汤阴县',3,0),(1300,152,'滑县',3,0),(1301,152,'内黄县',3,0),(1302,153,'淇滨区',3,0),(1303,153,'山城区',3,0),(1304,153,'鹤山区',3,0),(1305,153,'浚县',3,0),(1306,153,'淇县',3,0),(1307,154,'济源市',3,0),(1308,155,'解放区',3,0),(1309,155,'中站区',3,0),(1310,155,'马村区',3,0),(1311,155,'山阳区',3,0),(1312,155,'沁阳市',3,0),(1313,155,'孟州市',3,0),(1314,155,'修武县',3,0),(1315,155,'博爱县',3,0),(1316,155,'武陟县',3,0),(1317,155,'温县',3,0),(1318,156,'卧龙区',3,0),(1319,156,'宛城区',3,0),(1320,156,'邓州市',3,0),(1321,156,'南召县',3,0),(1322,156,'方城县',3,0),(1323,156,'西峡县',3,0),(1324,156,'镇平县',3,0),(1325,156,'内乡县',3,0),(1326,156,'淅川县',3,0),(1327,156,'社旗县',3,0),(1328,156,'唐河县',3,0),(1329,156,'新野县',3,0),(1330,156,'桐柏县',3,0),(1331,157,'新华区',3,0),(1332,157,'卫东区',3,0),(1333,157,'湛河区',3,0),(1334,157,'石龙区',3,0),(1335,157,'舞钢市',3,0),(1336,157,'汝州市',3,0),(1337,157,'宝丰县',3,0),(1338,157,'叶县',3,0),(1339,157,'鲁山县',3,0),(1340,157,'郏县',3,0),(1341,158,'湖滨区',3,0),(1342,158,'义马市',3,0),(1343,158,'灵宝市',3,0),(1344,158,'渑池县',3,0),(1345,158,'陕县',3,0),(1346,158,'卢氏县',3,0),(1347,159,'梁园区',3,0),(1348,159,'睢阳区',3,0),(1349,159,'永城市',3,0),(1350,159,'民权县',3,0),(1351,159,'睢县',3,0),(1352,159,'宁陵县',3,0),(1353,159,'虞城县',3,0),(1354,159,'柘城县',3,0),(1355,159,'夏邑县',3,0),(1356,160,'卫滨区',3,0),(1357,160,'红旗区',3,0),(1358,160,'凤泉区',3,0),(1359,160,'牧野区',3,0),(1360,160,'卫辉市',3,0),(1361,160,'辉县市',3,0),(1362,160,'新乡县',3,0),(1363,160,'获嘉县',3,0),(1364,160,'原阳县',3,0),(1365,160,'延津县',3,0),(1366,160,'封丘县',3,0),(1367,160,'长垣县',3,0),(1368,161,'浉河区',3,0),(1369,161,'平桥区',3,0),(1370,161,'罗山县',3,0),(1371,161,'光山县',3,0),(1372,161,'新县',3,0),(1373,161,'商城县',3,0),(1374,161,'固始县',3,0),(1375,161,'潢川县',3,0),(1376,161,'淮滨县',3,0),(1377,161,'息县',3,0),(1378,162,'魏都区',3,0),(1379,162,'禹州市',3,0),(1380,162,'长葛市',3,0),(1381,162,'许昌县',3,0),(1382,162,'鄢陵县',3,0),(1383,162,'襄城县',3,0),(1384,163,'川汇区',3,0),(1385,163,'项城市',3,0),(1386,163,'扶沟县',3,0),(1387,163,'西华县',3,0),(1388,163,'商水县',3,0),(1389,163,'沈丘县',3,0),(1390,163,'郸城县',3,0),(1391,163,'淮阳县',3,0),(1392,163,'太康县',3,0),(1393,163,'鹿邑县',3,0),(1394,164,'驿城区',3,0),(1395,164,'西平县',3,0),(1396,164,'上蔡县',3,0),(1397,164,'平舆县',3,0),(1398,164,'正阳县',3,0),(1399,164,'确山县',3,0),(1400,164,'泌阳县',3,0),(1401,164,'汝南县',3,0),(1402,164,'遂平县',3,0),(1403,164,'新蔡县',3,0),(1404,165,'郾城区',3,0),(1405,165,'源汇区',3,0),(1406,165,'召陵区',3,0),(1407,165,'舞阳县',3,0),(1408,165,'临颍县',3,0),(1409,166,'华龙区',3,0),(1410,166,'清丰县',3,0),(1411,166,'南乐县',3,0),(1412,166,'范县',3,0),(1413,166,'台前县',3,0),(1414,166,'濮阳县',3,0),(1415,167,'道里区',3,0),(1416,167,'南岗区',3,0),(1417,167,'动力区',3,0),(1418,167,'平房区',3,0),(1419,167,'香坊区',3,0),(1420,167,'太平区',3,0),(1421,167,'道外区',3,0),(1422,167,'阿城区',3,0),(1423,167,'呼兰区',3,0),(1424,167,'松北区',3,0),(1425,167,'尚志市',3,0),(1426,167,'双城市',3,0),(1427,167,'五常市',3,0),(1428,167,'方正县',3,0),(1429,167,'宾县',3,0),(1430,167,'依兰县',3,0),(1431,167,'巴彦县',3,0),(1432,167,'通河县',3,0),(1433,167,'木兰县',3,0),(1434,167,'延寿县',3,0),(1435,168,'萨尔图区',3,0),(1436,168,'红岗区',3,0),(1437,168,'龙凤区',3,0),(1438,168,'让胡路区',3,0),(1439,168,'大同区',3,0),(1440,168,'肇州县',3,0),(1441,168,'肇源县',3,0),(1442,168,'林甸县',3,0),(1443,168,'杜尔伯特',3,0),(1444,169,'呼玛县',3,0),(1445,169,'漠河县',3,0),(1446,169,'塔河县',3,0),(1447,170,'兴山区',3,0),(1448,170,'工农区',3,0),(1449,170,'南山区',3,0),(1450,170,'兴安区',3,0),(1451,170,'向阳区',3,0),(1452,170,'东山区',3,0),(1453,170,'萝北县',3,0),(1454,170,'绥滨县',3,0),(1455,171,'爱辉区',3,0),(1456,171,'五大连池市',3,0),(1457,171,'北安市',3,0),(1458,171,'嫩江县',3,0),(1459,171,'逊克县',3,0),(1460,171,'孙吴县',3,0),(1461,172,'鸡冠区',3,0),(1462,172,'恒山区',3,0),(1463,172,'城子河区',3,0),(1464,172,'滴道区',3,0),(1465,172,'梨树区',3,0),(1466,172,'虎林市',3,0),(1467,172,'密山市',3,0),(1468,172,'鸡东县',3,0),(1469,173,'前进区',3,0),(1470,173,'郊区',3,0),(1471,173,'向阳区',3,0),(1472,173,'东风区',3,0),(1473,173,'同江市',3,0),(1474,173,'富锦市',3,0),(1475,173,'桦南县',3,0),(1476,173,'桦川县',3,0),(1477,173,'汤原县',3,0),(1478,173,'抚远县',3,0),(1479,174,'爱民区',3,0),(1480,174,'东安区',3,0),(1481,174,'阳明区',3,0),(1482,174,'西安区',3,0),(1483,174,'绥芬河市',3,0),(1484,174,'海林市',3,0),(1485,174,'宁安市',3,0),(1486,174,'穆棱市',3,0),(1487,174,'东宁县',3,0),(1488,174,'林口县',3,0),(1489,175,'桃山区',3,0),(1490,175,'新兴区',3,0),(1491,175,'茄子河区',3,0),(1492,175,'勃利县',3,0),(1493,176,'龙沙区',3,0),(1494,176,'昂昂溪区',3,0),(1495,176,'铁峰区',3,0),(1496,176,'建华区',3,0),(1497,176,'富拉尔基区',3,0),(1498,176,'碾子山区',3,0),(1499,176,'梅里斯达斡尔区',3,0),(1500,176,'讷河市',3,0),(1501,176,'龙江县',3,0),(1502,176,'依安县',3,0),(1503,176,'泰来县',3,0),(1504,176,'甘南县',3,0),(1505,176,'富裕县',3,0),(1506,176,'克山县',3,0),(1507,176,'克东县',3,0),(1508,176,'拜泉县',3,0),(1509,177,'尖山区',3,0),(1510,177,'岭东区',3,0),(1511,177,'四方台区',3,0),(1512,177,'宝山区',3,0),(1513,177,'集贤县',3,0),(1514,177,'友谊县',3,0),(1515,177,'宝清县',3,0),(1516,177,'饶河县',3,0),(1517,178,'北林区',3,0),(1518,178,'安达市',3,0),(1519,178,'肇东市',3,0),(1520,178,'海伦市',3,0),(1521,178,'望奎县',3,0),(1522,178,'兰西县',3,0),(1523,178,'青冈县',3,0),(1524,178,'庆安县',3,0),(1525,178,'明水县',3,0),(1526,178,'绥棱县',3,0),(1527,179,'伊春区',3,0),(1528,179,'带岭区',3,0),(1529,179,'南岔区',3,0),(1530,179,'金山屯区',3,0),(1531,179,'西林区',3,0),(1532,179,'美溪区',3,0),(1533,179,'乌马河区',3,0),(1534,179,'翠峦区',3,0),(1535,179,'友好区',3,0),(1536,179,'上甘岭区',3,0),(1537,179,'五营区',3,0),(1538,179,'红星区',3,0),(1539,179,'新青区',3,0),(1540,179,'汤旺河区',3,0),(1541,179,'乌伊岭区',3,0),(1542,179,'铁力市',3,0),(1543,179,'嘉荫县',3,0),(1544,180,'江岸区',3,0),(1545,180,'武昌区',3,0),(1546,180,'江汉区',3,0),(1547,180,'硚口区',3,0),(1548,180,'汉阳区',3,0),(1549,180,'青山区',3,0),(1550,180,'洪山区',3,0),(1551,180,'东西湖区',3,0),(1552,180,'汉南区',3,0),(1553,180,'蔡甸区',3,0),(1554,180,'江夏区',3,0),(1555,180,'黄陂区',3,0),(1556,180,'新洲区',3,0),(1557,180,'经济开发区',3,0),(1558,181,'仙桃市',3,0),(1559,182,'鄂城区',3,0),(1560,182,'华容区',3,0),(1561,182,'梁子湖区',3,0),(1562,183,'黄州区',3,0),(1563,183,'麻城市',3,0),(1564,183,'武穴市',3,0),(1565,183,'团风县',3,0),(1566,183,'红安县',3,0),(1567,183,'罗田县',3,0),(1568,183,'英山县',3,0),(1569,183,'浠水县',3,0),(1570,183,'蕲春县',3,0),(1571,183,'黄梅县',3,0),(1572,184,'黄石港区',3,0),(1573,184,'西塞山区',3,0),(1574,184,'下陆区',3,0),(1575,184,'铁山区',3,0),(1576,184,'大冶市',3,0),(1577,184,'阳新县',3,0),(1578,185,'东宝区',3,0),(1579,185,'掇刀区',3,0),(1580,185,'钟祥市',3,0),(1581,185,'京山县',3,0),(1582,185,'沙洋县',3,0),(1583,186,'沙市区',3,0),(1584,186,'荆州区',3,0),(1585,186,'石首市',3,0),(1586,186,'洪湖市',3,0),(1587,186,'松滋市',3,0),(1588,186,'公安县',3,0),(1589,186,'监利县',3,0),(1590,186,'江陵县',3,0),(1591,187,'潜江市',3,0),(1592,188,'神农架林区',3,0),(1593,189,'张湾区',3,0),(1594,189,'茅箭区',3,0),(1595,189,'丹江口市',3,0),(1596,189,'郧县',3,0),(1597,189,'郧西县',3,0),(1598,189,'竹山县',3,0),(1599,189,'竹溪县',3,0),(1600,189,'房县',3,0),(1601,190,'曾都区',3,0),(1602,190,'广水市',3,0),(1603,191,'天门市',3,0),(1604,192,'咸安区',3,0),(1605,192,'赤壁市',3,0),(1606,192,'嘉鱼县',3,0),(1607,192,'通城县',3,0),(1608,192,'崇阳县',3,0),(1609,192,'通山县',3,0),(1610,193,'襄城区',3,0),(1611,193,'樊城区',3,0),(1612,193,'襄阳区',3,0),(1613,193,'老河口市',3,0),(1614,193,'枣阳市',3,0),(1615,193,'宜城市',3,0),(1616,193,'南漳县',3,0),(1617,193,'谷城县',3,0),(1618,193,'保康县',3,0),(1619,194,'孝南区',3,0),(1620,194,'应城市',3,0),(1621,194,'安陆市',3,0),(1622,194,'汉川市',3,0),(1623,194,'孝昌县',3,0),(1624,194,'大悟县',3,0),(1625,194,'云梦县',3,0),(1626,195,'长阳',3,0),(1627,195,'五峰',3,0),(1628,195,'西陵区',3,0),(1629,195,'伍家岗区',3,0),(1630,195,'点军区',3,0),(1631,195,'猇亭区',3,0),(1632,195,'夷陵区',3,0),(1633,195,'宜都市',3,0),(1634,195,'当阳市',3,0),(1635,195,'枝江市',3,0),(1636,195,'远安县',3,0),(1637,195,'兴山县',3,0),(1638,195,'秭归县',3,0),(1639,196,'恩施市',3,0),(1640,196,'利川市',3,0),(1641,196,'建始县',3,0),(1642,196,'巴东县',3,0),(1643,196,'宣恩县',3,0),(1644,196,'咸丰县',3,0),(1645,196,'来凤县',3,0),(1646,196,'鹤峰县',3,0),(1647,197,'岳麓区',3,0),(1648,197,'芙蓉区',3,0),(1649,197,'天心区',3,0),(1650,197,'开福区',3,0),(1651,197,'雨花区',3,0),(1652,197,'开发区',3,0),(1653,197,'浏阳市',3,0),(1654,197,'长沙县',3,0),(1655,197,'望城县',3,0),(1656,197,'宁乡县',3,0),(1657,198,'永定区',3,0),(1658,198,'武陵源区',3,0),(1659,198,'慈利县',3,0),(1660,198,'桑植县',3,0),(1661,199,'武陵区',3,0),(1662,199,'鼎城区',3,0),(1663,199,'津市市',3,0),(1664,199,'安乡县',3,0),(1665,199,'汉寿县',3,0),(1666,199,'澧县',3,0),(1667,199,'临澧县',3,0),(1668,199,'桃源县',3,0),(1669,199,'石门县',3,0),(1670,200,'北湖区',3,0),(1671,200,'苏仙区',3,0),(1672,200,'资兴市',3,0),(1673,200,'桂阳县',3,0),(1674,200,'宜章县',3,0),(1675,200,'永兴县',3,0),(1676,200,'嘉禾县',3,0),(1677,200,'临武县',3,0),(1678,200,'汝城县',3,0),(1679,200,'桂东县',3,0),(1680,200,'安仁县',3,0),(1681,201,'雁峰区',3,0),(1682,201,'珠晖区',3,0),(1683,201,'石鼓区',3,0),(1684,201,'蒸湘区',3,0),(1685,201,'南岳区',3,0),(1686,201,'耒阳市',3,0),(1687,201,'常宁市',3,0),(1688,201,'衡阳县',3,0),(1689,201,'衡南县',3,0),(1690,201,'衡山县',3,0),(1691,201,'衡东县',3,0),(1692,201,'祁东县',3,0),(1693,202,'鹤城区',3,0),(1694,202,'靖州',3,0),(1695,202,'麻阳',3,0),(1696,202,'通道',3,0),(1697,202,'新晃',3,0),(1698,202,'芷江',3,0),(1699,202,'沅陵县',3,0),(1700,202,'辰溪县',3,0),(1701,202,'溆浦县',3,0),(1702,202,'中方县',3,0),(1703,202,'会同县',3,0),(1704,202,'洪江市',3,0),(1705,203,'娄星区',3,0),(1706,203,'冷水江市',3,0),(1707,203,'涟源市',3,0),(1708,203,'双峰县',3,0),(1709,203,'新化县',3,0),(1710,204,'城步',3,0),(1711,204,'双清区',3,0),(1712,204,'大祥区',3,0),(1713,204,'北塔区',3,0),(1714,204,'武冈市',3,0),(1715,204,'邵东县',3,0),(1716,204,'新邵县',3,0),(1717,204,'邵阳县',3,0),(1718,204,'隆回县',3,0),(1719,204,'洞口县',3,0),(1720,204,'绥宁县',3,0),(1721,204,'新宁县',3,0),(1722,205,'岳塘区',3,0),(1723,205,'雨湖区',3,0),(1724,205,'湘乡市',3,0),(1725,205,'韶山市',3,0),(1726,205,'湘潭县',3,0),(1727,206,'吉首市',3,0),(1728,206,'泸溪县',3,0),(1729,206,'凤凰县',3,0),(1730,206,'花垣县',3,0),(1731,206,'保靖县',3,0),(1732,206,'古丈县',3,0),(1733,206,'永顺县',3,0),(1734,206,'龙山县',3,0),(1735,207,'赫山区',3,0),(1736,207,'资阳区',3,0),(1737,207,'沅江市',3,0),(1738,207,'南县',3,0),(1739,207,'桃江县',3,0),(1740,207,'安化县',3,0),(1741,208,'江华',3,0),(1742,208,'冷水滩区',3,0),(1743,208,'零陵区',3,0),(1744,208,'祁阳县',3,0),(1745,208,'东安县',3,0),(1746,208,'双牌县',3,0),(1747,208,'道县',3,0),(1748,208,'江永县',3,0),(1749,208,'宁远县',3,0),(1750,208,'蓝山县',3,0),(1751,208,'新田县',3,0),(1752,209,'岳阳楼区',3,0),(1753,209,'君山区',3,0),(1754,209,'云溪区',3,0),(1755,209,'汨罗市',3,0),(1756,209,'临湘市',3,0),(1757,209,'岳阳县',3,0),(1758,209,'华容县',3,0),(1759,209,'湘阴县',3,0),(1760,209,'平江县',3,0),(1761,210,'天元区',3,0),(1762,210,'荷塘区',3,0),(1763,210,'芦淞区',3,0),(1764,210,'石峰区',3,0),(1765,210,'醴陵市',3,0),(1766,210,'株洲县',3,0),(1767,210,'攸县',3,0),(1768,210,'茶陵县',3,0),(1769,210,'炎陵县',3,0),(1770,211,'朝阳区',3,0),(1771,211,'宽城区',3,0),(1772,211,'二道区',3,0),(1773,211,'南关区',3,0),(1774,211,'绿园区',3,0),(1775,211,'双阳区',3,0),(1776,211,'净月潭开发区',3,0),(1777,211,'高新技术开发区',3,0),(1778,211,'经济技术开发区',3,0),(1779,211,'汽车产业开发区',3,0),(1780,211,'德惠市',3,0),(1781,211,'九台市',3,0),(1782,211,'榆树市',3,0),(1783,211,'农安县',3,0),(1784,212,'船营区',3,0),(1785,212,'昌邑区',3,0),(1786,212,'龙潭区',3,0),(1787,212,'丰满区',3,0),(1788,212,'蛟河市',3,0),(1789,212,'桦甸市',3,0),(1790,212,'舒兰市',3,0),(1791,212,'磐石市',3,0),(1792,212,'永吉县',3,0),(1793,213,'洮北区',3,0),(1794,213,'洮南市',3,0),(1795,213,'大安市',3,0),(1796,213,'镇赉县',3,0),(1797,213,'通榆县',3,0),(1798,214,'江源区',3,0),(1799,214,'八道江区',3,0),(1800,214,'长白',3,0),(1801,214,'临江市',3,0),(1802,214,'抚松县',3,0),(1803,214,'靖宇县',3,0),(1804,215,'龙山区',3,0),(1805,215,'西安区',3,0),(1806,215,'东丰县',3,0),(1807,215,'东辽县',3,0),(1808,216,'铁西区',3,0),(1809,216,'铁东区',3,0),(1810,216,'伊通',3,0),(1811,216,'公主岭市',3,0),(1812,216,'双辽市',3,0),(1813,216,'梨树县',3,0),(1814,217,'前郭尔罗斯',3,0),(1815,217,'宁江区',3,0),(1816,217,'长岭县',3,0),(1817,217,'乾安县',3,0),(1818,217,'扶余县',3,0),(1819,218,'东昌区',3,0),(1820,218,'二道江区',3,0),(1821,218,'梅河口市',3,0),(1822,218,'集安市',3,0),(1823,218,'通化县',3,0),(1824,218,'辉南县',3,0),(1825,218,'柳河县',3,0),(1826,219,'延吉市',3,0),(1827,219,'图们市',3,0),(1828,219,'敦化市',3,0),(1829,219,'珲春市',3,0),(1830,219,'龙井市',3,0),(1831,219,'和龙市',3,0),(1832,219,'安图县',3,0),(1833,219,'汪清县',3,0),(1834,220,'玄武区',3,0),(1835,220,'鼓楼区',3,0),(1836,220,'白下区',3,0),(1837,220,'建邺区',3,0),(1838,220,'秦淮区',3,0),(1839,220,'雨花台区',3,0),(1840,220,'下关区',3,0),(1841,220,'栖霞区',3,0),(1842,220,'浦口区',3,0),(1843,220,'江宁区',3,0),(1844,220,'六合区',3,0),(1845,220,'溧水县',3,0),(1846,220,'高淳县',3,0),(1847,221,'沧浪区',3,0),(1848,221,'金阊区',3,0),(1849,221,'平江区',3,0),(1850,221,'虎丘区',3,0),(1851,221,'吴中区',3,0),(1852,221,'相城区',3,0),(1853,221,'园区',3,0),(1854,221,'新区',3,0),(1855,221,'常熟市',3,0),(1856,221,'张家港市',3,0),(1857,221,'玉山镇',3,0),(1858,221,'巴城镇',3,0),(1859,221,'周市镇',3,0),(1860,221,'陆家镇',3,0),(1861,221,'花桥镇',3,0),(1862,221,'淀山湖镇',3,0),(1863,221,'张浦镇',3,0),(1864,221,'周庄镇',3,0),(1865,221,'千灯镇',3,0),(1866,221,'锦溪镇',3,0),(1867,221,'开发区',3,0),(1868,221,'吴江市',3,0),(1869,221,'太仓市',3,0),(1870,222,'崇安区',3,0),(1871,222,'北塘区',3,0),(1872,222,'南长区',3,0),(1873,222,'锡山区',3,0),(1874,222,'惠山区',3,0),(1875,222,'滨湖区',3,0),(1876,222,'新区',3,0),(1877,222,'江阴市',3,0),(1878,222,'宜兴市',3,0),(1879,223,'天宁区',3,0),(1880,223,'钟楼区',3,0),(1881,223,'戚墅堰区',3,0),(1882,223,'郊区',3,0),(1883,223,'新北区',3,0),(1884,223,'武进区',3,0),(1885,223,'溧阳市',3,0),(1886,223,'金坛市',3,0),(1887,224,'清河区',3,0),(1888,224,'清浦区',3,0),(1889,224,'楚州区',3,0),(1890,224,'淮阴区',3,0),(1891,224,'涟水县',3,0),(1892,224,'洪泽县',3,0),(1893,224,'盱眙县',3,0),(1894,224,'金湖县',3,0),(1895,225,'新浦区',3,0),(1896,225,'连云区',3,0),(1897,225,'海州区',3,0),(1898,225,'赣榆县',3,0),(1899,225,'东海县',3,0),(1900,225,'灌云县',3,0),(1901,225,'灌南县',3,0),(1902,226,'崇川区',3,0),(1903,226,'港闸区',3,0),(1904,226,'经济开发区',3,0),(1905,226,'启东市',3,0),(1906,226,'如皋市',3,0),(1907,226,'通州市',3,0),(1908,226,'海门市',3,0),(1909,226,'海安县',3,0),(1910,226,'如东县',3,0),(1911,227,'宿城区',3,0),(1912,227,'宿豫区',3,0),(1913,227,'宿豫县',3,0),(1914,227,'沭阳县',3,0),(1915,227,'泗阳县',3,0),(1916,227,'泗洪县',3,0),(1917,228,'海陵区',3,0),(1918,228,'高港区',3,0),(1919,228,'兴化市',3,0),(1920,228,'靖江市',3,0),(1921,228,'泰兴市',3,0),(1922,228,'姜堰市',3,0),(1923,229,'云龙区',3,0),(1924,229,'鼓楼区',3,0),(1925,229,'九里区',3,0),(1926,229,'贾汪区',3,0),(1927,229,'泉山区',3,0),(1928,229,'新沂市',3,0),(1929,229,'邳州市',3,0),(1930,229,'丰县',3,0),(1931,229,'沛县',3,0),(1932,229,'铜山县',3,0),(1933,229,'睢宁县',3,0),(1934,230,'城区',3,0),(1935,230,'亭湖区',3,0),(1936,230,'盐都区',3,0),(1937,230,'盐都县',3,0),(1938,230,'东台市',3,0),(1939,230,'大丰市',3,0),(1940,230,'响水县',3,0),(1941,230,'滨海县',3,0),(1942,230,'阜宁县',3,0),(1943,230,'射阳县',3,0),(1944,230,'建湖县',3,0),(1945,231,'广陵区',3,0),(1946,231,'维扬区',3,0),(1947,231,'邗江区',3,0),(1948,231,'仪征市',3,0),(1949,231,'高邮市',3,0),(1950,231,'江都市',3,0),(1951,231,'宝应县',3,0),(1952,232,'京口区',3,0),(1953,232,'润州区',3,0),(1954,232,'丹徒区',3,0),(1955,232,'丹阳市',3,0),(1956,232,'扬中市',3,0),(1957,232,'句容市',3,0),(1958,233,'东湖区',3,0),(1959,233,'西湖区',3,0),(1960,233,'青云谱区',3,0),(1961,233,'湾里区',3,0),(1962,233,'青山湖区',3,0),(1963,233,'红谷滩新区',3,0),(1964,233,'昌北区',3,0),(1965,233,'高新区',3,0),(1966,233,'南昌县',3,0),(1967,233,'新建县',3,0),(1968,233,'安义县',3,0),(1969,233,'进贤县',3,0),(1970,234,'临川区',3,0),(1971,234,'南城县',3,0),(1972,234,'黎川县',3,0),(1973,234,'南丰县',3,0),(1974,234,'崇仁县',3,0),(1975,234,'乐安县',3,0),(1976,234,'宜黄县',3,0),(1977,234,'金溪县',3,0),(1978,234,'资溪县',3,0),(1979,234,'东乡县',3,0),(1980,234,'广昌县',3,0),(1981,235,'章贡区',3,0),(1982,235,'于都县',3,0),(1983,235,'瑞金市',3,0),(1984,235,'南康市',3,0),(1985,235,'赣县',3,0),(1986,235,'信丰县',3,0),(1987,235,'大余县',3,0),(1988,235,'上犹县',3,0),(1989,235,'崇义县',3,0),(1990,235,'安远县',3,0),(1991,235,'龙南县',3,0),(1992,235,'定南县',3,0),(1993,235,'全南县',3,0),(1994,235,'宁都县',3,0),(1995,235,'兴国县',3,0),(1996,235,'会昌县',3,0),(1997,235,'寻乌县',3,0),(1998,235,'石城县',3,0),(1999,236,'安福县',3,0),(2000,236,'吉州区',3,0),(2001,236,'青原区',3,0),(2002,236,'井冈山市',3,0),(2003,236,'吉安县',3,0),(2004,236,'吉水县',3,0),(2005,236,'峡江县',3,0),(2006,236,'新干县',3,0),(2007,236,'永丰县',3,0),(2008,236,'泰和县',3,0),(2009,236,'遂川县',3,0),(2010,236,'万安县',3,0),(2011,236,'永新县',3,0),(2012,237,'珠山区',3,0),(2013,237,'昌江区',3,0),(2014,237,'乐平市',3,0),(2015,237,'浮梁县',3,0),(2016,238,'浔阳区',3,0),(2017,238,'庐山区',3,0),(2018,238,'瑞昌市',3,0),(2019,238,'九江县',3,0),(2020,238,'武宁县',3,0),(2021,238,'修水县',3,0),(2022,238,'永修县',3,0),(2023,238,'德安县',3,0),(2024,238,'星子县',3,0),(2025,238,'都昌县',3,0),(2026,238,'湖口县',3,0),(2027,238,'彭泽县',3,0),(2028,239,'安源区',3,0),(2029,239,'湘东区',3,0),(2030,239,'莲花县',3,0),(2031,239,'芦溪县',3,0),(2032,239,'上栗县',3,0),(2033,240,'信州区',3,0),(2034,240,'德兴市',3,0),(2035,240,'上饶县',3,0),(2036,240,'广丰县',3,0),(2037,240,'玉山县',3,0),(2038,240,'铅山县',3,0),(2039,240,'横峰县',3,0),(2040,240,'弋阳县',3,0),(2041,240,'余干县',3,0),(2042,240,'波阳县',3,0),(2043,240,'万年县',3,0),(2044,240,'婺源县',3,0),(2045,241,'渝水区',3,0),(2046,241,'分宜县',3,0),(2047,242,'袁州区',3,0),(2048,242,'丰城市',3,0),(2049,242,'樟树市',3,0),(2050,242,'高安市',3,0),(2051,242,'奉新县',3,0),(2052,242,'万载县',3,0),(2053,242,'上高县',3,0),(2054,242,'宜丰县',3,0),(2055,242,'靖安县',3,0),(2056,242,'铜鼓县',3,0),(2057,243,'月湖区',3,0),(2058,243,'贵溪市',3,0),(2059,243,'余江县',3,0),(2060,244,'沈河区',3,0),(2061,244,'皇姑区',3,0),(2062,244,'和平区',3,0),(2063,244,'大东区',3,0),(2064,244,'铁西区',3,0),(2065,244,'苏家屯区',3,0),(2066,244,'东陵区',3,0),(2067,244,'沈北新区',3,0),(2068,244,'于洪区',3,0),(2069,244,'浑南新区',3,0),(2070,244,'新民市',3,0),(2071,244,'辽中县',3,0),(2072,244,'康平县',3,0),(2073,244,'法库县',3,0),(2074,245,'西岗区',3,0),(2075,245,'中山区',3,0),(2076,245,'沙河口区',3,0),(2077,245,'甘井子区',3,0),(2078,245,'旅顺口区',3,0),(2079,245,'金州区',3,0),(2080,245,'开发区',3,0),(2081,245,'瓦房店市',3,0),(2082,245,'普兰店市',3,0),(2083,245,'庄河市',3,0),(2084,245,'长海县',3,0),(2085,246,'铁东区',3,0),(2086,246,'铁西区',3,0),(2087,246,'立山区',3,0),(2088,246,'千山区',3,0),(2089,246,'岫岩',3,0),(2090,246,'海城市',3,0),(2091,246,'台安县',3,0),(2092,247,'本溪',3,0),(2093,247,'平山区',3,0),(2094,247,'明山区',3,0),(2095,247,'溪湖区',3,0),(2096,247,'南芬区',3,0),(2097,247,'桓仁',3,0),(2098,248,'双塔区',3,0),(2099,248,'龙城区',3,0),(2100,248,'喀喇沁左翼蒙古族自治县',3,0),(2101,248,'北票市',3,0),(2102,248,'凌源市',3,0),(2103,248,'朝阳县',3,0),(2104,248,'建平县',3,0),(2105,249,'振兴区',3,0),(2106,249,'元宝区',3,0),(2107,249,'振安区',3,0),(2108,249,'宽甸',3,0),(2109,249,'东港市',3,0),(2110,249,'凤城市',3,0),(2111,250,'顺城区',3,0),(2112,250,'新抚区',3,0),(2113,250,'东洲区',3,0),(2114,250,'望花区',3,0),(2115,250,'清原',3,0),(2116,250,'新宾',3,0),(2117,250,'抚顺县',3,0),(2118,251,'阜新',3,0),(2119,251,'海州区',3,0),(2120,251,'新邱区',3,0),(2121,251,'太平区',3,0),(2122,251,'清河门区',3,0),(2123,251,'细河区',3,0),(2124,251,'彰武县',3,0),(2125,252,'龙港区',3,0),(2126,252,'南票区',3,0),(2127,252,'连山区',3,0),(2128,252,'兴城市',3,0),(2129,252,'绥中县',3,0),(2130,252,'建昌县',3,0),(2131,253,'太和区',3,0),(2132,253,'古塔区',3,0),(2133,253,'凌河区',3,0),(2134,253,'凌海市',3,0),(2135,253,'北镇市',3,0),(2136,253,'黑山县',3,0),(2137,253,'义县',3,0),(2138,254,'白塔区',3,0),(2139,254,'文圣区',3,0),(2140,254,'宏伟区',3,0),(2141,254,'太子河区',3,0),(2142,254,'弓长岭区',3,0),(2143,254,'灯塔市',3,0),(2144,254,'辽阳县',3,0),(2145,255,'双台子区',3,0),(2146,255,'兴隆台区',3,0),(2147,255,'大洼县',3,0),(2148,255,'盘山县',3,0),(2149,256,'银州区',3,0),(2150,256,'清河区',3,0),(2151,256,'调兵山市',3,0),(2152,256,'开原市',3,0),(2153,256,'铁岭县',3,0),(2154,256,'西丰县',3,0),(2155,256,'昌图县',3,0),(2156,257,'站前区',3,0),(2157,257,'西市区',3,0),(2158,257,'鲅鱼圈区',3,0),(2159,257,'老边区',3,0),(2160,257,'盖州市',3,0),(2161,257,'大石桥市',3,0),(2162,258,'回民区',3,0),(2163,258,'玉泉区',3,0),(2164,258,'新城区',3,0),(2165,258,'赛罕区',3,0),(2166,258,'清水河县',3,0),(2167,258,'土默特左旗',3,0),(2168,258,'托克托县',3,0),(2169,258,'和林格尔县',3,0),(2170,258,'武川县',3,0),(2171,259,'阿拉善左旗',3,0),(2172,259,'阿拉善右旗',3,0),(2173,259,'额济纳旗',3,0),(2174,260,'临河区',3,0),(2175,260,'五原县',3,0),(2176,260,'磴口县',3,0),(2177,260,'乌拉特前旗',3,0),(2178,260,'乌拉特中旗',3,0),(2179,260,'乌拉特后旗',3,0),(2180,260,'杭锦后旗',3,0),(2181,261,'昆都仑区',3,0),(2182,261,'青山区',3,0),(2183,261,'东河区',3,0),(2184,261,'九原区',3,0),(2185,261,'石拐区',3,0),(2186,261,'白云矿区',3,0),(2187,261,'土默特右旗',3,0),(2188,261,'固阳县',3,0),(2189,261,'达尔罕茂明安联合旗',3,0),(2190,262,'红山区',3,0),(2191,262,'元宝山区',3,0),(2192,262,'松山区',3,0),(2193,262,'阿鲁科尔沁旗',3,0),(2194,262,'巴林左旗',3,0),(2195,262,'巴林右旗',3,0),(2196,262,'林西县',3,0),(2197,262,'克什克腾旗',3,0),(2198,262,'翁牛特旗',3,0),(2199,262,'喀喇沁旗',3,0),(2200,262,'宁城县',3,0),(2201,262,'敖汉旗',3,0),(2202,263,'东胜区',3,0),(2203,263,'达拉特旗',3,0),(2204,263,'准格尔旗',3,0),(2205,263,'鄂托克前旗',3,0),(2206,263,'鄂托克旗',3,0),(2207,263,'杭锦旗',3,0),(2208,263,'乌审旗',3,0),(2209,263,'伊金霍洛旗',3,0),(2210,264,'海拉尔区',3,0),(2211,264,'莫力达瓦',3,0),(2212,264,'满洲里市',3,0),(2213,264,'牙克石市',3,0),(2214,264,'扎兰屯市',3,0),(2215,264,'额尔古纳市',3,0),(2216,264,'根河市',3,0),(2217,264,'阿荣旗',3,0),(2218,264,'鄂伦春自治旗',3,0),(2219,264,'鄂温克族自治旗',3,0),(2220,264,'陈巴尔虎旗',3,0),(2221,264,'新巴尔虎左旗',3,0),(2222,264,'新巴尔虎右旗',3,0),(2223,265,'科尔沁区',3,0),(2224,265,'霍林郭勒市',3,0),(2225,265,'科尔沁左翼中旗',3,0),(2226,265,'科尔沁左翼后旗',3,0),(2227,265,'开鲁县',3,0),(2228,265,'库伦旗',3,0),(2229,265,'奈曼旗',3,0),(2230,265,'扎鲁特旗',3,0),(2231,266,'海勃湾区',3,0),(2232,266,'乌达区',3,0),(2233,266,'海南区',3,0),(2234,267,'化德县',3,0),(2235,267,'集宁区',3,0),(2236,267,'丰镇市',3,0),(2237,267,'卓资县',3,0),(2238,267,'商都县',3,0),(2239,267,'兴和县',3,0),(2240,267,'凉城县',3,0),(2241,267,'察哈尔右翼前旗',3,0),(2242,267,'察哈尔右翼中旗',3,0),(2243,267,'察哈尔右翼后旗',3,0),(2244,267,'四子王旗',3,0),(2245,268,'二连浩特市',3,0),(2246,268,'锡林浩特市',3,0),(2247,268,'阿巴嘎旗',3,0),(2248,268,'苏尼特左旗',3,0),(2249,268,'苏尼特右旗',3,0),(2250,268,'东乌珠穆沁旗',3,0),(2251,268,'西乌珠穆沁旗',3,0),(2252,268,'太仆寺旗',3,0),(2253,268,'镶黄旗',3,0),(2254,268,'正镶白旗',3,0),(2255,268,'正蓝旗',3,0),(2256,268,'多伦县',3,0),(2257,269,'乌兰浩特市',3,0),(2258,269,'阿尔山市',3,0),(2259,269,'科尔沁右翼前旗',3,0),(2260,269,'科尔沁右翼中旗',3,0),(2261,269,'扎赉特旗',3,0),(2262,269,'突泉县',3,0),(2263,270,'西夏区',3,0),(2264,270,'金凤区',3,0),(2265,270,'兴庆区',3,0),(2266,270,'灵武市',3,0),(2267,270,'永宁县',3,0),(2268,270,'贺兰县',3,0),(2269,271,'原州区',3,0),(2270,271,'海原县',3,0),(2271,271,'西吉县',3,0),(2272,271,'隆德县',3,0),(2273,271,'泾源县',3,0),(2274,271,'彭阳县',3,0),(2275,272,'惠农县',3,0),(2276,272,'大武口区',3,0),(2277,272,'惠农区',3,0),(2278,272,'陶乐县',3,0),(2279,272,'平罗县',3,0),(2280,273,'利通区',3,0),(2281,273,'中卫县',3,0),(2282,273,'青铜峡市',3,0),(2283,273,'中宁县',3,0),(2284,273,'盐池县',3,0),(2285,273,'同心县',3,0),(2286,274,'沙坡头区',3,0),(2287,274,'海原县',3,0),(2288,274,'中宁县',3,0),(2289,275,'城中区',3,0),(2290,275,'城东区',3,0),(2291,275,'城西区',3,0),(2292,275,'城北区',3,0),(2293,275,'湟中县',3,0),(2294,275,'湟源县',3,0),(2295,275,'大通',3,0),(2296,276,'玛沁县',3,0),(2297,276,'班玛县',3,0),(2298,276,'甘德县',3,0),(2299,276,'达日县',3,0),(2300,276,'久治县',3,0),(2301,276,'玛多县',3,0),(2302,277,'海晏县',3,0),(2303,277,'祁连县',3,0),(2304,277,'刚察县',3,0),(2305,277,'门源',3,0),(2306,278,'平安县',3,0),(2307,278,'乐都县',3,0),(2308,278,'民和',3,0),(2309,278,'互助',3,0),(2310,278,'化隆',3,0),(2311,278,'循化',3,0),(2312,279,'共和县',3,0),(2313,279,'同德县',3,0),(2314,279,'贵德县',3,0),(2315,279,'兴海县',3,0),(2316,279,'贵南县',3,0),(2317,280,'德令哈市',3,0),(2318,280,'格尔木市',3,0),(2319,280,'乌兰县',3,0),(2320,280,'都兰县',3,0),(2321,280,'天峻县',3,0),(2322,281,'同仁县',3,0),(2323,281,'尖扎县',3,0),(2324,281,'泽库县',3,0),(2325,281,'河南蒙古族自治县',3,0),(2326,282,'玉树县',3,0),(2327,282,'杂多县',3,0),(2328,282,'称多县',3,0),(2329,282,'治多县',3,0),(2330,282,'囊谦县',3,0),(2331,282,'曲麻莱县',3,0),(2332,283,'市中区',3,0),(2333,283,'历下区',3,0),(2334,283,'天桥区',3,0),(2335,283,'槐荫区',3,0),(2336,283,'历城区',3,0),(2337,283,'长清区',3,0),(2338,283,'章丘市',3,0),(2339,283,'平阴县',3,0),(2340,283,'济阳县',3,0),(2341,283,'商河县',3,0),(2342,284,'市南区',3,0),(2343,284,'市北区',3,0),(2344,284,'城阳区',3,0),(2345,284,'四方区',3,0),(2346,284,'李沧区',3,0),(2347,284,'黄岛区',3,0),(2348,284,'崂山区',3,0),(2349,284,'胶州市',3,0),(2350,284,'即墨市',3,0),(2351,284,'平度市',3,0),(2352,284,'胶南市',3,0),(2353,284,'莱西市',3,0),(2354,285,'滨城区',3,0),(2355,285,'惠民县',3,0),(2356,285,'阳信县',3,0),(2357,285,'无棣县',3,0),(2358,285,'沾化县',3,0),(2359,285,'博兴县',3,0),(2360,285,'邹平县',3,0),(2361,286,'德城区',3,0),(2362,286,'陵县',3,0),(2363,286,'乐陵市',3,0),(2364,286,'禹城市',3,0),(2365,286,'宁津县',3,0),(2366,286,'庆云县',3,0),(2367,286,'临邑县',3,0),(2368,286,'齐河县',3,0),(2369,286,'平原县',3,0),(2370,286,'夏津县',3,0),(2371,286,'武城县',3,0),(2372,287,'东营区',3,0),(2373,287,'河口区',3,0),(2374,287,'垦利县',3,0),(2375,287,'利津县',3,0),(2376,287,'广饶县',3,0),(2377,288,'牡丹区',3,0),(2378,288,'曹县',3,0),(2379,288,'单县',3,0),(2380,288,'成武县',3,0),(2381,288,'巨野县',3,0),(2382,288,'郓城县',3,0),(2383,288,'鄄城县',3,0),(2384,288,'定陶县',3,0),(2385,288,'东明县',3,0),(2386,289,'市中区',3,0),(2387,289,'任城区',3,0),(2388,289,'曲阜市',3,0),(2389,289,'兖州市',3,0),(2390,289,'邹城市',3,0),(2391,289,'微山县',3,0),(2392,289,'鱼台县',3,0),(2393,289,'金乡县',3,0),(2394,289,'嘉祥县',3,0),(2395,289,'汶上县',3,0),(2396,289,'泗水县',3,0),(2397,289,'梁山县',3,0),(2398,290,'莱城区',3,0),(2399,290,'钢城区',3,0),(2400,291,'东昌府区',3,0),(2401,291,'临清市',3,0),(2402,291,'阳谷县',3,0),(2403,291,'莘县',3,0),(2404,291,'茌平县',3,0),(2405,291,'东阿县',3,0),(2406,291,'冠县',3,0),(2407,291,'高唐县',3,0),(2408,292,'兰山区',3,0),(2409,292,'罗庄区',3,0),(2410,292,'河东区',3,0),(2411,292,'沂南县',3,0),(2412,292,'郯城县',3,0),(2413,292,'沂水县',3,0),(2414,292,'苍山县',3,0),(2415,292,'费县',3,0),(2416,292,'平邑县',3,0),(2417,292,'莒南县',3,0),(2418,292,'蒙阴县',3,0),(2419,292,'临沭县',3,0),(2420,293,'东港区',3,0),(2421,293,'岚山区',3,0),(2422,293,'五莲县',3,0),(2423,293,'莒县',3,0),(2424,294,'泰山区',3,0),(2425,294,'岱岳区',3,0),(2426,294,'新泰市',3,0),(2427,294,'肥城市',3,0),(2428,294,'宁阳县',3,0),(2429,294,'东平县',3,0),(2430,295,'荣成市',3,0),(2431,295,'乳山市',3,0),(2432,295,'环翠区',3,0),(2433,295,'文登市',3,0),(2434,296,'潍城区',3,0),(2435,296,'寒亭区',3,0),(2436,296,'坊子区',3,0),(2437,296,'奎文区',3,0),(2438,296,'青州市',3,0),(2439,296,'诸城市',3,0),(2440,296,'寿光市',3,0),(2441,296,'安丘市',3,0),(2442,296,'高密市',3,0),(2443,296,'昌邑市',3,0),(2444,296,'临朐县',3,0),(2445,296,'昌乐县',3,0),(2446,297,'芝罘区',3,0),(2447,297,'福山区',3,0),(2448,297,'牟平区',3,0),(2449,297,'莱山区',3,0),(2450,297,'开发区',3,0),(2451,297,'龙口市',3,0),(2452,297,'莱阳市',3,0),(2453,297,'莱州市',3,0),(2454,297,'蓬莱市',3,0),(2455,297,'招远市',3,0),(2456,297,'栖霞市',3,0),(2457,297,'海阳市',3,0),(2458,297,'长岛县',3,0),(2459,298,'市中区',3,0),(2460,298,'山亭区',3,0),(2461,298,'峄城区',3,0),(2462,298,'台儿庄区',3,0),(2463,298,'薛城区',3,0),(2464,298,'滕州市',3,0),(2465,299,'张店区',3,0),(2466,299,'临淄区',3,0),(2467,299,'淄川区',3,0),(2468,299,'博山区',3,0),(2469,299,'周村区',3,0),(2470,299,'桓台县',3,0),(2471,299,'高青县',3,0),(2472,299,'沂源县',3,0),(2473,300,'杏花岭区',3,0),(2474,300,'小店区',3,0),(2475,300,'迎泽区',3,0),(2476,300,'尖草坪区',3,0),(2477,300,'万柏林区',3,0),(2478,300,'晋源区',3,0),(2479,300,'高新开发区',3,0),(2480,300,'民营经济开发区',3,0),(2481,300,'经济技术开发区',3,0),(2482,300,'清徐县',3,0),(2483,300,'阳曲县',3,0),(2484,300,'娄烦县',3,0),(2485,300,'古交市',3,0),(2486,301,'城区',3,0),(2487,301,'郊区',3,0),(2488,301,'沁县',3,0),(2489,301,'潞城市',3,0),(2490,301,'长治县',3,0),(2491,301,'襄垣县',3,0),(2492,301,'屯留县',3,0),(2493,301,'平顺县',3,0),(2494,301,'黎城县',3,0),(2495,301,'壶关县',3,0),(2496,301,'长子县',3,0),(2497,301,'武乡县',3,0),(2498,301,'沁源县',3,0),(2499,302,'城区',3,0),(2500,302,'矿区',3,0),(2501,302,'南郊区',3,0),(2502,302,'新荣区',3,0),(2503,302,'阳高县',3,0),(2504,302,'天镇县',3,0),(2505,302,'广灵县',3,0),(2506,302,'灵丘县',3,0),(2507,302,'浑源县',3,0),(2508,302,'左云县',3,0),(2509,302,'大同县',3,0),(2510,303,'城区',3,0),(2511,303,'高平市',3,0),(2512,303,'沁水县',3,0),(2513,303,'阳城县',3,0),(2514,303,'陵川县',3,0),(2515,303,'泽州县',3,0),(2516,304,'榆次区',3,0),(2517,304,'介休市',3,0),(2518,304,'榆社县',3,0),(2519,304,'左权县',3,0),(2520,304,'和顺县',3,0),(2521,304,'昔阳县',3,0),(2522,304,'寿阳县',3,0),(2523,304,'太谷县',3,0),(2524,304,'祁县',3,0),(2525,304,'平遥县',3,0),(2526,304,'灵石县',3,0),(2527,305,'尧都区',3,0),(2528,305,'侯马市',3,0),(2529,305,'霍州市',3,0),(2530,305,'曲沃县',3,0),(2531,305,'翼城县',3,0),(2532,305,'襄汾县',3,0),(2533,305,'洪洞县',3,0),(2534,305,'吉县',3,0),(2535,305,'安泽县',3,0),(2536,305,'浮山县',3,0),(2537,305,'古县',3,0),(2538,305,'乡宁县',3,0),(2539,305,'大宁县',3,0),(2540,305,'隰县',3,0),(2541,305,'永和县',3,0),(2542,305,'蒲县',3,0),(2543,305,'汾西县',3,0),(2544,306,'离石市',3,0),(2545,306,'离石区',3,0),(2546,306,'孝义市',3,0),(2547,306,'汾阳市',3,0),(2548,306,'文水县',3,0),(2549,306,'交城县',3,0),(2550,306,'兴县',3,0),(2551,306,'临县',3,0),(2552,306,'柳林县',3,0),(2553,306,'石楼县',3,0),(2554,306,'岚县',3,0),(2555,306,'方山县',3,0),(2556,306,'中阳县',3,0),(2557,306,'交口县',3,0),(2558,307,'朔城区',3,0),(2559,307,'平鲁区',3,0),(2560,307,'山阴县',3,0),(2561,307,'应县',3,0),(2562,307,'右玉县',3,0),(2563,307,'怀仁县',3,0),(2564,308,'忻府区',3,0),(2565,308,'原平市',3,0),(2566,308,'定襄县',3,0),(2567,308,'五台县',3,0),(2568,308,'代县',3,0),(2569,308,'繁峙县',3,0),(2570,308,'宁武县',3,0),(2571,308,'静乐县',3,0),(2572,308,'神池县',3,0),(2573,308,'五寨县',3,0),(2574,308,'岢岚县',3,0),(2575,308,'河曲县',3,0),(2576,308,'保德县',3,0),(2577,308,'偏关县',3,0),(2578,309,'城区',3,0),(2579,309,'矿区',3,0),(2580,309,'郊区',3,0),(2581,309,'平定县',3,0),(2582,309,'盂县',3,0),(2583,310,'盐湖区',3,0),(2584,310,'永济市',3,0),(2585,310,'河津市',3,0),(2586,310,'临猗县',3,0),(2587,310,'万荣县',3,0),(2588,310,'闻喜县',3,0),(2589,310,'稷山县',3,0),(2590,310,'新绛县',3,0),(2591,310,'绛县',3,0),(2592,310,'垣曲县',3,0),(2593,310,'夏县',3,0),(2594,310,'平陆县',3,0),(2595,310,'芮城县',3,0),(2596,311,'莲湖区',3,0),(2597,311,'新城区',3,0),(2598,311,'碑林区',3,0),(2599,311,'雁塔区',3,0),(2600,311,'灞桥区',3,0),(2601,311,'未央区',3,0),(2602,311,'阎良区',3,0),(2603,311,'临潼区',3,0),(2604,311,'长安区',3,0),(2605,311,'蓝田县',3,0),(2606,311,'周至县',3,0),(2607,311,'户县',3,0),(2608,311,'高陵县',3,0),(2609,312,'汉滨区',3,0),(2610,312,'汉阴县',3,0),(2611,312,'石泉县',3,0),(2612,312,'宁陕县',3,0),(2613,312,'紫阳县',3,0),(2614,312,'岚皋县',3,0),(2615,312,'平利县',3,0),(2616,312,'镇坪县',3,0),(2617,312,'旬阳县',3,0),(2618,312,'白河县',3,0),(2619,313,'陈仓区',3,0),(2620,313,'渭滨区',3,0),(2621,313,'金台区',3,0),(2622,313,'凤翔县',3,0),(2623,313,'岐山县',3,0),(2624,313,'扶风县',3,0),(2625,313,'眉县',3,0),(2626,313,'陇县',3,0),(2627,313,'千阳县',3,0),(2628,313,'麟游县',3,0),(2629,313,'凤县',3,0),(2630,313,'太白县',3,0),(2631,314,'汉台区',3,0),(2632,314,'南郑县',3,0),(2633,314,'城固县',3,0),(2634,314,'洋县',3,0),(2635,314,'西乡县',3,0),(2636,314,'勉县',3,0),(2637,314,'宁强县',3,0),(2638,314,'略阳县',3,0),(2639,314,'镇巴县',3,0),(2640,314,'留坝县',3,0),(2641,314,'佛坪县',3,0),(2642,315,'商州区',3,0),(2643,315,'洛南县',3,0),(2644,315,'丹凤县',3,0),(2645,315,'商南县',3,0),(2646,315,'山阳县',3,0),(2647,315,'镇安县',3,0),(2648,315,'柞水县',3,0),(2649,316,'耀州区',3,0),(2650,316,'王益区',3,0),(2651,316,'印台区',3,0),(2652,316,'宜君县',3,0),(2653,317,'临渭区',3,0),(2654,317,'韩城市',3,0),(2655,317,'华阴市',3,0),(2656,317,'华县',3,0),(2657,317,'潼关县',3,0),(2658,317,'大荔县',3,0),(2659,317,'合阳县',3,0),(2660,317,'澄城县',3,0),(2661,317,'蒲城县',3,0),(2662,317,'白水县',3,0),(2663,317,'富平县',3,0),(2664,318,'秦都区',3,0),(2665,318,'渭城区',3,0),(2666,318,'杨陵区',3,0),(2667,318,'兴平市',3,0),(2668,318,'三原县',3,0),(2669,318,'泾阳县',3,0),(2670,318,'乾县',3,0),(2671,318,'礼泉县',3,0),(2672,318,'永寿县',3,0),(2673,318,'彬县',3,0),(2674,318,'长武县',3,0),(2675,318,'旬邑县',3,0),(2676,318,'淳化县',3,0),(2677,318,'武功县',3,0),(2678,319,'吴起县',3,0),(2679,319,'宝塔区',3,0),(2680,319,'延长县',3,0),(2681,319,'延川县',3,0),(2682,319,'子长县',3,0),(2683,319,'安塞县',3,0),(2684,319,'志丹县',3,0),(2685,319,'甘泉县',3,0),(2686,319,'富县',3,0),(2687,319,'洛川县',3,0),(2688,319,'宜川县',3,0),(2689,319,'黄龙县',3,0),(2690,319,'黄陵县',3,0),(2691,320,'榆阳区',3,0),(2692,320,'神木县',3,0),(2693,320,'府谷县',3,0),(2694,320,'横山县',3,0),(2695,320,'靖边县',3,0),(2696,320,'定边县',3,0),(2697,320,'绥德县',3,0),(2698,320,'米脂县',3,0),(2699,320,'佳县',3,0),(2700,320,'吴堡县',3,0),(2701,320,'清涧县',3,0),(2702,320,'子洲县',3,0),(2703,321,'长宁区',3,0),(2704,321,'闸北区',3,0),(2705,321,'闵行区',3,0),(2706,321,'徐汇区',3,0),(2707,321,'浦东新区',3,0),(2708,321,'杨浦区',3,0),(2709,321,'普陀区',3,0),(2710,321,'静安区',3,0),(2711,321,'卢湾区',3,0),(2712,321,'虹口区',3,0),(2713,321,'黄浦区',3,0),(2714,321,'南汇区',3,0),(2715,321,'松江区',3,0),(2716,321,'嘉定区',3,0),(2717,321,'宝山区',3,0),(2718,321,'青浦区',3,0),(2719,321,'金山区',3,0),(2720,321,'奉贤区',3,0),(2721,321,'崇明县',3,0),(2722,322,'青羊区',3,0),(2723,322,'锦江区',3,0),(2724,322,'金牛区',3,0),(2725,322,'武侯区',3,0),(2726,322,'成华区',3,0),(2727,322,'龙泉驿区',3,0),(2728,322,'青白江区',3,0),(2729,322,'新都区',3,0),(2730,322,'温江区',3,0),(2731,322,'高新区',3,0),(2732,322,'高新西区',3,0),(2733,322,'都江堰市',3,0),(2734,322,'彭州市',3,0),(2735,322,'邛崃市',3,0),(2736,322,'崇州市',3,0),(2737,322,'金堂县',3,0),(2738,322,'双流县',3,0),(2739,322,'郫县',3,0),(2740,322,'大邑县',3,0),(2741,322,'蒲江县',3,0),(2742,322,'新津县',3,0),(2743,322,'都江堰市',3,0),(2744,322,'彭州市',3,0),(2745,322,'邛崃市',3,0),(2746,322,'崇州市',3,0),(2747,322,'金堂县',3,0),(2748,322,'双流县',3,0),(2749,322,'郫县',3,0),(2750,322,'大邑县',3,0),(2751,322,'蒲江县',3,0),(2752,322,'新津县',3,0),(2753,323,'涪城区',3,0),(2754,323,'游仙区',3,0),(2755,323,'江油市',3,0),(2756,323,'盐亭县',3,0),(2757,323,'三台县',3,0),(2758,323,'平武县',3,0),(2759,323,'安县',3,0),(2760,323,'梓潼县',3,0),(2761,323,'北川县',3,0),(2762,324,'马尔康县',3,0),(2763,324,'汶川县',3,0),(2764,324,'理县',3,0),(2765,324,'茂县',3,0),(2766,324,'松潘县',3,0),(2767,324,'九寨沟县',3,0),(2768,324,'金川县',3,0),(2769,324,'小金县',3,0),(2770,324,'黑水县',3,0),(2771,324,'壤塘县',3,0),(2772,324,'阿坝县',3,0),(2773,324,'若尔盖县',3,0),(2774,324,'红原县',3,0),(2775,325,'巴州区',3,0),(2776,325,'通江县',3,0),(2777,325,'南江县',3,0),(2778,325,'平昌县',3,0),(2779,326,'通川区',3,0),(2780,326,'万源市',3,0),(2781,326,'达县',3,0),(2782,326,'宣汉县',3,0),(2783,326,'开江县',3,0),(2784,326,'大竹县',3,0),(2785,326,'渠县',3,0),(2786,327,'旌阳区',3,0),(2787,327,'广汉市',3,0),(2788,327,'什邡市',3,0),(2789,327,'绵竹市',3,0),(2790,327,'罗江县',3,0),(2791,327,'中江县',3,0),(2792,328,'康定县',3,0),(2793,328,'丹巴县',3,0),(2794,328,'泸定县',3,0),(2795,328,'炉霍县',3,0),(2796,328,'九龙县',3,0),(2797,328,'甘孜县',3,0),(2798,328,'雅江县',3,0),(2799,328,'新龙县',3,0),(2800,328,'道孚县',3,0),(2801,328,'白玉县',3,0),(2802,328,'理塘县',3,0),(2803,328,'德格县',3,0),(2804,328,'乡城县',3,0),(2805,328,'石渠县',3,0),(2806,328,'稻城县',3,0),(2807,328,'色达县',3,0),(2808,328,'巴塘县',3,0),(2809,328,'得荣县',3,0),(2810,329,'广安区',3,0),(2811,329,'华蓥市',3,0),(2812,329,'岳池县',3,0),(2813,329,'武胜县',3,0),(2814,329,'邻水县',3,0),(2815,330,'利州区',3,0),(2816,330,'元坝区',3,0),(2817,330,'朝天区',3,0),(2818,330,'旺苍县',3,0),(2819,330,'青川县',3,0),(2820,330,'剑阁县',3,0),(2821,330,'苍溪县',3,0),(2822,331,'峨眉山市',3,0),(2823,331,'乐山市',3,0),(2824,331,'犍为县',3,0),(2825,331,'井研县',3,0),(2826,331,'夹江县',3,0),(2827,331,'沐川县',3,0),(2828,331,'峨边',3,0),(2829,331,'马边',3,0),(2830,332,'西昌市',3,0),(2831,332,'盐源县',3,0),(2832,332,'德昌县',3,0),(2833,332,'会理县',3,0),(2834,332,'会东县',3,0),(2835,332,'宁南县',3,0),(2836,332,'普格县',3,0),(2837,332,'布拖县',3,0),(2838,332,'金阳县',3,0),(2839,332,'昭觉县',3,0),(2840,332,'喜德县',3,0),(2841,332,'冕宁县',3,0),(2842,332,'越西县',3,0),(2843,332,'甘洛县',3,0),(2844,332,'美姑县',3,0),(2845,332,'雷波县',3,0),(2846,332,'木里',3,0),(2847,333,'东坡区',3,0),(2848,333,'仁寿县',3,0),(2849,333,'彭山县',3,0),(2850,333,'洪雅县',3,0),(2851,333,'丹棱县',3,0),(2852,333,'青神县',3,0),(2853,334,'阆中市',3,0),(2854,334,'南部县',3,0),(2855,334,'营山县',3,0),(2856,334,'蓬安县',3,0),(2857,334,'仪陇县',3,0),(2858,334,'顺庆区',3,0),(2859,334,'高坪区',3,0),(2860,334,'嘉陵区',3,0),(2861,334,'西充县',3,0),(2862,335,'市中区',3,0),(2863,335,'东兴区',3,0),(2864,335,'威远县',3,0),(2865,335,'资中县',3,0),(2866,335,'隆昌县',3,0),(2867,336,'东  区',3,0),(2868,336,'西  区',3,0),(2869,336,'仁和区',3,0),(2870,336,'米易县',3,0),(2871,336,'盐边县',3,0),(2872,337,'船山区',3,0),(2873,337,'安居区',3,0),(2874,337,'蓬溪县',3,0),(2875,337,'射洪县',3,0),(2876,337,'大英县',3,0),(2877,338,'雨城区',3,0),(2878,338,'名山县',3,0),(2879,338,'荥经县',3,0),(2880,338,'汉源县',3,0),(2881,338,'石棉县',3,0),(2882,338,'天全县',3,0),(2883,338,'芦山县',3,0),(2884,338,'宝兴县',3,0),(2885,339,'翠屏区',3,0),(2886,339,'宜宾县',3,0),(2887,339,'南溪县',3,0),(2888,339,'江安县',3,0),(2889,339,'长宁县',3,0),(2890,339,'高县',3,0),(2891,339,'珙县',3,0),(2892,339,'筠连县',3,0),(2893,339,'兴文县',3,0),(2894,339,'屏山县',3,0),(2895,340,'雁江区',3,0),(2896,340,'简阳市',3,0),(2897,340,'安岳县',3,0),(2898,340,'乐至县',3,0),(2899,341,'大安区',3,0),(2900,341,'自流井区',3,0),(2901,341,'贡井区',3,0),(2902,341,'沿滩区',3,0),(2903,341,'荣县',3,0),(2904,341,'富顺县',3,0),(2905,342,'江阳区',3,0),(2906,342,'纳溪区',3,0),(2907,342,'龙马潭区',3,0),(2908,342,'泸县',3,0),(2909,342,'合江县',3,0),(2910,342,'叙永县',3,0),(2911,342,'古蔺县',3,0),(2912,343,'和平区',3,0),(2913,343,'河西区',3,0),(2914,343,'南开区',3,0),(2915,343,'河北区',3,0),(2916,343,'河东区',3,0),(2917,343,'红桥区',3,0),(2918,343,'东丽区',3,0),(2919,343,'津南区',3,0),(2920,343,'西青区',3,0),(2921,343,'北辰区',3,0),(2922,343,'塘沽区',3,0),(2923,343,'汉沽区',3,0),(2924,343,'大港区',3,0),(2925,343,'武清区',3,0),(2926,343,'宝坻区',3,0),(2927,343,'经济开发区',3,0),(2928,343,'宁河县',3,0),(2929,343,'静海县',3,0),(2930,343,'蓟县',3,0),(2931,344,'城关区',3,0),(2932,344,'林周县',3,0),(2933,344,'当雄县',3,0),(2934,344,'尼木县',3,0),(2935,344,'曲水县',3,0),(2936,344,'堆龙德庆县',3,0),(2937,344,'达孜县',3,0),(2938,344,'墨竹工卡县',3,0),(2939,345,'噶尔县',3,0),(2940,345,'普兰县',3,0),(2941,345,'札达县',3,0),(2942,345,'日土县',3,0),(2943,345,'革吉县',3,0),(2944,345,'改则县',3,0),(2945,345,'措勤县',3,0),(2946,346,'昌都县',3,0),(2947,346,'江达县',3,0),(2948,346,'贡觉县',3,0),(2949,346,'类乌齐县',3,0),(2950,346,'丁青县',3,0),(2951,346,'察雅县',3,0),(2952,346,'八宿县',3,0),(2953,346,'左贡县',3,0),(2954,346,'芒康县',3,0),(2955,346,'洛隆县',3,0),(2956,346,'边坝县',3,0),(2957,347,'林芝县',3,0),(2958,347,'工布江达县',3,0),(2959,347,'米林县',3,0),(2960,347,'墨脱县',3,0),(2961,347,'波密县',3,0),(2962,347,'察隅县',3,0),(2963,347,'朗县',3,0),(2964,348,'那曲县',3,0),(2965,348,'嘉黎县',3,0),(2966,348,'比如县',3,0),(2967,348,'聂荣县',3,0),(2968,348,'安多县',3,0),(2969,348,'申扎县',3,0),(2970,348,'索县',3,0),(2971,348,'班戈县',3,0),(2972,348,'巴青县',3,0),(2973,348,'尼玛县',3,0),(2974,349,'日喀则市',3,0),(2975,349,'南木林县',3,0),(2976,349,'江孜县',3,0),(2977,349,'定日县',3,0),(2978,349,'萨迦县',3,0),(2979,349,'拉孜县',3,0),(2980,349,'昂仁县',3,0),(2981,349,'谢通门县',3,0),(2982,349,'白朗县',3,0),(2983,349,'仁布县',3,0),(2984,349,'康马县',3,0),(2985,349,'定结县',3,0),(2986,349,'仲巴县',3,0),(2987,349,'亚东县',3,0),(2988,349,'吉隆县',3,0),(2989,349,'聂拉木县',3,0),(2990,349,'萨嘎县',3,0),(2991,349,'岗巴县',3,0),(2992,350,'乃东县',3,0),(2993,350,'扎囊县',3,0),(2994,350,'贡嘎县',3,0),(2995,350,'桑日县',3,0),(2996,350,'琼结县',3,0),(2997,350,'曲松县',3,0),(2998,350,'措美县',3,0),(2999,350,'洛扎县',3,0),(3000,350,'加查县',3,0),(3001,350,'隆子县',3,0),(3002,350,'错那县',3,0),(3003,350,'浪卡子县',3,0),(3004,351,'天山区',3,0),(3005,351,'沙依巴克区',3,0),(3006,351,'新市区',3,0),(3007,351,'水磨沟区',3,0),(3008,351,'头屯河区',3,0),(3009,351,'达坂城区',3,0),(3010,351,'米东区',3,0),(3011,351,'乌鲁木齐县',3,0),(3012,352,'阿克苏市',3,0),(3013,352,'温宿县',3,0),(3014,352,'库车县',3,0),(3015,352,'沙雅县',3,0),(3016,352,'新和县',3,0),(3017,352,'拜城县',3,0),(3018,352,'乌什县',3,0),(3019,352,'阿瓦提县',3,0),(3020,352,'柯坪县',3,0),(3021,353,'阿拉尔市',3,0),(3022,354,'库尔勒市',3,0),(3023,354,'轮台县',3,0),(3024,354,'尉犁县',3,0),(3025,354,'若羌县',3,0),(3026,354,'且末县',3,0),(3027,354,'焉耆',3,0),(3028,354,'和静县',3,0),(3029,354,'和硕县',3,0),(3030,354,'博湖县',3,0),(3031,355,'博乐市',3,0),(3032,355,'精河县',3,0),(3033,355,'温泉县',3,0),(3034,356,'呼图壁县',3,0),(3035,356,'米泉市',3,0),(3036,356,'昌吉市',3,0),(3037,356,'阜康市',3,0),(3038,356,'玛纳斯县',3,0),(3039,356,'奇台县',3,0),(3040,356,'吉木萨尔县',3,0),(3041,356,'木垒',3,0),(3042,357,'哈密市',3,0),(3043,357,'伊吾县',3,0),(3044,357,'巴里坤',3,0),(3045,358,'和田市',3,0),(3046,358,'和田县',3,0),(3047,358,'墨玉县',3,0),(3048,358,'皮山县',3,0),(3049,358,'洛浦县',3,0),(3050,358,'策勒县',3,0),(3051,358,'于田县',3,0),(3052,358,'民丰县',3,0),(3053,359,'喀什市',3,0),(3054,359,'疏附县',3,0),(3055,359,'疏勒县',3,0),(3056,359,'英吉沙县',3,0),(3057,359,'泽普县',3,0),(3058,359,'莎车县',3,0),(3059,359,'叶城县',3,0),(3060,359,'麦盖提县',3,0),(3061,359,'岳普湖县',3,0),(3062,359,'伽师县',3,0),(3063,359,'巴楚县',3,0),(3064,359,'塔什库尔干',3,0),(3065,360,'克拉玛依市',3,0),(3066,361,'阿图什市',3,0),(3067,361,'阿克陶县',3,0),(3068,361,'阿合奇县',3,0),(3069,361,'乌恰县',3,0),(3070,362,'石河子市',3,0),(3071,363,'图木舒克市',3,0),(3072,364,'吐鲁番市',3,0),(3073,364,'鄯善县',3,0),(3074,364,'托克逊县',3,0),(3075,365,'五家渠市',3,0),(3076,366,'阿勒泰市',3,0),(3077,366,'布克赛尔',3,0),(3078,366,'伊宁市',3,0),(3079,366,'布尔津县',3,0),(3080,366,'奎屯市',3,0),(3081,366,'乌苏市',3,0),(3082,366,'额敏县',3,0),(3083,366,'富蕴县',3,0),(3084,366,'伊宁县',3,0),(3085,366,'福海县',3,0),(3086,366,'霍城县',3,0),(3087,366,'沙湾县',3,0),(3088,366,'巩留县',3,0),(3089,366,'哈巴河县',3,0),(3090,366,'托里县',3,0),(3091,366,'青河县',3,0),(3092,366,'新源县',3,0),(3093,366,'裕民县',3,0),(3094,366,'和布克赛尔',3,0),(3095,366,'吉木乃县',3,0),(3096,366,'昭苏县',3,0),(3097,366,'特克斯县',3,0),(3098,366,'尼勒克县',3,0),(3099,366,'察布查尔',3,0),(3100,367,'盘龙区',3,0),(3101,367,'五华区',3,0),(3102,367,'官渡区',3,0),(3103,367,'西山区',3,0),(3104,367,'东川区',3,0),(3105,367,'安宁市',3,0),(3106,367,'呈贡县',3,0),(3107,367,'晋宁县',3,0),(3108,367,'富民县',3,0),(3109,367,'宜良县',3,0),(3110,367,'嵩明县',3,0),(3111,367,'石林县',3,0),(3112,367,'禄劝',3,0),(3113,367,'寻甸',3,0),(3114,368,'兰坪',3,0),(3115,368,'泸水县',3,0),(3116,368,'福贡县',3,0),(3117,368,'贡山',3,0),(3118,369,'宁洱',3,0),(3119,369,'思茅区',3,0),(3120,369,'墨江',3,0),(3121,369,'景东',3,0),(3122,369,'景谷',3,0),(3123,369,'镇沅',3,0),(3124,369,'江城',3,0),(3125,369,'孟连',3,0),(3126,369,'澜沧',3,0),(3127,369,'西盟',3,0),(3128,370,'古城区',3,0),(3129,370,'宁蒗',3,0),(3130,370,'玉龙',3,0),(3131,370,'永胜县',3,0),(3132,370,'华坪县',3,0),(3133,371,'隆阳区',3,0),(3134,371,'施甸县',3,0),(3135,371,'腾冲县',3,0),(3136,371,'龙陵县',3,0),(3137,371,'昌宁县',3,0),(3138,372,'楚雄市',3,0),(3139,372,'双柏县',3,0),(3140,372,'牟定县',3,0),(3141,372,'南华县',3,0),(3142,372,'姚安县',3,0),(3143,372,'大姚县',3,0),(3144,372,'永仁县',3,0),(3145,372,'元谋县',3,0),(3146,372,'武定县',3,0),(3147,372,'禄丰县',3,0),(3148,373,'大理市',3,0),(3149,373,'祥云县',3,0),(3150,373,'宾川县',3,0),(3151,373,'弥渡县',3,0),(3152,373,'永平县',3,0),(3153,373,'云龙县',3,0),(3154,373,'洱源县',3,0),(3155,373,'剑川县',3,0),(3156,373,'鹤庆县',3,0),(3157,373,'漾濞',3,0),(3158,373,'南涧',3,0),(3159,373,'巍山',3,0),(3160,374,'潞西市',3,0),(3161,374,'瑞丽市',3,0),(3162,374,'梁河县',3,0),(3163,374,'盈江县',3,0),(3164,374,'陇川县',3,0),(3165,375,'香格里拉县',3,0),(3166,375,'德钦县',3,0),(3167,375,'维西',3,0),(3168,376,'泸西县',3,0),(3169,376,'蒙自县',3,0),(3170,376,'个旧市',3,0),(3171,376,'开远市',3,0),(3172,376,'绿春县',3,0),(3173,376,'建水县',3,0),(3174,376,'石屏县',3,0),(3175,376,'弥勒县',3,0),(3176,376,'元阳县',3,0),(3177,376,'红河县',3,0),(3178,376,'金平',3,0),(3179,376,'河口',3,0),(3180,376,'屏边',3,0),(3181,377,'临翔区',3,0),(3182,377,'凤庆县',3,0),(3183,377,'云县',3,0),(3184,377,'永德县',3,0),(3185,377,'镇康县',3,0),(3186,377,'双江',3,0),(3187,377,'耿马',3,0),(3188,377,'沧源',3,0),(3189,378,'麒麟区',3,0),(3190,378,'宣威市',3,0),(3191,378,'马龙县',3,0),(3192,378,'陆良县',3,0),(3193,378,'师宗县',3,0),(3194,378,'罗平县',3,0),(3195,378,'富源县',3,0),(3196,378,'会泽县',3,0),(3197,378,'沾益县',3,0),(3198,379,'文山县',3,0),(3199,379,'砚山县',3,0),(3200,379,'西畴县',3,0),(3201,379,'麻栗坡县',3,0),(3202,379,'马关县',3,0),(3203,379,'丘北县',3,0),(3204,379,'广南县',3,0),(3205,379,'富宁县',3,0),(3206,380,'景洪市',3,0),(3207,380,'勐海县',3,0),(3208,380,'勐腊县',3,0),(3209,381,'红塔区',3,0),(3210,381,'江川县',3,0),(3211,381,'澄江县',3,0),(3212,381,'通海县',3,0),(3213,381,'华宁县',3,0),(3214,381,'易门县',3,0),(3215,381,'峨山',3,0),(3216,381,'新平',3,0),(3217,381,'元江',3,0),(3218,382,'昭阳区',3,0),(3219,382,'鲁甸县',3,0),(3220,382,'巧家县',3,0),(3221,382,'盐津县',3,0),(3222,382,'大关县',3,0),(3223,382,'永善县',3,0),(3224,382,'绥江县',3,0),(3225,382,'镇雄县',3,0),(3226,382,'彝良县',3,0),(3227,382,'威信县',3,0),(3228,382,'水富县',3,0),(3229,383,'西湖区',3,0),(3230,383,'上城区',3,0),(3231,383,'下城区',3,0),(3232,383,'拱墅区',3,0),(3233,383,'滨江区',3,0),(3234,383,'江干区',3,0),(3235,383,'萧山区',3,0),(3236,383,'余杭区',3,0),(3237,383,'市郊',3,0),(3238,383,'建德市',3,0),(3239,383,'富阳市',3,0),(3240,383,'临安市',3,0),(3241,383,'桐庐县',3,0),(3242,383,'淳安县',3,0),(3243,384,'吴兴区',3,0),(3244,384,'南浔区',3,0),(3245,384,'德清县',3,0),(3246,384,'长兴县',3,0),(3247,384,'安吉县',3,0),(3248,385,'南湖区',3,0),(3249,385,'秀洲区',3,0),(3250,385,'海宁市',3,0),(3251,385,'嘉善县',3,0),(3252,385,'平湖市',3,0),(3253,385,'桐乡市',3,0),(3254,385,'海盐县',3,0),(3255,386,'婺城区',3,0),(3256,386,'金东区',3,0),(3257,386,'兰溪市',3,0),(3258,386,'市区',3,0),(3259,386,'佛堂镇',3,0),(3260,386,'上溪镇',3,0),(3261,386,'义亭镇',3,0),(3262,386,'大陈镇',3,0),(3263,386,'苏溪镇',3,0),(3264,386,'赤岸镇',3,0),(3265,386,'东阳市',3,0),(3266,386,'永康市',3,0),(3267,386,'武义县',3,0),(3268,386,'浦江县',3,0),(3269,386,'磐安县',3,0),(3270,387,'莲都区',3,0),(3271,387,'龙泉市',3,0),(3272,387,'青田县',3,0),(3273,387,'缙云县',3,0),(3274,387,'遂昌县',3,0),(3275,387,'松阳县',3,0),(3276,387,'云和县',3,0),(3277,387,'庆元县',3,0),(3278,387,'景宁',3,0),(3279,388,'海曙区',3,0),(3280,388,'江东区',3,0),(3281,388,'江北区',3,0),(3282,388,'镇海区',3,0),(3283,388,'北仑区',3,0),(3284,388,'鄞州区',3,0),(3285,388,'余姚市',3,0),(3286,388,'慈溪市',3,0),(3287,388,'奉化市',3,0),(3288,388,'象山县',3,0),(3289,388,'宁海县',3,0),(3290,389,'越城区',3,0),(3291,389,'上虞市',3,0),(3292,389,'嵊州市',3,0),(3293,389,'绍兴县',3,0),(3294,389,'新昌县',3,0),(3295,389,'诸暨市',3,0),(3296,390,'椒江区',3,0),(3297,390,'黄岩区',3,0),(3298,390,'路桥区',3,0),(3299,390,'温岭市',3,0),(3300,390,'临海市',3,0),(3301,390,'玉环县',3,0),(3302,390,'三门县',3,0),(3303,390,'天台县',3,0),(3304,390,'仙居县',3,0),(3305,391,'鹿城区',3,0),(3306,391,'龙湾区',3,0),(3307,391,'瓯海区',3,0),(3308,391,'瑞安市',3,0),(3309,391,'乐清市',3,0),(3310,391,'洞头县',3,0),(3311,391,'永嘉县',3,0),(3312,391,'平阳县',3,0),(3313,391,'苍南县',3,0),(3314,391,'文成县',3,0),(3315,391,'泰顺县',3,0),(3316,392,'定海区',3,0),(3317,392,'普陀区',3,0),(3318,392,'岱山县',3,0),(3319,392,'嵊泗县',3,0),(3320,393,'衢州市',3,0),(3321,393,'江山市',3,0),(3322,393,'常山县',3,0),(3323,393,'开化县',3,0),(3324,393,'龙游县',3,0),(3325,394,'合川区',3,0),(3326,394,'江津区',3,0),(3327,394,'南川区',3,0),(3328,394,'永川区',3,0),(3329,394,'南岸区',3,0),(3330,394,'渝北区',3,0),(3331,394,'万盛区',3,0),(3332,394,'大渡口区',3,0),(3333,394,'万州区',3,0),(3334,394,'北碚区',3,0),(3335,394,'沙坪坝区',3,0),(3336,394,'巴南区',3,0),(3337,394,'涪陵区',3,0),(3338,394,'江北区',3,0),(3339,394,'九龙坡区',3,0),(3340,394,'渝中区',3,0),(3341,394,'黔江开发区',3,0),(3342,394,'长寿区',3,0),(3343,394,'双桥区',3,0),(3344,394,'綦江县',3,0),(3345,394,'潼南县',3,0),(3346,394,'铜梁县',3,0),(3347,394,'大足县',3,0),(3348,394,'荣昌县',3,0),(3349,394,'璧山县',3,0),(3350,394,'垫江县',3,0),(3351,394,'武隆县',3,0),(3352,394,'丰都县',3,0),(3353,394,'城口县',3,0),(3354,394,'梁平县',3,0),(3355,394,'开县',3,0),(3356,394,'巫溪县',3,0),(3357,394,'巫山县',3,0),(3358,394,'奉节县',3,0),(3359,394,'云阳县',3,0),(3360,394,'忠县',3,0),(3361,394,'石柱',3,0),(3362,394,'彭水',3,0),(3363,394,'酉阳',3,0),(3364,394,'秀山',3,0),(3365,395,'沙田区',3,0),(3366,395,'东区',3,0),(3367,395,'观塘区',3,0),(3368,395,'黄大仙区',3,0),(3369,395,'九龙城区',3,0),(3370,395,'屯门区',3,0),(3371,395,'葵青区',3,0),(3372,395,'元朗区',3,0),(3373,395,'深水埗区',3,0),(3374,395,'西贡区',3,0),(3375,395,'大埔区',3,0),(3376,395,'湾仔区',3,0),(3377,395,'油尖旺区',3,0),(3378,395,'北区',3,0),(3379,395,'南区',3,0),(3380,395,'荃湾区',3,0),(3381,395,'中西区',3,0),(3382,395,'离岛区',3,0),(3383,396,'澳门',3,0),(3384,397,'台北',3,0),(3385,397,'高雄',3,0),(3386,397,'基隆',3,0),(3387,397,'台中',3,0),(3388,397,'台南',3,0),(3389,397,'新竹',3,0),(3390,397,'嘉义',3,0),(3391,397,'宜兰县',3,0),(3392,397,'桃园县',3,0),(3393,397,'苗栗县',3,0),(3394,397,'彰化县',3,0),(3395,397,'南投县',3,0),(3396,397,'云林县',3,0),(3397,397,'屏东县',3,0),(3398,397,'台东县',3,0),(3399,397,'花莲县',3,0),(3400,397,'澎湖县',3,0),(3401,3,'合肥',2,0),(3402,3401,'庐阳区',3,0),(3403,3401,'瑶海区',3,0),(3404,3401,'蜀山区',3,0),(3405,3401,'包河区',3,0),(3406,3401,'长丰县',3,0),(3407,3401,'肥东县',3,0),(3408,3401,'肥西县',3,0);
/*!40000 ALTER TABLE `ecs_region` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_role`
--

DROP TABLE IF EXISTS `ecs_role`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_role` (
  `role_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `role_name` varchar(60) NOT NULL DEFAULT '',
  `action_list` text NOT NULL,
  `role_describe` text,
  PRIMARY KEY (`role_id`),
  KEY `user_name` (`role_name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_role`
--

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

--
-- Table structure for table `ecs_searchengine`
--

DROP TABLE IF EXISTS `ecs_searchengine`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_searchengine` (
  `date` date NOT NULL DEFAULT '0000-00-00',
  `searchengine` varchar(20) NOT NULL DEFAULT '',
  `count` mediumint(8) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`date`,`searchengine`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_searchengine`
--

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

--
-- Table structure for table `ecs_sessions`
--

DROP TABLE IF EXISTS `ecs_sessions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_sessions` (
  `sesskey` char(32) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
  `expiry` int(10) unsigned NOT NULL DEFAULT '0',
  `userid` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `adminid` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `ip` char(15) NOT NULL DEFAULT '',
  `user_name` varchar(60) NOT NULL,
  `user_rank` tinyint(3) NOT NULL,
  `discount` decimal(3,2) NOT NULL,
  `email` varchar(60) NOT NULL,
  `data` char(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`sesskey`),
  KEY `expiry` (`expiry`)
) ENGINE=MEMORY DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_sessions`
--

LOCK TABLES `ecs_sessions` WRITE;
/*!40000 ALTER TABLE `ecs_sessions` DISABLE KEYS */;
INSERT INTO `ecs_sessions` VALUES ('0baf26e3e29c06d74e47778e2bda0451',1452252457,0,0,'127.0.0.1','0',0,1.00,'0','a:3:{s:7:\"from_ad\";i:0;s:7:\"referer\";s:6:\"本站\";s:10:\"login_fail\";i:0;}');
/*!40000 ALTER TABLE `ecs_sessions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_sessions_data`
--

DROP TABLE IF EXISTS `ecs_sessions_data`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_sessions_data` (
  `sesskey` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
  `expiry` int(10) unsigned NOT NULL DEFAULT '0',
  `data` longtext NOT NULL,
  PRIMARY KEY (`sesskey`),
  KEY `expiry` (`expiry`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_sessions_data`
--

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

--
-- Table structure for table `ecs_shipping`
--

DROP TABLE IF EXISTS `ecs_shipping`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_shipping` (
  `shipping_id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
  `shipping_code` varchar(20) NOT NULL DEFAULT '',
  `shipping_name` varchar(120) NOT NULL DEFAULT '',
  `shipping_desc` varchar(255) NOT NULL DEFAULT '',
  `insure` varchar(10) NOT NULL DEFAULT '0',
  `support_cod` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `shipping_print` text NOT NULL,
  `print_bg` varchar(255) DEFAULT NULL,
  `config_lable` text,
  `print_model` tinyint(1) DEFAULT '0',
  PRIMARY KEY (`shipping_id`),
  KEY `shipping_code` (`shipping_code`,`enabled`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_shipping`
--

LOCK TABLES `ecs_shipping` WRITE;
/*!40000 ALTER TABLE `ecs_shipping` DISABLE KEYS */;
INSERT INTO `ecs_shipping` VALUES (1,'post_express','邮政快递包裹','邮政快递包裹的描述内容。','1%',0,1,'',NULL,NULL,0),(2,'yto','圆通速递','上海圆通物流(速递)有限公司经过多年的网络快速发展,在中国速递行业中一直处于领先地位。为了能更好的发展国际快件市场,加快与国际市场的接轨,强化圆通的整体实力,圆通已在东南亚、欧美、中东、北美洲、非洲等许多城市运作国际快件业务','0',1,1,'',NULL,NULL,0),(3,'city_express','城际快递','配送的运费是固定的','0',1,1,'',NULL,NULL,0),(4,'flat','市内快递','固定运费的配送方式内容','0',1,1,'',NULL,NULL,0),(5,'sto_express','申通快递','江、浙、沪地区首重为15元/KG,其他地区18元/KG, 续重均为5-6元/KG, 云南地区为8元','0',0,1,'',NULL,NULL,0),(6,'post_mail','邮局平邮','邮局平邮的描述内容。','0',0,1,'',NULL,NULL,0),(7,'fpd','运费到付','所购商品到达即付运费','0',0,1,'',NULL,NULL,0);
/*!40000 ALTER TABLE `ecs_shipping` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_shipping_area`
--

DROP TABLE IF EXISTS `ecs_shipping_area`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_shipping_area` (
  `shipping_area_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `shipping_area_name` varchar(150) NOT NULL DEFAULT '',
  `shipping_id` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `configure` text NOT NULL,
  PRIMARY KEY (`shipping_area_id`),
  KEY `shipping_id` (`shipping_id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_shipping_area`
--

LOCK TABLES `ecs_shipping_area` WRITE;
/*!40000 ALTER TABLE `ecs_shipping_area` DISABLE KEYS */;
INSERT INTO `ecs_shipping_area` VALUES (1,'申通',5,'a:5:{i:0;a:2:{s:4:\"name\";s:8:\"item_fee\";s:5:\"value\";s:2:\"15\";}i:1;a:2:{s:4:\"name\";s:8:\"base_fee\";s:5:\"value\";s:2:\"15\";}i:2;a:2:{s:4:\"name\";s:8:\"step_fee\";s:5:\"value\";s:1:\"5\";}i:3;a:2:{s:4:\"name\";s:10:\"free_money\";s:5:\"value\";s:1:\"0\";}i:4;a:2:{s:4:\"name\";s:16:\"fee_compute_mode\";s:5:\"value\";s:9:\"by_weight\";}}'),(2,'1',3,'a:4:{i:0;a:2:{s:4:\"name\";s:8:\"base_fee\";s:5:\"value\";s:2:\"10\";}i:1;a:2:{s:4:\"name\";s:10:\"free_money\";s:5:\"value\";s:6:\"100000\";}i:2;a:2:{s:4:\"name\";s:16:\"fee_compute_mode\";s:5:\"value\";N;}i:3;a:2:{s:4:\"name\";s:7:\"pay_fee\";s:5:\"value\";s:1:\"5\";}}'),(3,'邮局',6,'a:7:{i:0;a:2:{s:4:\"name\";s:8:\"item_fee\";s:5:\"value\";s:1:\"4\";}i:1;a:2:{s:4:\"name\";s:8:\"base_fee\";s:5:\"value\";s:3:\"3.5\";}i:2;a:2:{s:4:\"name\";s:8:\"step_fee\";s:5:\"value\";s:3:\"2.5\";}i:3;a:2:{s:4:\"name\";s:9:\"step_fee1\";s:5:\"value\";N;}i:4;a:2:{s:4:\"name\";s:8:\"pack_fee\";s:5:\"value\";s:1:\"0\";}i:5;a:2:{s:4:\"name\";s:10:\"free_money\";s:5:\"value\";s:5:\"50000\";}i:6;a:2:{s:4:\"name\";s:16:\"fee_compute_mode\";s:5:\"value\";s:9:\"by_weight\";}}'),(4,'运费到付',7,'a:2:{i:0;a:2:{s:4:\"name\";s:10:\"free_money\";s:5:\"value\";s:5:\"50000\";}i:1;a:2:{s:4:\"name\";s:16:\"fee_compute_mode\";s:5:\"value\";N;}}');
/*!40000 ALTER TABLE `ecs_shipping_area` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_shop_config`
--

DROP TABLE IF EXISTS `ecs_shop_config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_shop_config` (
  `id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `parent_id` smallint(5) unsigned NOT NULL DEFAULT '0',
  `code` varchar(30) NOT NULL DEFAULT '',
  `type` varchar(10) NOT NULL DEFAULT '',
  `store_range` varchar(255) NOT NULL DEFAULT '',
  `store_dir` varchar(255) NOT NULL DEFAULT '',
  `value` text NOT NULL,
  `sort_order` tinyint(3) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  UNIQUE KEY `code` (`code`),
  KEY `parent_id` (`parent_id`)
) ENGINE=MyISAM AUTO_INCREMENT=904 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_shop_config`
--

LOCK TABLES `ecs_shop_config` WRITE;
/*!40000 ALTER TABLE `ecs_shop_config` DISABLE KEYS */;
INSERT INTO `ecs_shop_config` VALUES (1,0,'shop_info','group','','','',1),(2,0,'basic','group','','','',1),(3,0,'display','group','','','',1),(4,0,'shopping_flow','group','','','',1),(5,0,'smtp','group','','','',1),(6,0,'hidden','hidden','','','',1),(7,0,'goods','group','','','',1),(8,0,'sms','group','','','',1),(9,0,'wap','group','','','',1),(101,1,'shop_name','text','','','ECSHOP',1),(102,1,'shop_title','text','','','ECSHOP演示站',1),(103,1,'shop_desc','text','','','ECSHOP演示站',1),(104,1,'shop_keywords','text','','','ECSHOP演示站',1),(105,1,'shop_country','manual','','','1',1),(106,1,'shop_province','manual','','','2',1),(107,1,'shop_city','manual','','','52',1),(108,1,'shop_address','text','','','',1),(109,1,'qq','text','','','',1),(110,1,'ww','text','','','',1),(111,1,'skype','text','','','',1),(112,1,'ym','text','','','',1),(113,1,'msn','text','','','',1),(114,1,'service_email','text','','','',1),(115,1,'service_phone','text','','','',1),(116,1,'shop_closed','select','0,1','','0',1),(117,1,'close_comment','textarea','','','',1),(118,1,'shop_logo','file','','../themes/{$template}/images/','',1),(119,1,'licensed','select','0,1','','0',1),(120,1,'user_notice','textarea','','','用户中心公告!',1),(121,1,'shop_notice','textarea','','','欢迎光临手机网,我们的宗旨:诚信经营、服务客户!\r\n<MARQUEE onmouseover=this.stop() onmouseout=this.start() \r\nscrollAmount=3><U><FONT color=red>\r\n<P>咨询电话010-10124444  010-21252454 8465544</P></FONT></U></MARQUEE>',1),(122,1,'shop_reg_closed','select','1,0','','0',1),(201,2,'lang','manual','','','zh_cn',1),(202,2,'icp_number','text','','','',1),(203,2,'icp_file','file','','../cert/','',1),(204,2,'watermark','file','','../images/','',1),(205,2,'watermark_place','select','0,1,2,3,4,5','','1',1),(206,2,'watermark_alpha','text','','','65',1),(207,2,'use_storage','select','1,0','','1',1),(208,2,'market_price_rate','text','','','1.2',1),(209,2,'rewrite','select','0,1,2','','0',1),(210,2,'integral_name','text','','','积分',1),(211,2,'integral_scale','text','','','1',1),(212,2,'integral_percent','text','','','1',1),(213,2,'sn_prefix','text','','','ECS',1),(214,2,'comment_check','select','0,1','','1',1),(215,2,'no_picture','file','','../images/','',1),(218,2,'stats_code','textarea','','','',1),(219,2,'cache_time','text','','','3600',1),(220,2,'register_points','text','','','0',1),(221,2,'enable_gzip','select','0,1','','0',1),(222,2,'top10_time','select','0,1,2,3,4','','0',1),(223,2,'timezone','options','-12,-11,-10,-9,-8,-7,-6,-5,-4,-3.5,-3,-2,-1,0,1,2,3,3.5,4,4.5,5,5.5,5.75,6,6.5,7,8,9,9.5,10,11,12','','8',1),(224,2,'upload_size_limit','options','-1,0,64,128,256,512,1024,2048,4096','','64',1),(226,2,'cron_method','select','0,1','','0',1),(227,2,'comment_factor','select','0,1,2,3','','0',1),(228,2,'enable_order_check','select','0,1','','1',1),(229,2,'default_storage','text','','','1',1),(230,2,'bgcolor','text','','','#FFFFFF',1),(231,2,'visit_stats','select','on,off','','on',1),(232,2,'send_mail_on','select','on,off','','off',1),(233,2,'auto_generate_gallery','select','1,0','','1',1),(234,2,'retain_original_img','select','1,0','','1',1),(235,2,'member_email_validate','select','1,0','','1',1),(236,2,'message_board','select','1,0','','1',1),(239,2,'certificate_id','hidden','','','',1),(240,2,'token','hidden','','','',1),(241,2,'certi','hidden','','','http://service.shopex.cn/openapi/api.php',1),(301,3,'date_format','hidden','','','Y-m-d',1),(302,3,'time_format','text','','','Y-m-d H:i:s',1),(303,3,'currency_format','text','','','¥%s元',1),(304,3,'thumb_width','text','','','100',1),(305,3,'thumb_height','text','','','100',1),(306,3,'image_width','text','','','230',1),(307,3,'image_height','text','','','230',1),(312,3,'top_number','text','','','10',1),(313,3,'history_number','text','','','5',1),(314,3,'comments_number','text','','','5',1),(315,3,'bought_goods','text','','','3',1),(316,3,'article_number','text','','','8',1),(317,3,'goods_name_length','text','','','7',1),(318,3,'price_format','select','0,1,2,3,4,5','','5',1),(319,3,'page_size','text','','','10',1),(320,3,'sort_order_type','select','0,1,2','','0',1),(321,3,'sort_order_method','select','0,1','','0',1),(322,3,'show_order_type','select','0,1,2','','1',1),(323,3,'attr_related_number','text','','','5',1),(324,3,'goods_gallery_number','text','','','5',1),(325,3,'article_title_length','text','','','16',1),(326,3,'name_of_region_1','text','','','国家',1),(327,3,'name_of_region_2','text','','','省',1),(328,3,'name_of_region_3','text','','','市',1),(329,3,'name_of_region_4','text','','','区',1),(330,3,'search_keywords','text','','','',0),(332,3,'related_goods_number','text','','','4',1),(333,3,'help_open','select','0,1','','1',1),(334,3,'article_page_size','text','','','10',1),(335,3,'page_style','select','0,1','','1',1),(336,3,'recommend_order','select','0,1','','0',1),(337,3,'index_ad','hidden','','','sys',1),(401,4,'can_invoice','select','1,0','','1',1),(402,4,'use_integral','select','1,0','','1',1),(403,4,'use_bonus','select','1,0','','1',1),(404,4,'use_surplus','select','1,0','','1',1),(405,4,'use_how_oos','select','1,0','','1',1),(406,4,'send_confirm_email','select','1,0','','0',1),(407,4,'send_ship_email','select','1,0','','0',1),(408,4,'send_cancel_email','select','1,0','','0',1),(409,4,'send_invalid_email','select','1,0','','0',1),(410,4,'order_pay_note','select','1,0','','1',1),(411,4,'order_unpay_note','select','1,0','','1',1),(412,4,'order_ship_note','select','1,0','','1',1),(413,4,'order_receive_note','select','1,0','','1',1),(414,4,'order_unship_note','select','1,0','','1',1),(415,4,'order_return_note','select','1,0','','1',1),(416,4,'order_invalid_note','select','1,0','','1',1),(417,4,'order_cancel_note','select','1,0','','1',1),(418,4,'invoice_content','textarea','','','',1),(419,4,'anonymous_buy','select','1,0','','1',1),(420,4,'min_goods_amount','text','','','0',1),(421,4,'one_step_buy','select','1,0','','0',1),(422,4,'invoice_type','manual','','','a:2:{s:4:\"type\";a:3:{i:0;s:1:\"1\";i:1;s:1:\"2\";i:2;s:0:\"\";}s:4:\"rate\";a:3:{i:0;d:1;i:1;d:1.5;i:2;d:0;}}',1),(423,4,'stock_dec_time','select','1,0','','0',1),(424,4,'cart_confirm','options','1,2,3,4','','3',0),(425,4,'send_service_email','select','1,0','','0',1),(426,4,'show_goods_in_cart','select','1,2,3','','3',1),(427,4,'show_attr_in_cart','select','1,0','','1',1),(501,5,'smtp_host','text','','','localhost',1),(502,5,'smtp_port','text','','','25',1),(503,5,'smtp_user','text','','','',1),(504,5,'smtp_pass','password','','','',1),(505,5,'smtp_mail','text','','','',1),(506,5,'mail_charset','select','UTF8,GB2312,BIG5','','UTF8',1),(507,5,'mail_service','select','0,1','','0',0),(508,5,'smtp_ssl','select','0,1','','0',0),(601,6,'integrate_code','hidden','','','ecshop',1),(602,6,'integrate_config','hidden','','','',1),(603,6,'hash_code','hidden','','','31693422540744c0a6b6da635b7a5a93',1),(604,6,'template','hidden','','','default',1),(605,6,'install_date','hidden','','','1452252447',1),(606,6,'ecs_version','hidden','','','v2.7.2',1),(607,6,'sms_user_name','hidden','','','',1),(608,6,'sms_password','hidden','','','',1),(609,6,'sms_auth_str','hidden','','','',1),(610,6,'sms_domain','hidden','','','',1),(611,6,'sms_count','hidden','','','',1),(612,6,'sms_total_money','hidden','','','',1),(613,6,'sms_balance','hidden','','','',1),(614,6,'sms_last_request','hidden','','','',1),(616,6,'affiliate','hidden','','','a:3:{s:6:\"config\";a:7:{s:6:\"expire\";d:24;s:11:\"expire_unit\";s:4:\"hour\";s:11:\"separate_by\";i:0;s:15:\"level_point_all\";s:2:\"5%\";s:15:\"level_money_all\";s:2:\"1%\";s:18:\"level_register_all\";i:2;s:17:\"level_register_up\";i:60;}s:4:\"item\";a:4:{i:0;a:2:{s:11:\"level_point\";s:3:\"60%\";s:11:\"level_money\";s:3:\"60%\";}i:1;a:2:{s:11:\"level_point\";s:3:\"30%\";s:11:\"level_money\";s:3:\"30%\";}i:2;a:2:{s:11:\"level_point\";s:2:\"7%\";s:11:\"level_money\";s:2:\"7%\";}i:3;a:2:{s:11:\"level_point\";s:2:\"3%\";s:11:\"level_money\";s:2:\"3%\";}}s:2:\"on\";i:1;}',1),(617,6,'captcha','hidden','','','12',1),(618,6,'captcha_width','hidden','','','100',1),(619,6,'captcha_height','hidden','','','20',1),(620,6,'sitemap','hidden','','','a:6:{s:19:\"homepage_changefreq\";s:6:\"hourly\";s:17:\"homepage_priority\";s:3:\"0.9\";s:19:\"category_changefreq\";s:6:\"hourly\";s:17:\"category_priority\";s:3:\"0.8\";s:18:\"content_changefreq\";s:6:\"weekly\";s:16:\"content_priority\";s:3:\"0.7\";}',0),(621,6,'points_rule','hidden','','','',0),(622,6,'flash_theme','hidden','','','dynfocus',1),(623,6,'stylename','hidden','','','',1),(701,7,'show_goodssn','select','1,0','','1',1),(702,7,'show_brand','select','1,0','','1',1),(703,7,'show_goodsweight','select','1,0','','1',1),(704,7,'show_goodsnumber','select','1,0','','1',1),(705,7,'show_addtime','select','1,0','','1',1),(706,7,'goodsattr_style','select','1,0','','1',1),(707,7,'show_marketprice','select','1,0','','1',1),(801,8,'sms_shop_mobile','text','','','',1),(802,8,'sms_order_placed','select','1,0','','0',1),(803,8,'sms_order_payed','select','1,0','','0',1),(804,8,'sms_order_shipped','select','1,0','','0',1),(901,9,'wap_config','select','1,0','','0',1),(902,9,'wap_logo','file','','../images/','',1),(903,2,'message_check','select','1,0','','1',1);
/*!40000 ALTER TABLE `ecs_shop_config` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_snatch_log`
--

DROP TABLE IF EXISTS `ecs_snatch_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_snatch_log` (
  `log_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `snatch_id` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `user_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `bid_price` decimal(10,2) NOT NULL DEFAULT '0.00',
  `bid_time` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`log_id`),
  KEY `snatch_id` (`snatch_id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_snatch_log`
--

LOCK TABLES `ecs_snatch_log` WRITE;
/*!40000 ALTER TABLE `ecs_snatch_log` DISABLE KEYS */;
INSERT INTO `ecs_snatch_log` VALUES (1,2,1,17.00,1242142910),(2,1,1,50.00,1242142935);
/*!40000 ALTER TABLE `ecs_snatch_log` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_stats`
--

DROP TABLE IF EXISTS `ecs_stats`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_stats` (
  `access_time` int(10) unsigned NOT NULL DEFAULT '0',
  `ip_address` varchar(15) NOT NULL DEFAULT '',
  `visit_times` smallint(5) unsigned NOT NULL DEFAULT '1',
  `browser` varchar(60) NOT NULL DEFAULT '',
  `system` varchar(20) NOT NULL DEFAULT '',
  `language` varchar(20) NOT NULL DEFAULT '',
  `area` varchar(30) NOT NULL DEFAULT '',
  `referer_domain` varchar(100) NOT NULL DEFAULT '',
  `referer_path` varchar(200) NOT NULL DEFAULT '',
  `access_url` varchar(255) NOT NULL DEFAULT '',
  KEY `access_time` (`access_time`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_stats`
--

LOCK TABLES `ecs_stats` WRITE;
/*!40000 ALTER TABLE `ecs_stats` DISABLE KEYS */;
INSERT INTO `ecs_stats` VALUES (1240294063,'0.0.0.0',196,'FireFox 3.0.8','Windows XP','zh-cn','IANA','http://localhost:8080','/shoujitiyan/admin/index.php?act=top','/shoujitiyan/index.php'),(1240298833,'0.0.0.0',198,'FireFox 3.0.8','Windows XP','zh-cn','IANA','http://localhost:8080','/shoujitiyan/admin/index.php?act=top','/shoujitiyan/index.php'),(1240380013,'0.0.0.0',204,'FireFox 3.0.8','Windows XP','zh-cn','IANA','http://localhost:8080','/','/shoujitiyan/index.php'),(1240463462,'0.0.0.0',208,'FireFox 3.0.9','Windows XP','zh-cn','IANA','http://localhost:8080','/shoujitiyan/admin/index.php?act=top','/shoujitiyan/index.php'),(1240800901,'0.0.0.0',222,'FireFox 3.0.9','Windows XP','zh-cn','IANA','http://localhost:8080','/shoujitiyan/admin/index.php?act=top','/shoujitiyan/index.php'),(1240803254,'0.0.0.0',227,'FireFox 3.0.9','Windows XP','zh-cn','IANA','http://localhost:8080','/shoujitiyan/admin/index.php?act=top','/shoujitiyan/index.php'),(1240904381,'0.0.0.0',237,'FireFox 3.0.9','Windows XP','zh-cn','IANA','http://localhost:8080','/shoujitiyan/admin/index.php?act=top','/shoujitiyan/index.php'),(1241419322,'0.0.0.0',250,'FireFox 3.0.10','Windows XP','zh-cn','IANA','http://localhost:8080','/shoujitiyan/admin/goods.php?act=list','/shoujitiyan/goods.php'),(1241420999,'0.0.0.0',252,'FireFox 3.0.10','Windows XP','zh-cn','IANA','http://localhost:8080','/shoujitiyan/admin/index.php?act=top','/shoujitiyan/index.php'),(1241424831,'0.0.0.0',253,'FireFox 3.0.10','Windows XP','zh-cn','IANA','http://localhost:8080','/shoujitiyan/admin/goods.php?act=list','/shoujitiyan/goods.php'),(1241498580,'0.0.0.0',257,'FireFox 3.0.10','Windows XP','zh-cn','IANA','http://localhost:8080','/shoujitiyan/admin/index.php?act=top','/shoujitiyan/index.php'),(1241511324,'0.0.0.0',262,'FireFox 3.0.10','Windows XP','zh-cn','IANA','http://localhost:8080','/shoujitiyan/admin/goods.php?act=list','/shoujitiyan/goods.php'),(1241514671,'0.0.0.0',263,'FireFox 3.0.10','Windows XP','zh-cn','IANA','http://localhost:8080','/shoujitiyan/admin/index.php?act=top','/shoujitiyan/index.php'),(1241517726,'0.0.0.0',265,'FireFox 3.0.10','Windows XP','zh-cn','IANA','','','/shoujitiyan/index.php'),(1241946350,'127.0.0.1',39,'FireFox 2.0.0.20','Windows XP','zh-cn','LAN','http://localhost:8080','/shoujitiyan/admin/index.php?act=top','/shoujitiyan/index.php'),(1241965138,'127.0.0.1',41,'FireFox 2.0.0.20','Windows XP','zh-cn','LAN','http://localhost:8080','/','/shoujitiyan/index.php'),(1241966751,'127.0.0.1',43,'FireFox 2.0.0.20','Windows XP','zh-cn','LAN','http://localhost:8080','/shoujitiyan/admin/index.php?act=top','/shoujitiyan/index.php'),(1241970153,'127.0.0.1',45,'FireFox 2.0.0.20','Windows XP','zh-cn','LAN','http://localhost:8080','/shoujitiyan/admin/goods.php?act=list','/shoujitiyan/goods.php'),(1241970640,'127.0.0.1',47,'FireFox 2.0.0.20','Windows XP','zh-cn','LAN','http://localhost:8080','/shoujitiyan/admin/index.php?act=top','/shoujitiyan/index.php'),(1242105962,'0.0.0.0',310,'FireFox 3.0.10','Windows XP','zh-cn','IANA','http://localhost:8080','/shoujitiyan/admin/goods.php?act=list','/shoujitiyan/goods.php'),(1242140915,'127.0.0.1',52,'FireFox 2.0.0.20','Windows XP','zh-cn','LAN','http://localhost:8080','/shoujitiyan/admin/index.php?act=top','/shoujitiyan/index.php'),(1242141002,'127.0.0.1',54,'FireFox 2.0.0.20','Windows XP','zh-cn','LAN','http://localhost:8080','/shoujitiyan/user.php','/shoujitiyan/user.php'),(1242141352,'127.0.0.1',57,'FireFox 2.0.0.20','Windows XP','zh-cn','LAN','http://localhost:8080','/shoujitiyan/user.php?act=address_list','/shoujitiyan/user.php'),(1242141605,'127.0.0.1',59,'FireFox 2.0.0.20','Windows XP','zh-cn','LAN','http://localhost:8080','/shoujitiyan/user.php','/shoujitiyan/user.php'),(1242576210,'127.0.0.1',72,'FireFox 2.0.0.20','Windows XP','zh-cn','LAN','http://localhost:8080','/shoujitiyan/admin/index.php?act=top','/shoujitiyan/index.php'),(1242576982,'127.0.0.1',74,'FireFox 2.0.0.20','Windows XP','zh-cn','LAN','http://localhost:8080','/shoujitiyan/admin/article.php?act=list&uselastfilter=1','/shoujitiyan/article.php'),(1242577205,'127.0.0.1',76,'FireFox 2.0.0.20','Windows XP','zh-cn','LAN','http://localhost:8080','/shoujitiyan/admin/article.php?act=list','/shoujitiyan/article.php'),(1242579230,'127.0.0.1',78,'FireFox 2.0.0.20','Windows XP','zh-cn','LAN','http://localhost:8080','/shoujitiyan/admin/index.php?act=top','/shoujitiyan/index.php'),(1242973907,'0.0.0.0',375,'FireFox 3.0.10','Windows XP','zh-cn','IANA','http://localhost:8080','/shoujitiyan/admin/index.php?act=top','/shoujitiyan/index.php'),(1242974337,'0.0.0.0',377,'FireFox 3.0.10','Windows XP','zh-cn','IANA','http://localhost:8080','/shoujitiyan/','/shoujitiyan/search.php'),(1242976474,'0.0.0.0',379,'FireFox 3.0.10','Windows XP','zh-cn','IANA','http://localhost:8080','/shoujitiyan/admin/index.php?act=top','/shoujitiyan/index.php'),(1244189098,'0.0.0.0',418,'FireFox 3.0.10','Windows XP','zh-cn','IANA','http://localhost:8080','/shoujitiyan/admin/index.php?act=top','/shoujitiyan/index.php'),(1244191271,'0.0.0.0',420,'FireFox 3.0.10','Windows XP','zh-cn','IANA','http://localhost:8080','/shoujitiyan/index.php','/shoujitiyan/article.php'),(1244191479,'0.0.0.0',422,'FireFox 3.0.10','Windows XP','zh-cn','IANA','http://localhost:8080','/shoujitiyan/admin/index.php?act=top','/shoujitiyan/index.php'),(1244193068,'0.0.0.0',426,'FireFox 3.0.10','Windows XP','zh-cn','IANA','http://localhost:8080','/shoujitiyan/article.php?id=33','/shoujitiyan/index.php'),(1244772987,'0.0.0.0',466,'FireFox 3.0.10','Windows XP','zh-cn','IANA','http://localhost:8080','/shoujitiyan/admin/index.php?act=top','/shoujitiyan/index.php'),(1245042503,'0.0.0.0',472,'FireFox 3.0.11','Windows XP','zh-cn','IANA','http://localhost:8080','/shouji/admin/privilege.php?act=login','/shouji/index.php'),(1245042507,'0.0.0.0',472,'FireFox 3.0.11','Windows XP','zh-cn','IANA','http://localhost:8080','/shouji/admin/index.php?act=top','/shouji/index.php'),(1245046089,'0.0.0.0',474,'FireFox 3.0.11','Windows XP','zh-cn','IANA','http://localhost:8080','/shouji/admin/index.php?act=top','/shouji/index.php'),(1245047906,'0.0.0.0',476,'FireFox 3.0.11','Windows XP','zh-cn','IANA','http://localhost:8080','/shouji/goods.php?id=24','/shouji/user.php'),(1245047951,'0.0.0.0',478,'FireFox 3.0.11','Windows XP','zh-cn','IANA','http://localhost:8080','/shouji/group_buy.php?act=view&id=8','/shouji/goods.php'),(1245048514,'0.0.0.0',480,'FireFox 3.0.11','Windows XP','zh-cn','IANA','http://localhost:8080','/shouji/flow.php?step=checkout','/shouji/index.php'),(1245139613,'0.0.0.0',488,'FireFox 3.0.11','Windows XP','zh-cn','IANA','http://localhost:8080','/shouji/admin/index.php?act=top','/shouji/index.php'),(1245140082,'0.0.0.0',490,'FireFox 3.0.11','Windows XP','zh-cn','IANA','','','/shouji/article.php'),(1245145064,'0.0.0.0',493,'FireFox 3.0.11','Windows XP','zh-cn','IANA','http://localhost:8080','/shouji/admin/index.php?act=top','/shouji/index.php'),(1245217308,'0.0.0.0',498,'FireFox 3.0.11','Windows XP','zh-cn','IANA','http://localhost:8080','/','/shouji/index.php'),(1245219380,'0.0.0.0',499,'FireFox 3.0.11','Windows XP','zh-cn','IANA','http://localhost:8080','/shouji/admin/index.php?act=top','/shouji/index.php'),(1245222219,'0.0.0.0',500,'FireFox 3.0.11','Windows XP','zh-cn','IANA','http://localhost:8080','/shouji/admin/goods.php?act=list','/shouji/goods.php'),(1452223657,'127.0.0.1',2,'Safari 537.36','Windows NT','zh-CN,zh','LAN','','','/ecshop/upload/index.php');
/*!40000 ALTER TABLE `ecs_stats` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_suppliers`
--

DROP TABLE IF EXISTS `ecs_suppliers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_suppliers` (
  `suppliers_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `suppliers_name` varchar(255) DEFAULT NULL,
  `suppliers_desc` mediumtext,
  `is_check` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`suppliers_id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_suppliers`
--

LOCK TABLES `ecs_suppliers` WRITE;
/*!40000 ALTER TABLE `ecs_suppliers` DISABLE KEYS */;
INSERT INTO `ecs_suppliers` VALUES (1,'北京供货商','北京供货商',1),(2,'上海供货商','上海供货商',1);
/*!40000 ALTER TABLE `ecs_suppliers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_tag`
--

DROP TABLE IF EXISTS `ecs_tag`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_tag` (
  `tag_id` mediumint(8) NOT NULL AUTO_INCREMENT,
  `user_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `goods_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `tag_words` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`tag_id`),
  KEY `user_id` (`user_id`),
  KEY `goods_id` (`goods_id`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_tag`
--

LOCK TABLES `ecs_tag` WRITE;
/*!40000 ALTER TABLE `ecs_tag` DISABLE KEYS */;
INSERT INTO `ecs_tag` VALUES (1,0,13,'音乐手机'),(2,0,14,'音乐手机'),(3,0,23,'音乐手机'),(4,0,23,'智能手机'),(5,0,14,'智能手机'),(6,0,22,'智能手机'),(7,0,31,'音乐手机');
/*!40000 ALTER TABLE `ecs_tag` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_template`
--

DROP TABLE IF EXISTS `ecs_template`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_template` (
  `filename` varchar(30) NOT NULL DEFAULT '',
  `region` varchar(40) NOT NULL DEFAULT '',
  `library` varchar(40) NOT NULL DEFAULT '',
  `sort_order` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `id` smallint(5) unsigned NOT NULL DEFAULT '0',
  `number` tinyint(1) unsigned NOT NULL DEFAULT '5',
  `type` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `theme` varchar(60) NOT NULL DEFAULT '',
  `remarks` varchar(30) NOT NULL DEFAULT '',
  KEY `filename` (`filename`,`region`),
  KEY `theme` (`theme`),
  KEY `remarks` (`remarks`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_template`
--

LOCK TABLES `ecs_template` WRITE;
/*!40000 ALTER TABLE `ecs_template` DISABLE KEYS */;
INSERT INTO `ecs_template` VALUES ('index','左边区域','/library/vote_list.lbi',8,0,0,0,'default',''),('index','左边区域','/library/email_list.lbi',9,0,0,0,'default',''),('index','左边区域','/library/order_query.lbi',6,0,0,0,'default',''),('index','左边区域','/library/cart.lbi',0,0,0,0,'default',''),('index','左边区域','/library/promotion_info.lbi',3,0,0,0,'default',''),('index','左边区域','/library/auction.lbi',4,0,3,0,'default',''),('index','左边区域','/library/group_buy.lbi',5,0,3,0,'default',''),('index','','/library/recommend_promotion.lbi',0,0,4,0,'default',''),('index','右边主区域','/library/recommend_hot.lbi',2,0,10,0,'default',''),('index','右边主区域','/library/recommend_new.lbi',1,0,10,0,'default',''),('index','右边主区域','/library/recommend_best.lbi',0,0,10,0,'default',''),('index','左边区域','/library/invoice_query.lbi',7,0,0,0,'default',''),('index','左边区域','/library/top10.lbi',2,0,0,0,'default',''),('index','左边区域','/library/category_tree.lbi',1,0,0,0,'default',''),('index','','/library/brands.lbi',0,0,11,0,'default',''),('category','左边区域','/library/category_tree.lbi',1,0,0,0,'default',''),('category','右边区域','/library/recommend_best.lbi',0,0,5,0,'default',''),('category','右边区域','/library/goods_list.lbi',1,0,0,0,'default',''),('category','右边区域','/library/pages.lbi',2,0,0,0,'default',''),('category','左边区域','/library/cart.lbi',0,0,0,0,'default',''),('category','左边区域','/library/price_grade.lbi',3,0,0,0,'default',''),('category','左边区域','/library/filter_attr.lbi',2,0,0,0,'default','');
/*!40000 ALTER TABLE `ecs_template` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_topic`
--

DROP TABLE IF EXISTS `ecs_topic`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_topic` (
  `topic_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL DEFAULT '''''',
  `intro` text NOT NULL,
  `start_time` int(11) NOT NULL DEFAULT '0',
  `end_time` int(10) NOT NULL DEFAULT '0',
  `data` text NOT NULL,
  `template` varchar(255) NOT NULL DEFAULT '''''',
  `css` text NOT NULL,
  `topic_img` varchar(255) DEFAULT NULL,
  `title_pic` varchar(255) DEFAULT NULL,
  `base_style` char(6) DEFAULT NULL,
  `htmls` mediumtext,
  `keywords` varchar(255) DEFAULT NULL,
  `description` varchar(255) DEFAULT NULL,
  KEY `topic_id` (`topic_id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_topic`
--

LOCK TABLES `ecs_topic` WRITE;
/*!40000 ALTER TABLE `ecs_topic` DISABLE KEYS */;
INSERT INTO `ecs_topic` VALUES (1,'夏新优惠大酬宾','<p>夏新产品优惠开始了</p>',1241107200,1246291200,'O:8:\"stdClass\":1:{s:7:\"default\";a:1:{i:0;s:11:\"夏新N7|17\";}}','','',NULL,NULL,NULL,NULL,NULL,NULL);
/*!40000 ALTER TABLE `ecs_topic` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_user_account`
--

DROP TABLE IF EXISTS `ecs_user_account`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_user_account` (
  `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `admin_user` varchar(255) NOT NULL,
  `amount` decimal(10,2) NOT NULL,
  `add_time` int(10) NOT NULL DEFAULT '0',
  `paid_time` int(10) NOT NULL DEFAULT '0',
  `admin_note` varchar(255) NOT NULL,
  `user_note` varchar(255) NOT NULL,
  `process_type` tinyint(1) NOT NULL DEFAULT '0',
  `payment` varchar(90) NOT NULL,
  `is_paid` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `user_id` (`user_id`),
  KEY `is_paid` (`is_paid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_user_account`
--

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

--
-- Table structure for table `ecs_user_address`
--

DROP TABLE IF EXISTS `ecs_user_address`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_user_address` (
  `address_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `address_name` varchar(50) NOT NULL DEFAULT '',
  `user_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `consignee` varchar(60) NOT NULL DEFAULT '',
  `email` varchar(60) NOT NULL DEFAULT '',
  `country` smallint(5) NOT NULL DEFAULT '0',
  `province` smallint(5) NOT NULL DEFAULT '0',
  `city` smallint(5) NOT NULL DEFAULT '0',
  `district` smallint(5) NOT NULL DEFAULT '0',
  `address` varchar(120) NOT NULL DEFAULT '',
  `zipcode` varchar(60) NOT NULL DEFAULT '',
  `tel` varchar(60) NOT NULL DEFAULT '',
  `mobile` varchar(60) NOT NULL DEFAULT '',
  `sign_building` varchar(120) NOT NULL DEFAULT '',
  `best_time` varchar(120) NOT NULL DEFAULT '',
  PRIMARY KEY (`address_id`),
  KEY `user_id` (`user_id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_user_address`
--

LOCK TABLES `ecs_user_address` WRITE;
/*!40000 ALTER TABLE `ecs_user_address` DISABLE KEYS */;
INSERT INTO `ecs_user_address` VALUES (1,'',1,'刘先生','ecshop@ecshop.com',1,2,52,502,'海兴大厦','','010-25851234','13986765412','',''),(2,'',3,'叶先生','text@ecshop.com',1,2,52,510,'通州区旗舰凯旋小区','','13588104710','','','');
/*!40000 ALTER TABLE `ecs_user_address` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_user_bonus`
--

DROP TABLE IF EXISTS `ecs_user_bonus`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_user_bonus` (
  `bonus_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `bonus_type_id` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `bonus_sn` bigint(20) unsigned NOT NULL DEFAULT '0',
  `user_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `used_time` int(10) unsigned NOT NULL DEFAULT '0',
  `order_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `emailed` tinyint(3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`bonus_id`),
  KEY `user_id` (`user_id`)
) ENGINE=MyISAM AUTO_INCREMENT=32 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_user_bonus`
--

LOCK TABLES `ecs_user_bonus` WRITE;
/*!40000 ALTER TABLE `ecs_user_bonus` DISABLE KEYS */;
INSERT INTO `ecs_user_bonus` VALUES (1,3,0,1,1242142681,4,0),(2,4,1000003379,1,1242976699,14,0),(3,4,1000018450,0,0,0,0),(4,4,1000023774,0,0,0,0),(5,4,1000039394,0,0,0,0),(6,4,1000049305,0,0,0,0),(7,4,1000052248,0,0,0,0),(8,4,1000061542,0,0,0,0),(9,4,1000070278,0,0,0,0),(10,4,1000080588,0,0,0,0),(11,4,1000091405,0,0,0,0),(24,3,0,1,0,0,0),(25,3,0,1,0,0,0),(26,3,0,1,0,0,0),(27,3,0,1,0,0,0),(28,3,0,1,0,0,0),(29,3,0,1,0,0,0),(30,3,0,1,0,0,0),(31,3,0,1,0,0,0);
/*!40000 ALTER TABLE `ecs_user_bonus` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_user_feed`
--

DROP TABLE IF EXISTS `ecs_user_feed`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_user_feed` (
  `feed_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `value_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `goods_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `feed_type` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_feed` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`feed_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_user_feed`
--

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

--
-- Table structure for table `ecs_user_rank`
--

DROP TABLE IF EXISTS `ecs_user_rank`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_user_rank` (
  `rank_id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
  `rank_name` varchar(30) NOT NULL DEFAULT '',
  `min_points` int(10) unsigned NOT NULL DEFAULT '0',
  `max_points` int(10) unsigned NOT NULL DEFAULT '0',
  `discount` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `show_price` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `special_rank` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`rank_id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_user_rank`
--

LOCK TABLES `ecs_user_rank` WRITE;
/*!40000 ALTER TABLE `ecs_user_rank` DISABLE KEYS */;
INSERT INTO `ecs_user_rank` VALUES (1,'注册用户',0,10000,100,1,0),(2,'vip',10000,10000000,95,1,0),(3,'代销用户',0,0,90,0,1);
/*!40000 ALTER TABLE `ecs_user_rank` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_users`
--

DROP TABLE IF EXISTS `ecs_users`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_users` (
  `user_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `email` varchar(60) NOT NULL DEFAULT '',
  `user_name` varchar(60) NOT NULL DEFAULT '',
  `password` varchar(32) NOT NULL DEFAULT '',
  `question` varchar(255) NOT NULL DEFAULT '',
  `answer` varchar(255) NOT NULL DEFAULT '',
  `sex` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `birthday` date NOT NULL DEFAULT '0000-00-00',
  `user_money` decimal(10,2) NOT NULL DEFAULT '0.00',
  `frozen_money` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pay_points` int(10) unsigned NOT NULL DEFAULT '0',
  `rank_points` int(10) unsigned NOT NULL DEFAULT '0',
  `address_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `reg_time` int(10) unsigned NOT NULL DEFAULT '0',
  `last_login` int(11) unsigned NOT NULL DEFAULT '0',
  `last_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `last_ip` varchar(15) NOT NULL DEFAULT '',
  `visit_count` smallint(5) unsigned NOT NULL DEFAULT '0',
  `user_rank` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `is_special` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `salt` varchar(10) NOT NULL DEFAULT '0',
  `parent_id` mediumint(9) NOT NULL DEFAULT '0',
  `flag` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `alias` varchar(60) NOT NULL,
  `msn` varchar(60) NOT NULL,
  `qq` varchar(20) NOT NULL,
  `office_phone` varchar(20) NOT NULL,
  `home_phone` varchar(20) NOT NULL,
  `mobile_phone` varchar(20) NOT NULL,
  `is_validated` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `credit_line` decimal(10,2) unsigned NOT NULL,
  `passwd_question` varchar(50) DEFAULT NULL,
  `passwd_answer` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`user_id`),
  UNIQUE KEY `user_name` (`user_name`),
  KEY `email` (`email`),
  KEY `parent_id` (`parent_id`),
  KEY `flag` (`flag`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_users`
--

LOCK TABLES `ecs_users` WRITE;
/*!40000 ALTER TABLE `ecs_users` DISABLE KEYS */;
INSERT INTO `ecs_users` VALUES (1,'ecshop@ecshop.com','ecshop','554fcae493e564ee0dc75bdf2ebf94ca','','',0,'1960-03-03',0.00,0.00,98388,15390,1,0,1245048540,'0000-00-00 00:00:00','0.0.0.0',11,0,0,'0',0,0,'','','','','','',0,0.00,NULL,NULL),(2,'vip@ecshop.com','vip','232059cb5361a9336ccf1b8c2ba7657a','','',0,'1949-01-01',0.00,0.00,0,0,0,0,0,'0000-00-00 00:00:00','',0,0,0,'0',0,0,'','','','','','',0,0.00,NULL,NULL),(3,'text@ecshop.com','text','1cb251ec0d568de6a929b520c4aed8d1','','',0,'1949-01-01',0.00,0.00,0,0,2,0,1242973574,'0000-00-00 00:00:00','0.0.0.0',2,0,0,'0',0,0,'','','','','','',0,0.00,NULL,NULL),(5,'zuanshi@ecshop.com','zuanshi','815a71fb334412e7ba4595741c5a111d','','',0,'1949-01-01',0.00,10000.00,0,0,0,0,0,'0000-00-00 00:00:00','',0,3,0,'0',0,0,'','','','','','',0,0.00,NULL,NULL);
/*!40000 ALTER TABLE `ecs_users` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_virtual_card`
--

DROP TABLE IF EXISTS `ecs_virtual_card`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_virtual_card` (
  `card_id` mediumint(8) NOT NULL AUTO_INCREMENT,
  `goods_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `card_sn` varchar(60) NOT NULL DEFAULT '',
  `card_password` varchar(60) NOT NULL DEFAULT '',
  `add_date` int(11) NOT NULL DEFAULT '0',
  `end_date` int(11) NOT NULL DEFAULT '0',
  `is_saled` tinyint(1) NOT NULL DEFAULT '0',
  `order_sn` varchar(20) NOT NULL DEFAULT '',
  `crc32` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`card_id`),
  KEY `goods_id` (`goods_id`),
  KEY `car_sn` (`card_sn`),
  KEY `is_saled` (`is_saled`)
) ENGINE=MyISAM AUTO_INCREMENT=16 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_virtual_card`
--

LOCK TABLES `ecs_virtual_card` WRITE;
/*!40000 ALTER TABLE `ecs_virtual_card` DISABLE KEYS */;
INSERT INTO `ecs_virtual_card` VALUES (1,25,'RVlYQhFY','RVlYQhFYQg',1241972716,1273449600,0,'',-1958172277),(2,25,'RVlYQhFYQhFQEg','RVlYQhFYQhFQEg',1241972726,1273449600,0,'',-1958172277),(3,26,'RVlYQhFYQg','RVlYQhFYQg',1241972801,1273449600,0,'',-1958172277),(4,26,'RVlYQhFYQhFQEVo','RVlYQhFYQhFQEVo',1241972811,1273449600,0,'',-1958172277),(5,27,'RlpbQRI','RlpbQRJbQQ',1241972903,1273449600,0,'',-1958172277),(6,27,'RlpbQRJbQg','RVpbQBJaQRE',1241972911,1273449600,0,'',-1958172277),(7,30,'RVtbQBJYQBJQE1lU','R1pYRxJaQhRTEVhXSEdaWA',1241973121,1273449600,0,'',-1958172277),(8,30,'R1pYRxJYRxNTFV9S','TF5cQBVdQA',1241973127,1273449600,0,'',-1958172277),(9,30,'Q15cSxZeRhhWFg','TV9fSxdfSxdXGFxTQUI',1241973134,1273449600,0,'',-1958172277),(10,30,'QVxaRhRaRhRSF11d','TFBeRRheRRhWFlJdSU1Q',1241973146,1273449600,0,'',-1958172277),(11,30,'R1xaRxNcRw','QF1dRRVdRBY',1241973157,1273449600,0,'',-1958172277),(12,30,'RlpbQRNdQBJU','R1xaQRRaQRVSEg',1241973164,1273449600,0,'',-1958172277),(13,30,'RltdQBRaQQ','Rl1dRRheRRhYF10',1241973170,1273449600,0,'',-1958172277),(14,30,'RltdQBVeRhg','RlxaQRZeRhVV',1241973178,1273449600,0,'',-1958172277),(15,30,'QFtbRhRaQRZVEw','Rl1aQRRaQRZUElg',1241973185,1273449600,0,'',-1958172277);
/*!40000 ALTER TABLE `ecs_virtual_card` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_volume_price`
--

DROP TABLE IF EXISTS `ecs_volume_price`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_volume_price` (
  `price_type` tinyint(1) unsigned NOT NULL,
  `goods_id` mediumint(8) unsigned NOT NULL,
  `volume_number` smallint(5) unsigned NOT NULL DEFAULT '0',
  `volume_price` decimal(10,2) NOT NULL DEFAULT '0.00',
  PRIMARY KEY (`price_type`,`goods_id`,`volume_number`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_volume_price`
--

LOCK TABLES `ecs_volume_price` WRITE;
/*!40000 ALTER TABLE `ecs_volume_price` DISABLE KEYS */;
INSERT INTO `ecs_volume_price` VALUES (1,1,5,1366.00),(1,9,3,2200.00),(1,9,5,2100.00),(1,13,5,1150.00),(1,13,3,1200.00);
/*!40000 ALTER TABLE `ecs_volume_price` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_vote`
--

DROP TABLE IF EXISTS `ecs_vote`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_vote` (
  `vote_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `vote_name` varchar(250) NOT NULL DEFAULT '',
  `start_time` int(11) unsigned NOT NULL DEFAULT '0',
  `end_time` int(11) unsigned NOT NULL DEFAULT '0',
  `can_multi` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `vote_count` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`vote_id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_vote`
--

LOCK TABLES `ecs_vote` WRITE;
/*!40000 ALTER TABLE `ecs_vote` DISABLE KEYS */;
INSERT INTO `ecs_vote` VALUES (1,'您从哪里知道我们的网站',1213200000,1274803200,0,0);
/*!40000 ALTER TABLE `ecs_vote` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_vote_log`
--

DROP TABLE IF EXISTS `ecs_vote_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_vote_log` (
  `log_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `vote_id` smallint(5) unsigned NOT NULL DEFAULT '0',
  `ip_address` varchar(15) NOT NULL DEFAULT '',
  `vote_time` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`log_id`),
  KEY `vote_id` (`vote_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_vote_log`
--

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

--
-- Table structure for table `ecs_vote_option`
--

DROP TABLE IF EXISTS `ecs_vote_option`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_vote_option` (
  `option_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `vote_id` smallint(5) unsigned NOT NULL DEFAULT '0',
  `option_name` varchar(250) NOT NULL DEFAULT '',
  `option_count` int(8) unsigned NOT NULL DEFAULT '0',
  `option_order` tinyint(3) unsigned NOT NULL DEFAULT '100',
  PRIMARY KEY (`option_id`),
  KEY `vote_id` (`vote_id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_vote_option`
--

LOCK TABLES `ecs_vote_option` WRITE;
/*!40000 ALTER TABLE `ecs_vote_option` DISABLE KEYS */;
INSERT INTO `ecs_vote_option` VALUES (1,1,'论坛',0,100),(2,1,'朋友',0,100),(3,1,'友情链接',0,100);
/*!40000 ALTER TABLE `ecs_vote_option` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ecs_wholesale`
--

DROP TABLE IF EXISTS `ecs_wholesale`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ecs_wholesale` (
  `act_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `goods_id` mediumint(8) unsigned NOT NULL,
  `goods_name` varchar(255) NOT NULL,
  `rank_ids` varchar(255) NOT NULL,
  `prices` text NOT NULL,
  `enabled` tinyint(3) unsigned NOT NULL,
  PRIMARY KEY (`act_id`),
  KEY `goods_id` (`goods_id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ecs_wholesale`
--

LOCK TABLES `ecs_wholesale` WRITE;
/*!40000 ALTER TABLE `ecs_wholesale` DISABLE KEYS */;
INSERT INTO `ecs_wholesale` VALUES (1,21,'金立 A30','1,2','a:1:{i:0;a:2:{s:4:\"attr\";a:1:{i:120;s:1:\"0\";}s:7:\"qp_list\";a:2:{i:0;a:2:{s:8:\"quantity\";i:50;s:5:\"price\";d:1700;}i:1;a:2:{s:8:\"quantity\";i:100;s:5:\"price\";d:1680;}}}}',1);
/*!40000 ALTER TABLE `ecs_wholesale` 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 2020-07-23 11:34:19

posted on 2021-08-23 17:24  snake_skin  阅读(273)  评论(0编辑  收藏  举报