Bladeren bron

创建订单

gongfuzhu 1 jaar geleden
bovenliggende
commit
f3ff41f177
68 gewijzigde bestanden met toevoegingen van 128 en 4017 verwijderingen
  1. 1 1
      SpringBatchServiceClient/src/main/java/com/zswl/cloud/springBatch/client/model/dfy/DfyResponseBase.java
  2. 8 0
      SpringBatchServiceClient/src/main/java/com/zswl/cloud/springBatch/client/model/dfy/Ticket/request/CreateOrderNewRequest.java
  3. 3 2
      SpringBatchServiceClient/src/main/java/com/zswl/cloud/springBatch/client/model/dfy/Ticket/response/DetailResponse.java
  4. 2 1
      SpringBatchServiceClient/src/main/java/com/zswl/cloud/springBatch/client/service/DfyTicketService.java
  5. 0 187
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/XiaoJuApi.java
  6. 0 238
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/XiaoJuApi2.java
  7. 0 10
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/OpenRequest.java
  8. 0 17
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/QueryTokenRequest.java
  9. 0 14
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/domain/AllowanceInfo.java
  10. 0 27
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/domain/AllowancePromotionInfo.java
  11. 0 14
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/domain/CalBatchPriceItemInfo.java
  12. 0 22
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/domain/ItemPriceInfoForCallback.java
  13. 0 18
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/domain/TagVO.java
  14. 0 30
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/BaseOpenRequest.java
  15. 0 58
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/NotificationCheckUserRequest.java
  16. 0 366
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/NotificationOrderInfoRequest.java
  17. 0 40
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/NotificationPushStoreInfoRequest.java
  18. 0 86
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/NotificationReceiveRefundRequest.java
  19. 0 166
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryApiOrderListRequest.java
  20. 0 73
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryApiStoreListRequest.java
  21. 0 27
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryApiStorePriceRequest.java
  22. 0 33
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryCalBatchPriceRequest.java
  23. 0 33
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryCalPriceRequest.java
  24. 0 128
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryEnergyUrlRequest.java
  25. 0 84
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryGetPromotionRequest.java
  26. 0 46
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryNewOrderRequest.java
  27. 0 44
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryOrderInfoRequest.java
  28. 0 135
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryOrderListRequest.java
  29. 0 23
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryOrderPromotionListRequest.java
  30. 0 25
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryStoreDetailRequest.java
  31. 0 59
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryStoreListRequest.java
  32. 0 146
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryStorePriceRequest.java
  33. 0 24
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryStorePromotionListRequest.java
  34. 0 41
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryTokenRequest.java
  35. 0 70
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryUserAuthRequest.java
  36. 0 128
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/QueryUserPromotionListRequest.java
  37. 0 20
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/SynOrderStatusRequest.java
  38. 0 22
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/request/SynRefundStatusRequest.java
  39. 0 15
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/NotificationCheckUserInfoResponse.java
  40. 0 16
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/NotificationOrderInfoResponse.java
  41. 0 16
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/NotificationPushStoreInfoResponse.java
  42. 0 16
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/NotificationReceiveRefundResponse.java
  43. 0 48
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryApiOrderListResponse.java
  44. 0 21
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryApiStoreListResponse.java
  45. 0 54
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryApiStorePriceResponse.java
  46. 0 35
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryApiStorePriceV2Response.java
  47. 0 18
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryCalBatchPriceResponse.java
  48. 0 44
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryCalPriceResponse.java
  49. 0 30
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryEnergyUrlResponse.java
  50. 0 17
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryNewOrderResponse.java
  51. 0 357
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryOrderInfoResponse.java
  52. 0 72
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryOrderListResponse.java
  53. 0 60
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryStoreDetailResponse.java
  54. 0 72
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryStoreListResponse.java
  55. 0 34
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryStorePriceResponse.java
  56. 0 15
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryTokenResponse.java
  57. 0 85
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/QueryUserPromotionListResponse.java
  58. 0 43
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/RefundResponse.java
  59. 0 34
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/response/UserAuthResponse.java
  60. 0 37
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/util/Decoder.java
  61. 0 64
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/util/Encoder.java
  62. 0 90
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/util/HMacMD5.java
  63. 0 183
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/util/HttpClient.java
  64. 0 29
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/util/HttpResponseData.java
  65. 0 39
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/sdk/util/SecurityService.java
  66. 8 7
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/controller/DfyTicketController.java
  67. 89 2
      SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/service/impl/DfyTicketServiceImpl.java
  68. 17 6
      SpringBatchServiceServer/src/test/java/com/zswl/cloud/springBtach/server/boot/ServerApplicationTests.java

