From d991b2a3e0fe87d513b707c610058c4b5bbf112c Mon Sep 17 00:00:00 2001 From: ag <2663588772@qq.com> Date: Mon, 17 Mar 2025 16:16:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=80=A7=E5=88=AB=E5=AD=97=E6=AE=B5=E5=85=BC?= =?UTF-8?q?=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cellsysGroup.js | 5 ++--- cellsysOrg.js | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/cellsysGroup.js b/cellsysGroup.js index 6795a30..bfa4eb5 100644 --- a/cellsysGroup.js +++ b/cellsysGroup.js @@ -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; diff --git a/cellsysOrg.js b/cellsysOrg.js index 7584593..52118db 100644 --- a/cellsysOrg.js +++ b/cellsysOrg.js @@ -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);