浏览代码

创建订单调整

gongfuzhu 1 年之前
父节点
当前提交
d4a0a49caa

+ 4 - 6
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/step/CreateOrderStep.java

@@ -1,10 +1,9 @@
 package com.zswl.cloud.springBtach.server.core.step;
 
+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.github.microservice.core.util.result.content.ResultContent;
-import com.github.microservice.core.util.result.content.ResultState;
-import com.zhongshu.payment.client.model.order.AddOrderParamModel2;
-import com.zhongshu.payment.client.model.payment.zswl.CreatePaymentModel2;
+import com.zhongshu.payment.client.model.order.CreateOrderModel;
 import com.zhongshu.payment.client.service.OrderService2;
 import com.zswl.cloud.shop.client.service.ShopService;
 import com.zswl.cloud.shop.client.vo.life.ShopDetailVo;
@@ -24,7 +23,6 @@ import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.context.annotation.Bean;
 import org.springframework.context.annotation.Configuration;
 import org.springframework.context.annotation.Lazy;
-import org.springframework.util.Assert;
 
 import javax.annotation.Resource;
 import java.util.Map;
@@ -36,7 +34,7 @@ public class CreateOrderStep {
 
     ThreadLocal<ResultContent> resultContent = new ThreadLocal<>();
 
-    ThreadLocal<AddOrderParamModel2> parameter = new ThreadLocal<>();
+    ThreadLocal<CreateOrderModel> parameter = new ThreadLocal<>();
 
 
     @Resource