提交 2d3096e1 编写于 作者: rushui.chen's avatar rushui.chen

20191025 完善信息接口

上级 2a902b3b
流水线 #16316 已失败 于阶段
in 0 second
......@@ -105,7 +105,7 @@ public class Test {
System.out.println("--------------------获取验证码接口-------------");
BaseRequest authCode = new BaseRequest();
authCode.setFlag(1);
authCode.setFlag(5);
authCode.setMobile("13024112092");
String authCodeStr = JSONObject.toJSONString(authCode);
System.out.println(authCodeStr);
......@@ -159,6 +159,23 @@ public class Test {
encryptTest7.setContent(contentResult7);
encryptTest7.setKey(keyResult7);
System.out.println(JSONObject.toJSONString(encryptTest7));
System.out.println("--------------------忘记密码-------------");
BaseRequest forgetPwd = new BaseRequest();
forgetPwd.setPassword("0B9A75D6A88721A4BCF94F0FD668C56B");
forgetPwd.setMobile("13024112092");
forgetPwd.setAuthCode("095502");
String changePwdStr9 = JSONObject.toJSONString(forgetPwd);
System.out.println(changePwdStr9);
String contentResult9 = AESUtil.aesEncrypt(changePwdStr9, "YCPQPx4qpQjEjDea");
String keyResult9 = RSAUtil.encrypt("YCPQPx4qpQjEjDea",publicKey);
EncryptEntity encryptTest9 = new EncryptEntity();
encryptTest9.setContent(contentResult9);
encryptTest9.setKey(keyResult9);
System.out.println(JSONObject.toJSONString(encryptTest9));
}
......
spring.profiles.active=dev
\ No newline at end of file
spring.profiles.active=uat
\ No newline at end of file
......@@ -145,7 +145,7 @@
<update id="updateByMobile" parameterType="com.pica.cloud.account.account.server.entity.Doctor">
update p_doctor set password=#{password},modify_time=now(), modify_id=#{id} where mobile_phone=#{mobilePhone} and delete_flag=1 limit 1
update p_doctor set password=#{password},modify_time=now(), modify_id=#{modifyId} where mobile_phone=#{mobilePhone} and delete_flag=1 limit 1
</update>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册