LAPTOP-5NTQJPUS\LT před 9 měsíci
rodič
revize
402d1a56f5

+ 5 - 5
PacsOnline_Wechat_Doctor/src/main/java/com/zskk/controller/WxaUserApiController.java

@@ -368,11 +368,11 @@ public class WxaUserApiController extends WxaController {
 			return;
 		}
 		JSONObject sessionResult = JSON.parseObject(sessionJson);
-		renderJson(sessionResult);
-//		// 获取sessionKey
-//		String openid = sessionResult.getString("openid");
-//		SmsService sService = ServiceFactory.getService(SmsService.class);
-//		String content = sService.checkCodeStore(phone,code);
+		// 获取sessionKey
+		String openid = sessionResult.getString("openid");
+		SmsService sService = ServiceFactory.getService(SmsService.class);
+		String content = sService.checkCodeStore(phone,code);
+		renderText(content);
 //		if (content == null) {
 //			renderJson(ErrorConstant.ERROR_SMS_CODE_ERR);
 //		}else {