Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
7b53b25e
Commit
7b53b25e
authored
Jul 24, 2018
by
Menethil
Browse files
添加user_fromid表的创建脚本
parent
bb6e42cb
Changes
3
Hide whitespace changes
Inline
Side-by-side
litemall-admin-api/pom.xml
View file @
7b53b25e
...
...
@@ -29,7 +29,6 @@
</dependencies>
<build>
<resources>
<resource>
<directory>
src/main/resources
</directory>
...
...
litemall-core/src/main/resources/application-core.yml
View file @
7b53b25e
...
...
@@ -7,6 +7,7 @@ litemall:
mch-key
:
xxxxxx
notify-url
:
http://www.example.com/wx/order/pay-notify
#通知相关配置
notify
:
mail
:
# 邮件通知配置,邮箱一般用于接收业务通知例如收到新的订单,sendto 定义邮件接收者,通常为商城运营人员
...
...
litemall-db/sql/litemall_user_formid.sql
0 → 100644
View file @
7b53b25e
/*
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
;
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment