wupengfei
2 天以前 00b1a7434b5fd2d2f003340c0b66f5fc57716fea
src/services/api/user.ts
@@ -68,6 +68,36 @@
  });
}
/** 个人三要素实名认证 POST /api/user/user/personalUserIdentity3Real */
export async function personalUserIdentity3Real(
  body: API.PersonalUserIdentity3RealCommand,
  options?: API.RequestConfig
) {
  return request<string>('/api/user/user/personalUserIdentity3Real', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json-patch+json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 发送个人三要素实名短信 POST /api/user/user/sendPersonalUserIdentity3RealSms */
export async function sendPersonalUserIdentity3RealSms(
  body: API.SendPersonalUserIdentity3RealSmsCommand,
  options?: API.RequestConfig
) {
  return request<string>('/api/user/user/sendPersonalUserIdentity3RealSms', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json-patch+json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 设置用户信息角色 PUT /api/user/user/setUserInfoRoles */
export async function setUserInfoRoles(
  body: API.SetUserInfoRolesCommand,
@@ -112,3 +142,18 @@
    ...(options || {}),
  });
}
/** 同步运营用户 POST /api/user/user/syncOperationUser */
export async function syncOperationUser(
  body: API.SyncOperationUserCommand,
  options?: API.RequestConfig
) {
  return request<string>('/api/user/user/syncOperationUser', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json-patch+json',
    },
    data: body,
    ...(options || {}),
  });
}