...
This commit is contained in:
parent
0b27181f37
commit
9fe3d20864
|
@ -47,7 +47,7 @@ public class AdminController {
|
|||
|
||||
@PostMapping(value = "/update")
|
||||
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;
|
||||
if (StringUtils.isEmpty(active)) {
|
||||
active = this.active;
|
||||
|
|
Loading…
Reference in New Issue