| | |
| | | package com.doumee.service.business; |
| | | |
| | | import cn.binarywang.wx.miniapp.bean.WxMaJscode2SessionResult; |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.doumee.config.wx.WxMiniConfig; |
| | | import com.doumee.core.constants.Constants; |
| | | import com.doumee.core.constants.ResponseStatus; |
| | | import com.doumee.core.exception.BusinessException; |
| | | import com.doumee.core.model.PageData; |
| | | import com.doumee.core.model.PageWrap; |
| | | import com.doumee.dao.business.model.Member; |
| | | import com.doumee.dao.dto.WxPhoneRequest; |
| | | import com.doumee.dao.vo.AccountResponse; |
| | | import com.doumee.dao.vo.UserCenterVO; |
| | | import me.chanjar.weixin.common.error.WxErrorException; |
| | | import org.apache.commons.lang3.StringUtils; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | import java.util.Objects; |
| | | |
| | | /** |
| | | * 会员信息表Service定义 |
| | |
| | | * @return long |
| | | */ |
| | | long count(Member member); |
| | | |
| | | |
| | | |
| | | /***************小程序接口*************/ |
| | | |
| | | /** |
| | | * 授权登录 根据openid查询账号 如果查询到 则自动登录 |
| | | * @param code |
| | | * @return |
| | | */ |
| | | AccountResponse wxLogin(String code); |
| | | |
| | | /** |
| | | * 授权手机号 根据手机号查询用户信息 如果查询到 返回登录信息 |
| | | * @param wxPhoneRequest |
| | | * @return |
| | | */ |
| | | AccountResponse wxAuthPhone(WxPhoneRequest wxPhoneRequest); |
| | | |
| | | |
| | | /** |
| | | * 更新个人信息 |
| | | * @param member |
| | | */ |
| | | void editMemberInfo(Member member); |
| | | |
| | | /** |
| | | * 切换用工身份 |
| | | * @param member |
| | | */ |
| | | void editUseIdentity(Member member); |
| | | |
| | | /** |
| | | * 个人信息 |
| | | * @param memberId |
| | | * @return |
| | | */ |
| | | Member getMemberInfo(Integer memberId); |
| | | |
| | | UserCenterVO getPlatformAboutUs(); |
| | | |
| | | void logOff(String token,Integer memberId); |
| | | } |