Commit 7b53b25e authored by Menethil's avatar Menethil
Browse files

添加user_fromid表的创建脚本

parent bb6e42cb
......@@ -29,7 +29,6 @@
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
......
......@@ -7,6 +7,7 @@ litemall:
mch-key: xxxxxx
notify-url: http://www.example.com/wx/order/pay-notify
#通知相关配置
notify:
mail:
# 邮件通知配置,邮箱一般用于接收业务通知例如收到新的订单,sendto 定义邮件接收者,通常为商城运营人员
......
/*
Navicat MySQL Data Transfer
Source Server : 127.0.0.1
Source Server Type : MySQL
Source Server Version : 80011
Source Host : localhost:3306
Source Schema : litemall
Target Server Type : MySQL
Target Server Version : 80011
File Encoding : 65001
Date: 24/07/2018 12:41:27
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for litemall_user_formid
-- ----------------------------
DROP TABLE IF EXISTS `litemall_user_formid`;
CREATE TABLE `litemall_user_formid` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`formId` varchar(63) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '缓存的FormId',
`isprepay` tinyint(1) NOT NULL COMMENT '是FormId还是prepayId',
`useAmount` int(2) NOT NULL COMMENT '可用次数,fromId为1,prepay为3,用1次减1',
`expire_time` datetime(0) NOT NULL COMMENT '过期时间,腾讯规定为7天',
`openId` varchar(63) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '微信登录openid',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
SET FOREIGN_KEY_CHECKS = 1;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment