> For the complete documentation index, see [llms.txt](https://help.sesami.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.sesami.co/zh-cn/guan-li/resources.md).

# 资源

在 Sesami 中创建服务后，您需要为其创建资源。资源代表被预订的对象——即您的服务背后的可用性。

根据您的业务，资源可能是：

* 一位 **团队成员** ——如造型师、教练、治疗师或向导
* 一位 **服务时间** ——用于不需要特定人员的服务的时间段
* 一个 **活动时间** ——如课程、工作坊或品鉴会等已安排的活动
* 一位 **房间** ——治疗室、工作室、品鉴室
* 一件 **设备** ——相机套件、机器、椅子、工位

{% hint style="info" %}
可以这样理解：一项 **服务** 是您出售的内容，而一个 **资源** 是您安排日程的对象。“理发”是服务；“造型师 Alex”是资源。
{% endhint %}

## 资源类型

资源类型是用于对资源进行分组的类别。请定义与您的业务模式相匹配的类型。

**常见资源类型：**

| 资源类型 | 示例资源            |
| ---- | --------------- |
| 团队成员 | Alex、Jordan、Sam |
| 房间   | 治疗室 1、A 工作室     |
| 设备   | 相机套件 A、激光机      |
| 活动   | 周六瑜伽、葡萄酒品鉴      |

### 创建资源类型

1. 前往 **Sesami 管理门户 > 资源**
2. 打开 **资源类型**
3. 创建您需要的类型（例如：团队成员、房间）

## 创建资源

设置好类型后，在每个类型下添加单独的资源。

1. 前往 **Sesami 管理门户 > 资源**
2. 选择一种资源类型（例如：团队成员）
3. 点击 **添加资源**
4. 添加名称以及任何可选信息（简介、图片等）
5. **保存**

清晰地命名资源（例如：“Alex”、“房间 1”、“相机套件 A”）——客户在店铺前端选择资源时可能会看到这些名称。

## 资源可用性

每个资源都有自己的可用性时间表和时区。

1. 前往 **Sesami 管理门户 > 资源 > \[选择资源]**
2. 设置资源的 **时区** ——这对国际团队很有用
3. 通过点击单个日期并设置时间区间来定义可用性
4. 设置 **可用范围** 以确定可提前多久进行预订
5. **保存**

## 将资源分配给服务

创建资源后，将它们分配给服务，以便 Sesami 知道要安排什么：

1. 前往 **Sesami 管理门户 > 服务**
2. 选择一项服务
3. 选择 **资源类型** 进行分配
4. 分配所需的资源

### 分配选项

| 选项         | 功能                                           |
| ---------- | -------------------------------------------- |
| **在体验中可选** | 让客户选择特定资源（例如，选择他们偏好的造型师），或选择“任意可用”进行预订（随机分配） |
| **预订时占用**  | 在预约时间内将该资源标记为不可用于其他预订                        |

<figure><img src="/files/a250b3adb017573387c58192dfc7168b68ec6922" alt=""><figcaption></figcaption></figure>

## 多资源预订

对于需要同时使用多个资源的服务，请为该服务分配多种资源类型。Sesami 只会显示所有必需资源都可用的时段。

**示例：** 一项情侣按摩服务被分配给：

* 资源类型：治疗师（需要 2 位可用）
* 资源类型：房间（需要 1 个可用）

只有在 2 位治疗师 **和** 以及房间都空闲时，才会在日历上显示这些时间段。

{% hint style="warning" %}
Sesami 会检查 **所有** 已分配的资源是否可用。如果哪怕有一个必需资源正忙，该时段也不会显示。
{% endhint %}

<figure><img src="/files/f5fed8ebdab2621359ce255d0e7b8648668f85d2" alt=""><figcaption></figcaption></figure>

## 屏蔽日期（假期、活动）

使用专用资源在多个服务中屏蔽日期：

1. 创建一个新资源（例如：“假期屏蔽器”）
2. 在其可用性设置中，将特定日期设为 **不可用** （例如：12 月 25 日、1 月 1 日）
3. 将“假期屏蔽器”资源分配给您希望在这些日期被屏蔽的每项服务

由于 Sesami 要求所有已分配资源都必须可用，因此与该屏蔽器关联的服务在被屏蔽的日期不会显示时段。

## 相关

* [服务](/zh-cn/guan-li/services.md) ——创建并配置可预订服务
* [资源可用性](/zh-cn/yu-ding/availability/resource-availability.md) ——详细的可用性设置
* [地点](/zh-cn/guan-li/locations.md) ——多地点设置


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.sesami.co/zh-cn/guan-li/resources.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
