|
@@ -104,16 +104,16 @@ namespace PMS.NetCore.Controllers
|
|
|
{
|
|
|
logger.Info($"【Getfdc_pm_unfare 输入参数】dto:{JsonConvert.SerializeObject(dto)}");
|
|
|
SessionHelper sessionHelp = new SessionHelper(_accessor.HttpContext);
|
|
|
- //if (dto.Phone != sessionHelp.GetSession("phone"))
|
|
|
- //{
|
|
|
- // res.ErrMsg = "手机号不正确";
|
|
|
- // return Json(res);
|
|
|
- //}
|
|
|
- //if (dto.VeriCode != sessionHelp.GetSession("verifiedCode"))
|
|
|
- //{
|
|
|
- // res.ErrMsg = "手机验证码不正确";
|
|
|
- // return Json(res);
|
|
|
- //}
|
|
|
+ if (dto.Phone != sessionHelp.GetSession("phone"))
|
|
|
+ {
|
|
|
+ res.ErrMsg = "手机号不正确";
|
|
|
+ return Json(res);
|
|
|
+ }
|
|
|
+ if (dto.VeriCode != sessionHelp.GetSession("verifiedCode"))
|
|
|
+ {
|
|
|
+ res.ErrMsg = "手机验证码不正确";
|
|
|
+ return Json(res);
|
|
|
+ }
|
|
|
var service = new fdc_pm_meterrecordManager();
|
|
|
var model = service.LoginOwner(dto.Phone);
|
|
|
|