|
@@ -56,7 +56,7 @@ public class SmsService {
|
|
|
String content = response.getData();
|
|
|
JSONObject contentJson = JSON.parseObject(content);
|
|
|
if (contentJson.getString("Code").equals("OK")) {
|
|
|
- Redis.use("weixin_doctor").setex("SMS_CODE_", 60*10, code);
|
|
|
+ Redis.use("weixin_doctor").setex("SMS_CODE_"+phone, 60*10, code);
|
|
|
return Boolean.TRUE;
|
|
|
}
|
|
|
} catch (ServerException e) {
|