cxt2012 发表于 2019-2-1 13:33:27

解冻与激活邮件的SQL

批量解冻SQL:
update pre_common_member set freeze=0 where freeze!=0

单独解冻
update `pre_common_member`setfreeze = 0WHERE 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 `= `该用户 `;

页: [1]
查看完整版本: 解冻与激活邮件的SQL