|
|
@ -19,8 +19,7 @@ import java.io.IOException;
|
|
|
|
import java.util.HashMap;
|
|
|
|
import java.util.HashMap;
|
|
|
|
import java.util.Map;
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
|
|
//@Controller
|
|
|
|
@Controller
|
|
|
|
@RestController
|
|
|
|
|
|
|
|
public class bankCardController extends HttpServlet {
|
|
|
|
public class bankCardController extends HttpServlet {
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
@Autowired
|
|
|
@ -44,13 +43,13 @@ public class bankCardController extends HttpServlet {
|
|
|
|
userBankIdentify.setIdNum(request.getParameter("idNum"));
|
|
|
|
userBankIdentify.setIdNum(request.getParameter("idNum"));
|
|
|
|
userBankIdentify.setTelephoneNum(request.getParameter("phoneNum"));
|
|
|
|
userBankIdentify.setTelephoneNum(request.getParameter("phoneNum"));
|
|
|
|
userBankIdentify.setBankAccountIdentify(result);
|
|
|
|
userBankIdentify.setBankAccountIdentify(result);
|
|
|
|
|
|
|
|
userMapper.updateIsId(userNum);
|
|
|
|
identify.identify(userBankIdentify);
|
|
|
|
identify.identify(userBankIdentify);
|
|
|
|
userMapper.updateIsId(user.getUserNum());
|
|
|
|
|
|
|
|
}catch (Exception e){
|
|
|
|
}catch (Exception e){
|
|
|
|
e.printStackTrace();
|
|
|
|
e.printStackTrace();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
String json = JSONObject.toJSONString(userBankIdentify);
|
|
|
|
String json = JSONObject.toJSONString(userBankIdentify);
|
|
|
|
response.getWriter().print(json);
|
|
|
|
response.getWriter().print(json);
|
|
|
|
//response.sendRedirect("index.html");//返回首页
|
|
|
|
response.sendRedirect("index.html");//返回首页
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|