wupengfei
2025-06-09 17336d42e38798b0289029e84271d1433ea21080
packages/core/src/lifeRechargeServices.ts
@@ -422,6 +422,18 @@
      ...(options || {}),
    });
  }
  /** 创建或更新推广员 POST /api/Promoter/CreateOrUpdatePromoter */
  async createOrUpdatePromoter(body: API.CreateOrUpdatePromoterInput, options?: API.RequestConfig) {
    return this.request<string>('/api/Promoter/CreateOrUpdatePromoter', {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    });
  }
}
export interface PhoneMesssageCodeLoginInput {
@@ -943,3 +955,18 @@
  /** 客户资源 */
  customerResources?: string;
}
export interface CreateOrUpdatePromoterInput {
  /** Id */
  id?: string;
  /** 客户端用户Id 如有 */
  userId?: string;
  /** ID */
  idNumber?: string;
  /** 推广员 */
  name?: string;
  /** 联系方式 */
  phoneNumber?: string;
  /** 备注 */
  remark?: string;
}