admin
2019-09-16 cc55ffcea74c7d23dadaa0860befbcdf98f35341
fanli/src/main/java/com/yeshi/fanli/controller/client/v1/LostOrderController.java
@@ -142,7 +142,7 @@
      if (type == null) {
         type = Constant.SOURCE_TYPE_TAOBAO;
      }
      boolean orderNum = true;
      String orderId = lostOrder.getOrderId();
      if (type == Constant.SOURCE_TYPE_TAOBAO) {
@@ -151,7 +151,7 @@
         } else {
            orderNum = Utils.isOrderNum(orderId);
         }
      } else if  (type == Constant.SOURCE_TYPE_JD) {
      } else if (type == Constant.SOURCE_TYPE_JD) {
         if (!NumberUtil.isNumeric(orderId) || (orderId.length() < 6 || orderId.length() > 20)) {
            orderNum = false;
         }
@@ -172,7 +172,8 @@
      if (lostOrder.getUserInfo() == null || lostOrder.getUserInfo().getId() == null
            || lostOrder.getUserInfo().getId() <= 0) {
         out.print(JsonUtil.loadFalseResult(1, "请登录返利券账号"));
         out.print(JsonUtil.loadFalseResult(1,
               String.format("请登录%s账号", Constant.getAppName(acceptData.getPlatform(), acceptData.getVersion()))));
         return;
      }
      lostOrder.setIpInfo(IPUtil.getRemotIP(request) + ":" + request.getRemotePort());
@@ -196,7 +197,7 @@
            stateInfo = "该订单申诉已失败,请在订单列表中查看";
         } else if (state == -7) {
            stateInfo = "今日申诉次数已达上限";
         }else if (state == -1001) {
         } else if (state == -1001) {
            stateInfo = "订单违规";
         }
      }