+ 1 - 1
SpringBatchServiceClient/src/main/java/com/zswl/cloud/springBatch/client/model/dfy/DfyResponseBase.java

@@ -11,6 +11,6 @@ public class DfyResponseBase {
 
     private Integer errorCode;
     private String msg;
-    private String success;
+    private Boolean success;
 
 }

+ 8 - 0
SpringBatchServiceClient/src/main/java/com/zswl/cloud/springBatch/client/model/dfy/Ticket/request/CreateOrderNewRequest.java

@@ -1,7 +1,9 @@
 package com.zswl.cloud.springBatch.client.model.dfy.Ticket.request;
 
 
+import com.zhongshu.payment.client.type.Channel;
 import com.zswl.cloud.springBatch.client.model.dfy.DfyBaseData;
+import io.swagger.annotations.ApiModelProperty;
 import lombok.AllArgsConstructor;
 import lombok.Data;
 import lombok.NoArgsConstructor;
@@ -13,14 +15,20 @@ import java.util.List;
 @NoArgsConstructor
 public class CreateOrderNewRequest extends DfyBaseData {
 
+    @ApiModelProperty(hidden = true)
+    private String epId;
 
+    @ApiModelProperty(hidden = true)
+    private Channel channel;
     // 分销商订单号,非空时,可防止重复下单。若重复下单,则返回之前已生成的orderId,且isNewFlag=0。
+    @ApiModelProperty(hidden = true)
     private String sourceOrderId;
 
     // 笛风账号
     private String acctId;
 
     // 门票产品ID
+    @ApiModelProperty(hidden = true)
     private int productId;
 
     // 出游日期. “YYYY-MM-DD”。请在前台限制,只有价格日历中存在的团期,才能作为出游日期。

+ 3 - 2
SpringBatchServiceClient/src/main/java/com/zswl/cloud/springBatch/client/model/dfy/Ticket/response/DetailResponse.java

@@ -5,6 +5,7 @@ import lombok.AllArgsConstructor;
 import lombok.Data;
 import lombok.NoArgsConstructor;
 
+import java.math.BigDecimal;
 import java.util.List;
 
 @Data
@@ -33,10 +34,10 @@ public class DetailResponse extends DfyResponseBase {
         private Integer scenicId;
 
         // 单位元,景点价(当前景点的价格,信息可能有滞后,仅供参考)
-        private String webPrice;
+        private BigDecimal webPrice;
 
         // 单位元,分销起价(所有团期中最低的价格,仅供参考)
-        private String salePrice;
+        private BigDecimal salePrice;
 
         // 取票方式:1实体票 8预付电子票
         private Integer drawType;

+ 2 - 1
SpringBatchServiceClient/src/main/java/com/zswl/cloud/springBatch/client/service/DfyTicketService.java

@@ -1,6 +1,7 @@
 package com.zswl.cloud.springBatch.client.service;
 
 import com.github.microservice.auth.client.content.ResultContent;
+import com.zhongshu.payment.client.model.order.v2.CreatOrderResultModel;
 import com.zswl.cloud.springBatch.client.model.dfy.Ticket.request.*;
 import com.zswl.cloud.springBatch.client.model.dfy.Ticket.response.*;
 import io.swagger.annotations.ApiOperation;
@@ -32,7 +33,7 @@ public interface DfyTicketService {
 
     @ApiOperation(" 创建订单接口")
     @RequestMapping(value = "createOrderNew", method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE)
-    ResultContent<CreateOrderNewResponse> createOrderNew(@RequestBody CreateOrderNewRequest createOrderNewRequest);
+    ResultContent<CreatOrderResultModel> createOrderNew(@RequestBody CreateOrderNewRequest createOrderNewRequest);
 
     @ApiOperation(" 取消订单")
     @RequestMapping(value = "cancelOrder", method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE)

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

@@ -1,187 +0,0 @@
-package com.zswl.cloud.springBtach.server.core.api.xiaoju;
-
-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.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
-    RedisHelper redisHelper;
-
-    private final String redis_token = "xiaoju_token";
-
-//    @Autowired
-//    OilConfig oilConfig;
-
-    public QueryTokenResponse queryToken() {
-
-        QueryTokenRequest queryTokenRequest = new QueryTokenRequest();
-        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) {
-
-        QueryStoreDetailRequest queryStoreDetailRequest = new QueryStoreDetailRequest();
-
-        queryStoreDetailRequest.setLat(latitude);
-        queryStoreDetailRequest.setLon(longitude);
-        queryStoreDetailRequest.setOutUserId(userId);
-        queryStoreDetailRequest.setStoreId(storeId);
-        queryStoreDetailRequest.setOpenChannel(1);
-        String post = post(queryStoreDetailRequest.getApiMethodName(), queryStoreDetailRequest);
-
-        return JSONUtil.toBean(post, QueryStoreDetailResponse.class);
-    }
-
-    // 查询门店价格
-    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);
-
-    }
-
-
-    // 批量计算价格
-    public QueryCalBatchPriceResponse queryCalPrices(QueryCalBatchPriceRequest  queryCalBatchPriceRequest) {
-        String post = post(queryCalBatchPriceRequest.getApiMethodName(), queryCalBatchPriceRequest);
-
-        return JSONUtil.toBean(post, QueryCalBatchPriceResponse.class);
-
-    }
-
-
-    // 创建订单
-    public  QueryNewOrderResponse queryNewOrder(QueryNewOrderRequest queryNewOrderRequest) {
-
-        String post = post(queryNewOrderRequest.getApiMethodName(), queryNewOrderRequest);
-
-        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);
-    }
-
-
-}

