ai-coding
2026-07-29 a3dd0efff038b268c0fb8ee9a4417771e20f7ee8
refactor(robotaxi): 移除意见反馈每日次数查询接口及相关类型定义

Co-Authored-By: 何宏文 <hehw@xiaopeng.com>
2个文件已修改
25 ■■■■■ 已修改文件
src/robotaxi/api/begin-route.ts 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/api/types/begin-route.ts 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/api/begin-route.ts
@@ -38,7 +38,6 @@
    SubmitFeedbackResponse,
    SubmitOrderCommentPayload,
    FeedbackTypeItem,
    FeedbackDailyCountResponse,
    UnlockVehiclePayload,
    UnlockVehicleResponse,
    OrderPaymentResponse,
@@ -299,14 +298,6 @@
export const getFeedbackTypeList = async (): Promise<FeedbackTypeItem[]> => {
    return request({
        url: _ROBOTAXI_HOST + `/operation/base/v1/mini-program/feedback-type/getList`,
        method: 'GET'
    }, true);
}
// 获取意见反馈当日提交次数
export const getFeedbackDailyCount = async (): Promise<FeedbackDailyCountResponse> => {
    return request({
        url: _ROBOTAXI_HOST + `/operation/base/v1/mini-program/complaint/dailyCount`,
        method: 'GET'
    }, true);
}
src/robotaxi/api/types/begin-route.ts
@@ -425,22 +425,6 @@
    feedbackType?: string;
}
/** 意见反馈提交响应。 */
export interface SubmitFeedbackResultResponse extends ExtendableRecord {
    /** 反馈记录 id。 */
    feedbackId?: number | string;
}
/** 意见反馈当日提交次数响应。 */
export interface FeedbackDailyCountResponse extends ExtendableRecord {
    /** 当日已提交次数。 */
    count?: number;
    /** 每日上限。 */
    limit?: number;
    /** 剩余次数。 */
    remaining?: number;
}
/** 支付请求。 */
export interface GetOrderPaymentPayload {
    /** 订单 ID。 */