REPLACE INTO `ecs_shop_config` ( `id` , `parent_id` , `code` , `type` , `store_range` , `store_dir` , `value` )
VALUES (
506, '5', 'mail_charset', 'select', 'UTF8,GB2312,BIG5', '', 'UTF8'
);


REPLACE INTO `ecs_shop_config` ( `id` , `parent_id` , `code` , `type` , `store_range` , `store_dir` , `value` )
VALUES (
319, 3, 'page_size', 'text', '', '', '10'
);


UPDATE `ecs_shop_config` SET `store_range` = '0,1,2' WHERE `code` = 'rewrite' LIMIT 1;