gongfuzhu vor 1 Jahr
Ursprung
Commit
53b1c3f123
61 geänderte Dateien mit 3976 neuen und 52 gelöschten Zeilen
  1. 145 48
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/XiaoJuApi.java
  2. 10 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/OpenRequest.java
  3. 17 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/QueryTokenRequest.java
  4. 14 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/domain/AllowanceInfo.java
  5. 27 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/domain/AllowancePromotionInfo.java
  6. 14 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/domain/CalBatchPriceItemInfo.java
  7. 31 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/BaseOpenRequest.java
  8. 58 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/NotificationCheckUserRequest.java
  9. 366 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/NotificationOrderInfoRequest.java
  10. 275 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/NotificationPushStoreInfoRequest.java
  11. 86 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/NotificationReceiveRefundRequest.java
  12. 166 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryApiOrderListRequest.java
  13. 73 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryApiStoreListRequest.java
  14. 27 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryApiStorePriceRequest.java
  15. 33 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryCalBatchPriceRequest.java
  16. 33 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryCalPriceRequest.java
  17. 128 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryEnergyUrlRequest.java
  18. 84 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryGetPromotionRequest.java
  19. 46 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryNewOrderRequest.java
  20. 44 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryOrderInfoRequest.java
  21. 135 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryOrderListRequest.java
  22. 23 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryOrderPromotionListRequest.java
  23. 25 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryStoreDetailRequest.java
  24. 59 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryStoreListRequest.java
  25. 146 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryStorePriceRequest.java
  26. 24 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryStorePromotionListRequest.java
  27. 41 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryTokenRequest.java
  28. 70 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryUserAuthRequest.java
  29. 128 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryUserPromotionListRequest.java
  30. 20 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/SynOrderStatusRequest.java
  31. 22 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/SynRefundStatusRequest.java
  32. 15 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/NotificationCheckUserInfoResponse.java
  33. 16 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/NotificationOrderInfoResponse.java
  34. 16 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/NotificationPushStoreInfoResponse.java
  35. 16 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/NotificationReceiveRefundResponse.java
  36. 48 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryApiOrderListResponse.java
  37. 21 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryApiStoreListResponse.java
  38. 54 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryApiStorePriceResponse.java
  39. 35 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryApiStorePriceV2Response.java
  40. 18 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryCalBatchPriceResponse.java
  41. 44 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryCalPriceResponse.java
  42. 30 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryEnergyUrlResponse.java
  43. 17 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryNewOrderResponse.java
  44. 357 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryOrderInfoResponse.java
  45. 72 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryOrderListResponse.java
  46. 60 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryStoreDetailResponse.java
  47. 72 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryStoreListResponse.java
  48. 34 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryStorePriceResponse.java
  49. 15 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryTokenResponse.java
  50. 85 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryUserPromotionListResponse.java
  51. 43 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/RefundResponse.java
  52. 34 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/UserAuthResponse.java
  53. 37 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/util/Decoder.java
  54. 64 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/util/Encoder.java
  55. 90 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/util/HMacMD5.java
  56. 183 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/util/HttpClient.java
  57. 29 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/util/HttpResponseData.java
  58. 39 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/util/SecurityService.java
  59. 23 0
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/controller/XiaoJuController.java
  60. BIN
      SpringBatchServiceServer/src/main/resources/lib/oil-sdk-jar-1.0.16.jar
  61. 39 4
      SpringBatchServiceServer/src/test/java/com/zswl/cloud/springBtach/server/boot/ServerApplicationTests.java

+ 145 - 48
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/XiaoJuApi.java

@@ -1,40 +1,71 @@
 package com.zswl.cloud.springBtach.server.core.api.xiaoju;
 
-import com.xiaoju.open.oil.commons.config.OilConfig;
-import com.xiaoju.open.oil.core.QueryClient;
-import com.xiaoju.open.oil.core.QueryClientFactory;
-import com.xiaoju.open.oil.interfaces.domain.AllowanceInfo;
-import com.xiaoju.open.oil.interfaces.request.QueryApiStorePriceRequest;
-import com.xiaoju.open.oil.interfaces.request.QueryCalPriceRequest;
-import com.xiaoju.open.oil.interfaces.request.QueryStoreDetailRequest;
-import com.xiaoju.open.oil.interfaces.request.QueryTokenRequest;
-import com.xiaoju.open.oil.interfaces.response.QueryApiStorePriceResponse;
-import com.xiaoju.open.oil.interfaces.response.QueryCalPriceResponse;
-import com.xiaoju.open.oil.interfaces.response.QueryStoreDetailResponse;
-import com.xiaoju.open.oil.interfaces.response.QueryTokenResponse;
+import cn.hutool.core.date.DateUtil;
+import cn.hutool.core.util.ObjectUtil;
+import cn.hutool.json.JSONObject;
+import cn.hutool.json.JSONUtil;
+import com.google.gson.Gson;
+import com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.OpenRequest;
+import com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.QueryTokenRequest;
+import com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request.*;
+import com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.response.*;
+import com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.util.HttpClient;
+import com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.util.HttpResponseData;
+import com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.util.SecurityService;
+import com.zswl.cloud.springBtach.server.core.helper.RedisHelper;
+import lombok.SneakyThrows;
 import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.beans.factory.annotation.Value;
 import org.springframework.stereotype.Component;
 
