Merge branch 'master' into docker_package
This commit is contained in:
commit
c0764c71a2
|
@ -47,7 +47,7 @@ public class AdminController {
|
||||||
|
|
||||||
@PostMapping(value = "/update")
|
@PostMapping(value = "/update")
|
||||||
public Result<String> update(@RequestBody Map<String, String> params) {
|
public Result<String> update(@RequestBody Map<String, String> params) {
|
||||||
String updateFile = params.containsKey("updateFile") ? params.get("String updateFile") : null;
|
String updateFile = params.containsKey("updateFile") ? params.get("updateFile") : null;
|
||||||
String active = params.containsKey("active") ? params.get("active") : null;
|
String active = params.containsKey("active") ? params.get("active") : null;
|
||||||
if (StringUtils.isEmpty(active)) {
|
if (StringUtils.isEmpty(active)) {
|
||||||
active = this.active;
|
active = this.active;
|
||||||
|
|
Loading…
Reference in New Issue