+ 0 - 238
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/api/xiaoju/XiaoJuApi2.java

@@ -1,238 +0,0 @@
-package com.zswl.cloud.springBtach.server.core.api.xiaoju;
-
-import com.google.gson.Gson;
-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.domain.AllowancePromotionInfo;
-import com.xiaoju.open.oil.interfaces.domain.CalBatchPriceItemInfo;
-import com.xiaoju.open.oil.interfaces.domain.GenPromotionInfo;
-import com.xiaoju.open.oil.interfaces.request.*;
-import com.xiaoju.open.oil.interfaces.response.*;
-import com.zswl.cloud.springBtach.server.core.dao.XiaoJuStoreDao;
-import com.zswl.cloud.springBtach.server.core.domain.XiaoJuStore;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Component;
-
-import java.util.ArrayList;
-import java.util.List;
-
-
-@Component
-public class XiaoJuApi2 {
-
-
-
-    @Autowired
-    OilConfig oilConfig;
-
-    @Autowired
-    XiaoJuStoreDao xiaoJuStoreDao;
-
-    // 查询门店详情
-    public void queryStoreDetail() {
-
-        QueryStoreDetailRequest queryStoreDetailRequest = new QueryStoreDetailRequest();
-
-        queryStoreDetailRequest.setLat(28.4004F);
-        queryStoreDetailRequest.setLon(112.7921F);
-        queryStoreDetailRequest.setOutUserId("dajihao2");
-        queryStoreDetailRequest.setStoreId("5154031457384536897");
-        queryStoreDetailRequest.setOpenChannel(1);
-
-        QueryClient queryClient = QueryClientFactory.create(oilConfig);
-        QueryStoreDetailResponse queryStoreDetailResponse = queryClient.api().queryStoreDetail(queryStoreDetailRequest);
-
-        System.out.println(new Gson().toJson(queryStoreDetailResponse));
-
-    }
-
-    // 查询门店价格
-    public void queryStorePrice() {
-
-        QueryApiStorePriceRequest queryApiStorePriceRequest = new QueryApiStorePriceRequest();
-        queryApiStorePriceRequest.setOpenChannel(1);
-        queryApiStorePriceRequest.setOutUserId("dajihao2");
-        List<String> list = new ArrayList<>();
-        list.add("5154031457384536897");
-        queryApiStorePriceRequest.setStoreIds(list);
-
-
-        QueryClient queryClient = QueryClientFactory.create(oilConfig);
-        List<QueryApiStorePriceResponse> list1 = queryClient.api().queryStorePrice(queryApiStorePriceRequest);
-
-        System.out.println(new Gson().toJson(list1));
-
-    }
-
-
-    // 价格计算
-    public void queryCalPrice() {
-        QueryCalPriceRequest queryCalPriceRequest = new QueryCalPriceRequest();
-        queryCalPriceRequest.setStoreId("5154031457384536897");
-        queryCalPriceRequest.setOpenChannel(1);
-        queryCalPriceRequest.setOutUserId("a09kWkRLM2ZWcWs9");
-        queryCalPriceRequest.setItemName("92#");
-        queryCalPriceRequest.setAmount(20000);
-
-//        // 优惠券
-//        List<AllowanceInfo> allowanceInfos = new ArrayList<>();
-//        AllowanceInfo allowanceInfo = new AllowanceInfo();
-//        allowanceInfo.setAllowanceId("E1-4ji-1kiJSL");
-//        allowanceInfo.setAllowanceType(2);
-//        allowanceInfos.add(allowanceInfo);
-//
-//        queryCalPriceRequest.setPromotionInfo(allowanceInfos);
-
-        QueryClient queryClient = QueryClientFactory.create(oilConfig);
-        QueryCalPriceResponse queryCalPriceResponse = queryClient.api().queryCalPrice(queryCalPriceRequest);
-
-        System.out.println(new Gson().toJson(queryCalPriceResponse));
-
-    }
-
-    // 批量价格计算
-    public void queryCalPrices() {
-        QueryCalBatchPriceRequest queryCalPriceRequest = new QueryCalBatchPriceRequest();
-        queryCalPriceRequest.setStoreId("5154031457384536897");
-        queryCalPriceRequest.setOpenChannel(1);
-        queryCalPriceRequest.setOutUserId("1640563200");
-
-        // 优惠券
-        List<CalBatchPriceItemInfo> itemList = new ArrayList<>();
-        CalBatchPriceItemInfo calBatchPriceItemInfo = new CalBatchPriceItemInfo();
-        calBatchPriceItemInfo.setItemName("92#");
-        calBatchPriceItemInfo.setAmount(20000);
-        itemList.add(calBatchPriceItemInfo);
-
-        queryCalPriceRequest.setItemList(itemList);
-
-
-        QueryClient queryClient = QueryClientFactory.create(oilConfig);
-        QueryCalBatchPriceResponse queryCalBatchPriceResponse = queryClient.api().queryCalPrices(queryCalPriceRequest);
-
-        System.out.println(new Gson().toJson(queryCalBatchPriceResponse));
-
-    }
-
-    // 创建订单
-    public void queryNewOrder() {
-        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);
-
-        QueryClient queryClient = QueryClientFactory.create(oilConfig);
-        QueryNewOrderResponse queryNewOrderResponse = queryClient.api().queryNewOrder(queryNewOrderRequest);
-
-        System.out.println(new Gson().toJson(queryNewOrderResponse));
-
-    }
-
-    // 同步订单状态
-    public void syncOrderStatus() {
-        SynOrderStatusRequest synOrderStatusRequest = new SynOrderStatusRequest();
-        synOrderStatusRequest.setOutOrderId("123456789");
-        synOrderStatusRequest.setXjOrderId("3476780108933473940");
-        synOrderStatusRequest.setOrderStatus(9);
-
-        QueryClient queryClient = QueryClientFactory.create(oilConfig);
-        queryClient.api().syncOrderStatus(synOrderStatusRequest);
-
-    }
-
-    // 退款状态同步
-    public void SyncRefundStatus() {
-        SynRefundStatusRequest synRefundStatusRequest = new SynRefundStatusRequest();
-        synRefundStatusRequest.setOutOrderId("123456789");
-        synRefundStatusRequest.setXjOrderId("35489273812090023831");
-        synRefundStatusRequest.setRefundStatus(1);
-        QueryClient queryClient = QueryClientFactory.create(oilConfig);
-        queryClient.api().syncRefundStatus(synRefundStatusRequest);
-    }
-
-
-    // 下单前查询最优可用券
-    public void queryOrderPromotionList() {
-        QueryOrderPromotionListRequest request = new QueryOrderPromotionListRequest();
-        request.setMobile("15210240132");
-        request.setOutUserId("80200281708");
-        request.setStoreId("5429504232738269218");
-        request.setAllowanceType(2);
-        request.setOrderAmount(24500);
-        QueryClient queryClient = QueryClientFactory.create(oilConfig);
-        List<AllowancePromotionInfo> response = queryClient.promotion().queryOrderPromotionList(request);
-
-        System.out.println(response);
-    }
-
-    // 查询多个门店可用券
-    public void queryStorePromotionList() {
-        QueryStorePromotionListRequest request = new QueryStorePromotionListRequest();
-        request.setMobile("152102401323");
-        request.setAllowanceType(2);
-        request.setOutUserId("1223131");
-        List<String> storeIdList = new ArrayList<String>();
-        storeIdList.add("5429504232738269218");
-        request.setStoreIdList(storeIdList);
-        QueryClient queryClient = QueryClientFactory.create(oilConfig);
-        List<AllowancePromotionInfo> response = queryClient.promotion().queryStorePromotionList(request);
-
-        System.out.println();
-    }
-
-    // 查询用户所有券列表
-    public void queryUserPromotionList() {
-        QueryUserPromotionListRequest request = new QueryUserPromotionListRequest();
-        request.setAllowanceType(2);
-        request.setOrderAmount(2400);
-
-        request.setMobile("13758284401");
-        request.setOutUserId("dajihao");
-
-
-        request.setStatus(-2);
-        request.setPageIndex(1);
-        request.setPageSize(20);
-        QueryClient queryClient = QueryClientFactory.create(oilConfig);
-        QueryUserPromotionListResponse response = queryClient.promotion().queryUserPromotionList(request);
-
-        System.out.println(response);
-
-    }
-
-    // 获取优惠券
-    public void getPromotion() {
-        QueryGetPromotionRequest request = new QueryGetPromotionRequest();
-        request.setOutUserId("18874");
-        request.setActivityId("983425694278877184");
-        request.setTradeNo("2202071307003069990");
-        QueryClient queryClient = QueryClientFactory.create(oilConfig);
-        List<GenPromotionInfo> response = queryClient.promotion().getPromotion(request);
-
-        System.out.println();
-    }
-
-
-}

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

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

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

