| 12345678910111213141516171819202122232425262728293031323334353637 |
- package com.ylx.massage.service;
- import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
- import com.baomidou.mybatisplus.extension.service.IService;
- import com.ylx.massage.domain.TWxUser;
- import com.ylx.massage.domain.vo.TWxUserVo;
- /**
- * 服务类
- */
- public interface TWxUserService extends IService<TWxUser> {
- /**
- * 根据openId查询用户
- * @param openId
- * @return TWxUser
- */
- public TWxUser getByOpenId(String openId);
- /**
- * 根据手机号查询用户
- * @param phone 手机号
- * @return TWxUser
- */
- TWxUser getByPhone(String phone);
- Page<TWxUserVo> getUserList(Page<TWxUserVo> page, TWxUserVo user);
- /**
- * 绑定手机号
- * @param openId 用户的openId
- * @param phone 手机号
- * @return boolean
- */
- boolean bindPhone(String openId, String phone);
- }
|