Beispiel #1
0
 public async Task<NewtonsoftJsonActionResult<ValidateResult>> UpdatePwd(UserLoginRequest request)
 {
     UsermessageRequest req = new UsermessageRequest();
     req.phone = request.account;
     req.type = int.Parse(request.type);
     req.valcode = request.valcode;
     //验证码验证
     ValidateResult res = await _appUsermessage.ValCode(req);
     if (res.Result)
     {
         return await _appUser.UpdateUserPwd(request);
     }
     else
         return res;
 }