//java 代码
    @ResponseBody
    
    @RequestMapping(value=”/getdisbyName”,method=RequestMethod.GET,produces = “application/json; charset=utf-8”)
    
    
    
    public cl_distributor  getcl_distributorBYcompanyName(@RequestParam(value=”companyName”)String  companyName,HttpServletRequest request){
    
    
    
    
    String str1=””;
    
    
    
    String reg = “[\\u4e00-\\u9fa5]+”;//表示+表示一个或多个中文
    
    
    
    str1=request.getParameter(“companyName”);
    
    
    
    if(str1!=null){
    
    
    
    
    
    
    
    try {
    
    
    
    
    str1=URLDecoder.decode(request.getParameter(“companyName”),”utf-8″);
    
   
 
版权声明:本文为qq_38677871原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
