|
|
@@ -60,6 +60,7 @@ public class EnterpriseController {
|
|
|
return Result.ok(enterpriseService.detail(enterpriseId));
|
|
|
}
|
|
|
|
|
|
+ @PreAuthorize("@perm.hasAny('module_payment:enterprise:transfer-toggle')")
|
|
|
@PutMapping("/{enterprise_id}")
|
|
|
public Result<EnterpriseVO> update(@PathVariable(name = "enterprise_id") String enterpriseId, @Valid @RequestBody EnterpriseUpdateDTO body) {
|
|
|
return Result.ok(enterpriseService.update(enterpriseId, body));
|