@@ -1,17 +0,0 @@
-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";
-    }
-}

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

@@ -1,14 +0,0 @@
-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;
-
-}

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

@@ -1,27 +0,0 @@
-//
-// 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;
-
-}

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

@@ -1,14 +0,0 @@
-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;
-
-}

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

@@ -1,22 +0,0 @@
-
-package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.domain;
-
-import lombok.AllArgsConstructor;
-import lombok.Data;
-import lombok.NoArgsConstructor;
-
-import java.util.List;
-
-@Data
-@AllArgsConstructor
-@NoArgsConstructor
-public class ItemPriceInfoForCallback {
-    private String itemId;
-    private String itemName;
-    private Integer cityPrice;
-    private Integer storePrice;
-    private Integer vipPrice;
-    private List<String> gunNoList;
-    private List<TagVO> tagList;
-
-}

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

@@ -1,18 +0,0 @@
-
-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 TagVO {
-    private Integer type;
-    private Integer location;
-    private Integer iconType;
-    private String title;
-    private String longTitle;
-
-}

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

@@ -1,30 +0,0 @@
-///*    */ package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request;
-///*    */
-///*    */ 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
-// */

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

@@ -1,58 +0,0 @@
-///*    */ 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
-// */

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

@@ -1,366 +0,0 @@
-///*     */ 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
-// */

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

