|
@@ -4,6 +4,7 @@ import static org.fouram.core.plugin.weixin.cp.core.WXCpBase.userService;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
+import org.fouram.constants.WebConstants;
|
|
|
import org.fouram.core.util.Tools;
|
|
|
|
|
|
import me.chanjar.weixin.common.error.WxErrorException;
|
|
@@ -29,7 +30,7 @@ public class WXCpUserUtil {
|
|
|
user = getUser(userId, name, subCompanyList, departmentList, position, mobile, gender, email);
|
|
|
userService.update(user);
|
|
|
}
|
|
|
- return "SUCCESS";
|
|
|
+ return WebConstants.SUCCESS;
|
|
|
} catch (WxErrorException e) {
|
|
|
return e.getMessage();
|
|
|
}
|