refactor(robotaxi): 移除意见反馈每日次数查询接口及相关类型定义
Co-Authored-By: 何宏文 <hehw@xiaopeng.com>
| | |
| | | SubmitFeedbackResponse, |
| | | SubmitOrderCommentPayload, |
| | | FeedbackTypeItem, |
| | | FeedbackDailyCountResponse, |
| | | UnlockVehiclePayload, |
| | | UnlockVehicleResponse, |
| | | OrderPaymentResponse, |
| | |
| | | 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); |
| | | } |
| | |
| | | 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。 */ |