|
@@ -54,7 +54,7 @@ public class TenantInfoController extends BaseController {
|
|
|
@PostMapping("/add")
|
|
|
@ApiOperation(value = "更新", notes = "传入TenantInfo")
|
|
|
@PreAuthorize("@pcs.hasPermissions('tenantInfo/add')")
|
|
|
- public HttpResponseResult<Boolean> add(@Validated @RequestBody TenantInfoVo.TenantInfo info) {
|
|
|
+ public HttpResponseResult<Boolean> add( @RequestBody TenantInfoVo.TenantInfo info) {
|
|
|
return succeed(tenantInfoService.add(JSON.parseObject(info.jsonString(), TenantInfo.class)));
|
|
|
}
|
|
|
|
|
@@ -64,7 +64,7 @@ public class TenantInfoController extends BaseController {
|
|
|
@PostMapping("/update")
|
|
|
@ApiOperation(value = "修改", notes = "传入TenantInfo")
|
|
|
@PreAuthorize("@pcs.hasPermissions('tenantInfo/update')")
|
|
|
- public HttpResponseResult<Boolean> update(@Valid @RequestBody TenantInfoVo.TenantInfo info) {
|
|
|
+ public HttpResponseResult<Boolean> update( @RequestBody TenantInfoVo.TenantInfo info) {
|
|
|
return succeed(tenantInfoService.update(JSON.parseObject(info.jsonString(), TenantInfo.class)));
|
|
|
}
|
|
|
|