@@ -1,40 +0,0 @@
-package com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.request;
-
-
-import com.zswl.cloud.springBtach.server.core.api.xiaoju.sdk.domain.ItemPriceInfoForCallback;
-import lombok.AllArgsConstructor;
-import lombok.Data;
-import lombok.NoArgsConstructor;
-
-import java.util.List;
-
-@Data
-@AllArgsConstructor
-@NoArgsConstructor
-public class NotificationPushStoreInfoRequest {
-    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 getApiMethodName() {
-        return "/receivingGasStation";
-    }
-
-
-}

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

@@ -1,86 +0,0 @@
-///*    */ 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
-// */

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

@@ -1,166 +0,0 @@
-///*     */ 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
-// */

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

@@ -1,73 +0,0 @@
-///*    */ 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
-// */

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

@@ -1,27 +0,0 @@
-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";
-    }
-
-
-}

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

@@ -1,33 +0,0 @@
-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";
-    }
-
-
-}

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

@@ -1,33 +0,0 @@
-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";
-    }
-
-
-}
-

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

@@ -1,128 +0,0 @@
-///*     */ 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
-// */

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

@@ -1,84 +0,0 @@
-///*    */ 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
-// */

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

@@ -1,46 +0,0 @@
-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 orderAmount;
-    private Integer realAmount;
-    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";
-    }
-
-
-}

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

@@ -1,44 +0,0 @@
-///*    */ 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
-// */

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

@@ -1,135 +0,0 @@
-///*     */ 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
-// */

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

@@ -1,23 +0,0 @@
-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";
-    }
-
-
-}

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

@@ -1,25 +0,0 @@
-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";
-    }
-
-}

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

@@ -1,59 +0,0 @@
-///*    */ 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
-// */

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

@@ -1,146 +0,0 @@
-///*     */ 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
-// */

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

@@ -1,24 +0,0 @@
-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";
-    }
-
-
-}

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

@@ -1,41 +0,0 @@
-///*    */ 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
-// */

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

@@ -1,70 +0,0 @@
-///*    */ 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
-// */

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

@@ -1,128 +0,0 @@
-///*     */ 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
-// */

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

@@ -1,20 +0,0 @@
-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";
-    }
-
-}

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

@@ -1,22 +0,0 @@
-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";
-    }
-
-
-}

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

@@ -1,15 +0,0 @@
-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;
-
-}
-

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

@@ -1,16 +0,0 @@
-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;
-
-
-}
-

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

@@ -1,16 +0,0 @@
-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;
-
-
-}
-

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

@@ -1,16 +0,0 @@
-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;
-
-
-}

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

@@ -1,48 +0,0 @@
-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;
-
-
-    }
-
-
-}
-

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

@@ -1,21 +0,0 @@
-//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;
-//
-//}
-//

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

@@ -1,54 +0,0 @@
-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;
-
-
-    }
-}

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

@@ -1,35 +0,0 @@
-///*    */ 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
-// */

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

@@ -1,18 +0,0 @@
-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;
-
-}
-

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

