Commit b18d88a7 authored by 李腾's avatar 李腾

feat: 完善新建账户逻辑

parent 850ed712
......@@ -140,10 +140,11 @@ const AddUser = props => {
console.log(fieldsValue);
const { organizationId } = fieldsValue;
const { orgId } = userInfo;
const code = UUID.createUUID();
const params = {
...fieldsValue,
code: UUID.createUUID(),
email: `${orgId.substring(0, 8)}@stms.quantgroup.cn`,
code,
email: `${code}@stms.quantgroup.cn`,
organization: {
id: organizationId || orgId,
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment