Merge #49 into master from cc_20260302_login_password
验证码登录 * cc_20260302_login_password: (3 commits squashed) - fix:新增验证码登录,发送验证码,修改密码接口 - fix - fix Signed-off-by: 王非凡 <accounts_67eba0c5fee9c49c80c8e2b4@mail.teambition.com> Merged-by: 正新 <accounts_6964c7bcd2a2c377c5bbd01b@mail.teambition.com> CR-link: https://codeup.aliyun.com/692ea314dec569489f6f167c/hangzhou/java/custom_zxjp/change/49
This commit is contained in:
@@ -113,4 +113,8 @@ public interface EnterpriseUserMapper {
|
||||
*/
|
||||
@PlatformDB
|
||||
UserLoginDO getUserLoginByUnionid(@Param("unionid") String unionid);
|
||||
|
||||
@PlatformDB
|
||||
Integer modifyPasswordByMobile(@Param("mobile") String mobile, @Param("password") String password);
|
||||
|
||||
}
|
||||
@@ -241,4 +241,8 @@
|
||||
FROM enterprise_user
|
||||
WHERE unionid = #{unionid} AND active = true
|
||||
</select>
|
||||
|
||||
<update id="modifyPasswordByMobile">
|
||||
update enterprise_user set password = #{password} where mobile = #{mobile}
|
||||
</update>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user