...
|
...
|
@@ -17,6 +17,7 @@ import org.slf4j.Logger; |
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
...
|
...
|
@@ -123,7 +124,7 @@ public class SellerOrderController { |
|
|
* 后台下架
|
|
|
* 在遥远的未来或者根本就没有未来
|
|
|
* 那就用"也许"来表达下,未来也许需要MQ方式
|
|
|
* @param skup
|
|
|
* @param sellerOrder
|
|
|
* @return
|
|
|
* @throws GatewayException
|
|
|
*/
|
...
|
...
|
@@ -131,7 +132,7 @@ public class SellerOrderController { |
|
|
@ResponseBody
|
|
|
@IgnoreSession
|
|
|
@IgnoreSignature
|
|
|
public ApiResponse offShelveByErp(SellerOrder sellerOrder) throws GatewayException {
|
|
|
public ApiResponse offShelveByErp(@RequestBody SellerOrder sellerOrder) throws GatewayException {
|
|
|
|
|
|
logger.info("in ufo.sellerOrder.cancel, sellerOrder {}", sellerOrder);
|
|
|
boolean result = sellerOrderService.offShelveByErp(sellerOrder.getSkup()) ;
|
...
|
...
|
|