fix
This commit is contained in:
@@ -57,8 +57,8 @@ public class KeyInfoController {
|
||||
@PostMapping("/create")
|
||||
@AuditControllerLog(description = "创建密钥", operateType = AuditLogConst.ADD)
|
||||
public R<String> save(@Valid @RequestBody KeyInfoDTO.KeySave save) {
|
||||
Long id = keyInfoService.save(save);
|
||||
return R.data(String.valueOf(id));
|
||||
List<Long> ids = keyInfoService.save(save);
|
||||
return R.data(String.valueOf(ids.get(0)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user