| | |
| | | import com.xcong.excoin.utils.ShareCodeUtil; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | |
| | | import org.springframework.security.core.context.SecurityContextHolder; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | |
| | | |
| | | /** |
| | | * 验证输入的验证码 |
| | | * |
| | | * @param type 验证类型1:电话2:邮箱 |
| | | * @param phone |
| | | * @param email |
| | |
| | | * TODO dingtalk |
| | | |
| | | Constant.excutor.execute(new Runnable() { |
| | | @Override |
| | | public void run() { |
| | | @Override public void run() { |
| | | DingTalkUtils.sendActionCard(4); |
| | | } |
| | | });*/ |
| | |
| | | if (ObjectUtil.isEmpty(memberEntity)) { |
| | | return Result.fail(MessageSourceUtils.getString("member_service_0003")); |
| | | } |
| | | |
| | | String token = LoginUserUtils.getAppLoginUserToken(); |
| | | redisUtils.del(AppContants.APP_LOGIN_PREFIX + token); |
| | | SecurityContextHolder.clearContext(); |
| | | return Result.ok(MessageSourceUtils.getString("member_service_0071")); |
| | | } |
| | | |
| | |
| | | /** |
| | | * TODO dingtalk |
| | | Constant.excutor.execute(new Runnable() { |
| | | @Override |
| | | public void run() { |
| | | @Override public void run() { |
| | | DingTalkUtils.sendActionCard(3); |
| | | } |
| | | }); |