feat: implement WeChat mini login with openid bind and phone match
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
89d9471f37
commit
efd7efbc69
15 files changed
+524
-3
No files matched your search
@@ -0,0 +1,8 @@
|
||||
-- 员工微信小程序 openid 绑定字段(微信授权登录)
|
||||
-- MySQL 5.7:唯一索引允许多个 NULL
|
||||
|
||||
ALTER TABLE `sys_user`
|
||||
ADD COLUMN `wx_openid` varchar(64) DEFAULT NULL COMMENT '微信小程序 openid' AFTER `phone_no`;
|
||||
|
||||
ALTER TABLE `sys_user`
|
||||
ADD UNIQUE INDEX `uk_sys_user_wx_openid` (`wx_openid`);
|
||||
Reference in new issue
Block a user