Commit cd67567d authored by tangtuo's avatar tangtuo

配合测试,加入万能验证码

parent 185cc3ba
......@@ -91,6 +91,10 @@ public class SmsUtil {
* @return
*/
public Boolean validateCode(String codetype, String mobile, String code, String type) {
// todo 方便测试,事后要删除
if ("8888".equals(code)) {
return true;
}
String timestamp = getTimestamp();
HashMap<String, Object> paramMap = new HashMap<>();
paramMap.put("t", type);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment