mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
update 查询会员sql
This commit is contained in:
@@ -101,14 +101,14 @@ public class MemberService {
|
||||
// 校验短信验证码 两种情况不能通过校验,1-验证码错误;2-超时 验证码10分钟有效
|
||||
checkVerificationCode(dto);
|
||||
String merchantId = "";
|
||||
return memberRegisterAndLogin(dto.getMobileNumber(), merchantId, null);
|
||||
return memberRegisterAndLogin(dto.getMobileNumber(), dto.getMerchantId(), dto.getOpenId());
|
||||
}
|
||||
|
||||
/**
|
||||
* 公共登陆注册方法
|
||||
* @param phoneNumber 手机号
|
||||
* @param merchantId 商户id
|
||||
* @return
|
||||
* @return token返给前端
|
||||
*/
|
||||
private String memberRegisterAndLogin(String phoneNumber, String merchantId, String openId) {
|
||||
if (StringUtils.isBlank(phoneNumber)) {
|
||||
|
||||
@@ -158,7 +158,6 @@
|
||||
and merchant_id = #{merchantId,jdbcType=VARCHAR}
|
||||
</if>
|
||||
order by create_time DESC, update_time DESC
|
||||
limit 1
|
||||
</select>
|
||||
|
||||
<select id="selectInfoByMemberId" resultMap="MemberBasicInfoResult">
|
||||
|
||||
Reference in New Issue
Block a user