/* * 喝酒了么 - 后端接口 API * 小程序:喝酒了么(uni-app 微信小程序) * 基础URL: /api/v1 * * 主要功能模块: * 1. 用户模块 - 微信登录、用户信息管理 * 2. 打卡记录模块 - 饮酒记录创建、查询、日历数据 * 3. 照片上传模块 - 单张/批量照片上传 * 4. 统计模块 - 用户统计、月度统计、酒类分布 * 5. 成就模块 - 成就列表和进度 * 6. 社交模块 - 朋友圈动态、点赞 */ export declare interface option { value: number | string; text: string; } export interface WebsocketInterface { close: ((this: WebsocketInterface, ev: CloseEvent) => any) | null; onopen: ((this: WebsocketInterface, ev: Event) => any) | null; onmessage: ((this: WebsocketInterface, ev: MessageEvent) => any) | null; onclose(event: CloseEvent): void; onerror(event: ErrorEvent): void; send(data: string | BufferSource | Blob): void; } /** * 枚举类型基类 */ export declare class Enum { constructor(value: number|string); toString(): number|string; toJSON(): number|string; valueOf(): number|string; } /** * 成就条件类型 */ export declare class AchievementConditionType extends Enum { /** * 总记录数 */ static TotalRecords: AchievementConditionType; /** * 累计标准杯 */ static TotalStandardCups: AchievementConditionType; /** * 连续打卡天数 */ static StreakDays: AchievementConditionType; /** * 某酒类打卡次数 */ static CategoryRecords: AchievementConditionType; /** * 尝试酒类品种数 */ static CategoryVariety: AchievementConditionType; static entries(): Array