@@ -1,44 +0,0 @@
-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;
-
-    }
-
-
-}
-

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

@@ -1,30 +0,0 @@
-///*    */ 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
-// */

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

@@ -1,17 +0,0 @@
-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;
-
-}
-

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

@@ -1,357 +0,0 @@
-///*     */ 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
-// */

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

@@ -1,72 +0,0 @@
-///*    */ 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
-// */

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

@@ -1,60 +0,0 @@
-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;
-
-
-    }
-
-}

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

@@ -1,72 +0,0 @@
-///*    */ 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
-// */

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

@@ -1,34 +0,0 @@
-///*    */ 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
-// */

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

@@ -1,15 +0,0 @@
-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;
-
-}

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

@@ -1,85 +0,0 @@
-///*    */ 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
-// */

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

@@ -1,43 +0,0 @@
-///*    */ 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
-// */

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

@@ -1,34 +0,0 @@
-///*    */ 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
-// */

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

@@ -1,37 +0,0 @@
-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;
-    } 
-  }
-}

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

@@ -1,64 +0,0 @@
-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);
-    }
-}

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

@@ -1,90 +0,0 @@
-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.");
-    } 
-  }
-}

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

@@ -1,183 +0,0 @@
-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;
-    }
-}

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

@@ -1,29 +0,0 @@
-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;
-  }
-}

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

@@ -1,39 +0,0 @@
-//
-
-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);
-    }
-}

+ 8 - 7
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/controller/DfyTicketController.java

@@ -5,6 +5,7 @@ import com.github.microservice.auth.client.constant.AuthConstant;
 import com.github.microservice.auth.client.content.ResultContent;
 import com.github.microservice.auth.security.annotations.ResourceAuth;
 import com.github.microservice.auth.security.type.AuthType;
+import com.zhongshu.payment.client.model.order.v2.CreatOrderResultModel;
 import com.zswl.cloud.springBatch.client.model.dfy.Ticket.request.*;
 import com.zswl.cloud.springBatch.client.model.dfy.Ticket.response.*;
 import com.zswl.cloud.springBatch.client.service.DfyTicketService;
