...
|
...
|
@@ -131,7 +131,8 @@ public class BuyerBidController { |
|
|
@RequestParam(name = "price") String price,
|
|
|
@RequestParam(name = "time_limit_id") int time_limit_id,
|
|
|
@RequestParam(name = "channelNo", required = false) String channelNo,
|
|
|
@RequestParam(name = "client_type", required = false) String clientType) {
|
|
|
@RequestParam(name = "client_type", required = false) String clientType,
|
|
|
@RequestParam(name = "business_client", required = false)String businessClient) {
|
|
|
|
|
|
logger.info("in ufo.buyer.bid.publish, uid:{},storage_id:{},address_id:{},price:{}, time_limit_id:{}", uid, storage_id, address_id, price, time_limit_id);
|
|
|
|
...
|
...
|
@@ -145,6 +146,7 @@ public class BuyerBidController { |
|
|
.day(bidTimeLimit.getDays())
|
|
|
.channelNo(channelNo)
|
|
|
.clientType(clientType)
|
|
|
.businessClient(businessClient)
|
|
|
.build();
|
|
|
BidPublishResponse response = buyerBidPublishService.publish(req);
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).data(response).message("ok").build();
|
...
|
...
|
@@ -208,12 +210,14 @@ public class BuyerBidController { |
|
|
@RequestParam(name = "orderCode") long orderCode,
|
|
|
@RequestParam(name = "price") String price,
|
|
|
@RequestParam(name = "channelNo", required = false) String channelNo,
|
|
|
@RequestParam(name = "client_type", required = false) String clientType) {
|
|
|
@RequestParam(name = "client_type", required = false) String clientType,
|
|
|
@RequestParam(name = "business_client", required = false)String businessClient) {
|
|
|
logger.info("in ufo.buyer.bid.changePrice, uid:{},orderCode:{},price:{}", uid, orderCode, price);
|
|
|
BuyerBidChangePriceRequest req = BuyerBidChangePriceRequest.builder().uid(uid).orderCode(orderCode)
|
|
|
.price(priceComputePrepareProcessor.checkAndAcquireSalePrice(price, SkupType.IN_STOCK))
|
|
|
.channelNo(channelNo)
|
|
|
.clientType(clientType)
|
|
|
.businessClient(businessClient)
|
|
|
.build();
|
|
|
|
|
|
BidPublishResponse response = buyerBidPriceService.changePrice(req);
|
...
|
...
|
|