|
@@ -6,6 +6,7 @@ import com.yohobuy.ufo.model.order.req.SellerOrderComputeReq; |
|
@@ -6,6 +6,7 @@ import com.yohobuy.ufo.model.order.req.SellerOrderComputeReq; |
6
|
import com.yohobuy.ufo.model.order.req.SellerOrderSubmitReq;
|
6
|
import com.yohobuy.ufo.model.order.req.SellerOrderSubmitReq;
|
7
|
import com.yohoufo.common.ApiResponse;
|
7
|
import com.yohoufo.common.ApiResponse;
|
8
|
import com.yohoufo.common.exception.GatewayException;
|
8
|
import com.yohoufo.common.exception.GatewayException;
|
|
|
9
|
+import com.yohoufo.order.service.handler.SellerOrderComputeHandler;
|
9
|
import com.yohoufo.order.service.impl.SellerOrderCancelService;
|
10
|
import com.yohoufo.order.service.impl.SellerOrderCancelService;
|
10
|
import com.yohoufo.order.service.impl.SellerOrderService;
|
11
|
import com.yohoufo.order.service.impl.SellerOrderService;
|
11
|
import org.slf4j.Logger;
|
12
|
import org.slf4j.Logger;
|
|
@@ -135,4 +136,14 @@ public class SellerOrderController { |
|
@@ -135,4 +136,14 @@ public class SellerOrderController { |
135
|
}
|
136
|
}
|
136
|
return new ApiResponse.ApiResponseBuilder().data(result).code(200).message(msg).build();
|
137
|
return new ApiResponse.ApiResponseBuilder().data(result).code(200).message(msg).build();
|
137
|
}
|
138
|
}
|
|
|
139
|
+
|
|
|
140
|
+ @Autowired
|
|
|
141
|
+ private SellerOrderComputeHandler sellerOrderComputeHandler;
|
|
|
142
|
+ @RequestMapping(params = "method=ufo.skup.earnestMoneyRange")
|
|
|
143
|
+ @ResponseBody
|
|
|
144
|
+ public ApiResponse getEarnestMoneyRange(){
|
|
|
145
|
+ return new ApiResponse.ApiResponseBuilder()
|
|
|
146
|
+ .data(sellerOrderComputeHandler.getEarnestMoneyrange())
|
|
|
147
|
+ .message("get EarnestMoneyrange success").build();
|
|
|
148
|
+ }
|
138
|
} |
149
|
} |