admin
2020-07-14 eec7e789a87863c25d92c10ad5dfc22ad80c448d
fanli/src/main/java/com/yeshi/fanli/controller/client/v1/LostOrderController.java
@@ -169,6 +169,14 @@
               }
            }
         }
      } else if (type == Constant.SOURCE_TYPE_VIP) {
         if (!NumberUtil.isNumeric(orderId) || (orderId.length() < 10 || orderId.length() > 18)) {
            orderNum = false;
         }
      } else if (type == Constant.SOURCE_TYPE_SUNING) {
         if (!NumberUtil.isNumeric(orderId) || (orderId.length() < 10 || orderId.length() > 15)) {
            orderNum = false;
         }
      }
      if (lostOrder.getUserInfo() == null || lostOrder.getUserInfo().getId() == null
@@ -211,8 +219,8 @@
   @RequestMapping("getConfig")
   public void getConfig(AcceptData acceptData, PrintWriter out) {
      JSONObject data = new JSONObject();
      data.put("what", configService.get(ConfigKeyEnum.lostOrderHelpWhat.getKey()));
      data.put("reason", configService.get(ConfigKeyEnum.lostOrderHelpReason.getKey()));
      data.put("what", configService.getValue(ConfigKeyEnum.lostOrderHelpWhat.getKey(),acceptData.getSystem()));
      data.put("reason", configService.getValue(ConfigKeyEnum.lostOrderHelpReason.getKey(),acceptData.getSystem()));
      out.print(JsonUtil.loadTrueResult(data));
   }