apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/controller/AppController.java/AppController/update
class AppController:  @PutMapping("/apps/{appId:.+}")
  public void update(@PathVariable String appId, @RequestBody App app) {
    if (!Objects.equals(appId, app.getAppId())) {
      throw new BadRequestException("The App Id of path variable and request body is different");
    }

    appService.update(app);
  }