-import java.util.List;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.Map;
 
 
 @Component
 public class XiaoJuApi {
 
+
+    @Value("${xiaoju.appId}")
+    private String appid;
+
+    @Value("${xiaoju.appSecret}")
+    private String appSecret;
+
+    @Value("${xiaoju.dataSecret}")
+    private String dataSecret;
+
+    @Value("${xiaoju.dataSecretIV}")
+    private String dataSecretIV;
+
+    @Value("${xiaoju.sigSecret}")
+    private String sigSecret;
+
+    @Value("${xiaoju.serverUrl}")
+    private String serverUrl;
+
     @Autowired
-    OilConfig oilConfig;
+    RedisHelper redisHelper;
+
+    private final String redis_token = "xiaoju_token";
+
+//    @Autowired
+//    OilConfig oilConfig;
 
-    public String queryToken() {
+    public QueryTokenResponse queryToken() {
 
         QueryTokenRequest queryTokenRequest = new QueryTokenRequest();
-        queryTokenRequest.setAppSecret(oilConfig.getAppSecret());
-        QueryClient queryClient = QueryClientFactory.create(oilConfig);
-        QueryTokenResponse queryTokenResponse = queryClient.api().queryToken(queryTokenRequest);
-        return queryTokenResponse.getAccessToken();
-    }
+        queryTokenRequest.setAppSecret(appSecret);
+        String post = post(queryTokenRequest.getApiMethodName(), queryTokenRequest);
+        QueryTokenResponse bean = JSONUtil.toBean(post, QueryTokenResponse.class);
+
+        redisHelper.cacheValue(redis_token, "Bearer " + bean.getAccessToken(), bean.getAvailableTime());
 
+        return bean;
+    }
 
-    public QueryStoreDetailResponse queryStoreDetail(String userId, String storeId,Float latitude,Float longitude) {
+    public QueryStoreDetailResponse queryStoreDetail(String userId, String storeId, Float latitude, Float longitude) {
 
         QueryStoreDetailRequest queryStoreDetailRequest = new QueryStoreDetailRequest();
 
@@ -43,47 +74,113 @@ public class XiaoJuApi {
         queryStoreDetailRequest.setOutUserId(userId);
         queryStoreDetailRequest.setStoreId(storeId);
         queryStoreDetailRequest.setOpenChannel(1);
+        String post = post(queryStoreDetailRequest.getApiMethodName(), queryStoreDetailRequest);
 
-        QueryClient queryClient = QueryClientFactory.create(oilConfig);
-
-        return queryClient.api().queryStoreDetail(queryStoreDetailRequest);
+        return JSONUtil.toBean(post, QueryStoreDetailResponse.class);
     }
 
     // 查询门店价格
-    public List<QueryApiStorePriceResponse> queryStorePrice(String userId, List<String> storeIdList) {
+    public ArrayList queryStorePrice(QueryApiStorePriceRequest queryApiStorePriceRequest) {
+
+        String post = post(queryApiStorePriceRequest.getApiMethodName(), queryApiStorePriceRequest);
+
+        Gson gson = new Gson();
+        ArrayList arrayList = gson.fromJson(post, ArrayList.class);
+
+        return arrayList;
+    }
+
+
+    //    // 价格计算
+    public QueryCalPriceResponse queryCalPrice(QueryCalPriceRequest queryCalPriceRequest) {
+        String post = post(queryCalPriceRequest.getApiMethodName(), queryCalPriceRequest);
+        return JSONUtil.toBean(post, QueryCalPriceResponse.class);
+
+    }
+
 
-        QueryApiStorePriceRequest queryApiStorePriceRequest = new QueryApiStorePriceRequest();
-        queryApiStorePriceRequest.setOpenChannel(1);
-        queryApiStorePriceRequest.setOutUserId(userId);
-        queryApiStorePriceRequest.setStoreIds(storeIdList);
-        QueryClient queryClient = QueryClientFactory.create(oilConfig);
+    // 批量计算价格
+    public QueryCalBatchPriceResponse queryCalPrices(QueryCalBatchPriceRequest  queryCalBatchPriceRequest) {
+        String post = post(queryCalBatchPriceRequest.getApiMethodName(), queryCalBatchPriceRequest);
 
-        return queryClient.api().queryStorePrice(queryApiStorePriceRequest);
+        return JSONUtil.toBean(post, QueryCalBatchPriceResponse.class);
 
     }
 
-    // 价格计算
-    public QueryCalPriceResponse queryCalPrice(String userId, String storeId,String itemName,Integer amount, AllowanceInfo allowanceInfo) {
-        QueryCalPriceRequest queryCalPriceRequest = new QueryCalPriceRequest();
-        queryCalPriceRequest.setStoreId(storeId);
-        queryCalPriceRequest.setOpenChannel(1);
-        queryCalPriceRequest.setOutUserId(userId);
-        queryCalPriceRequest.setItemName(itemName);
-        queryCalPriceRequest.setAmount(amount);
 
-        // 优惠券
-//        List<AllowanceInfo> allowanceInfos = new ArrayList<>();
-//        AllowanceInfo allowanceInfo = new AllowanceInfo();
-//        allowanceInfo.setAllowanceId("E1-4ji-1kiJSL");
-//        allowanceInfo.setAllowanceType(2);
-//        allowanceInfos.add(allowanceInfo);
-        queryCalPriceRequest.setPromotionInfo(List.of(allowanceInfo));
+    // 创建订单
+    public  QueryNewOrderResponse queryNewOrder(QueryNewOrderRequest queryNewOrderRequest) {
 
-        QueryClient queryClient = QueryClientFactory.create(oilConfig);
+        String post = post(queryNewOrderRequest.getApiMethodName(), queryNewOrderRequest);
 
-        return queryClient.api().queryCalPrice(queryCalPriceRequest);
+        return JSONUtil.toBean(post, QueryNewOrderResponse.class);
 
+    }
+
+
+    // 同步订单状态
+    public void syncOrderStatus(SynOrderStatusRequest synOrderStatusRequest) {
+
+        String post = post(synOrderStatusRequest.getApiMethodName(), synOrderStatusRequest);
+
+//        return JSONUtil.toBean(post, QueryNewOrderResponse.class);
+
+    }
+
+
+    // 退款状态同步
+    public void SyncRefundStatus(SynRefundStatusRequest synRefundStatusRequest) {
+
+        String post = post(synRefundStatusRequest.getApiMethodName(), synRefundStatusRequest);
+    }
+
+
+    // 下单前查询最优可用券
+    public void queryOrderPromotionList(QueryOrderPromotionListRequest queryOrderPromotionListRequest) {
+
+        String post = post(queryOrderPromotionListRequest.getApiMethodName(), queryOrderPromotionListRequest);
+    }
+
+
+    // 查询多个门店可用券
+    public void queryStorePromotionList(QueryStorePromotionListRequest queryStorePromotionListRequest) {
+//        QueryStorePromotionListRequest request = new QueryStorePromotionListRequest();
+//        request.setMobile("152102401323");
+//        request.setOutUserId("1223131");
+//        List<String> storeIdList = new ArrayList<String>();
+//        storeIdList.add("5429504232738269218");
+//        request.setStoreIdList(storeIdList);
+
+        String post = post(queryStorePromotionListRequest.getApiMethodName(), queryStorePromotionListRequest);
+
+        ArrayList bean = JSONUtil.toBean(post, ArrayList.class);
+
+    }
 
+    @SneakyThrows
+    private String post(String url, OpenRequest oilRequest) {
+        String data = SecurityService.genEncodeData(JSONUtil.toJsonStr(oilRequest), dataSecret, dataSecretIV);
+        String yyyyMMddHHmmss = DateUtil.format(new Date(), "yyyyMMddHHmmss");
+        JSONObject entries = new JSONObject();
+        entries.set("appKey", appid);
+        entries.set("timeStamp", yyyyMMddHHmmss);
+        entries.set("data", data);
+        entries.set("sig", SecurityService.genSigData(appid + data + yyyyMMddHHmmss, sigSecret));
+
+
+        Object token = redisHelper.getValue(redis_token);
+        if (ObjectUtil.isEmpty(token) && !url.equals("/open/energy/v1/queryToken")) {
+            QueryTokenResponse queryTokenResponse = queryToken();
+            token = "Bearer " + queryTokenResponse.getAccessToken();
+        }
+
+        HttpResponseData httpResponseData = HttpClient.doPost(serverUrl + url, JSONUtil.toJsonStr(entries).getBytes("UTF-8"), Map.of("Authorization", String.valueOf(token)));
+
+        JSONObject entries1 = JSONUtil.parseObj(httpResponseData.getBody());
+        if (!entries1.get("code").equals("0")) {
+            throw new RuntimeException("小橘接口失败:{}" + httpResponseData.getBody());
+        }
+        return SecurityService.genDecodeData(String.valueOf(entries1.get("data")), dataSecret, dataSecretIV);
     }
 
 

+ 10 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/OpenRequest.java

@@ -0,0 +1,10 @@
+
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk;
+
+
+import java.io.Serializable;
+
+public abstract class OpenRequest implements Serializable {
+
+
+}

+ 17 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/QueryTokenRequest.java

@@ -0,0 +1,17 @@
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk;
+
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+@Data
+@AllArgsConstructor
+@NoArgsConstructor
+public class QueryTokenRequest extends OpenRequest {
+
+    private  String appSecret;
+
+    public String getApiMethodName() {
+        return "/open/energy/v1/queryToken";
+    }
+}

+ 14 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/domain/AllowanceInfo.java

@@ -0,0 +1,14 @@
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.domain;
+
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
+public class AllowanceInfo {
+    private String allowanceId;
+    private int allowanceType;
+
+}

+ 27 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/domain/AllowancePromotionInfo.java

@@ -0,0 +1,27 @@
+//
+// Source code recreated from a .class file by IntelliJ IDEA
+// (powered by FernFlower decompiler)
+//
+
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.domain;
+
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
+public class AllowancePromotionInfo {
+    private String allowanceId;
+    private String promotionDesc;
+    private Integer amount;
+    private Integer discount;
+    private Integer promotionType;
+    private Integer status;
+    private String statusDesc;
+    private String startTimestamp;
+    private String endTimestamp;
+    private Boolean restrict;
+
+}

+ 14 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/domain/CalBatchPriceItemInfo.java

@@ -0,0 +1,14 @@
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.domain;
+
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+@Data
+@AllArgsConstructor
+@NoArgsConstructor
+public class CalBatchPriceItemInfo {
+    private String itemName;
+    private Integer amount;
+
+}

+ 31 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/BaseOpenRequest.java

@@ -0,0 +1,31 @@
+/*    */ package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request;
+/*    */ 
+/*    */ import com.xiaoju.open.oil.commons.OpenRequest;
+/*    */ import java.io.Serializable;
+/*    */ import java.lang.reflect.ParameterizedType;
+/*    */ import java.lang.reflect.Type;
+/*    */ import java.util.Map;
+/*    */ import java.util.concurrent.ConcurrentHashMap;
+/*    */ 
+/*    */ public abstract class BaseOpenRequest<T>
+/*    */   implements OpenRequest<T>, Serializable
+/*    */ {
+/* 13 */   private static final Map<String, Type> CLASS_MAP = new ConcurrentHashMap<>();
+/*    */   
+/*    */   public Type getResponseClass() {
+/* 16 */     return CLASS_MAP.computeIfAbsent(getApiMethodName(), k -> {
+/*    */           Type interfaceType = getClass().getGenericSuperclass();
+/*    */           if (interfaceType instanceof ParameterizedType) {
+/*    */             ParameterizedType parameterizedType = (ParameterizedType)interfaceType;
+/*    */             return parameterizedType.getActualTypeArguments()[0];
+/*    */           } 
+/*    */           return null;
+/*    */         });
+/*    */   }
+/*    */ }
+
+
+/* Location:              E:\chendu\MicroService\application\SpringBatchService\SpringBatchServiceServer\src\main\resources\lib\oil-sdk-jar-1.0.16.jar!\com\xiaoju\open\oil\interfaces\request\BaseOpenRequest.class
+ * Java compiler version: 8 (52.0)
+ * JD-Core Version:       1.1.3
+ */

+ 58 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/NotificationCheckUserRequest.java

@@ -0,0 +1,58 @@
+/*    */ package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request;
+/*    */ 
+/*    */ import com.xiaoju.open.oil.commons.exception.ApiRuleException;
+/*    */ import com.xiaoju.open.oil.commons.utils.ParamCheckUtils;
+/*    */ import com.xiaoju.open.oil.interfaces.request.BaseOpenRequest;
+import com.xiaoju.open.oil.interfaces.response.NotificationCheckUserInfoResponse;
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ public class NotificationCheckUserRequest
+/*    */   extends BaseOpenRequest<NotificationCheckUserInfoResponse>
+/*    */ {
+/*    */   private String mobile;
+/*    */   private String outUserId;
+/*    */   
+/*    */   public String getApiMethodName() {
+/* 27 */     return "/notifyCheckUserInfo";
+/*    */   }
+/*    */ 
+/*    */   
+/*    */   public void check() throws ApiRuleException {
+/* 32 */     ParamCheckUtils.checkNotEmpty(this.mobile, "mobile");
+/* 33 */     ParamCheckUtils.checkNotEmpty(this.outUserId, "outUserId");
+/*    */   }
+/*    */   
+/*    */   public String getMobile() {
+/* 37 */     return this.mobile;
+/*    */   }
+/*    */   
+/*    */   public void setMobile(String mobile) {
+/* 41 */     this.mobile = mobile;
+/*    */   }
+/*    */   
+/*    */   public String getOutUserId() {
+/* 45 */     return this.outUserId;
+/*    */   }
+/*    */   
+/*    */   public void setOutUserId(String outUserId) {
+/* 49 */     this.outUserId = outUserId;
+/*    */   }
+/*    */ }
+
+
+/* Location:              E:\chendu\MicroService\application\SpringBatchService\SpringBatchServiceServer\src\main\resources\lib\oil-sdk-jar-1.0.16.jar!\com\xiaoju\open\oil\interfaces\request\NotificationCheckUserRequest.class
+ * Java compiler version: 8 (52.0)
+ * JD-Core Version:       1.1.3
+ */

+ 366 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/NotificationOrderInfoRequest.java

@@ -0,0 +1,366 @@
+/*     */ package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request;
+/*     */ 
+/*     */ import com.xiaoju.open.oil.commons.exception.ApiRuleException;
+/*     */ import com.xiaoju.open.oil.commons.utils.ParamCheckUtils;
+/*     */ import com.xiaoju.open.oil.interfaces.domain.PayCodeInfo;
+/*     */ import com.xiaoju.open.oil.interfaces.request.BaseOpenRequest;
+import com.xiaoju.open.oil.interfaces.response.NotificationOrderInfoResponse;
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ public class NotificationOrderInfoRequest
+/*     */   extends BaseOpenRequest<NotificationOrderInfoResponse>
+/*     */ {
+/*     */   private String outUserId;
+/*     */   private String orderId;
+/*     */   private String cityId;
+/*     */   private String cityName;
+/*     */   private String storeId;
+/*     */   private String storeName;
+/*     */   private String itemName;
+/*     */   private String gunNo;
+/*     */   private Float quantity;
+/*     */   private Integer totalMoney;
+/*     */   private Integer realMoney;
+/*     */   private Integer serviceFee;
+/*     */   private Integer payStatus;
+/*     */   private String payTime;
+/*     */   private Integer refundStatus;
+/*     */   private String refundTime;
+/*     */   private Integer sourceCode;
+/*     */   private String outOrderId;
+/*     */   private Integer orderStatus;
+/*     */   private String orderTime;
+/*     */   private Integer payType;
+/*     */   private String extraForOpen;
+/*     */   private Integer unitPrice;
+/*     */   private String openInfo;
+/*     */   private PayCodeInfo payCodeDTO;
+/*     */   private Integer billingType;
+/*     */   
+/*     */   public String getApiMethodName() {
+/* 137 */     return "/notifyOrderInfo";
+/*     */   }
+/*     */ 
+/*     */   
+/*     */   public void check() throws ApiRuleException {
+/* 142 */     ParamCheckUtils.checkNotEmpty(this.storeId, "storeId");
+/* 143 */     ParamCheckUtils.checkNotEmpty(this.orderId, "orderId");
+/* 144 */     ParamCheckUtils.checkNotEmpty(this.outUserId, "outUserId");
+/* 145 */     ParamCheckUtils.checkNotEmpty(this.orderStatus, "orderStatus");
+/* 146 */     ParamCheckUtils.checkNotEmpty(this.itemName, "itemName");
+/* 147 */     ParamCheckUtils.checkNotEmpty(this.totalMoney, "totalMoney");
+/* 148 */     ParamCheckUtils.checkNotEmpty(this.realMoney, "realMoney");
+/* 149 */     ParamCheckUtils.checkNotEmpty(this.gunNo, "gunNo");
+/*     */   }
+/*     */   
+/*     */   public String getOutUserId() {
+/* 153 */     return this.outUserId;
+/*     */   }
+/*     */   
+/*     */   public void setOutUserId(String outUserId) {
+/* 157 */     this.outUserId = outUserId;
+/*     */   }
+/*     */   
+/*     */   public String getOrderId() {
+/* 161 */     return this.orderId;
+/*     */   }
+/*     */   
+/*     */   public void setOrderId(String orderId) {
+/* 165 */     this.orderId = orderId;
+/*     */   }
+/*     */   
+/*     */   public String getCityId() {
+/* 169 */     return this.cityId;
+/*     */   }
+/*     */   
+/*     */   public void setCityId(String cityId) {
+/* 173 */     this.cityId = cityId;
+/*     */   }
+/*     */   
+/*     */   public String getCityName() {
+/* 177 */     return this.cityName;
+/*     */   }
+/*     */   
+/*     */   public void setCityName(String cityName) {
+/* 181 */     this.cityName = cityName;
+/*     */   }
+/*     */   
+/*     */   public String getStoreId() {
+/* 185 */     return this.storeId;
+/*     */   }
+/*     */   
+/*     */   public void setStoreId(String storeId) {
+/* 189 */     this.storeId = storeId;
+/*     */   }
+/*     */   
+/*     */   public String getStoreName() {
+/* 193 */     return this.storeName;
+/*     */   }
+/*     */   
+/*     */   public void setStoreName(String storeName) {
+/* 197 */     this.storeName = storeName;
+/*     */   }
+/*     */   
+/*     */   public String getItemName() {
+/* 201 */     return this.itemName;
+/*     */   }
+/*     */   
+/*     */   public void setItemName(String itemName) {
+/* 205 */     this.itemName = itemName;
+/*     */   }
+/*     */   
+/*     */   public String getGunNo() {
+/* 209 */     return this.gunNo;
+/*     */   }
+/*     */   
+/*     */   public void setGunNo(String gunNo) {
+/* 213 */     this.gunNo = gunNo;
+/*     */   }
+/*     */   
+/*     */   public Float getQuantity() {
+/* 217 */     return this.quantity;
+/*     */   }
+/*     */   
+/*     */   public void setQuantity(Float quantity) {
+/* 221 */     this.quantity = quantity;
+/*     */   }
+/*     */   
+/*     */   public Integer getTotalMoney() {
+/* 225 */     return this.totalMoney;
+/*     */   }
+/*     */   
+/*     */   public void setTotalMoney(Integer totalMoney) {
+/* 229 */     this.totalMoney = totalMoney;
+/*     */   }
+/*     */   
+/*     */   public Integer getRealMoney() {
+/* 233 */     return this.realMoney;
+/*     */   }
+/*     */   
+/*     */   public void setRealMoney(Integer realMoney) {
+/* 237 */     this.realMoney = realMoney;
+/*     */   }
+/*     */   
+/*     */   public Integer getServiceFee() {
+/* 241 */     return this.serviceFee;
+/*     */   }
+/*     */   
+/*     */   public void setServiceFee(Integer serviceFee) {
+/* 245 */     this.serviceFee = serviceFee;
+/*     */   }
+/*     */   
+/*     */   public Integer getPayStatus() {
+/* 249 */     return this.payStatus;
+/*     */   }
+/*     */   
+/*     */   public void setPayStatus(Integer payStatus) {
+/* 253 */     this.payStatus = payStatus;
+/*     */   }
+/*     */   
+/*     */   public String getPayTime() {
+/* 257 */     return this.payTime;
+/*     */   }
+/*     */   
+/*     */   public void setPayTime(String payTime) {
+/* 261 */     this.payTime = payTime;
+/*     */   }
+/*     */   
+/*     */   public Integer getRefundStatus() {
+/* 265 */     return this.refundStatus;
+/*     */   }
+/*     */   
+/*     */   public void setRefundStatus(Integer refundStatus) {
+/* 269 */     this.refundStatus = refundStatus;
+/*     */   }
+/*     */   
+/*     */   public String getRefundTime() {
+/* 273 */     return this.refundTime;
+/*     */   }
+/*     */   
+/*     */   public void setRefundTime(String refundTime) {
+/* 277 */     this.refundTime = refundTime;
+/*     */   }
+/*     */   
+/*     */   public Integer getSourceCode() {
+/* 281 */     return this.sourceCode;
+/*     */   }
+/*     */   
+/*     */   public void setSourceCode(Integer sourceCode) {
+/* 285 */     this.sourceCode = sourceCode;
+/*     */   }
+/*     */   
+/*     */   public String getOutOrderId() {
+/* 289 */     return this.outOrderId;
+/*     */   }
+/*     */   
+/*     */   public void setOutOrderId(String outOrderId) {
+/* 293 */     this.outOrderId = outOrderId;
+/*     */   }
+/*     */   
+/*     */   public Integer getOrderStatus() {
+/* 297 */     return this.orderStatus;
+/*     */   }
+/*     */   
+/*     */   public void setOrderStatus(Integer orderStatus) {
+/* 301 */     this.orderStatus = orderStatus;
+/*     */   }
+/*     */   
+/*     */   public String getOrderTime() {
+/* 305 */     return this.orderTime;
+/*     */   }
+/*     */   
+/*     */   public void setOrderTime(String orderTime) {
+/* 309 */     this.orderTime = orderTime;
+/*     */   }
+/*     */   
+/*     */   public Integer getPayType() {
+/* 313 */     return this.payType;
+/*     */   }
+/*     */   
+/*     */   public void setPayType(Integer payType) {
+/* 317 */     this.payType = payType;
+/*     */   }
+/*     */   
+/*     */   public String getExtraForOpen() {
+/* 321 */     return this.extraForOpen;
+/*     */   }
+/*     */   
+/*     */   public void setExtraForOpen(String extraForOpen) {
+/* 325 */     this.extraForOpen = extraForOpen;
+/*     */   }
+/*     */   
+/*     */   public Integer getUnitPrice() {
+/* 329 */     return this.unitPrice;
+/*     */   }
+/*     */   
+/*     */   public void setUnitPrice(Integer unitPrice) {
+/* 333 */     this.unitPrice = unitPrice;
+/*     */   }
+/*     */   
+/*     */   public String getOpenInfo() {
+/* 337 */     return this.openInfo;
+/*     */   }
+/*     */   
+/*     */   public void setOpenInfo(String openInfo) {
+/* 341 */     this.openInfo = openInfo;
+/*     */   }
+/*     */   
+/*     */   public PayCodeInfo getPayCodeDTO() {
+/* 345 */     return this.payCodeDTO;
+/*     */   }
+/*     */   
+/*     */   public void setPayCodeDTO(PayCodeInfo payCodeDTO) {
+/* 349 */     this.payCodeDTO = payCodeDTO;
+/*     */   }
+/*     */   
+/*     */   public Integer getBillingType() {
+/* 353 */     return this.billingType;
+/*     */   }
+/*     */   
+/*     */   public void setBillingType(Integer billingType) {
+/* 357 */     this.billingType = billingType;
+/*     */   }
+/*     */ }
+
+
+/* Location:              E:\chendu\MicroService\application\SpringBatchService\SpringBatchServiceServer\src\main\resources\lib\oil-sdk-jar-1.0.16.jar!\com\xiaoju\open\oil\interfaces\request\NotificationOrderInfoRequest.class
+ * Java compiler version: 8 (52.0)
+ * JD-Core Version:       1.1.3
+ */

+ 275 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/NotificationPushStoreInfoRequest.java

@@ -0,0 +1,275 @@
+/*     */ package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request;
+/*     */ 
+/*     */ import com.xiaoju.open.oil.commons.exception.ApiRuleException;
+/*     */ import com.xiaoju.open.oil.commons.utils.ParamCheckUtils;
+/*     */ import com.xiaoju.open.oil.interfaces.domain.ItemPriceInfoForCallback;
+/*     */ import com.xiaoju.open.oil.interfaces.request.BaseOpenRequest;
+import com.xiaoju.open.oil.interfaces.response.NotificationPushStoreInfoResponse;
+/*     */ import java.util.List;
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ public class NotificationPushStoreInfoRequest
+/*     */   extends BaseOpenRequest<NotificationPushStoreInfoResponse>
+/*     */ {
+/*     */   private String storeId;
+/*     */   private String storeName;
+/*     */   private String address;
+/*     */   private Float lat;
+/*     */   private Float lon;
+/*     */   private String cityName;
+/*     */   private String brandId;
+/*     */   private String provinceName;
+/*     */   private String brandName;
+/*     */   private String tel;
+/*     */   private String openTimeHourStart;
+/*     */   private String openTimeHourEnd;
+/*     */   private String logo;
+/*     */   private List<String> picList;
+/*     */   private Integer status;
+/*     */   private Integer invoiceManner;
+/*     */   private List<String> marketTags;
+/*     */   private List<ItemPriceInfoForCallback> itemInfoList;
+/*     */   
+/*     */   public String getStoreId() {
+/* 109 */     return this.storeId;
+/*     */   }
+/*     */   
+/*     */   public void setStoreId(String storeId) {
+/* 113 */     this.storeId = storeId;
+/*     */   }
+/*     */   
+/*     */   public String getStoreName() {
+/* 117 */     return this.storeName;
+/*     */   }
+/*     */   
+/*     */   public void setStoreName(String storeName) {
+/* 121 */     this.storeName = storeName;
+/*     */   }
+/*     */   
+/*     */   public String getAddress() {
+/* 125 */     return this.address;
+/*     */   }
+/*     */   
+/*     */   public void setAddress(String address) {
+/* 129 */     this.address = address;
+/*     */   }
+/*     */   
+/*     */   public Float getLat() {
+/* 133 */     return this.lat;
+/*     */   }
+/*     */   
+/*     */   public void setLat(Float lat) {
+/* 137 */     this.lat = lat;
+/*     */   }
+/*     */   
+/*     */   public Float getLon() {
+/* 141 */     return this.lon;
+/*     */   }
+/*     */   
+/*     */   public void setLon(Float lon) {
+/* 145 */     this.lon = lon;
+/*     */   }
+/*     */   
+/*     */   public String getCityName() {
+/* 149 */     return this.cityName;
+/*     */   }
+/*     */   
+/*     */   public void setCityName(String cityName) {
+/* 153 */     this.cityName = cityName;
+/*     */   }
+/*     */   
+/*     */   public String getBrandId() {
+/* 157 */     return this.brandId;
+/*     */   }
+/*     */   
+/*     */   public void setBrandId(String brandId) {
+/* 161 */     this.brandId = brandId;
+/*     */   }
+/*     */   
+/*     */   public String getProvinceName() {
+/* 165 */     return this.provinceName;
+/*     */   }
+/*     */   
+/*     */   public void setProvinceName(String provinceName) {
+/* 169 */     this.provinceName = provinceName;
+/*     */   }
+/*     */   
+/*     */   public String getBrandName() {
+/* 173 */     return this.brandName;
+/*     */   }
+/*     */   
+/*     */   public void setBrandName(String brandName) {
+/* 177 */     this.brandName = brandName;
+/*     */   }
+/*     */   
+/*     */   public String getTel() {
+/* 181 */     return this.tel;
+/*     */   }
+/*     */   
+/*     */   public void setTel(String tel) {
+/* 185 */     this.tel = tel;
+/*     */   }
+/*     */   
+/*     */   public String getOpenTimeHourStart() {
+/* 189 */     return this.openTimeHourStart;
+/*     */   }
+/*     */   
+/*     */   public void setOpenTimeHourStart(String openTimeHourStart) {
+/* 193 */     this.openTimeHourStart = openTimeHourStart;
+/*     */   }
+/*     */   
+/*     */   public String getOpenTimeHourEnd() {
+/* 197 */     return this.openTimeHourEnd;
+/*     */   }
+/*     */   
+/*     */   public void setOpenTimeHourEnd(String openTimeHourEnd) {
+/* 201 */     this.openTimeHourEnd = openTimeHourEnd;
+/*     */   }
+/*     */   
+/*     */   public String getLogo() {
+/* 205 */     return this.logo;
+/*     */   }
+/*     */   
+/*     */   public void setLogo(String logo) {
+/* 209 */     this.logo = logo;
+/*     */   }
+/*     */   
+/*     */   public List<String> getPicList() {
+/* 213 */     return this.picList;
+/*     */   }
+/*     */   
+/*     */   public void setPicList(List<String> picList) {
+/* 217 */     this.picList = picList;
+/*     */   }
+/*     */   
+/*     */   public Integer getStatus() {
+/* 221 */     return this.status;
+/*     */   }
+/*     */   
+/*     */   public void setStatus(Integer status) {
+/* 225 */     this.status = status;
+/*     */   }
+/*     */   
+/*     */   public Integer getInvoiceManner() {
+/* 229 */     return this.invoiceManner;
+/*     */   }
+/*     */   
+/*     */   public void setInvoiceManner(Integer invoiceManner) {
+/* 233 */     this.invoiceManner = invoiceManner;
+/*     */   }
+/*     */   
+/*     */   public List<String> getMarketTags() {
+/* 237 */     return this.marketTags;
+/*     */   }
+/*     */   
+/*     */   public void setMarketTags(List<String> marketTags) {
+/* 241 */     this.marketTags = marketTags;
+/*     */   }
+/*     */   
+/*     */   public List<ItemPriceInfoForCallback> getItemInfoList() {
+/* 245 */     return this.itemInfoList;
+/*     */   }
+/*     */   
+/*     */   public void setItemInfoList(List<ItemPriceInfoForCallback> itemInfoList) {
+/* 249 */     this.itemInfoList = itemInfoList;
+/*     */   }
+/*     */ 
+/*     */   
+/*     */   public String getApiMethodName() {
+/* 254 */     return "/receivingGasStation";
+/*     */   }
+/*     */ 
+/*     */   
+/*     */   public void check() throws ApiRuleException {
+/* 259 */     ParamCheckUtils.checkNotEmpty(this.storeId, "storeId");
+/* 260 */     ParamCheckUtils.checkNotEmpty(this.storeName, "storeName");
+/* 261 */     ParamCheckUtils.checkNotEmpty(this.lat, "lat");
+/* 262 */     ParamCheckUtils.checkNotEmpty(this.lon, "lon");
+/* 263 */     ParamCheckUtils.checkNotEmpty(this.status, "status");
+/* 264 */     ParamCheckUtils.checkNotEmpty(this.openTimeHourStart, "openTimeHourStart");
+/* 265 */     ParamCheckUtils.checkNotEmpty(this.openTimeHourEnd, "openTimeHourEnd");
+/* 266 */     ParamCheckUtils.checkCollectNotEmpty(this.itemInfoList, "itemInfoList");
+/*     */   }
+/*     */ }
+
+
+/* Location:              E:\chendu\MicroService\application\SpringBatchService\SpringBatchServiceServer\src\main\resources\lib\oil-sdk-jar-1.0.16.jar!\com\xiaoju\open\oil\interfaces\request\NotificationPushStoreInfoRequest.class
+ * Java compiler version: 8 (52.0)
+ * JD-Core Version:       1.1.3
+ */

+ 86 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/NotificationReceiveRefundRequest.java

@@ -0,0 +1,86 @@
+/*    */ package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request;
+/*    */ 
+/*    */ import com.xiaoju.open.oil.commons.exception.ApiRuleException;
+/*    */ import com.xiaoju.open.oil.commons.utils.ParamCheckUtils;
+/*    */ import com.xiaoju.open.oil.interfaces.request.BaseOpenRequest;
+import com.xiaoju.open.oil.interfaces.response.NotificationReceiveRefundResponse;
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ public class NotificationReceiveRefundRequest
+/*    */   extends BaseOpenRequest<NotificationReceiveRefundResponse>
+/*    */ {
+/*    */   private String xjOrderId;
+/*    */   private String outOrderId;
+/*    */   private Integer refundAmount;
+/*    */   private Integer refundType;
+/*    */   
+/*    */   public String getApiMethodName() {
+/* 37 */     return "/refundOrder";
+/*    */   }
+/*    */ 
+/*    */   
+/*    */   public void check() throws ApiRuleException {
+/* 42 */     ParamCheckUtils.checkNotEmpty(this.xjOrderId, "xjOrderId");
+/* 43 */     ParamCheckUtils.checkNotEmpty(this.outOrderId, "outOrderId");
+/* 44 */     ParamCheckUtils.checkNotEmpty(this.refundAmount, "refundAmount");
+/* 45 */     ParamCheckUtils.checkNotEmpty(this.refundType, "refundType");
+/*    */   }
+/*    */   
+/*    */   public String getXjOrderId() {
+/* 49 */     return this.xjOrderId;
+/*    */   }
+/*    */   
+/*    */   public void setXjOrderId(String xjOrderId) {
+/* 53 */     this.xjOrderId = xjOrderId;
+/*    */   }
+/*    */   
+/*    */   public String getOutOrderId() {
+/* 57 */     return this.outOrderId;
+/*    */   }
+/*    */   
+/*    */   public void setOutOrderId(String outOrderId) {
+/* 61 */     this.outOrderId = outOrderId;
+/*    */   }
+/*    */   
+/*    */   public Integer getRefundAmount() {
+/* 65 */     return this.refundAmount;
+/*    */   }
+/*    */   
+/*    */   public void setRefundAmount(Integer refundAmount) {
+/* 69 */     this.refundAmount = refundAmount;
+/*    */   }
+/*    */   
+/*    */   public Integer getRefundType() {
+/* 73 */     return this.refundType;
+/*    */   }
+/*    */   
+/*    */   public void setRefundType(Integer refundType) {
+/* 77 */     this.refundType = refundType;
+/*    */   }
+/*    */ }
+
+
+/* Location:              E:\chendu\MicroService\application\SpringBatchService\SpringBatchServiceServer\src\main\resources\lib\oil-sdk-jar-1.0.16.jar!\com\xiaoju\open\oil\interfaces\request\NotificationReceiveRefundRequest.class
+ * Java compiler version: 8 (52.0)
+ * JD-Core Version:       1.1.3
+ */

+ 166 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryApiOrderListRequest.java

@@ -0,0 +1,166 @@
+/*     */ package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request;
+/*     */ 
+/*     */ import com.xiaoju.open.oil.commons.exception.ApiRuleException;
+/*     */ import com.xiaoju.open.oil.commons.utils.ParamCheckUtils;
+/*     */ import com.xiaoju.open.oil.interfaces.request.BaseOpenRequest;
+import com.xiaoju.open.oil.interfaces.response.QueryApiOrderListResponse;
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ public class QueryApiOrderListRequest
+/*     */   extends BaseOpenRequest<QueryApiOrderListResponse>
+/*     */ {
+/*     */   private String mobile;
+/*     */   private String outUserId;
+/*     */   private String payTimeStart;
+/*     */   private String payTimeEnd;
+/*     */   private String orderTimeStart;
+/*     */   private String orderTimeEnd;
+/*  52 */   private Integer pageIndex = Integer.valueOf(1);
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */   
+/*  57 */   private Integer pageSize = Integer.valueOf(10);
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */   
+/*     */   private Integer orderStatus;
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */   
+/*  67 */   private Integer openChannel = Integer.valueOf(1);
+/*     */ 
+/*     */   
+/*     */   public String getApiMethodName() {
+/*  71 */     return "/open/energy/oil/v1/queryOrderList";
+/*     */   }
+/*     */ 
+/*     */   
+/*     */   public void check() throws ApiRuleException {
+/*  76 */     ParamCheckUtils.checkNotEmpty(this.outUserId, "outUserId");
+/*  77 */     ParamCheckUtils.checkNotEmpty(this.orderStatus, "orderStatus");
+/*     */   }
+/*     */   
+/*     */   public String getMobile() {
+/*  81 */     return this.mobile;
+/*     */   }
+/*     */   
+/*     */   public void setMobile(String mobile) {
+/*  85 */     this.mobile = mobile;
+/*     */   }
+/*     */   
+/*     */   public String getOutUserId() {
+/*  89 */     return this.outUserId;
+/*     */   }
+/*     */   
+/*     */   public void setOutUserId(String outUserId) {
+/*  93 */     this.outUserId = outUserId;
+/*     */   }
+/*     */   
+/*     */   public String getPayTimeStart() {
+/*  97 */     return this.payTimeStart;
+/*     */   }
+/*     */   
+/*     */   public void setPayTimeStart(String payTimeStart) {
+/* 101 */     this.payTimeStart = payTimeStart;
+/*     */   }
+/*     */   
+/*     */   public String getPayTimeEnd() {
+/* 105 */     return this.payTimeEnd;
+/*     */   }
+/*     */   
+/*     */   public void setPayTimeEnd(String payTimeEnd) {
+/* 109 */     this.payTimeEnd = payTimeEnd;
+/*     */   }
+/*     */   
+/*     */   public String getOrderTimeStart() {
+/* 113 */     return this.orderTimeStart;
+/*     */   }
+/*     */   
+/*     */   public void setOrderTimeStart(String orderTimeStart) {
+/* 117 */     this.orderTimeStart = orderTimeStart;
+/*     */   }
+/*     */   
+/*     */   public String getOrderTimeEnd() {
+/* 121 */     return this.orderTimeEnd;
+/*     */   }
+/*     */   
+/*     */   public void setOrderTimeEnd(String orderTimeEnd) {
+/* 125 */     this.orderTimeEnd = orderTimeEnd;
+/*     */   }
+/*     */   
+/*     */   public Integer getPageIndex() {
+/* 129 */     return this.pageIndex;
+/*     */   }
+/*     */   
+/*     */   public void setPageIndex(Integer pageIndex) {
+/* 133 */     this.pageIndex = pageIndex;
+/*     */   }
+/*     */   
+/*     */   public Integer getPageSize() {
+/* 137 */     return this.pageSize;
+/*     */   }
+/*     */   
+/*     */   public void setPageSize(Integer pageSize) {
+/* 141 */     this.pageSize = pageSize;
+/*     */   }
+/*     */   
+/*     */   public Integer getOrderStatus() {
+/* 145 */     return this.orderStatus;
+/*     */   }
+/*     */   
+/*     */   public void setOrderStatus(Integer orderStatus) {
+/* 149 */     this.orderStatus = orderStatus;
+/*     */   }
+/*     */   
+/*     */   public Integer getOpenChannel() {
+/* 153 */     return this.openChannel;
+/*     */   }
+/*     */   
+/*     */   public void setOpenChannel(Integer openChannel) {
+/* 157 */     this.openChannel = openChannel;
+/*     */   }
+/*     */ }
+
+
+/* Location:              E:\chendu\MicroService\application\SpringBatchService\SpringBatchServiceServer\src\main\resources\lib\oil-sdk-jar-1.0.16.jar!\com\xiaoju\open\oil\interfaces\request\QueryApiOrderListRequest.class
+ * Java compiler version: 8 (52.0)
+ * JD-Core Version:       1.1.3
+ */

+ 73 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryApiStoreListRequest.java

@@ -0,0 +1,73 @@
+/*    */ package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request;
+/*    */ 
+/*    */ import com.xiaoju.open.oil.commons.exception.ApiRuleException;
+/*    */ import com.xiaoju.open.oil.commons.utils.ParamCheckUtils;
+/*    */ import com.xiaoju.open.oil.interfaces.request.BaseOpenRequest;
+import com.xiaoju.open.oil.interfaces.response.QueryApiStoreListResponse;
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ public class QueryApiStoreListRequest
+/*    */   extends BaseOpenRequest<QueryApiStoreListResponse>
+/*    */ {
+/*    */   private Integer pageIndex;
+/*    */   private Integer pageSize;
+/* 29 */   private Integer openChannel = Integer.valueOf(1);
+/*    */   
+/*    */   public Integer getPageIndex() {
+/* 32 */     return this.pageIndex;
+/*    */   }
+/*    */   
+/*    */   public void setPageIndex(Integer pageIndex) {
+/* 36 */     this.pageIndex = pageIndex;
+/*    */   }
+/*    */   
+/*    */   public Integer getPageSize() {
+/* 40 */     return this.pageSize;
+/*    */   }
+/*    */   
+/*    */   public void setPageSize(Integer pageSize) {
+/* 44 */     this.pageSize = pageSize;
+/*    */   }
+/*    */   
+/*    */   public Integer getOpenChannel() {
+/* 48 */     return this.openChannel;
+/*    */   }
+/*    */   
+/*    */   public void setOpenChannel(Integer openChannel) {
+/* 52 */     this.openChannel = openChannel;
+/*    */   }
+/*    */ 
+/*    */   
+/*    */   public String getApiMethodName() {
+/* 57 */     return "/energy/v1/queryStoreList";
+/*    */   }
+/*    */ 
+/*    */   
+/*    */   public void check() throws ApiRuleException {
+/* 62 */     ParamCheckUtils.checkNotEmpty(this.pageIndex, "pageIndex");
+/* 63 */     ParamCheckUtils.checkNotEmpty(this.pageSize, "pageSize");
+/* 64 */     ParamCheckUtils.checkMaxValue(Long.valueOf(this.pageSize.longValue()), 100L, "pageSize");
+/*    */   }
+/*    */ }
+
+
+/* Location:              E:\chendu\MicroService\application\SpringBatchService\SpringBatchServiceServer\src\main\resources\lib\oil-sdk-jar-1.0.16.jar!\com\xiaoju\open\oil\interfaces\request\QueryApiStoreListRequest.class
+ * Java compiler version: 8 (52.0)
+ * JD-Core Version:       1.1.3
+ */

+ 27 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryApiStorePriceRequest.java

@@ -0,0 +1,27 @@
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request;
+
+import com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.OpenRequest;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.util.List;
+
+
+@Data
+@AllArgsConstructor
+@NoArgsConstructor
+public class QueryApiStorePriceRequest extends OpenRequest {
+    private List<String> storeIds;
+    private String mobile;
+    private String outUserId;
+    private final Integer openChannel = Integer.valueOf(1);
+
+
+    public String getApiMethodName() {
+
+        return "/open/energy/oil/v1/queryStorePrice";
+    }
+
+
+}

+ 33 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryCalBatchPriceRequest.java

@@ -0,0 +1,33 @@
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request;
+
+
+import com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.OpenRequest;
+import com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.domain.AllowanceInfo;
+import com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.domain.CalBatchPriceItemInfo;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.util.List;
+
+
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
+public class QueryCalBatchPriceRequest extends OpenRequest {
+    private String storeId;
+    private String outUserId;
+    private String mobile;
+    private String deviceId;
+    private final Integer openChannel=1;
+    private List<CalBatchPriceItemInfo> itemList;
+    private List<AllowanceInfo> promotionInfo;
+    private String outNewUserFlag;
+
+
+    public String getApiMethodName() {
+        return "/open/energy/oil/v1/queryCalPrices";
+    }
+
+
+}

+ 33 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryCalPriceRequest.java

@@ -0,0 +1,33 @@
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request;
+
+import com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.OpenRequest;
+import com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.domain.AllowanceInfo;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.util.List;
+
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
+public class QueryCalPriceRequest extends OpenRequest {
+    private String storeId;
+    private String itemName;
+    private Integer amount;
+    private String outUserId;
+    private String mobile;
+    private String deviceId;
+    private final Integer openChannel = 1;
+    private List<AllowanceInfo> promotionInfo;
+    private String outNewUserFlag;
+
+
+    public String getApiMethodName() {
+        /* 141 */
+        return "/open/energy/oil/v1/queryCalPrice";
+    }
+
+
+}
+

+ 128 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryEnergyUrlRequest.java

@@ -0,0 +1,128 @@
+/*     */ package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request;
+/*     */ 
+/*     */ import com.xiaoju.open.oil.commons.exception.ApiRuleException;
+/*     */ import com.xiaoju.open.oil.commons.utils.ParamCheckUtils;
+/*     */ import com.xiaoju.open.oil.interfaces.request.BaseOpenRequest;
+import com.xiaoju.open.oil.interfaces.response.QueryEnergyUrlResponse;
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ public class QueryEnergyUrlRequest
+/*     */   extends BaseOpenRequest<QueryEnergyUrlResponse>
+/*     */ {
+/*     */   private String storeId;
+/*     */   private String itemName;
+/*     */   private Integer openChannel;
+/*     */   private String mobile;
+/*     */   private String outUserId;
+/*     */   private Double lon;
+/*     */   private Double lat;
+/*     */   
+/*     */   public String getApiMethodName() {
+/*  52 */     return "/energy/v1/queryEnergyUrl";
+/*     */   }
+/*     */ 
+/*     */   
+/*     */   public void check() throws ApiRuleException {
+/*  57 */     ParamCheckUtils.checkNotEmpty(this.storeId, "storeId");
+/*  58 */     ParamCheckUtils.checkNotEmpty(this.itemName, "itemName");
+/*  59 */     ParamCheckUtils.checkNotEmpty(this.openChannel, "openChannel");
+/*  60 */     ParamCheckUtils.checkNotEmpty(this.mobile, "mobile");
+/*  61 */     ParamCheckUtils.checkNotEmpty(this.outUserId, "outUserId");
+/*  62 */     ParamCheckUtils.checkNotEmpty(this.lon, "lon");
+/*  63 */     ParamCheckUtils.checkNotEmpty(this.lat, "lat");
+/*     */   }
+/*     */   
+/*     */   public String getStoreId() {
+/*  67 */     return this.storeId;
+/*     */   }
+/*     */   
+/*     */   public void setStoreId(String storeId) {
+/*  71 */     this.storeId = storeId;
+/*     */   }
+/*     */   
+/*     */   public String getItemName() {
+/*  75 */     return this.itemName;
+/*     */   }
+/*     */   
+/*     */   public void setItemName(String itemName) {
+/*  79 */     this.itemName = itemName;
+/*     */   }
+/*     */   
+/*     */   public Integer getOpenChannel() {
+/*  83 */     return this.openChannel;
+/*     */   }
+/*     */   
+/*     */   public void setOpenChannel(Integer openChannel) {
+/*  87 */     this.openChannel = openChannel;
+/*     */   }
+/*     */   
+/*     */   public String getMobile() {
+/*  91 */     return this.mobile;
+/*     */   }
+/*     */   
+/*     */   public void setMobile(String mobile) {
+/*  95 */     this.mobile = mobile;
+/*     */   }
+/*     */   
+/*     */   public String getOutUserId() {
+/*  99 */     return this.outUserId;
+/*     */   }
+/*     */   
+/*     */   public void setOutUserId(String outUserId) {
+/* 103 */     this.outUserId = outUserId;
+/*     */   }
+/*     */   
+/*     */   public Double getLon() {
+/* 107 */     return this.lon;
+/*     */   }
+/*     */   
+/*     */   public void setLon(Double lon) {
+/* 111 */     this.lon = lon;
+/*     */   }
+/*     */   
+/*     */   public Double getLat() {
+/* 115 */     return this.lat;
+/*     */   }
+/*     */   
+/*     */   public void setLat(Double lat) {
+/* 119 */     this.lat = lat;
+/*     */   }
+/*     */ }
+
+
+/* Location:              E:\chendu\MicroService\application\SpringBatchService\SpringBatchServiceServer\src\main\resources\lib\oil-sdk-jar-1.0.16.jar!\com\xiaoju\open\oil\interfaces\request\QueryEnergyUrlRequest.class
+ * Java compiler version: 8 (52.0)
+ * JD-Core Version:       1.1.3
+ */

+ 84 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryGetPromotionRequest.java

@@ -0,0 +1,84 @@
+/*    */ package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request;
+/*    */ 
+/*    */ import com.xiaoju.open.oil.commons.exception.ApiRuleException;
+/*    */ import com.xiaoju.open.oil.commons.utils.ParamCheckUtils;
+import com.xiaoju.open.oil.interfaces.request.BaseOpenRequest;
+/*    */ import java.util.List;
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ public class QueryGetPromotionRequest
+/*    */   extends BaseOpenRequest<List>
+/*    */ {
+/*    */   private String mobile;
+/*    */   private String outUserId;
+/*    */   private String activityId;
+/*    */   private String tradeNo;
+/*    */   
+/*    */   public String getApiMethodName() {
+/* 36 */     return "/open/energy/v1/getPromotion";
+/*    */   }
+/*    */ 
+/*    */   
+/*    */   public void check() throws ApiRuleException {
+/* 41 */     ParamCheckUtils.checkNotEmpty(this.outUserId, "outUserId");
+/* 42 */     ParamCheckUtils.checkNotEmpty(this.activityId, "activityId");
+/* 43 */     ParamCheckUtils.checkNotEmpty(this.tradeNo, "tradeNo");
+/*    */   }
+/*    */   
+/*    */   public String getMobile() {
+/* 47 */     return this.mobile;
+/*    */   }
+/*    */   
+/*    */   public void setMobile(String mobile) {
+/* 51 */     this.mobile = mobile;
+/*    */   }
+/*    */   
+/*    */   public String getOutUserId() {
+/* 55 */     return this.outUserId;
+/*    */   }
+/*    */   
+/*    */   public void setOutUserId(String outUserId) {
+/* 59 */     this.outUserId = outUserId;
+/*    */   }
+/*    */   
+/*    */   public String getActivityId() {
+/* 63 */     return this.activityId;
+/*    */   }
+/*    */   
+/*    */   public void setActivityId(String activityId) {
+/* 67 */     this.activityId = activityId;
+/*    */   }
+/*    */   
+/*    */   public String getTradeNo() {
+/* 71 */     return this.tradeNo;
+/*    */   }
+/*    */   
+/*    */   public void setTradeNo(String tradeNo) {
+/* 75 */     this.tradeNo = tradeNo;
+/*    */   }
+/*    */ }
+
+
+/* Location:              E:\chendu\MicroService\application\SpringBatchService\SpringBatchServiceServer\src\main\resources\lib\oil-sdk-jar-1.0.16.jar!\com\xiaoju\open\oil\interfaces\request\QueryGetPromotionRequest.class
+ * Java compiler version: 8 (52.0)
+ * JD-Core Version:       1.1.3
+ */

+ 46 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryNewOrderRequest.java

@@ -0,0 +1,46 @@
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request;
+
+import com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.OpenRequest;
+import com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.domain.AllowanceInfo;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.util.List;
+
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
+public class QueryNewOrderRequest extends OpenRequest {
+    private String outUserId;
+    private String mobile;
+    private String vagueMobile;
+    private String outOrderId;
+    private Float lat;
+    private Float lon;
+    private String storeId;
+    private long itemId;
+    private String gunNo;
+    private Integer originalAmount;
+    private Integer paymentAmount;
+    private Integer serviceFee;
+    private Integer litre;
+    private Integer vipPrice;
+    private Integer storePrice;
+    private Integer openChannel = Integer.valueOf(1);
+
+    private String openExtra;
+
+
+    private String outNewUserFlag;
+
+
+    private List<AllowanceInfo> promotionInfo;
+
+
+    public String getApiMethodName() {
+        return "/open/energy/oil/v1/queryNewOrder";
+    }
+
+
+}

+ 44 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryOrderInfoRequest.java

@@ -0,0 +1,44 @@
+/*    */ package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request;
+/*    */ 
+/*    */ import com.xiaoju.open.oil.commons.exception.ApiRuleException;
+/*    */ import com.xiaoju.open.oil.commons.utils.ParamCheckUtils;
+/*    */ import com.xiaoju.open.oil.interfaces.request.BaseOpenRequest;
+import com.xiaoju.open.oil.interfaces.response.QueryOrderInfoResponse;
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ public class QueryOrderInfoRequest
+/*    */   extends BaseOpenRequest<QueryOrderInfoResponse>
+/*    */ {
+/*    */   private String orderId;
+/*    */   
+/*    */   public String getApiMethodName() {
+/* 22 */     return "/energy/v1/queryOrderInfo";
+/*    */   }
+/*    */ 
+/*    */   
+/*    */   public void check() throws ApiRuleException {
+/* 27 */     ParamCheckUtils.checkNotEmpty(this.orderId, "orderId");
+/*    */   }
+/*    */   
+/*    */   public String getOrderId() {
+/* 31 */     return this.orderId;
+/*    */   }
+/*    */   
+/*    */   public void setOrderId(String orderId) {
+/* 35 */     this.orderId = orderId;
+/*    */   }
+/*    */ }
+
+
+/* Location:              E:\chendu\MicroService\application\SpringBatchService\SpringBatchServiceServer\src\main\resources\lib\oil-sdk-jar-1.0.16.jar!\com\xiaoju\open\oil\interfaces\request\QueryOrderInfoRequest.class
+ * Java compiler version: 8 (52.0)
+ * JD-Core Version:       1.1.3
+ */

+ 135 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryOrderListRequest.java

@@ -0,0 +1,135 @@
+/*     */ package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request;
+/*     */ 
+/*     */ import com.xiaoju.open.oil.commons.exception.ApiRuleException;
+/*     */ import com.xiaoju.open.oil.commons.utils.ParamCheckUtils;
+/*     */ import com.xiaoju.open.oil.interfaces.request.BaseOpenRequest;
+import com.xiaoju.open.oil.interfaces.response.QueryOrderListResponse;
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ public class QueryOrderListRequest
+/*     */   extends BaseOpenRequest<QueryOrderListResponse>
+/*     */ {
+/*     */   private String outUserId;
+/*     */   private String queryStartTime;
+/*     */   private String queryEndTime;
+/*     */   private String orderTimeStart;
+/*     */   private String orderTimeEnd;
+/*     */   private Integer pageIndex;
+/*     */   private Integer pageSize;
+/*     */   private Integer orderStatus;
+/*     */   
+/*     */   public String getApiMethodName() {
+/*  56 */     return "/energy/v1/queryOrderList";
+/*     */   }
+/*     */ 
+/*     */   
+/*     */   public void check() throws ApiRuleException {
+/*  61 */     ParamCheckUtils.checkNotEmpty(this.pageIndex, "pageIndex");
+/*  62 */     ParamCheckUtils.checkNotEmpty(this.pageSize, "pageSize");
+/*     */   }
+/*     */   
+/*     */   public String getOutUserId() {
+/*  66 */     return this.outUserId;
+/*     */   }
+/*     */   
+/*     */   public void setOutUserId(String outUserId) {
+/*  70 */     this.outUserId = outUserId;
+/*     */   }
+/*     */   
+/*     */   public String getQueryStartTime() {
+/*  74 */     return this.queryStartTime;
+/*     */   }
+/*     */   
+/*     */   public void setQueryStartTime(String queryStartTime) {
+/*  78 */     this.queryStartTime = queryStartTime;
+/*     */   }
+/*     */   
+/*     */   public String getQueryEndTime() {
+/*  82 */     return this.queryEndTime;
+/*     */   }
+/*     */   
+/*     */   public void setQueryEndTime(String queryEndTime) {
+/*  86 */     this.queryEndTime = queryEndTime;
+/*     */   }
+/*     */   
+/*     */   public String getOrderTimeStart() {
+/*  90 */     return this.orderTimeStart;
+/*     */   }
+/*     */   
+/*     */   public void setOrderTimeStart(String orderTimeStart) {
+/*  94 */     this.orderTimeStart = orderTimeStart;
+/*     */   }
+/*     */   
+/*     */   public String getOrderTimeEnd() {
+/*  98 */     return this.orderTimeEnd;
+/*     */   }
+/*     */   
+/*     */   public void setOrderTimeEnd(String orderTimeEnd) {
+/* 102 */     this.orderTimeEnd = orderTimeEnd;
+/*     */   }
+/*     */   
+/*     */   public Integer getPageIndex() {
+/* 106 */     return this.pageIndex;
+/*     */   }
+/*     */   
+/*     */   public void setPageIndex(Integer pageIndex) {
+/* 110 */     this.pageIndex = pageIndex;
+/*     */   }
+/*     */   
+/*     */   public Integer getPageSize() {
+/* 114 */     return this.pageSize;
+/*     */   }
+/*     */   
+/*     */   public void setPageSize(Integer pageSize) {
+/* 118 */     this.pageSize = pageSize;
+/*     */   }
+/*     */   
+/*     */   public Integer getOrderStatus() {
+/* 122 */     return this.orderStatus;
+/*     */   }
+/*     */   
+/*     */   public void setOrderStatus(Integer orderStatus) {
+/* 126 */     this.orderStatus = orderStatus;
+/*     */   }
+/*     */ }
+
+
+/* Location:              E:\chendu\MicroService\application\SpringBatchService\SpringBatchServiceServer\src\main\resources\lib\oil-sdk-jar-1.0.16.jar!\com\xiaoju\open\oil\interfaces\request\QueryOrderListRequest.class
+ * Java compiler version: 8 (52.0)
+ * JD-Core Version:       1.1.3
+ */

+ 23 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryOrderPromotionListRequest.java

@@ -0,0 +1,23 @@
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request;
+
+import com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.OpenRequest;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
+public class QueryOrderPromotionListRequest extends OpenRequest {
+    private String mobile;
+    private String outUserId;
+    private String storeId;
+    private Integer orderAmount;
+    private Integer allowanceType;
+
+    public String getApiMethodName() {
+        return "/open/energy/v1/queryOrderPromotionList";
+    }
+
+
+}

+ 25 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryStoreDetailRequest.java

@@ -0,0 +1,25 @@
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request;
+
+import com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.OpenRequest;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
+public class QueryStoreDetailRequest extends OpenRequest {
+    private String storeId;
+    private Float lon;
+    private Float lat;
+    private Integer openChannel;
+    private String mobile;
+    private String outUserId;
+
+
+    public String getApiMethodName() {
+        return "/open/energy/oil/v1/queryStoreDetail";
+    }
+
+}

+ 59 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryStoreListRequest.java

@@ -0,0 +1,59 @@
+/*    */ package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request;
+/*    */ 
+/*    */ import com.xiaoju.open.oil.commons.exception.ApiRuleException;
+/*    */ import com.xiaoju.open.oil.commons.utils.ParamCheckUtils;
+/*    */ import com.xiaoju.open.oil.interfaces.request.BaseOpenRequest;
+import com.xiaoju.open.oil.interfaces.response.QueryStoreListResponse;
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ public class QueryStoreListRequest
+/*    */   extends BaseOpenRequest<QueryStoreListResponse>
+/*    */ {
+/* 18 */   private Integer pageIndex = Integer.valueOf(1);
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */   
+/* 23 */   private Integer pageSize = Integer.valueOf(10);
+/*    */ 
+/*    */   
+/*    */   public String getApiMethodName() {
+/* 27 */     return "/energy/v1/queryStoreList";
+/*    */   }
+/*    */ 
+/*    */   
+/*    */   public void check() throws ApiRuleException {
+/* 32 */     ParamCheckUtils.checkNotEmpty(this.pageIndex, "pageIndex");
+/* 33 */     ParamCheckUtils.checkNotEmpty(this.pageSize, "pageSize");
+/* 34 */     ParamCheckUtils.checkMaxValue(Long.valueOf(this.pageSize.longValue()), 100L, "pageSize");
+/*    */   }
+/*    */   
+/*    */   public Integer getPageIndex() {
+/* 38 */     return this.pageIndex;
+/*    */   }
+/*    */   
+/*    */   public void setPageIndex(Integer pageIndex) {
+/* 42 */     this.pageIndex = pageIndex;
+/*    */   }
+/*    */   
+/*    */   public Integer getPageSize() {
+/* 46 */     return this.pageSize;
+/*    */   }
+/*    */   
+/*    */   public void setPageSize(Integer pageSize) {
+/* 50 */     this.pageSize = pageSize;
+/*    */   }
+/*    */ }
+
+
+/* Location:              E:\chendu\MicroService\application\SpringBatchService\SpringBatchServiceServer\src\main\resources\lib\oil-sdk-jar-1.0.16.jar!\com\xiaoju\open\oil\interfaces\request\QueryStoreListRequest.class
+ * Java compiler version: 8 (52.0)
+ * JD-Core Version:       1.1.3
+ */

+ 146 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryStorePriceRequest.java

@@ -0,0 +1,146 @@
+/*     */ package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request;
+/*     */ 
+/*     */ import com.xiaoju.open.oil.commons.exception.ApiRuleException;
+/*     */ import com.xiaoju.open.oil.commons.utils.ParamCheckUtils;
+/*     */ import com.xiaoju.open.oil.interfaces.request.BaseOpenRequest;
+import com.xiaoju.open.oil.interfaces.response.QueryStorePriceResponse;
+/*     */ import java.util.List;
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ public class QueryStorePriceRequest
+/*     */   extends BaseOpenRequest<QueryStorePriceResponse>
+/*     */ {
+/*     */   private List<String> storeIdList;
+/*     */   private Integer openChannel;
+/*     */   private String itemName;
+/*     */   private String mobile;
+/*     */   private String outNewUserFlag;
+/*     */   private Float lon;
+/*     */   private Float lat;
+/*     */   
+/*     */   public String getApiMethodName() {
+/*  61 */     return "/energy/v1/queryStorePrice";
+/*     */   }
+/*     */ 
+/*     */   
+/*     */   public void check() throws ApiRuleException {
+/*  66 */     ParamCheckUtils.checkCollectNotEmpty(this.storeIdList, "storeIdList");
+/*  67 */     ParamCheckUtils.checkNotEmpty(this.openChannel, "openChannel");
+/*  68 */     ParamCheckUtils.checkNotEmpty(this.itemName, "itemName");
+/*  69 */     ParamCheckUtils.checkNotEmpty(this.lon, "lon");
+/*  70 */     ParamCheckUtils.checkNotEmpty(this.lat, "lat");
+/*  71 */     ParamCheckUtils.checkMaxListSize(this.storeIdList, 20, "storeIdList");
+/*  72 */     ParamCheckUtils.checkNotEmpty(this.mobile, "mobile");
+/*     */   }
+/*     */ 
+/*     */   
+/*     */   public List<String> getStoreIdList() {
+/*  77 */     return this.storeIdList;
+/*     */   }
+/*     */   
+/*     */   public void setStoreIdList(List<String> storeIdList) {
+/*  81 */     this.storeIdList = storeIdList;
+/*     */   }
+/*     */   
+/*     */   public Integer getOpenChannel() {
+/*  85 */     return this.openChannel;
+/*     */   }
+/*     */   
+/*     */   public void setOpenChannel(Integer openChannel) {
+/*  89 */     this.openChannel = openChannel;
+/*     */   }
+/*     */   
+/*     */   public String getItemName() {
+/*  93 */     return this.itemName;
+/*     */   }
+/*     */   
+/*     */   public void setItemName(String itemName) {
+/*  97 */     this.itemName = itemName;
+/*     */   }
+/*     */   
+/*     */   public String getMobile() {
+/* 101 */     return this.mobile;
+/*     */   }
+/*     */   
+/*     */   public void setMobile(String mobile) {
+/* 105 */     this.mobile = mobile;
+/*     */   }
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */   
+/*     */   public String getOutNewUserFlag() {
+/* 117 */     return this.outNewUserFlag;
+/*     */   }
+/*     */   
+/*     */   public void setOutNewUserFlag(String outNewUserFlag) {
+/* 121 */     this.outNewUserFlag = outNewUserFlag;
+/*     */   }
+/*     */   
+/*     */   public Float getLon() {
+/* 125 */     return this.lon;
+/*     */   }
+/*     */   
+/*     */   public void setLon(Float lon) {
+/* 129 */     this.lon = lon;
+/*     */   }
+/*     */   
+/*     */   public Float getLat() {
+/* 133 */     return this.lat;
+/*     */   }
+/*     */   
+/*     */   public void setLat(Float lat) {
+/* 137 */     this.lat = lat;
+/*     */   }
+/*     */ }
+
+
+/* Location:              E:\chendu\MicroService\application\SpringBatchService\SpringBatchServiceServer\src\main\resources\lib\oil-sdk-jar-1.0.16.jar!\com\xiaoju\open\oil\interfaces\request\QueryStorePriceRequest.class
+ * Java compiler version: 8 (52.0)
+ * JD-Core Version:       1.1.3
+ */

+ 24 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryStorePromotionListRequest.java

@@ -0,0 +1,24 @@
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request;
+
+import com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.OpenRequest;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.util.List;
+
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
+public class QueryStorePromotionListRequest extends OpenRequest {
+    private String mobile;
+    private String outUserId;
+    private List<String> storeIdList;
+    private final Integer allowanceType = 2;
+
+    public String getApiMethodName() {
+        return "/open/energy/v1/queryStorePromotionList";
+    }
+
+
+}

+ 41 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryTokenRequest.java

@@ -0,0 +1,41 @@
+/*    */ package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request;
+/*    */ 
+/*    */ import com.xiaoju.open.oil.commons.exception.ApiRuleException;
+/*    */ import com.xiaoju.open.oil.commons.utils.ParamCheckUtils;
+/*    */ import com.xiaoju.open.oil.interfaces.request.BaseOpenRequest;
+import com.xiaoju.open.oil.interfaces.response.QueryTokenResponse;
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ public class QueryTokenRequest
+/*    */   extends BaseOpenRequest<QueryTokenResponse>
+/*    */ {
+/*    */   private String appSecret;
+/*    */   
+/*    */   public String getApiMethodName() {
+/* 19 */     return "/open/energy/v1/queryToken";
+/*    */   }
+/*    */ 
+/*    */   
+/*    */   public void check() throws ApiRuleException {
+/* 24 */     ParamCheckUtils.checkNotEmpty(this.appSecret, "appSecret");
+/*    */   }
+/*    */   
+/*    */   public String getAppSecret() {
+/* 28 */     return this.appSecret;
+/*    */   }
+/*    */   
+/*    */   public void setAppSecret(String appSecret) {
+/* 32 */     this.appSecret = appSecret;
+/*    */   }
+/*    */ }
+
+
+/* Location:              E:\chendu\MicroService\application\SpringBatchService\SpringBatchServiceServer\src\main\resources\lib\oil-sdk-jar-1.0.16.jar!\com\xiaoju\open\oil\interfaces\request\QueryTokenRequest.class
+ * Java compiler version: 8 (52.0)
+ * JD-Core Version:       1.1.3
+ */

+ 70 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryUserAuthRequest.java

@@ -0,0 +1,70 @@
+/*    */ package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request;
+/*    */ 
+/*    */ import com.xiaoju.open.oil.commons.exception.ApiRuleException;
+/*    */ import com.xiaoju.open.oil.commons.utils.ParamCheckUtils;
+/*    */ import com.xiaoju.open.oil.interfaces.domain.UserAuthHeaderInfo;
+/*    */ import com.xiaoju.open.oil.interfaces.domain.UserAuthRequestInfo;
+/*    */ import com.xiaoju.open.oil.interfaces.request.BaseOpenRequest;
+import com.xiaoju.open.oil.interfaces.response.UserAuthResponse;
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ public class QueryUserAuthRequest
+/*    */   extends BaseOpenRequest<UserAuthResponse>
+/*    */ {
+/*    */   private UserAuthHeaderInfo userAuthHeaderInfo;
+/*    */   private UserAuthRequestInfo userAuthRequestInfo;
+/*    */   
+/*    */   public String getApiMethodName() {
+/* 29 */     return "/am/open/api/user/auth";
+/*    */   }
+/*    */ 
+/*    */   
+/*    */   public void check() throws ApiRuleException {
+/* 34 */     ParamCheckUtils.checkNotEmpty(this.userAuthHeaderInfo, "userAuthHeaderInfo");
+/* 35 */     ParamCheckUtils.checkNotEmpty(this.userAuthRequestInfo, "userAuthRequestInfo");
+/* 36 */     ParamCheckUtils.checkNotEmpty(this.userAuthHeaderInfo.getMethod(), "method");
+/* 37 */     ParamCheckUtils.checkNotEmpty(this.userAuthHeaderInfo.getContentMd5(), "contentMd5");
+/* 38 */     ParamCheckUtils.checkNotEmpty(this.userAuthHeaderInfo.getDate(), "date");
+/* 39 */     ParamCheckUtils.checkNotEmpty(this.userAuthHeaderInfo.getCasKey(), "casKey");
+/* 40 */     ParamCheckUtils.checkNotEmpty(this.userAuthHeaderInfo.getPath(), "path");
+/*    */     
+/* 42 */     ParamCheckUtils.checkNotEmpty(this.userAuthRequestInfo.getEncryptPhone(), "encryptPhone");
+/* 43 */     ParamCheckUtils.checkNotEmpty(this.userAuthRequestInfo.getDeliveryMethod(), "deliveryMethod");
+/* 44 */     ParamCheckUtils.checkNotEmpty(this.userAuthRequestInfo.getOpenChannel(), "openChannel");
+/* 45 */     ParamCheckUtils.checkNotEmpty(this.userAuthRequestInfo.getBizLine(), "bizLine");
+/*    */   }
+/*    */   
+/*    */   public UserAuthHeaderInfo getUserAuthHeaderInfo() {
+/* 49 */     return this.userAuthHeaderInfo;
+/*    */   }
+/*    */   
+/*    */   public void setUserAuthHeaderInfo(UserAuthHeaderInfo userAuthHeaderInfo) {
+/* 53 */     this.userAuthHeaderInfo = userAuthHeaderInfo;
+/*    */   }
+/*    */   
+/*    */   public UserAuthRequestInfo getUserAuthRequestInfo() {
+/* 57 */     return this.userAuthRequestInfo;
+/*    */   }
+/*    */   
+/*    */   public void setUserAuthRequestInfo(UserAuthRequestInfo userAuthRequestInfo) {
+/* 61 */     this.userAuthRequestInfo = userAuthRequestInfo;
+/*    */   }
+/*    */ }
+
+
+/* Location:              E:\chendu\MicroService\application\SpringBatchService\SpringBatchServiceServer\src\main\resources\lib\oil-sdk-jar-1.0.16.jar!\com\xiaoju\open\oil\interfaces\request\QueryUserAuthRequest.class
+ * Java compiler version: 8 (52.0)
+ * JD-Core Version:       1.1.3
+ */

+ 128 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryUserPromotionListRequest.java

@@ -0,0 +1,128 @@
+/*     */ package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request;
+/*     */ 
+/*     */ import com.xiaoju.open.oil.commons.exception.ApiRuleException;
+/*     */ import com.xiaoju.open.oil.commons.utils.ParamCheckUtils;
+/*     */ import com.xiaoju.open.oil.interfaces.request.BaseOpenRequest;
+import com.xiaoju.open.oil.interfaces.response.QueryUserPromotionListResponse;
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ public class QueryUserPromotionListRequest
+/*     */   extends BaseOpenRequest<QueryUserPromotionListResponse>
+/*     */ {
+/*     */   private String mobile;
+/*     */   private String outUserId;
+/*     */   private Integer orderAmount;
+/*     */   private Integer allowanceType;
+/*     */   private Integer status;
+/*     */   private Integer pageIndex;
+/*     */   private Integer pageSize;
+/*     */   
+/*     */   public String getApiMethodName() {
+/*  53 */     return "/open/energy/v1/queryUserPromotionList";
+/*     */   }
+/*     */ 
+/*     */   
+/*     */   public void check() throws ApiRuleException {
+/*  58 */     ParamCheckUtils.checkNotEmpty(this.mobile, "mobile");
+/*  59 */     ParamCheckUtils.checkNotEmpty(this.outUserId, "outUserId");
+/*  60 */     ParamCheckUtils.checkNotEmpty(this.allowanceType, "allowanceType");
+/*  61 */     ParamCheckUtils.checkNotEmpty(this.status, "status");
+/*  62 */     ParamCheckUtils.checkNotEmpty(this.pageIndex, "pageIndex");
+/*  63 */     ParamCheckUtils.checkNotEmpty(this.pageSize, "pageSize");
+/*     */   }
+/*     */   
+/*     */   public String getMobile() {
+/*  67 */     return this.mobile;
+/*     */   }
+/*     */   
+/*     */   public void setMobile(String mobile) {
+/*  71 */     this.mobile = mobile;
+/*     */   }
+/*     */   
+/*     */   public String getOutUserId() {
+/*  75 */     return this.outUserId;
+/*     */   }
+/*     */   
+/*     */   public void setOutUserId(String outUserId) {
+/*  79 */     this.outUserId = outUserId;
+/*     */   }
+/*     */   
+/*     */   public Integer getOrderAmount() {
+/*  83 */     return this.orderAmount;
+/*     */   }
+/*     */   
+/*     */   public void setOrderAmount(Integer orderAmount) {
+/*  87 */     this.orderAmount = orderAmount;
+/*     */   }
+/*     */   
+/*     */   public Integer getAllowanceType() {
+/*  91 */     return this.allowanceType;
+/*     */   }
+/*     */   
+/*     */   public void setAllowanceType(Integer allowanceType) {
+/*  95 */     this.allowanceType = allowanceType;
+/*     */   }
+/*     */   
+/*     */   public Integer getStatus() {
+/*  99 */     return this.status;
+/*     */   }
+/*     */   
+/*     */   public void setStatus(Integer status) {
+/* 103 */     this.status = status;
+/*     */   }
+/*     */   
+/*     */   public Integer getPageIndex() {
+/* 107 */     return this.pageIndex;
+/*     */   }
+/*     */   
+/*     */   public void setPageIndex(Integer pageIndex) {
+/* 111 */     this.pageIndex = pageIndex;
+/*     */   }
+/*     */   
+/*     */   public Integer getPageSize() {
+/* 115 */     return this.pageSize;
+/*     */   }
+/*     */   
+/*     */   public void setPageSize(Integer pageSize) {
+/* 119 */     this.pageSize = pageSize;
+/*     */   }
+/*     */ }
+
+
+/* Location:              E:\chendu\MicroService\application\SpringBatchService\SpringBatchServiceServer\src\main\resources\lib\oil-sdk-jar-1.0.16.jar!\com\xiaoju\open\oil\interfaces\request\QueryUserPromotionListRequest.class
+ * Java compiler version: 8 (52.0)
+ * JD-Core Version:       1.1.3
+ */

+ 20 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/SynOrderStatusRequest.java

@@ -0,0 +1,20 @@
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request;
+
+import com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.OpenRequest;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+@Data
+@AllArgsConstructor
+@NoArgsConstructor
+public class SynOrderStatusRequest extends OpenRequest {
+    private String outOrderId;
+    private String xjOrderId;
+    private Integer orderStatus;
+
+    public String getApiMethodName() {
+        return "/open/energy/oil/v1/syncOrderStatus";
+    }
+
+}

+ 22 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/SynRefundStatusRequest.java

@@ -0,0 +1,22 @@
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request;
+
+import com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.OpenRequest;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+@Data
+@AllArgsConstructor
+@NoArgsConstructor
+public class SynRefundStatusRequest extends OpenRequest {
+    private String outOrderId;
+    private String xjOrderId;
+    private Integer refundStatus;
+
+
+    public String getApiMethodName() {
+        return "/open/energy/oil/v1/syncRefundStatus";
+    }
+
+
+}

+ 15 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/NotificationCheckUserInfoResponse.java

@@ -0,0 +1,15 @@
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.response;
+
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
+public class NotificationCheckUserInfoResponse {
+    private Integer checkState;
+    private String checkMsg;
+
+}
+

+ 16 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/NotificationOrderInfoResponse.java

@@ -0,0 +1,16 @@
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.response;
+
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
+public class NotificationOrderInfoResponse {
+    private Integer state;
+    private String message;
+
+
+}
+

+ 16 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/NotificationPushStoreInfoResponse.java

@@ -0,0 +1,16 @@
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.response;
+
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
+public class NotificationPushStoreInfoResponse {
+    private Boolean success;
+    private String msg;
+
+
+}
+

+ 16 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/NotificationReceiveRefundResponse.java

@@ -0,0 +1,16 @@
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.response;
+
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
+public class NotificationReceiveRefundResponse {
+    private Boolean success;
+    private String msg;
+
+
+}

+ 48 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryApiOrderListResponse.java

@@ -0,0 +1,48 @@
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.response;
+
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.util.List;
+
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
+public class QueryApiOrderListResponse {
+    private Integer pageIndex;
+    private Integer pageSize;
+    private Integer totalSize;
+    private Integer totalPage;
+    private List<OpenOrderInfo> orderInfoList;
+
+    @Data
+    @NoArgsConstructor
+    @AllArgsConstructor
+    public class OpenOrderInfo {
+        private String orderId;
+        private String outUserId;
+        private String storeId;
+        private String storeName;
+        private String itemName;
+        private Double quantity;
+        private String gunNo;
+        private String cityName;
+        private Integer orderStatus;
+        private Integer totalMoney;
+        private Integer realMoney;
+        private Integer serviceFee;
+        private String payTime;
+        private String orderTime;
+        private String outOrderId;
+        private Integer refundStatus;
+        private String refundTime;
+        private Integer payType;
+        private String openExtra;
+
+
+    }
+
+
+}
+

+ 21 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryApiStoreListResponse.java

@@ -0,0 +1,21 @@
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.response;
+
+import com.xiaoju.open.oil.interfaces.domain.OpenStoreInfo;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.util.List;
+
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
+public class QueryApiStoreListResponse {
+    private Integer pageIndex;
+    private Integer pageSize;
+    private Long totalSize;
+    private Integer totalPage;
+    private List<OpenStoreInfo> data;
+
+}
+

+ 54 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryApiStorePriceResponse.java

@@ -0,0 +1,54 @@
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.response;
+
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.util.List;
+
+
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
+
+public class QueryApiStorePriceResponse {
+    private List<StorePriceInfo> storePriceInfos;
+
+
+    @Data
+    @NoArgsConstructor
+    @AllArgsConstructor
+    public class StorePriceInfo {
+        private String storeId;
+        private Integer allowanceClientScheme;
+        private List<ItemPriceInfo> itemInfoList;
+
+    }
+
+    @Data
+    @NoArgsConstructor
+    @AllArgsConstructor
+    public class ItemPriceInfo {
+        private String itemId;
+        private String itemName;
+        private Integer cityPrice;
+        private Integer storePrice;
+        private Integer vipPrice;
+        private List<String> gunNos;
+        private List<TagVO> tagList;
+
+    }
+
+    @Data
+    @NoArgsConstructor
+    @AllArgsConstructor
+    public class TagVO {
+        private Integer type;
+        private Integer location;
+        private Integer iconType;
+        private String title;
+        private String longTitle;
+
+
+    }
+}

+ 35 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryApiStorePriceV2Response.java

@@ -0,0 +1,35 @@
+/*    */ package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.response;
+/*    */ 
+/*    */ import com.xiaoju.open.oil.commons.OpenResponse;
+import com.xiaoju.open.oil.interfaces.response.QueryApiStorePriceResponse;
+/*    */ import java.util.List;
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ public class QueryApiStorePriceV2Response
+/*    */   extends OpenResponse
+/*    */ {
+/*    */   private List<com.xiaoju.open.oil.interfaces.response.QueryApiStorePriceResponse> queryApiStorePriceResponses;
+/*    */   
+/*    */   public List<com.xiaoju.open.oil.interfaces.response.QueryApiStorePriceResponse> getQueryApiStorePriceResponses() {
+/* 22 */     return this.queryApiStorePriceResponses;
+/*    */   }
+/*    */   
+/*    */   public void setQueryApiStorePriceResponses(List<QueryApiStorePriceResponse> queryApiStorePriceResponses) {
+/* 26 */     this.queryApiStorePriceResponses = queryApiStorePriceResponses;
+/*    */   }
+/*    */ }
+
+
+/* Location:              E:\chendu\MicroService\application\SpringBatchService\SpringBatchServiceServer\src\main\resources\lib\oil-sdk-jar-1.0.16.jar!\com\xiaoju\open\oil\interfaces\response\QueryApiStorePriceV2Response.class
+ * Java compiler version: 8 (52.0)
+ * JD-Core Version:       1.1.3
+ */

+ 18 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryCalBatchPriceResponse.java

@@ -0,0 +1,18 @@
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.response;
+
+
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.util.List;
+
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
+public class QueryCalBatchPriceResponse {
+    private String storeId;
+    private List<QueryCalPriceResponse> itemList;
+
+}
+

+ 44 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryCalPriceResponse.java

@@ -0,0 +1,44 @@
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.response;
+
+
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.io.Serializable;
+import java.util.List;
+
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
+public class QueryCalPriceResponse {
+    private String storeId;
+    private Integer discountPrice;
+    private Integer realPrice;
+    private Integer totalPrice;
+    private Integer serviceFee;
+    private Integer promotionAmount;
+    private Integer litre;
+    private String itemName;
+    private PriceDetailVO priceDetailVo;
+
+    @Data
+    @NoArgsConstructor
+    @AllArgsConstructor
+    public class PriceDetailVO implements Serializable {
+        private List<List<String>> deductionDetail;
+        private CouponDTO gunCoupon;
+    }
+
+    @Data
+    @NoArgsConstructor
+    @AllArgsConstructor
+    public class CouponDTO implements Serializable {
+        private String couponId;
+        private Integer deductAmount;
+
+    }
+
+
+}
+

+ 30 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryEnergyUrlResponse.java

@@ -0,0 +1,30 @@
+/*    */ package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.response;
+/*    */ 
+/*    */ import com.xiaoju.open.oil.commons.OpenResponse;
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ public class QueryEnergyUrlResponse
+/*    */   extends OpenResponse
+/*    */ {
+/*    */   private String link;
+/*    */   
+/*    */   public String getLink() {
+/* 18 */     return this.link;
+/*    */   }
+/*    */   
+/*    */   public void setLink(String link) {
+/* 22 */     this.link = link;
+/*    */   }
+/*    */ }
+
+
+/* Location:              E:\chendu\MicroService\application\SpringBatchService\SpringBatchServiceServer\src\main\resources\lib\oil-sdk-jar-1.0.16.jar!\com\xiaoju\open\oil\interfaces\response\QueryEnergyUrlResponse.class
+ * Java compiler version: 8 (52.0)
+ * JD-Core Version:       1.1.3
+ */

+ 17 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryNewOrderResponse.java

@@ -0,0 +1,17 @@
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.response;
+
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
+public class QueryNewOrderResponse {
+    private String outOrderId;
+    private String xjOrderId;
+    private String tradeId;
+
+}
+

+ 357 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryOrderInfoResponse.java

@@ -0,0 +1,357 @@
+/*     */ package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.response;
+/*     */ 
+/*     */ import com.xiaoju.open.oil.commons.OpenResponse;
+/*     */ import com.xiaoju.open.oil.interfaces.domain.PayCodeInfo;
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ 
+/*     */ public class QueryOrderInfoResponse
+/*     */   extends OpenResponse
+/*     */ {
+/*     */   private String outUserId;
+/*     */   private String orderId;
+/*     */   private String cityId;
+/*     */   private String cityName;
+/*     */   private String storeId;
+/*     */   private String storeName;
+/*     */   private String itemName;
+/*     */   private String gunNo;
+/*     */   private Float quantity;
+/*     */   private Integer totalMoney;
+/*     */   private Integer realMoney;
+/*     */   private Integer serviceFee;
+/*     */   private Integer payStatus;
+/*     */   private String payTime;
+/*     */   private Integer refundStatus;
+/*     */   private String refundTime;
+/*     */   private Integer sourceCode;
+/*     */   private String outOrderId;
+/*     */   private Integer orderStatus;
+/*     */   private String orderTime;
+/*     */   private Integer payType;
+/*     */   private String extraForOpen;
+/*     */   private Integer unitPrice;
+/*     */   private String openInfo;
+/*     */   private PayCodeInfo payCodeDTO;
+/*     */   private Integer billingType;
+/*     */   
+/*     */   public String getOutUserId() {
+/* 145 */     return this.outUserId;
+/*     */   }
+/*     */   
+/*     */   public void setOutUserId(String outUserId) {
+/* 149 */     this.outUserId = outUserId;
+/*     */   }
+/*     */   
+/*     */   public String getOrderId() {
+/* 153 */     return this.orderId;
+/*     */   }
+/*     */   
+/*     */   public void setOrderId(String orderId) {
+/* 157 */     this.orderId = orderId;
+/*     */   }
+/*     */   
+/*     */   public String getCityId() {
+/* 161 */     return this.cityId;
+/*     */   }
+/*     */   
+/*     */   public void setCityId(String cityId) {
+/* 165 */     this.cityId = cityId;
+/*     */   }
+/*     */   
+/*     */   public String getCityName() {
+/* 169 */     return this.cityName;
+/*     */   }
+/*     */   
+/*     */   public void setCityName(String cityName) {
+/* 173 */     this.cityName = cityName;
+/*     */   }
+/*     */   
+/*     */   public String getStoreId() {
+/* 177 */     return this.storeId;
+/*     */   }
+/*     */   
+/*     */   public void setStoreId(String storeId) {
+/* 181 */     this.storeId = storeId;
+/*     */   }
+/*     */   
+/*     */   public String getStoreName() {
+/* 185 */     return this.storeName;
+/*     */   }
+/*     */   
+/*     */   public void setStoreName(String storeName) {
+/* 189 */     this.storeName = storeName;
+/*     */   }
+/*     */   
+/*     */   public String getItemName() {
+/* 193 */     return this.itemName;
+/*     */   }
+/*     */   
+/*     */   public void setItemName(String itemName) {
+/* 197 */     this.itemName = itemName;
+/*     */   }
+/*     */   
+/*     */   public String getGunNo() {
+/* 201 */     return this.gunNo;
+/*     */   }
+/*     */   
+/*     */   public void setGunNo(String gunNo) {
+/* 205 */     this.gunNo = gunNo;
+/*     */   }
+/*     */   
+/*     */   public Float getQuantity() {
+/* 209 */     return this.quantity;
+/*     */   }
+/*     */   
+/*     */   public void setQuantity(Float quantity) {
+/* 213 */     this.quantity = quantity;
+/*     */   }
+/*     */   
+/*     */   public Integer getTotalMoney() {
+/* 217 */     return this.totalMoney;
+/*     */   }
+/*     */   
+/*     */   public void setTotalMoney(Integer totalMoney) {
+/* 221 */     this.totalMoney = totalMoney;
+/*     */   }
+/*     */   
+/*     */   public Integer getRealMoney() {
+/* 225 */     return this.realMoney;
+/*     */   }
+/*     */   
+/*     */   public void setRealMoney(Integer realMoney) {
+/* 229 */     this.realMoney = realMoney;
+/*     */   }
+/*     */   
+/*     */   public Integer getServiceFee() {
+/* 233 */     return this.serviceFee;
+/*     */   }
+/*     */   
+/*     */   public void setServiceFee(Integer serviceFee) {
+/* 237 */     this.serviceFee = serviceFee;
+/*     */   }
+/*     */   
+/*     */   public Integer getPayStatus() {
+/* 241 */     return this.payStatus;
+/*     */   }
+/*     */   
+/*     */   public void setPayStatus(Integer payStatus) {
+/* 245 */     this.payStatus = payStatus;
+/*     */   }
+/*     */   
+/*     */   public String getPayTime() {
+/* 249 */     return this.payTime;
+/*     */   }
+/*     */   
+/*     */   public void setPayTime(String payTime) {
+/* 253 */     this.payTime = payTime;
+/*     */   }
+/*     */   
+/*     */   public Integer getRefundStatus() {
+/* 257 */     return this.refundStatus;
+/*     */   }
+/*     */   
+/*     */   public void setRefundStatus(Integer refundStatus) {
+/* 261 */     this.refundStatus = refundStatus;
+/*     */   }
+/*     */   
+/*     */   public String getRefundTime() {
+/* 265 */     return this.refundTime;
+/*     */   }
+/*     */   
+/*     */   public void setRefundTime(String refundTime) {
+/* 269 */     this.refundTime = refundTime;
+/*     */   }
+/*     */   
+/*     */   public Integer getSourceCode() {
+/* 273 */     return this.sourceCode;
+/*     */   }
+/*     */   
+/*     */   public void setSourceCode(Integer sourceCode) {
+/* 277 */     this.sourceCode = sourceCode;
+/*     */   }
+/*     */   
+/*     */   public String getOutOrderId() {
+/* 281 */     return this.outOrderId;
+/*     */   }
+/*     */   
+/*     */   public void setOutOrderId(String outOrderId) {
+/* 285 */     this.outOrderId = outOrderId;
+/*     */   }
+/*     */   
+/*     */   public Integer getOrderStatus() {
+/* 289 */     return this.orderStatus;
+/*     */   }
+/*     */   
+/*     */   public void setOrderStatus(Integer orderStatus) {
+/* 293 */     this.orderStatus = orderStatus;
+/*     */   }
+/*     */   
+/*     */   public String getOrderTime() {
+/* 297 */     return this.orderTime;
+/*     */   }
+/*     */   
+/*     */   public void setOrderTime(String orderTime) {
+/* 301 */     this.orderTime = orderTime;
+/*     */   }
+/*     */   
+/*     */   public Integer getPayType() {
+/* 305 */     return this.payType;
+/*     */   }
+/*     */   
+/*     */   public void setPayType(Integer payType) {
+/* 309 */     this.payType = payType;
+/*     */   }
+/*     */   
+/*     */   public String getExtraForOpen() {
+/* 313 */     return this.extraForOpen;
+/*     */   }
+/*     */   
+/*     */   public void setExtraForOpen(String extraForOpen) {
+/* 317 */     this.extraForOpen = extraForOpen;
+/*     */   }
+/*     */   
+/*     */   public Integer getUnitPrice() {
+/* 321 */     return this.unitPrice;
+/*     */   }
+/*     */   
+/*     */   public void setUnitPrice(Integer unitPrice) {
+/* 325 */     this.unitPrice = unitPrice;
+/*     */   }
+/*     */   
+/*     */   public String getOpenInfo() {
+/* 329 */     return this.openInfo;
+/*     */   }
+/*     */   
+/*     */   public void setOpenInfo(String openInfo) {
+/* 333 */     this.openInfo = openInfo;
+/*     */   }
+/*     */   
+/*     */   public PayCodeInfo getPayCodeDTO() {
+/* 337 */     return this.payCodeDTO;
+/*     */   }
+/*     */   
+/*     */   public void setPayCodeDTO(PayCodeInfo payCodeDTO) {
+/* 341 */     this.payCodeDTO = payCodeDTO;
+/*     */   }
+/*     */   
+/*     */   public Integer getBillingType() {
+/* 345 */     return this.billingType;
+/*     */   }
+/*     */   
+/*     */   public void setBillingType(Integer billingType) {
+/* 349 */     this.billingType = billingType;
+/*     */   }
+/*     */ }
+
+
+/* Location:              E:\chendu\MicroService\application\SpringBatchService\SpringBatchServiceServer\src\main\resources\lib\oil-sdk-jar-1.0.16.jar!\com\xiaoju\open\oil\interfaces\response\QueryOrderInfoResponse.class
+ * Java compiler version: 8 (52.0)
+ * JD-Core Version:       1.1.3
+ */

+ 72 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryOrderListResponse.java

@@ -0,0 +1,72 @@
+/*    */ package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.response;
+/*    */ 
+/*    */ import com.xiaoju.open.oil.commons.OpenResponse;
+/*    */ import com.xiaoju.open.oil.interfaces.domain.QueryOrderInfo;
+/*    */ import java.util.List;
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ public class QueryOrderListResponse
+/*    */   extends OpenResponse
+/*    */ {
+/*    */   private int pageIndex;
+/*    */   private int pageSize;
+/*    */   private int totalSize;
+/*    */   private List<QueryOrderInfo> orderInfoList;
+/*    */   
+/*    */   public int getPageIndex() {
+/* 36 */     return this.pageIndex;
+/*    */   }
+/*    */   
+/*    */   public void setPageIndex(int pageIndex) {
+/* 40 */     this.pageIndex = pageIndex;
+/*    */   }
+/*    */   
+/*    */   public int getPageSize() {
+/* 44 */     return this.pageSize;
+/*    */   }
+/*    */   
+/*    */   public void setPageSize(int pageSize) {
+/* 48 */     this.pageSize = pageSize;
+/*    */   }
+/*    */   
+/*    */   public int getTotalSize() {
+/* 52 */     return this.totalSize;
+/*    */   }
+/*    */   
+/*    */   public void setTotalSize(int totalSize) {
+/* 56 */     this.totalSize = totalSize;
+/*    */   }
+/*    */   
+/*    */   public List<QueryOrderInfo> getOrderInfoList() {
+/* 60 */     return this.orderInfoList;
+/*    */   }
+/*    */   
+/*    */   public void setOrderInfoList(List<QueryOrderInfo> orderInfoList) {
+/* 64 */     this.orderInfoList = orderInfoList;
+/*    */   }
+/*    */ }
+
+
+/* Location:              E:\chendu\MicroService\application\SpringBatchService\SpringBatchServiceServer\src\main\resources\lib\oil-sdk-jar-1.0.16.jar!\com\xiaoju\open\oil\interfaces\response\QueryOrderListResponse.class
+ * Java compiler version: 8 (52.0)
+ * JD-Core Version:       1.1.3
+ */

+ 60 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryStoreDetailResponse.java

@@ -0,0 +1,60 @@
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.response;
+
+
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.util.List;
+
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
+public class QueryStoreDetailResponse {
+    private String storeId;
+    private String storeName;
+    private String storeLogo;
+    private List<String> storePicList;
+    private String cityName;
+    private String address;
+    private float lon;
+    private float lat;
+    private String brandId;
+    private String brandName;
+    private Integer orderInPay;
+    private String businessHoursStart;
+    private String businessHoursEnd;
+    private String storeTel;
+    private int operatingStatus;
+    private int invoiceManner = 1;
+    private List<StoreDetailItemInfo> itemInfoList;
+
+    @Data
+    @NoArgsConstructor
+    @AllArgsConstructor
+    public class StoreDetailItemInfo {
+        private String storeId;
+        private int storePrice;
+        private int cityPrice;
+        private int vipPrice;
+        private String itemId;
+        private String itemName;
+        private List<String> gunNos;
+        private List<TagVO> tagList;
+
+    }
+
+    @Data
+    @NoArgsConstructor
+    @AllArgsConstructor
+    public class TagVO {
+        private Integer type;
+        private Integer location;
+        private Integer iconType;
+        private String title;
+        private String longTitle;
+
+
+    }
+
+}

+ 72 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryStoreListResponse.java

@@ -0,0 +1,72 @@
+/*    */ package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.response;
+/*    */ 
+/*    */ import com.xiaoju.open.oil.commons.OpenResponse;
+/*    */ import com.xiaoju.open.oil.interfaces.domain.StoreInfo;
+/*    */ import java.util.List;
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ public class QueryStoreListResponse
+/*    */   extends OpenResponse
+/*    */ {
+/*    */   private int pageIndex;
+/*    */   private int pageSize;
+/*    */   private int totalSize;
+/*    */   private List<StoreInfo> storeInfoList;
+/*    */   
+/*    */   public int getPageIndex() {
+/* 36 */     return this.pageIndex;
+/*    */   }
+/*    */   
+/*    */   public void setPageIndex(int pageIndex) {
+/* 40 */     this.pageIndex = pageIndex;
+/*    */   }
+/*    */   
+/*    */   public int getPageSize() {
+/* 44 */     return this.pageSize;
+/*    */   }
+/*    */   
+/*    */   public void setPageSize(int pageSize) {
+/* 48 */     this.pageSize = pageSize;
+/*    */   }
+/*    */   
+/*    */   public int getTotalSize() {
+/* 52 */     return this.totalSize;
+/*    */   }
+/*    */   
+/*    */   public void setTotalSize(int totalSize) {
+/* 56 */     this.totalSize = totalSize;
+/*    */   }
+/*    */   
+/*    */   public List<StoreInfo> getStoreInfoList() {
+/* 60 */     return this.storeInfoList;
+/*    */   }
+/*    */   
+/*    */   public void setStoreInfoList(List<StoreInfo> storeInfoList) {
+/* 64 */     this.storeInfoList = storeInfoList;
+/*    */   }
+/*    */ }
+
+
+/* Location:              E:\chendu\MicroService\application\SpringBatchService\SpringBatchServiceServer\src\main\resources\lib\oil-sdk-jar-1.0.16.jar!\com\xiaoju\open\oil\interfaces\response\QueryStoreListResponse.class
+ * Java compiler version: 8 (52.0)
+ * JD-Core Version:       1.1.3
+ */

+ 34 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryStorePriceResponse.java

@@ -0,0 +1,34 @@
+/*    */ package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.response;
+/*    */ 
+/*    */ import com.xiaoju.open.oil.commons.OpenResponse;
+/*    */ import com.xiaoju.open.oil.interfaces.domain.ItemInfo;
+/*    */ import java.util.List;
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ public class QueryStorePriceResponse
+/*    */   extends OpenResponse
+/*    */ {
+/*    */   private List<ItemInfo> itemInfoList;
+/*    */   
+/*    */   public List<ItemInfo> getItemInfoList() {
+/* 22 */     return this.itemInfoList;
+/*    */   }
+/*    */   
+/*    */   public void setItemInfoList(List<ItemInfo> itemInfoList) {
+/* 26 */     this.itemInfoList = itemInfoList;
+/*    */   }
+/*    */ }
+
+
+/* Location:              E:\chendu\MicroService\application\SpringBatchService\SpringBatchServiceServer\src\main\resources\lib\oil-sdk-jar-1.0.16.jar!\com\xiaoju\open\oil\interfaces\response\QueryStorePriceResponse.class
+ * Java compiler version: 8 (52.0)
+ * JD-Core Version:       1.1.3
+ */

+ 15 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryTokenResponse.java

@@ -0,0 +1,15 @@
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.response;
+
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
+public class QueryTokenResponse {
+    private String accessToken;
+    private Integer availableTime;
+
+}

+ 85 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryUserPromotionListResponse.java

@@ -0,0 +1,85 @@
+/*    */ package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.response;
+/*    */ 
+/*    */ import com.xiaoju.open.oil.commons.OpenResponse;
+/*    */ import com.xiaoju.open.oil.interfaces.domain.AllowancePromotionInfo;
+/*    */ import java.util.List;
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ public class QueryUserPromotionListResponse
+/*    */   extends OpenResponse
+/*    */ {
+/*    */   private Integer pageIndex;
+/*    */   private Integer pageSize;
+/*    */   private Integer totalSize;
+/*    */   private Integer totalPage;
+/*    */   private List<AllowancePromotionInfo> data;
+/*    */   
+/*    */   public Integer getPageIndex() {
+/* 41 */     return this.pageIndex;
+/*    */   }
+/*    */   
+/*    */   public void setPageIndex(Integer pageIndex) {
+/* 45 */     this.pageIndex = pageIndex;
+/*    */   }
+/*    */   
+/*    */   public Integer getPageSize() {
+/* 49 */     return this.pageSize;
+/*    */   }
+/*    */   
+/*    */   public void setPageSize(Integer pageSize) {
+/* 53 */     this.pageSize = pageSize;
+/*    */   }
+/*    */   
+/*    */   public Integer getTotalSize() {
+/* 57 */     return this.totalSize;
+/*    */   }
+/*    */   
+/*    */   public void setTotalSize(Integer totalSize) {
+/* 61 */     this.totalSize = totalSize;
+/*    */   }
+/*    */   
+/*    */   public Integer getTotalPage() {
+/* 65 */     return this.totalPage;
+/*    */   }
+/*    */   
+/*    */   public void setTotalPage(Integer totalPage) {
+/* 69 */     this.totalPage = totalPage;
+/*    */   }
+/*    */   
+/*    */   public List<AllowancePromotionInfo> getData() {
+/* 73 */     return this.data;
+/*    */   }
+/*    */   
+/*    */   public void setData(List<AllowancePromotionInfo> data) {
+/* 77 */     this.data = data;
+/*    */   }
+/*    */ }
+
+
+/* Location:              E:\chendu\MicroService\application\SpringBatchService\SpringBatchServiceServer\src\main\resources\lib\oil-sdk-jar-1.0.16.jar!\com\xiaoju\open\oil\interfaces\response\QueryUserPromotionListResponse.class
+ * Java compiler version: 8 (52.0)
+ * JD-Core Version:       1.1.3
+ */

+ 43 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/RefundResponse.java

@@ -0,0 +1,43 @@
+/*    */ package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.response;
+/*    */ 
+/*    */ import com.xiaoju.open.oil.commons.OpenResponse;
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ public class RefundResponse
+/*    */   extends OpenResponse
+/*    */ {
+/*    */   private Boolean success;
+/*    */   private String msg;
+/*    */   
+/*    */   public Boolean getSuccess() {
+/* 23 */     return this.success;
+/*    */   }
+/*    */   
+/*    */   public void setSuccess(Boolean success) {
+/* 27 */     this.success = success;
+/*    */   }
+/*    */   
+/*    */   public String getMsg() {
+/* 31 */     return this.msg;
+/*    */   }
+/*    */   
+/*    */   public void setMsg(String msg) {
+/* 35 */     this.msg = msg;
+/*    */   }
+/*    */ }
+
+
+/* Location:              E:\chendu\MicroService\application\SpringBatchService\SpringBatchServiceServer\src\main\resources\lib\oil-sdk-jar-1.0.16.jar!\com\xiaoju\open\oil\interfaces\response\RefundResponse.class
+ * Java compiler version: 8 (52.0)
+ * JD-Core Version:       1.1.3
+ */

+ 34 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/UserAuthResponse.java

@@ -0,0 +1,34 @@
+/*    */ package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.response;
+/*    */ 
+/*    */ import com.xiaoju.open.oil.commons.OpenResponse;
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ 
+/*    */ public class UserAuthResponse
+/*    */   extends OpenResponse
+/*    */ {
+/*    */   private static final long serialVersionUID = -90530346054364773L;
+/*    */   private String link;
+/*    */   
+/*    */   public String getLink() {
+/* 17 */     return this.link;
+/*    */   }
+/*    */   
+/*    */   public void setLink(String link) {
+/* 21 */     this.link = link;
+/*    */   }
+/*    */ 
+/*    */   
+/*    */   public String toString() {
+/* 26 */     return "UserAuthResponse{link='" + this.link + '\'' + '}';
+/*    */   }
+/*    */ }
+
+
+/* Location:              E:\chendu\MicroService\application\SpringBatchService\SpringBatchServiceServer\src\main\resources\lib\oil-sdk-jar-1.0.16.jar!\com\xiaoju\open\oil\interfaces\response\UserAuthResponse.class
+ * Java compiler version: 8 (52.0)
+ * JD-Core Version:       1.1.3
+ */

+ 37 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/util/Decoder.java

@@ -0,0 +1,37 @@
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.util;
+
+import javax.crypto.Cipher;
+import javax.crypto.spec.IvParameterSpec;
+import javax.crypto.spec.SecretKeySpec;
+import java.util.Base64;
+
+public class Decoder {
+  public static String decrypt(String data, String dataSecret, String dataSecretIv) {
+    try {
+      if (dataSecret == null) {
+        System.out.print("Key为空null");
+        return null;
+      } 
+      if (dataSecret.length() != 16) {
+        System.out.print("Key长度不是16位");
+        return null;
+      } 
+      byte[] raw = dataSecret.getBytes("UTF-8");
+      SecretKeySpec skeySpec = new SecretKeySpec(raw, "AES");
+      Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5Padding");
+      IvParameterSpec iv = new IvParameterSpec(dataSecretIv.getBytes());
+      cipher.init(2, skeySpec, iv);
+      byte[] encrypted1 = Base64.getDecoder().decode(data);
+      try {
+        byte[] original = cipher.doFinal(encrypted1);
+        String originalString = new String(original, "UTF-8");
+        return originalString;
+      } catch (Exception e) {
+        e.printStackTrace();
+        return null;
+      } 
+    } catch (Exception ex) {
+      return null;
+    } 
+  }
+}

+ 64 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/util/Encoder.java

@@ -0,0 +1,64 @@
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.util;
+
+
+import java.security.Key;
+import java.util.Base64;
+import javax.crypto.Cipher;
+import javax.crypto.SecretKey;
+import javax.crypto.spec.IvParameterSpec;
+import javax.crypto.spec.SecretKeySpec;
+
+import cn.hutool.json.JSONUtil;
+import org.apache.commons.codec.digest.DigestUtils;
+
+public abstract class Encoder {
+    public static String encrypt(String data, String dataSecret, String dataSecretIv) {
+        try {
+            if (dataSecret == null) {
+                System.out.print("Key");
+                return null;
+            }
+            if (dataSecret.length() != 16) {
+                System.out.print("Key");
+                return null;
+            }
+            byte[] raw = dataSecret.getBytes("UTF-8");
+            SecretKeySpec skeySpec = new SecretKeySpec(raw, "AES");
+            Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5Padding");
+            IvParameterSpec iv = new IvParameterSpec(dataSecretIv.getBytes());
+            cipher.init(1, skeySpec, iv);
+            byte[] encrypted = cipher.doFinal(data.getBytes());
+            String str = Base64.getEncoder().encodeToString(encrypted);
+            str = str.replaceAll("\r", "");
+            str = str.replaceAll("\n", "");
+            return str;
+        } catch (Exception ex) {
+            return null;
+        }
+    }
+
+    public static String encryptH5(String dataStr, String appSecret) {
+        try {
+            String key = appSecret.substring(0, 16);
+            Key secretKey = keyGenerator(key);
+            IvParameterSpec iv = new IvParameterSpec(key.getBytes("UTF-8"));
+            Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5Padding");
+            cipher.init(1, secretKey, iv);
+            byte[] results = cipher.doFinal(dataStr.getBytes("UTF-8"));
+            return Base64.getEncoder().encodeToString(results);
+        } catch (Exception e) {
+            System.out.println(e.getMessage());
+            return null;
+        }
+    }
+
+    private static SecretKey keyGenerator(String keyStr) throws Exception {
+        SecretKeySpec secretKey = new SecretKeySpec(keyStr.getBytes("UTF-8"), "AES");
+        return secretKey;
+    }
+
+    public static String md5Encode(Object object) {
+        String body = JSONUtil.toJsonStr(object);
+        return DigestUtils.md5Hex(body);
+    }
+}

+ 90 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/util/HMacMD5.java

@@ -0,0 +1,90 @@
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.util;
+
+import java.security.MessageDigest;
+import java.security.NoSuchAlgorithmException;
+import java.util.Base64;
+import javax.crypto.Mac;
+import javax.crypto.spec.SecretKeySpec;
+
+public abstract class HMacMD5 {
+  private static byte[] md5(byte[] str) throws NoSuchAlgorithmException {
+    MessageDigest md = MessageDigest.getInstance("MD5");
+    md.update(str);
+    return md.digest();
+  }
+  
+  public static byte[] getHmacMd5Bytes(byte[] key, byte[] data) throws NoSuchAlgorithmException {
+    int length = 64;
+    byte[] ipad = new byte[length];
+    byte[] opad = new byte[length];
+    for (int i = 0; i < 64; i++) {
+      ipad[i] = 54;
+      opad[i] = 92;
+    } 
+    byte[] actualKey = key;
+    byte[] keyArr = new byte[length];
+    if (key.length > length)
+      actualKey = md5(key); 
+    int j;
+    for (j = 0; j < actualKey.length; j++)
+      keyArr[j] = actualKey[j]; 
+    if (actualKey.length < length)
+      for (j = actualKey.length; j < keyArr.length; j++)
+        keyArr[j] = 0;  
+    byte[] kIpadXorResult = new byte[length];
+    for (int k = 0; k < length; k++)
+      kIpadXorResult[k] = (byte)(keyArr[k] ^ ipad[k]); 
+    byte[] firstAppendResult = new byte[kIpadXorResult.length + data.length];
+    int m;
+    for (m = 0; m < kIpadXorResult.length; m++)
+      firstAppendResult[m] = kIpadXorResult[m]; 
+    for (m = 0; m < data.length; m++)
+      firstAppendResult[m + keyArr.length] = data[m]; 
+    byte[] firstHashResult = md5(firstAppendResult);
+    byte[] kOpadXorResult = new byte[length];
+    for (int n = 0; n < length; n++)
+      kOpadXorResult[n] = (byte)(keyArr[n] ^ opad[n]); 
+    byte[] secondAppendResult = new byte[kOpadXorResult.length + firstHashResult.length];
+    int i1;
+    for (i1 = 0; i1 < kOpadXorResult.length; i1++)
+      secondAppendResult[i1] = kOpadXorResult[i1]; 
+    for (i1 = 0; i1 < firstHashResult.length; i1++)
+      secondAppendResult[i1 + keyArr.length] = firstHashResult[i1]; 
+    byte[] hmacMd5Bytes = md5(secondAppendResult);
+    return hmacMd5Bytes;
+  }
+  
+  public static String getHmacMd5Str(String key, String data) {
+    String result = "";
+    try {
+      byte[] keyByte = key.getBytes("UTF-8");
+      byte[] dataByte = data.getBytes("UTF-8");
+      byte[] hmacMd5Byte = getHmacMd5Bytes(keyByte, dataByte);
+      StringBuffer md5StrBuff = new StringBuffer();
+      for (int i = 0; i < hmacMd5Byte.length; i++) {
+        if (Integer.toHexString(0xFF & hmacMd5Byte[i]).length() == 1) {
+          md5StrBuff.append("0").append(
+              Integer.toHexString(0xFF & hmacMd5Byte[i]));
+        } else {
+          md5StrBuff.append(
+              Integer.toHexString(0xFF & hmacMd5Byte[i]));
+        } 
+      } 
+      result = md5StrBuff.toString().toUpperCase();
+    } catch (Exception e) {
+      e.printStackTrace();
+    } 
+    return result;
+  }
+  
+  public static String genBaseString(String data, String accessSecret) {
+    try {
+      Mac mac = Mac.getInstance("HmacSHA256");
+      mac.init(new SecretKeySpec(accessSecret.getBytes("UTF-8"), "HmacSHA256"));
+      byte[] signData = mac.doFinal(data.getBytes("UTF-8"));
+      return Base64.getEncoder().encodeToString(signData);
+    } catch (NoSuchAlgorithmException|java.io.UnsupportedEncodingException|java.security.InvalidKeyException e) {
+      throw new RuntimeException("HMAC-SHA1 not supported.");
+    } 
+  }
+}

+ 183 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/util/HttpClient.java

@@ -0,0 +1,183 @@
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.util;
+
+import org.apache.commons.lang3.StringUtils;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.io.OutputStream;
+import java.io.Reader;
+import java.net.HttpURLConnection;
+import java.net.Proxy;
+import java.net.URL;
+import java.security.SecureRandom;
+import java.security.cert.CertificateException;
+import java.security.cert.X509Certificate;
+import java.util.List;
+import java.util.Map;
+import java.util.zip.GZIPInputStream;
+import javax.net.ssl.HostnameVerifier;
+import javax.net.ssl.HttpsURLConnection;
+import javax.net.ssl.SSLContext;
+import javax.net.ssl.SSLSession;
+import javax.net.ssl.TrustManager;
+import javax.net.ssl.X509TrustManager;
+
+public abstract class HttpClient {
+    private static int connectTimeout = 15000;
+
+    private static int readTimeout = 30000;
+
+    private static final String DEFAULT_CHARSET = "UTF-8";
+
+    private static boolean ignoreSSLCheck = true;
+
+    private static boolean ignoreHostCheck = true;
+
+    public static class TrustAllTrustManager implements X509TrustManager {
+        public X509Certificate[] getAcceptedIssuers() {
+            return null;
+        }
+
+        public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException {
+        }
+
+        public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException {
+        }
+    }
+
+    public static void setIgnoreSSLCheck(boolean ignoreSSLCheck) {
+        HttpClient.ignoreSSLCheck = ignoreSSLCheck;
+    }
+
+    public static void setIgnoreHostCheck(boolean ignoreHostCheck) {
+        HttpClient.ignoreHostCheck = ignoreHostCheck;
+    }
+
+    public static HttpResponseData doPost(String url, byte[] content, Map<String, String> headerMap) throws IOException {
+        return doPost(url, "application/json;charset=utf-8", content, connectTimeout, readTimeout, headerMap, null);
+    }
+
+    public static HttpResponseData doPost(String url, byte[] content, Map<String, String> headerMap, Proxy proxy) throws IOException {
+        return doPost(url, "application/json;charset=utf-8", content, connectTimeout, readTimeout, headerMap, proxy);
+    }
+
+    public static HttpResponseData doPost(String url, byte[] content, int connectTimeout, int readTimeout, Map<String, String> headerMap) throws IOException {
+        return doPost(url, "application/json;charset=utf-8", content, connectTimeout, readTimeout, headerMap, null);
+    }
+
+    private static HttpResponseData doPost(String url, String ctype, byte[] content, int connectTimeout, int readTimeout, Map<String, String> headerMap, Proxy proxy) throws IOException {
+        HttpURLConnection conn = null;
+        OutputStream out = null;
+        String rsp = null;
+        HttpResponseData data = new HttpResponseData();
+        try {
+            conn = getConnection(new URL(url), "POST", ctype, headerMap, proxy);
+            conn.setConnectTimeout(connectTimeout);
+            conn.setReadTimeout(readTimeout);
+            out = conn.getOutputStream();
+            out.write(content);
+            rsp = getResponseAsString(conn);
+            data.setBody(rsp);
+            Map<String, List<String>> headers = conn.getHeaderFields();
+            data.setHeaders(headers);
+        } finally {
+            if (out != null)
+                out.close();
+            if (conn != null)
+                conn.disconnect();
+        }
+        return data;
+    }
+
+    private static HttpURLConnection getConnection(URL url, String method, String ctype, Map<String, String> headerMap, Proxy proxy) throws IOException {
+        HttpURLConnection conn = null;
+        if (proxy == null) {
+            conn = (HttpURLConnection) url.openConnection();
+        } else {
+            conn = (HttpURLConnection) url.openConnection(proxy);
+        }
+        if (conn instanceof HttpsURLConnection) {
+            HttpsURLConnection connHttps = (HttpsURLConnection) conn;
+            if (ignoreSSLCheck) {
+                try {
+                    SSLContext ctx = SSLContext.getInstance("TLS");
+                    ctx.init(null, new TrustManager[]{new TrustAllTrustManager()}, new SecureRandom());
+                    connHttps.setSSLSocketFactory(ctx.getSocketFactory());
+                    connHttps.setHostnameVerifier(new HostnameVerifier() {
+                        public boolean verify(String hostname, SSLSession session) {
+                            return true;
+                        }
+                    });
+                } catch (Exception e) {
+                    throw new IOException(e.toString());
+                }
+            } else if (ignoreHostCheck) {
+                connHttps.setHostnameVerifier(new HostnameVerifier() {
+                    public boolean verify(String hostname, SSLSession session) {
+                        return true;
+                    }
+                });
+            }
+            conn = connHttps;
+        }
+        conn.setRequestMethod(method);
+        conn.setDoInput(true);
+        conn.setDoOutput(true);
+        conn.setRequestProperty("Host", url.getHost());
+        conn.setRequestProperty("Content-Type", ctype);
+        if (headerMap != null)
+            for (Map.Entry<String, String> entry : headerMap.entrySet())
+                conn.setRequestProperty(entry.getKey(), entry.getValue());
+        return conn;
+    }
+
+    protected static String getResponseAsString(HttpURLConnection conn) throws IOException {
+        String charset = getResponseCharset(conn.getContentType());
+        if (conn.getResponseCode() < 400) {
+            String contentEncoding = conn.getContentEncoding();
+            if ("gzip".equalsIgnoreCase(contentEncoding))
+                return getStreamAsString(new GZIPInputStream(conn.getInputStream()), charset);
+            return getStreamAsString(conn.getInputStream(), charset);
+        }
+        if (conn.getResponseCode() == 400) {
+            InputStream error = conn.getErrorStream();
+            if (error != null)
+                return getStreamAsString(error, charset);
+        }
+        throw new IOException(conn.getResponseCode() + " " + conn.getResponseMessage());
+    }
+
+    public static String getStreamAsString(InputStream stream, String charset) throws IOException {
+        try {
+            Reader reader = new InputStreamReader(stream, charset);
+            StringBuilder response = new StringBuilder();
+            char[] buff = new char[1024];
+            int read = 0;
+            while ((read = reader.read(buff)) > 0)
+                response.append(buff, 0, read);
+            return response.toString();
+        } finally {
+            if (stream != null)
+                stream.close();
+        }
+    }
+
+    public static String getResponseCharset(String ctype) {
+        String charset = "UTF-8";
+        if (!StringUtils.isEmpty(ctype)) {
+            String[] params = ctype.split(";");
+            for (String param : params) {
+                param = param.trim();
+                if (param.startsWith("charset")) {
+                    String[] pair = param.split("=", 2);
+                    if (pair.length == 2 &&
+                            !StringUtils.isEmpty(pair[1]))
+                        charset = pair[1].trim();
+                    break;
+                }
+            }
+        }
+        return charset;
+    }
+}

+ 29 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/util/HttpResponseData.java

@@ -0,0 +1,29 @@
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.util;
+
+import java.io.Serializable;
+import java.util.List;
+import java.util.Map;
+
+public class HttpResponseData implements Serializable {
+  private static final long serialVersionUID = 5582169377840157244L;
+  
+  private String body;
+  
+  private Map<String, List<String>> headers;
+  
+  public String getBody() {
+    return this.body;
+  }
+  
+  public void setBody(String body) {
+    this.body = body;
+  }
+  
+  public Map<String, List<String>> getHeaders() {
+    return this.headers;
+  }
+  
+  public void setHeaders(Map<String, List<String>> headers) {
+    this.headers = headers;
+  }
+}

+ 39 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/util/SecurityService.java

@@ -0,0 +1,39 @@
+//
+
+package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.util;
+
+
+public abstract class SecurityService {
+    public SecurityService() {
+    }
+
+    public static String genEncodeData(String data, String dataSecret, String dataSecretIv) {
+        return Encoder.encrypt(data, dataSecret, dataSecretIv);
+    }
+
+    public static String genDecodeData(String data, String dataSecret, String dataSecretIv) {
+        return Decoder.decrypt(data, dataSecret, dataSecretIv);
+    }
+
+    public static String genEncodePhone(String data, String key) {
+        return Encoder.encryptH5(data, key);
+    }
+
+    public static String md5Encode(Object object) {
+        return Encoder.md5Encode(object);
+    }
+
+    public static String genSigData(String data, String sigSecret) {
+        return HMacMD5.getHmacMd5Str(sigSecret, data);
+    }
+
+//    public static void checkSig(String data, String sigSecret, String expectSig) throws ApiRuleException {
+//        if (expectSig == null || !expectSig.equals(genSigData(data, sigSecret))) {
+//            throw new ApiRuleException(StatusCode.ILLEGAL_PARAM.getCode(), ", check sig error, expectSig: " + expectSig + ", currentSig: " + genSigData(data, sigSecret));
+//        }
+//    }
+
+    public static String genBase64SigData(String data, String accessSecret) {
+        return HMacMD5.genBaseString(data, accessSecret);
+    }
+}

+ 23 - 0
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/controller/XiaoJuController.java

@@ -0,0 +1,23 @@
+package com.zswl.cloud.springBtach.server.core.controller;
+
+import lombok.extern.log4j.Log4j2;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+@Log4j2
+@RestController
+@RequestMapping("xiaoju")
+public class XiaoJuController {
+
+
+
+
+
+
+
+
+
+
+
+
+}

BIN
SpringBatchServiceServer/src/main/resources/lib/oil-sdk-jar-1.0.16.jar


+ 39 - 4
SpringBatchServiceServer/src/test/java/com/zswl/cloud/springBtach/server/boot/ServerApplicationTests.java

@@ -1,10 +1,17 @@
 package com.zswl.cloud.springBtach.server.boot;
 
+import cn.hutool.json.JSONUtil;
 import com.github.microservice.auth.client.content.ResultContent;
 import com.github.microservice.auth.client.service.EnterpriseService;
 import com.zhongshu.payment.client.model.payment.SubOrdersConfirmResponseModel;
 import com.zhongshu.payment.client.service.v2.PaymentService2;
 import com.zswl.cloud.springBtach.server.core.api.xiaoju.XiaoJuApi;
+import com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.domain.AllowanceInfo;
+import com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.domain.CalBatchPriceItemInfo;
+import com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request.QueryApiStorePriceRequest;
+import com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request.QueryCalBatchPriceRequest;
+import com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request.QueryCalPriceRequest;
+import com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request.QueryNewOrderRequest;
 import com.zswl.cloud.springBtach.server.core.api.ypp.YppApi;
 import com.zswl.cloud.springBtach.server.core.controller.TestSpringBatch;
 import com.zswl.cloud.springBtach.server.core.service.OrderServiceImp;
@@ -13,6 +20,9 @@ import org.junit.jupiter.api.Test;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.boot.test.context.SpringBootTest;
 
+import java.util.ArrayList;
+import java.util.List;
+
 @SpringBootTest
 @Log4j2
 public class ServerApplicationTests {
@@ -34,6 +44,7 @@ public class ServerApplicationTests {
 
     @Autowired
     XiaoJuApi xiaoJuApi;
+
     @Test
     public void test1() {
         ResultContent<SubOrdersConfirmResponseModel> subOrdersConfirmResponseModelResultContent = paymentService2.subOrdersConfirm("66043b7f41096a5155e6c377", "65fe7c9174d67a7dbd842b74");
@@ -53,15 +64,39 @@ public class ServerApplicationTests {
 
     @Test
     public void test2() {
-        String s = xiaoJuApi.queryToken();
-
-        System.out.println(s);
 
+        QueryNewOrderRequest queryNewOrderRequest = new QueryNewOrderRequest();
+        queryNewOrderRequest.setOutUserId("a09kWkRLM2ZWcWs9");
+        queryNewOrderRequest.setMobile("13111222233");
+        queryNewOrderRequest.setOutOrderId("123456789");
+        queryNewOrderRequest.setLat(114.30F);
+        queryNewOrderRequest.setLon(14.23F);
+        queryNewOrderRequest.setStoreId("5211967762877389105");
+        queryNewOrderRequest.setItemId(4879454965524071453L);
+        queryNewOrderRequest.setGunNo("10");
+        queryNewOrderRequest.setOriginalAmount(20000);
+        queryNewOrderRequest.setPaymentAmount(18000);
+        queryNewOrderRequest.setServiceFee(20);
+        queryNewOrderRequest.setLitre(382);
+        queryNewOrderRequest.setVipPrice(460);
+        queryNewOrderRequest.setStorePrice(523);
+
+        // 优惠券
+        List<AllowanceInfo> allowanceInfos = new ArrayList<>();
+        AllowanceInfo allowanceInfo = new AllowanceInfo();
+        allowanceInfo.setAllowanceId("E1-4ji-1kiJSL");
+        allowanceInfo.setAllowanceType(2);
+        allowanceInfos.add(allowanceInfo);
+
+        queryNewOrderRequest.setPromotionInfo(allowanceInfos);
+        Object dddddd = xiaoJuApi.queryNewOrder(queryNewOrderRequest);
+
+        System.out.println(JSONUtil.toJsonStr(dddddd));
 
     }
 
     @Test
-    public void test3(){
+    public void test3() {
 
 //        CreateOrderModel createOrderModel = new CreateOrderModel();
 //        createOrderModel.setJobFlowMap(JobFlowMap.P81);