Commit 78ecf899 authored by Administrator's avatar Administrator

Merge branch 'feature-ip-migration' into 'master'

迁移ip

See merge request !225
parents d90373ac fe8eee9f
......@@ -602,7 +602,7 @@ public class AdministratorController {
* @return ResultDto
*/
@PreAuthorize(Securitys.ADMIN_EL)
@GetMapping(value = "/{owner}/ip")
@GetMapping(value = "/0xadministrator/{owner}/ip")
public ResultDto ipMigration(@PathVariable String owner) {
String logs = "【IpMigration】 ";
log.info("{}, params : {}", logs, owner);
......@@ -623,7 +623,7 @@ public class AdministratorController {
* @return ResultDto
*/
@PreAuthorize(Securitys.ADMIN_EL)
@PutMapping(value = "/{owner}/ip/{newOwner}")
@PutMapping(value = "/0xadministrator/{owner}/ip/{newOwner}")
public ResultDto ipMigration(@PathVariable String owner, @PathVariable String newOwner, @RequestParam String ips) {
String logs = "【IpMigration】 ";
log.info("{}, params : {}, {} ip migration {}", logs, owner, newOwner, ips);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment