code: public double getRequstURILastPath(double defvalue) {
          String val = getRequstURILastPath();
          try {
              return val.isEmpty() ? defvalue : Double.parseDouble(val);
          } catch (NumberFormatException e) {
              return defvalue;
          }
      }
docs: 获取请求URL最后的一个/后面的部分的double值   <br>
  例如请求URL /pipes/record/query/2   <br>
  获取type参数: double type = request.getRequstURILastPath(0.0); //type = 2.0
  
  @param defvalue 默认double值
  
  @return double值