温柔网

 找回密码
 注册

查看: 367|回复: 0

解冻与激活邮件的SQL

  [复制链接]
发表于 2019-2-1 13:33:27 | 显示全部楼层 |阅读模式
批量解冻SQL:
update pre_common_member set freeze=0 where freeze!=0

单独解冻
update `pre_common_member`set  freeze = 0  WHERE uid = 1


批量激活邮件认证用户
UPDATE `cdb_members` SET `groupid` = '10' WHERE groupid='8';

UPDATE `pre_common_member` SET `emailstatus` = '1'

单个激活某个需要邮件激活之用户
UPDATE `cdb_members` SET `adminid` = '0', `groupid` = '10' WHERE  `usename `= `该用户 `;

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|温柔网 ( 浙ICP备13033583号-8 )

GMT+8, 2020-9-24 10:20 , Processed in 0.037009 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表