|
@@ -441,7 +441,7 @@ public class UserController {
|
|
|
try {
|
|
|
AttributePrincipal principal = (AttributePrincipal) request.getUserPrincipal();
|
|
|
CompanyUser companyUser = companyUserService.findByUserName(principal.getName());
|
|
|
- companyUser.setOpenId(null);
|
|
|
+ companyUser.setOpenId("");
|
|
|
int affectCount = companyUserService.update(companyUser);
|
|
|
|
|
|
if(affectCount > 0) {
|