打印机修改
This commit is contained in:
@@ -66,7 +66,7 @@ public class PrintMachineController {
|
||||
*/
|
||||
@SaAdminCheckPermission(value = "printer:add", name = "打印机新增")
|
||||
@PostMapping
|
||||
public CzgResult<Boolean> list(@RequestBody @Validated PrinterAddDTO printerAddDTO) {
|
||||
public CzgResult<Boolean> add(@RequestBody @Validated PrinterAddDTO printerAddDTO) {
|
||||
return CzgResult.success(printMachineService.add(StpKit.USER.getShopId(), printerAddDTO));
|
||||
}
|
||||
|
||||
|
||||
@@ -91,4 +91,6 @@ public class PrinterAddDTO {
|
||||
*/
|
||||
@NotBlank(message = "打印类型不为空")
|
||||
private String printType;
|
||||
|
||||
private Integer status;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user