取消原ITEM接口
This commit is contained in:
@ -43,7 +43,8 @@ public class ItemController {
|
||||
public OpenResponse<List<AppxCategoryVO>> categoryList(
|
||||
@ApiParam(value = "商品类型:1-售卖类(实物),2-租赁类(实物),3-付费充值/兑换类(虚拟)") @RequestParam String itemType,
|
||||
@ApiParam(value = "类目状态,默认AUDIT_PASSED", example = "AUDIT_PASSED") @RequestParam(required = false) String catStatus) {
|
||||
return itemService.getCategories(itemType, catStatus);
|
||||
//return itemService.getCategories(itemType, catStatus);
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -55,7 +56,8 @@ public class ItemController {
|
||||
public OpenResponse<AlipayOpenAppItemTemplateQueryResponse> queryTemplate(
|
||||
@ApiParam(value = "类目ID", required = true) @RequestParam String categoryId,
|
||||
@ApiParam(value = "商品类型:1-售卖类(实物),2-租赁类(实物),3-付费充值/兑换类(虚拟)") @RequestParam(required = false) String itemType) {
|
||||
return itemService.queryTemplate(categoryId, itemType);
|
||||
//return itemService.queryTemplate(categoryId, itemType);
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
@ -67,13 +69,15 @@ public class ItemController {
|
||||
@ApiOperationSupport(order = 4)
|
||||
@PostMapping(value = "/rent/create")
|
||||
public OpenResponse<String> rentCreate(@RequestBody RentRuleItem request) {
|
||||
return itemService.createRentItem(request);
|
||||
//return itemService.createRentItem(request);
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
@PostMapping(value = "/rent/modify")
|
||||
public OpenResponse<String> modifyCreate(@RequestBody RentRuleItem request) {
|
||||
return itemService.modifyItem(request);
|
||||
//return itemService.modifyItem(request);
|
||||
return null;
|
||||
}
|
||||
|
||||
@ApiOperation(value = "商品详情查询")
|
||||
@ -82,8 +86,9 @@ public class ItemController {
|
||||
public OpenResponse<AlipayOpenAppItemQueryResponse> query(@ApiParam(value = "支付平台侧商品ID") @RequestParam(required = false) String itemId,
|
||||
@ApiParam(value = "商家侧商品ID") @RequestParam(required = false) String outItemId,
|
||||
@ApiParam(value = "是否查询编辑版本,默认为0", defaultValue = "0") @RequestParam(required = false) String needEditSpu) {
|
||||
return itemService.queryItemDetail(itemId, outItemId,
|
||||
StringUtils.isNumeric(needEditSpu) ? Long.parseLong(needEditSpu) : 0);
|
||||
// return itemService.queryItemDetail(itemId, outItemId,
|
||||
// StringUtils.isNumeric(needEditSpu) ? Long.parseLong(needEditSpu) : 0);
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -93,7 +98,9 @@ public class ItemController {
|
||||
@ApiOperationSupport(order = 4)
|
||||
@PostMapping(value = "/template/create")
|
||||
public OpenResponse<String> templateCreate() {
|
||||
return itemService.syncDeliveryInfo();
|
||||
|
||||
//return itemService.syncDeliveryInfo();
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -103,21 +110,27 @@ public class ItemController {
|
||||
@ApiOperationSupport(order = 4)
|
||||
@PostMapping(value = "/delivery/query")
|
||||
public OpenResponse<String> deliveryQuery() {
|
||||
return itemService.deliveryInfoQuery();
|
||||
|
||||
//return itemService.deliveryInfoQuery();
|
||||
return null;
|
||||
}
|
||||
|
||||
@ApiOperation(value = "租赁类(实物)履约模板创建")
|
||||
@ApiOperationSupport(order = 4)
|
||||
@PostMapping(value = "/deliverytemplate/query")
|
||||
public OpenResponse<String> deliveryTemplateQuery() {
|
||||
return itemService.deliveryTemplateQuery();
|
||||
|
||||
//return itemService.deliveryTemplateQuery();
|
||||
return null;
|
||||
}
|
||||
|
||||
@ApiOperation(value = "租赁类(实物)履约模板创建")
|
||||
@ApiOperationSupport(order = 4)
|
||||
@PostMapping(value = "/shop/query")
|
||||
public OpenResponse<String> shopQuery() {
|
||||
return itemService.shopQuery();
|
||||
|
||||
//return itemService.shopQuery();
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
@ -125,7 +138,8 @@ public class ItemController {
|
||||
@GetMapping(value = "/sync/item")
|
||||
public Map<String,String> syncItem(@RequestParam(required = false) String brandId,@RequestParam(required = false) String carModelId,
|
||||
@RequestParam(required = false) String carRuleId,@RequestParam(required = false) String batteryRuleId) {
|
||||
return rentRuleItemService.syncItem(brandId, carModelId,carRuleId,batteryRuleId);
|
||||
//return rentRuleItemService.syncItem(brandId, carModelId,carRuleId,batteryRuleId);
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user