性别字段兼容

This commit is contained in:
ag 2025-03-17 16:16:55 +08:00
parent 919709e560
commit d991b2a3e0
2 changed files with 3 additions and 4 deletions

View File

@ -147,7 +147,7 @@ class CellsysGroup {
_membersParam.push({
_realname: memberObj.realName,
_mobile: memberObj.mobile,
_gender: memberObj.gender,
_gender: String(memberObj.gender),
_email: memberObj.email,
_member_type_name: memberObj.typeName
? memberObj.typeName
@ -210,5 +210,4 @@ class CellsysGroup {
}
}
export default CellsysGroup
export default CellsysGroup;

View File

@ -241,7 +241,7 @@ class CellsysOrg {
editTask.addParam('_username', params.userName);
editTask.addParam('_realname', params.realName);
editTask.addParam('_email', params.email);
editTask.addParam('_gender', params.gender);
editTask.addParam('_gender', String(params.gender));
editTask.addParam('_birthday', params.birthday);
editTask.addParam('_avatar', params.avatar);
editTask.addParam('_is_username', 0);