@@ -61,7 +62,7 @@ public class DfyTicketController {
     @ApiOperation(" 创建订单接口")
     @ResourceAuth(value = AuthConstant.User, type = AuthType.User)
     @RequestMapping(value = "createOrderNew", method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE)
-    ResultContent<CreateOrderNewResponse> createOrderNew(@RequestBody CreateOrderNewRequest createOrderNewRequest) {
+    ResultContent<CreatOrderResultModel> createOrderNew(@RequestBody CreateOrderNewRequest createOrderNewRequest) {
         return dfyTicketService.createOrderNew(createOrderNewRequest);
     }
 
@@ -74,12 +75,12 @@ public class DfyTicketController {
     }
 
 
-    @ApiOperation(" 出票(代扣)接口")
-    @ResourceAuth(value = AuthConstant.User, type = AuthType.User)
-    @RequestMapping(value = "submitOrderResponse", method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE)
-    ResultContent<SubmitOrderResponse> submitOrderResponse(@RequestBody SubmitOrderRequest submitOrderRequest) {
-        return dfyTicketService.submitOrderResponse(submitOrderRequest);
-    }
+//    @ApiOperation(" 出票(代扣)接口")
+//    @ResourceAuth(value = AuthConstant.User, type = AuthType.User)
+//    @RequestMapping(value = "submitOrderResponse", method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE)
+//    ResultContent<SubmitOrderResponse> submitOrderResponse(@RequestBody SubmitOrderRequest submitOrderRequest) {
+//        return dfyTicketService.submitOrderResponse(submitOrderRequest);
+//    }
 
 
     @ApiOperation(" 订单详情接口")

+ 89 - 2
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/service/impl/DfyTicketServiceImpl.java

@@ -1,11 +1,21 @@
 package com.zswl.cloud.springBtach.server.core.service.impl;
 
+import cn.hutool.core.lang.Snowflake;
 import cn.hutool.core.util.ObjectUtil;
+import cn.hutool.json.JSONObject;
 import cn.hutool.json.JSONUtil;
 import com.github.microservice.auth.client.content.ResultContent;
 import com.github.microservice.auth.client.content.ResultState;
+import com.github.microservice.auth.security.helper.AuthHelper;
+import com.zhongshu.payment.client.model.order.v2.CreatOrderResultModel;
+import com.zhongshu.payment.client.model.order.v2.CreateOrder2Model;
+import com.zhongshu.payment.client.service.v2.OrderService2;
+import com.zhongshu.payment.client.type.JobFlowMap;
+import com.zhongshu.payment.client.type.TransferOwner;
+import com.zhongshu.payment.client.type.TransferType;
 import com.zswl.cloud.shop.client.dto.life.TripartiteShopDto;
 import com.zswl.cloud.shop.client.service.ShopService;
+import com.zswl.cloud.shop.client.vo.life.ShopDetailVo;
 import com.zswl.cloud.springBatch.client.model.dfy.Ticket.request.*;
 import com.zswl.cloud.springBatch.client.model.dfy.Ticket.response.*;
 import com.zswl.cloud.springBatch.client.service.DfyTicketService;
@@ -16,6 +26,10 @@ import org.slf4j.LoggerFactory;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 
+import java.math.BigDecimal;
+import java.util.ArrayList;
+import java.util.List;
+
 @Service
 @Log4j2
 public class DfyTicketServiceImpl implements DfyTicketService {
@@ -25,7 +39,14 @@ public class DfyTicketServiceImpl implements DfyTicketService {
 
     @Autowired
     ShopService shopService;
+    @Autowired
+    private AuthHelper authHelper;
 
+    @Autowired
+    private Snowflake snowflake;
+
+    @Autowired
+    private OrderService2 orderService2;
 
     public ResultContent<ScenicListResponse> scenicList(ScenicListRequest scenicListRequest) {
         return ResultContent.buildContent(ticketApi.scenicList(scenicListRequest));
@@ -47,8 +68,74 @@ public class DfyTicketServiceImpl implements DfyTicketService {
     }
 
 
-    public ResultContent<CreateOrderNewResponse> createOrderNew(CreateOrderNewRequest createOrderNewRequest) {
-        return ResultContent.buildContent(ticketApi.createOrderNew(createOrderNewRequest));
+    public ResultContent<CreatOrderResultModel> createOrderNew(CreateOrderNewRequest createOrderNewRequest) {
+
+        String orderNo = snowflake.nextIdStr();
+        createOrderNewRequest.setSourceOrderId(orderNo);
+        CreateOrderNewResponse orderNew = ticketApi.createOrderNew(createOrderNewRequest);
+        if (!orderNew.getSuccess()) {
+            return ResultContent.build(ResultState.Fail, orderNew.getMsg());
+        }
+
+        DetailResponse detailResponse = ticketApi.detail(new DetailRequest(createOrderNewRequest.getProductId()));
+        BigDecimal salePrice = detailResponse.getData().getSalePrice();
+        BigDecimal payAmount = salePrice.subtract(BigDecimal.valueOf(createOrderNewRequest.getBookNumber()));
+
+        ShopDetailVo shopDetailVo = shopService.detail(createOrderNewRequest.getEpId()).getContent();
+        String authAccount = shopDetailVo.getAuthAccount();
+        if (ObjectUtil.isEmpty(authAccount)) {
+            return ResultContent.build(ResultState.Fail, "分账账户未设置");
+        }
+
+        // 渠道订单
+        CreateOrderNewResponse createOrderNewResponse = ticketApi.createOrderNew(createOrderNewRequest);
+        if (!createOrderNewResponse.getSuccess()) {
+            return ResultContent.build(ResultState.Fail, createOrderNewResponse.getMsg());
+        }
+
+        // 平台订单
+        CreateOrder2Model createOrder2Model = new CreateOrder2Model();
+        createOrder2Model.setOrderNo(orderNo);
+        createOrder2Model.setUserId(authHelper.getCurrentUser().getUserId());
+        createOrder2Model.setShopId(createOrderNewRequest.getEpId());
+        createOrder2Model.setShopInfo(JSONUtil.parseObj(shopDetailVo));
+        createOrder2Model.setTotalAmount(payAmount);
+        createOrder2Model.setDiscountAmount(BigDecimal.ZERO);
+        createOrder2Model.setPayAmount(payAmount);
+        createOrder2Model.setAccesserUserId(authAccount);
+        createOrder2Model.setChannel(createOrder2Model.getChannel());
+
+        // 商品信息
+//        ArrayList<CreateOrder2Model.Goods> goodsArrayList = new ArrayList<>();
+//        for (Integer i = 0; i < createOrderNewRequest.getBookNumber(); i++) {
+
+        CreateOrder2Model.Goods goods = new CreateOrder2Model.Goods();
+        goods.setGoodsId(String.valueOf(createOrderNewRequest.getProductId()));
+        goods.setJobFlowMap(JobFlowMap.Ticket);
+        goods.setGoodsInfo(JSONUtil.parseObj(detailResponse));
+        goods.setPayAmount(payAmount);
+        goods.setValidDay(30);
+        goods.setTransferType(shopDetailVo.getShareType().equals(1) ? TransferType.RATIO : TransferType.FIXED);
+
+        List<CreateOrder2Model.Owner> ownerList = new ArrayList<>();
+
+        CreateOrder2Model.Owner platfor = new CreateOrder2Model.Owner();
+        platfor.setOwner(TransferOwner.PLATFORM);
+        platfor.setValue(shopDetailVo.getPlatformRate());
+
+        CreateOrder2Model.Owner buy = new CreateOrder2Model.Owner();
+        buy.setOwner(TransferOwner.BUY_SHOP);
+        buy.setValue(shopDetailVo.getBuyShopRate());
+        buy.setShopId(createOrderNewRequest.getEpId());
+
+        ownerList.add(platfor);
+        ownerList.add(buy);
+        goods.setTransferRrule(ownerList);
+        goods.setExtend(JSONUtil.toJsonStr(createOrderNewResponse.getData()));
+//            goodsArrayList.add(goods);
+//        }
+        createOrder2Model.setGoodsList(List.of(goods));
+        return orderService2.creat(createOrder2Model);
     }
 
 

+ 17 - 6
SpringBatchServiceServer/src/test/java/com/zswl/cloud/springBtach/server/boot/ServerApplicationTests.java

@@ -1,6 +1,7 @@
 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.xiaoju.open.oil.commons.config.OilConfig;
 import com.xiaoju.open.oil.core.QueryClient;
@@ -13,8 +14,11 @@ import com.xiaoju.open.oil.interfaces.request.miniprogram.MiniProgramQueryNewOrd
 import com.xiaoju.open.oil.interfaces.request.miniprogram.MiniQueryCalPriceRequest;
 import com.xiaoju.open.oil.interfaces.response.miniprogram.MiniQueryCalPriceResponse;
 import com.xiaoju.open.oil.interfaces.response.miniprogram.MiniQueryNewOrderResponse;
+import com.zhongshu.payment.client.model.order.v2.OrderResult2Model;
+import com.zhongshu.payment.client.model.order.v2.UserSeachOrder2Model;
 import com.zhongshu.payment.client.service.v2.OrderService2;
 import com.zhongshu.payment.client.service.v2.PaymentService2;
+import com.zhongshu.payment.client.type.Channel;
 import com.zswl.cloud.shop.client.dto.life.TripartiteShopDto;
 import com.zswl.cloud.shop.client.service.GoodsService;
 import com.zswl.cloud.shop.client.service.ShopService;
@@ -25,19 +29,19 @@ import com.zswl.cloud.springBatch.client.model.dfy.Ticket.request.ScenicListRequ
 import com.zswl.cloud.springBatch.client.model.dfy.Ticket.response.ScenicListResponse;
 import com.zswl.cloud.springBtach.server.core.api.dfy.DomesticHotelApi;
 import com.zswl.cloud.springBtach.server.core.api.dfy.TicketApi;
-import com.zswl.cloud.springBtach.server.core.api.xiaoju.XiaoJuApi;
-import com.zswl.cloud.springBtach.server.core.api.xiaoju.XiaoJuApi2;
 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.dao.XiaoJuStoreDao;
 import com.zswl.cloud.springBtach.server.core.domain.XiaoJuStore;
 import com.zswl.cloud.springBtach.server.core.service.PaymentService;
 import com.zswl.cloud.springBtach.server.core.service.XiaoJuService;
+import com.zswl.cloud.springBtach.server.core.service.impl.DfyTicketServiceImpl;
 import com.zswl.cloud.springBtach.server.core.service.impl.OrderServiceImpl;
 import lombok.extern.log4j.Log4j2;
 import org.junit.jupiter.api.Test;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.boot.test.context.SpringBootTest;
+import org.springframework.data.domain.Page;
 import org.springframework.data.mongodb.core.MongoTemplate;
 
 import java.util.List;
@@ -61,11 +65,7 @@ public class ServerApplicationTests {
     @Autowired
     PaymentService2 paymentService2;
 
-    @Autowired
-    XiaoJuApi xiaoJuApi;
 
-    @Autowired
-    XiaoJuApi2 xiaoJuApi2;
 
     @Autowired
     PaymentService paymentService;
@@ -260,5 +260,16 @@ public class ServerApplicationTests {
 
     }
 
+    @Autowired
+    DfyTicketServiceImpl dfyTicketService;
+    @Test
+    public void sync(){
+        UserSeachOrder2Model userSeachOrder2Model = new UserSeachOrder2Model();
+        userSeachOrder2Model.setChannel(Channel.ZhongShu);
+        userSeachOrder2Model.setUserId("660a534e32e63427d1a09c2a");
+        ResultContent<Page<OrderResult2Model>> pageResultContent = orderService2.userSearch(userSeachOrder2Model);
+        System.out.println(JSONUtil.toJsonStr(pageResultContent));
+    }
+
 
 }