提交 8fa1a5a4 编写于 作者: rushui.chen's avatar rushui.chen

20191028 登录查询添加limit1条件

上级 63a0788d
流水线 #16388 已失败 于阶段
in 0 second
...@@ -168,7 +168,7 @@ public class AESUtil { ...@@ -168,7 +168,7 @@ public class AESUtil {
public static void main(String[] args) throws Exception { public static void main(String[] args) throws Exception {
String KEY="zJJ$c5md3$yuuhWW"; String KEY="zJJ$c5md3$yuuhWW";
System.out.println("-------------加密---------"); System.out.println("-------------加密---------");
String content = "13024112588"; String content = "13916000005";
System.out.println("加密前:" + content); System.out.println("加密前:" + content);
System.out.println("加密密钥和解密密钥:" + KEY); System.out.println("加密密钥和解密密钥:" + KEY);
...@@ -179,11 +179,11 @@ public class AESUtil { ...@@ -179,11 +179,11 @@ public class AESUtil {
System.out.println("解密后:" + decrypt); System.out.println("解密后:" + decrypt);
//请求参数解密处理 //请求参数解密处理
// String encrypt="eZujXEvfG80W1Jp4yUnGqrnwedYIng+Sk3+BGN01B9TgXRwijp0Gd0DtJBDnrAJ/LIZqh2vVcb46IMtv5Yx1CL53ohUCThsp2cBxlFgpD8btBHKn+3I7J7D2Hyttl8RxjckhlChCKs/kZ9HWNn+XcBBO14I33ydNmmNjzUyTO9w="; // String encrypt="DC7Sc7ydClKJztuIz/E/5fXuQ8hqdr4W8mxL/XACtqT2wzK3jBiRXnoPOvR9lANIinXInrdbY5rCIwTiI9DeWFiwPP7cSF0cjnQOY11oJLjVg9qV9VZQXbFyDYVhRv8bbto5hD4evryzbdPTq6A23fD5LmXFYnWKdbSzZfFUl/w=";
// String decrypt = RSAUtil.decrypt(encrypt,privateKey); // String decrypt = RSAUtil.decrypt(encrypt,privateKey);
// System.out.println(decrypt); // System.out.println(decrypt);
// //System.out.println("YCPQPx4qpQjEjDea"); // //System.out.println("YCPQPx4qpQjEjDea");
// String content="6fz7TiskNgfoKxl20O8MlKEiY3BQ3iF6wccrs3BO72QukkK8iTdugr27yCwv5ogFSJtgz3gRuMu5LfQlFyoK2aGxHpnxVIHB43LVoDbLLGE="; // String content="z9zZyUYwKkYy08l0s1qH9CSnoNnXZbbhHVbAUwGIsOXKPGeTkZFnbL1HYJQXBdKqGzKZt8E5lDzdTGUiUVkkK8GO27fsSrRMewY5T6ndSuo=";
// String result = AESUtil.aesDecrypt(content, decrypt); // String result = AESUtil.aesDecrypt(content, decrypt);
// System.out.println(result); // System.out.println(result);
...@@ -199,6 +199,9 @@ public class AESUtil { ...@@ -199,6 +199,9 @@ public class AESUtil {
} }
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
select select
<include refid="Base_Column_List"/> <include refid="Base_Column_List"/>
from account_info from account_info
where mobile_phone = #{mobile} and delete_flag=1 where mobile_phone = #{mobile} and delete_flag=1 limit 1
</select> </select>
<!--通过电话号码查询账号信息--> <!--通过电话号码查询账号信息-->
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册