-
Notifications
You must be signed in to change notification settings - Fork 489
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
是退出操作后,重新登陆,企业列表数据消失 #18
Comments
@gaoyunch 二、我们的计划: 这个原产品设计思路是,这个超管必须是已添加企业的员工。因为即使是超管,如果不属于任何企业,那么官网微信接口将无法有效调用 但是为了更好的完善这个系统,这块的业务企业关联,我们计划分离出来,脱离企业而操作相应数据。之后会有相应commit合并,请之后查看 |
这个手机号原本就是这个企业的员工 |
@Stone-Ice 不过这个手机号关联了多个企业,是这个原因吗? |
@gaoyunch 可以拉取1.x分支更新一下代码。另外,因为此次设计的变更(当然,为了更好的接入CRM系统),波及到了租户。所以需要更新一下企业表,如下 ALTER TABLE `mochat`.`mc_corp`
ADD COLUMN `tenant_id` int(11) NULL DEFAULT 0 COMMENT '租户ID' AFTER `encoding_aes_key`; 另外, |
@Stone-Ice 还需要兼容老数据,需要执行 update `mc_corp` set `tenant_id` = 1; |
我是初始化项目重新测试 https://user-images.githubusercontent.com/30514120/105844528-5107a500-6014-11eb-8ab1-1d871a79e427.mov |
我用的环境
问题及现象
RT
2021-01-24.3.43.02.mov
The text was updated successfully, but these errors were encountered: