diff --git a/src/sdk/sdk-server.ts b/src/sdk/sdk-server.ts index 97a6090..df5b99d 100644 --- a/src/sdk/sdk-server.ts +++ b/src/sdk/sdk-server.ts @@ -636,11 +636,7 @@ export class SdkServer { */ async getUserExecutions(userId?: string): Promise { try { - const uid = userId || Taro.getStorageSync(TOKEN_UID_KEY); - if (!uid) { - throw new Error('用户ID不存在'); - } - const response = await this.request<{ executions: UserExecution[]; total: number }>(`/templates/executions/user/${uid}`); + const response = await this.request<{ executions: UserExecution[]; total: number }>(`/templates/executions/user`); return response.data.executions || []; } catch (error) { throw error;