接口请求url修正
This commit is contained in:
@@ -25,7 +25,7 @@ import java.util.List;
|
|||||||
*/
|
*/
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/admin/handover-record")
|
@RequestMapping("/admin/handoverRecord")
|
||||||
public class HandoverRecordController {
|
public class HandoverRecordController {
|
||||||
private final HandoverRecordService handoverRecordService;
|
private final HandoverRecordService handoverRecordService;
|
||||||
|
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ import java.util.List;
|
|||||||
*/
|
*/
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/admin/product/cons-group")
|
@RequestMapping("/admin/product/consGroup")
|
||||||
public class ConsGroupController {
|
public class ConsGroupController {
|
||||||
private final ConsGroupService consGroupService;
|
private final ConsGroupService consGroupService;
|
||||||
|
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ public class ConsStockFlowController {
|
|||||||
* 库存盘点记录
|
* 库存盘点记录
|
||||||
* param conId 耗材ID
|
* param conId 耗材ID
|
||||||
*/
|
*/
|
||||||
@GetMapping("check-record")
|
@GetMapping("checkRecord")
|
||||||
@OperationLog("库存盘点记录")
|
@OperationLog("库存盘点记录")
|
||||||
//@SaAdminCheckPermission("consStockFlow:check-record")
|
//@SaAdminCheckPermission("consStockFlow:check-record")
|
||||||
public CzgResult<List<ConsCheckStockRecordVo>> checkStock(@RequestParam Long conId) {
|
public CzgResult<List<ConsCheckStockRecordVo>> checkStock(@RequestParam Long conId) {
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ public class ProductController {
|
|||||||
/**
|
/**
|
||||||
* 商品-退款退至库存
|
* 商品-退款退至库存
|
||||||
*/
|
*/
|
||||||
@PostMapping("refund-to-stock")
|
@PostMapping("refundToStock")
|
||||||
@OperationLog("商品-退款退至库存")
|
@OperationLog("商品-退款退至库存")
|
||||||
//@SaAdminCheckPermission("product:update")
|
//@SaAdminCheckPermission("product:update")
|
||||||
public CzgResult<Void> refundToStock(@RequestBody @Validated({DefaultGroup.class}) ProdRefundToStockParam param) {
|
public CzgResult<Void> refundToStock(@RequestBody @Validated({DefaultGroup.class}) ProdRefundToStockParam param) {
|
||||||
@@ -169,7 +169,7 @@ public class ProductController {
|
|||||||
/**
|
/**
|
||||||
* 商品-库存预警设置
|
* 商品-库存预警设置
|
||||||
*/
|
*/
|
||||||
@PostMapping("stock-warning")
|
@PostMapping("stockWarning")
|
||||||
@OperationLog("商品-库存预警设置")
|
@OperationLog("商品-库存预警设置")
|
||||||
//@SaAdminCheckPermission("product:stockWarning")
|
//@SaAdminCheckPermission("product:stockWarning")
|
||||||
public CzgResult<Void> stockWarning(@RequestParam Integer warnLine) {
|
public CzgResult<Void> stockWarning(@RequestParam Integer warnLine) {
|
||||||
|
|||||||
Reference in New Issue
Block a user