|
|
@@ -414,9 +414,9 @@ public class AccountController {
|
|
|
public Result enableAccount(@RequestParam long accountId) {
|
|
|
accountService.enable(accountId);
|
|
|
//同步到优软云
|
|
|
- Long userUU = accountService.findByPrimaryKey(accountId).getUu();
|
|
|
- Long companyUU = companyService.findByPrimaryKey(BaseContextHolder.getCompanyId()).getUu();
|
|
|
- String result = ssoUserApi.bind("bind", "trade-app", userUU, companyUU);
|
|
|
+// Long userUU = accountService.findByPrimaryKey(accountId).getUu();
|
|
|
+// Long companyUU = companyService.findByPrimaryKey(BaseContextHolder.getCompanyId()).getUu();
|
|
|
+// String result = ssoUserApi.bind("bind", "trade-app", userUU, companyUU);
|
|
|
accountService.clearCache(accountId);
|
|
|
return Result.success();
|
|
|
}
|