SET FOREIGN_KEY_CHECKS=0;


DROP TABLE IF EXISTS `wst_sys_configs`;
CREATE TABLE `wst_sys_configs` (
  `configId` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增ID',
  `fieldName` varchar(50) DEFAULT NULL COMMENT '字段名称',
  `fieldCode` varchar(50) DEFAULT NULL,
  `fieldValue` text,
  `fieldType` tinyint(4) DEFAULT '0',
  PRIMARY KEY (`configId`)
) ENGINE=InnoDB AUTO_INCREMENT=134 DEFAULT CHARSET=utf8mb4;


INSERT INTO `wst_sys_configs` VALUES ('1', '店铺名称', 'shopName', 'WSTShop网上商店', '0'),
('2', '店铺标题', 'seoShopTitle', 'WSTShop网上商店', '0'),
('3', '店铺描述', 'seoShopDesc', 'WSTShop是一款基于php语言开发的B2C开源网店系统,系统功能强大，扩展性好，产品涵盖手机、微信、安卓、苹果等访问端的接入，适合企业及个人快速构建个性化网上商店！', '0'),
('4', '店铺关键字', 'seoShopKeywords', 'B2C开源系统,thinkphp开源网上商店,单商户系统,WSTShop', '0'),
('5', '联系邮箱', 'serviceEmail', 'wstshop@qq.com', '0'),
('6', '当前系统版本号', 'wstVersion', '3.2.0_200306', '0'),
('7', '系统版本MD5', 'wstMd5', '87ddfa59fa73d506da30ee10983b1e0d', '0'),
('8', '移动端图片后缀', 'wstMobileImgSuffix', '_m', '0'),
('14', '访问统计', 'visitStatistics', '&lt;script src=&quot;https://s13.cnzz.com/z_stat.php?id=1263804932&amp;web_id=1263804932&quot; language=&quot;JavaScript&quot;&gt;&lt;/script&gt;', '0'),
('15', 'SMTP服务器', 'mailSmtp', 'smtp.163.com', '0'),
('16', 'SMTP端口', 'mailPort', '25', '0'),
('17', '是否验证SMTP', 'mailAuth', '1', '0'),
('18', 'SMTP发件人邮箱', 'mailAddress', '', '0'),
('19', 'SMTP登录账号', 'mailUserName', '', '0'),
('20', 'SMTP登录密码', 'mailPassword', '', '0'),
('21', '发件人名称', 'mailSendTitle', '', '0'),
('22', '短信账号', 'smsKey', null, '0'),
('23', '短信密码', 'smsPass', null, '0'),
('24', '号码每日发送数', 'smsLimit', '20', '0'),
('26', '授权码', 'shopLicense', null, '0'),
('27', '商城Logo', 'shopLogo', 'upload/sysconfigs/2016-12/585d05bceb629.png', '0'),
('28', '商品默认图片', 'goodsLogo', 'upload/sysconfigs/2016-12/585d06c60bbfb.png', '0'),
('29', '底部设置', 'shopFooter', 'COPYRIGHT 2015-2016 广州商淘信息科技有限公司 版权所有', '0'),
('30', '联系电话', 'serviceTel', '020-85289921', '0'),
('31', 'QQ', 'serviceQQ', '153289970', '0'),
('33', '热搜关键词', 'hotWordsSearch', 'WSTShop,网上商店,华为荣耀手机,酒仙网剑南春', '0'),
('34', '开启短信发送验证码', 'smsVerfy', '0', '0'),
('35', '开启手机验证', 'smsOpen', '1', '0'),
('37', '商城禁用关键字', 'registerLimitWords', 'admin,system,fuck', '0'),
('38', '结算金额设置', 'settlementStartMoney', null, '0'),
('39', '开启积分支付', 'isOpenScorePay', '1', '0'),
('40', '开启下单获取积分', 'isOrderScore', '1', '0'),
('41', '开启评价获取积分', 'isAppraisesScore', '1', '0'),
('42', '积分与金钱兑换比例', 'scoreCashRatio', null, '0'),
('43', '自动收货期限', 'autoReceiveDays', '10', '0'),
('44', '自动评价期限', 'autoAppraiseDays', '10', '0'),
('53', '会员默认头像', 'userLogo', 'upload/sysconfigs/2016-12/585cf2d46c3d8.png', '0'),
('54', '默认省份', 'defaultProvince', null, '0'),
('55', '水印文字', 'watermarkWord', '', '0'),
('56', '水印文字大小', 'watermarkSize', '', '0'),
('57', '水印文字颜色', 'watermarkColor', '', '0'),
('58', '水印文件', 'watermarkFile', 'upload/sysconfigs/2016-12/585d09863ded2.gif', '0'),
('59', '水印位置', 'watermarkPosition', '0', '0'),
('60', '水印透明度', 'watermarkOpacity', '50', '0'),
('61', '水印字体', 'watermarkTtf', '', '0'),
('62', '商城口号', 'shopSlogan', '为创业赋能，为电商加速', '0'),
('63', '热搜广告词', 'adsWordsSearch', '商淘网上商店', '0'),
('65', '未付款订单有效期', 'autoCancelNoPayDays', '24', '0'),
('66', '默认运费', 'defaultFreight', '0', '0'),
('67', '禁用关键字', 'limitWords', 'admin', '0'),
('68', '评价获得积分', 'appraisesScore', '5', '0'),
('69', '积分兑换金额', 'scoreToMoney', '100', '0'),
('70', '用户提现金额限制', 'drawCashUserLimit', '10', '0'),
('71', '金额兑换积分比例', 'moneyToScore', '1', '0'),
('72', '商城开关', 'seoShopSwitch', '1', '0'),
('73', '商城关闭原因', 'seoShopSwitchDesc', '商城暂时关闭', '0'),
('74', '累计签到获得的积分', 'signScore', '5,10,15,20,25,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,', '3'),
('75', '签到开关', 'signScoreSwitch', '1', '3'),
('76', '用户下单微信提示', 'wxSubmitOrderTip', '0', '0'),
('77', '支付订单微信提示', 'wxPayOrderTip', '0', '0'),
('78', '取消订单微信提示', 'wxCancelOrderTip', '0', '0'),
('79', '拒收订单微信提示', 'wxRejectOrderTip', '0', '0'),
('80', '申请退款微信提示', 'wxRefundOrderTip', '0', '0'),
('81', '申请提现微信提示', 'wxCashDrawsTip', '0', '0'),
('82', '用户下单微信提示', 'submitOrderTipUsers', '', '0'),
('83', '支付订单微信提示', 'payOrderTipUsers', '', '0'),
('84', '取消订单微信提示', 'cancelOrderTipUsers', '', '0'),
('85', '拒收订单微信提示', 'rejectOrderTipUsers', '', '0'),
('86', '申请退款微信提示', 'refundOrderTipUsers', '', '0'),
('87', '申请提现微信提示', 'cashDrawsTipUsers', '', '0'),
('88', '用户下单短信提示', 'smsSubmitOrderTip', '0', '0'),
('89', '支付订单短信提示', 'smsPayOrderTip', '0', '0'),
('90', '取消订单短信提示', 'smsCancelOrderTip', '0', '0'),
('91', '拒收订单短信提示', 'smsRejectOrderTip', '0', '0'),
('92', '申请退款短信提示', 'smsRefundOrderTip', '0', '0'),
('93', '申请提现短信提示', 'smsCashDrawsTip', '0', '0'),
('94', '用户下单微信提示', 'wxSubmitOrderTip', '0', '0'),
('95', '支付订单微信提示', 'wxPayOrderTip', '0', '0'),
('96', '取消订单微信提示', 'wxCancelOrderTip', '0', '0'),
('97', '拒收订单微信提示', 'wxRejectOrderTip', '0', '0'),
('98', '申请退款微信提示', 'wxRefundOrderTip', '0', '0'),
('99', '申请提现微信提示', 'wxCashDrawsTip', '0', '0'),
('100', '用户下单微信提示', 'submitOrderTipUsers', '', '0'),
('101', '支付订单微信提示', 'payOrderTipUsers', '', '0'),
('102', '取消订单微信提示', 'cancelOrderTipUsers', '', '0'),
('103', '拒收订单微信提示', 'rejectOrderTipUsers', '', '0'),
('104', '申请退款微信提示', 'refundOrderTipUsers', '', '0'),
('105', '申请提现微信提示', 'cashDrawsTipUsers', '', '0'),
('106', '用户下单短信提示', 'smsSubmitOrderTip', '0', '0'),
('107', '支付订单短信提示', 'smsPayOrderTip', '0', '0'),
('108', '取消订单短信提示', 'smsCancelOrderTip', '0', '0'),
('109', '拒收订单短信提示', 'smsRejectOrderTip', '0', '0'),
('110', '申请退款短信提示', 'smsRefundOrderTip', '0', '0'),
('111', '申请提现短信提示', 'smsCashDrawsTip', '0', '0'),
('112', '商品咨询默认是否显示', 'isConsult', '1', '0'),
('113', '订单评价默认是否显示', 'isAppraise', '1', '0'),
('114', '开启邮件发送', 'mailOpen', '0', '0'),
('115', '调试模式是否开启', 'isDebug', '0', '0'),
('116', '系统版权', 'copyRight', '', '0'),
('117', '是否开启SSL', 'mailOpenSSL', '0', '0'),
('118', '对象存储服务器', 'ossService', '', '0'),
('119', 'AccessKey ID', 'ossAccessKey', '', '0'),
('120', 'Access Key Secret', 'ossAccessSecret', '', '0'),
('121', 'Bucket', 'ossBucket', '', '0'),
('122', 'Bucket域名', 'ossBucketDomain', '', '0'),
('123', '链接参数加密秘钥', 'urlSecretKey', 'WSTShop', '0'),
('124', '电脑端登录方式', 'loginType', '1', '0'),
('125', '移动端登录方式', 'mobileLoginType', '1', '0'),
('126', '微信端登录方式', 'wechatAutoRegister', '0', '0'),
('127', '小程序端登录方式', 'weappAutoRegister', '0', '0'),
('128', '是否开启会员充值', 'isOpenRecharge', '1', '0'),
('129', '电脑端注册方式', 'registerType', '2', '0'),
('130', '移动端注册方式', 'mobileRegisterType', '2', '0'),
('131', '系统标题', 'sysTitle', '商淘软件', '0'),
('132', '系统简称', 'sysShortTitle', '商淘', '0'),
('133', '是否启用自定义验证码', 'isAddonCaptcha', '0', '100');
