definitions: base.HTTPError: properties: code: example: 500 format: int type: integer message: example: status bad request type: string type: object v1.APIList: properties: api_id: type: integer api_no: type: string created_at: type: integer desc: type: string type: object v1.APIListReply: properties: current_page: type: integer first_page: type: integer host: type: string last_page: type: integer list: items: $ref: '#/definitions/v1.APIList' type: array next_page: type: integer per_page: type: integer prev_page: type: integer total: type: integer type: object v1.AddTemplateDetailBody: properties: date_cycle: type: integer item_id: type: integer mile_cycle: type: integer name: type: string start_date: type: integer start_mile: type: integer tid: type: integer type: object v1.AllAPIReply: properties: host: type: string list: items: type: string type: array type: object v1.AllAPIResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/v1.AllAPIReply' message: default: success description: 消息 type: string type: object v1.AllKeyResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: items: type: string type: array message: default: success description: 消息 type: string type: object v1.AllSourceResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: items: type: string type: array message: default: success description: 消息 type: string type: object v1.AnnouncementList: properties: brand_name: type: string id: type: integer model_no: type: string vehicle_batch: type: string vehicle_type_detail: type: string vin_rules: type: string type: object v1.AnnouncementReply: properties: current_page: type: integer first_page: type: integer last_page: type: integer list: items: $ref: '#/definitions/v1.AnnouncementList' type: array next_page: type: integer per_page: type: integer prev_page: type: integer total: type: integer type: object v1.BrandList: properties: brand_id: type: string brand_name: type: string has_img: type: integer id: type: integer image: type: string initial: type: string old_brand_name: type: string status: type: integer weight: type: integer type: object v1.BrandListReply: properties: current_page: type: integer first_page: type: integer last_page: type: integer list: items: $ref: '#/definitions/v1.BrandList' type: array next_page: type: integer per_page: type: integer prev_page: type: integer total: type: integer type: object v1.CheckAPI: properties: desc: type: string key: type: string value: type: string type: object v1.CheckAPIReply: properties: api_no: type: string desc: type: string list: items: $ref: '#/definitions/v1.RelatedTables' type: array request: type: string response: type: string type: object v1.ChooseTemplateDetailBody: properties: style_id: type: string tid: type: integer type: object v1.CreateBody: properties: source: type: string sql: type: string task_ids: items: type: string type: array task_name: type: string type: type: integer type: object v1.CreateKeyBody: properties: desc: type: string type: object v1.CreateKeyResponse: properties: code: default: 0 description: 返回码 format: int type: integer message: default: success description: 消息 type: string type: object v1.CreateResponse: properties: code: default: 0 description: 返回码 format: int type: integer message: default: success description: 消息 type: string type: object v1.CreateTemplateBody: properties: request: items: type: string type: array task_name: items: type: string type: array template_name: type: string type: object v1.CreateTemplateResponse: properties: code: default: 0 description: 返回码 format: int type: integer message: default: success description: 消息 type: string type: object v1.DataImport: properties: request: type: string value: type: string type: object v1.DataImportBody: properties: id: type: integer request_list: items: $ref: '#/definitions/v1.DataImport' type: array type: object v1.DataImportResponse: properties: code: default: 0 description: 返回码 format: int type: integer message: default: success description: 消息 type: string type: object v1.DataImportTemplateList: properties: id: type: integer request: items: $ref: '#/definitions/v1.RequestList' type: array task_desc: items: type: string type: array task_name: items: type: string type: array template_name: type: string type: object v1.DataImportTemplateReply: properties: current_page: type: integer first_page: type: integer last_page: type: integer list: items: $ref: '#/definitions/v1.DataImportTemplateList' type: array next_page: type: integer per_page: type: integer prev_page: type: integer total: type: integer type: object v1.DataImportTemplateResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/v1.DataImportTemplateReply' message: default: success description: 消息 type: string type: object v1.DataList: properties: db: type: string desc: type: string level: type: string source_code: type: string table_id: type: integer table_name: type: string type: object v1.DataListReply: properties: current_page: type: integer first_page: type: integer last_page: type: integer list: items: $ref: '#/definitions/v1.DataList' type: array next_page: type: integer per_page: type: integer prev_page: type: integer total: type: integer type: object v1.DataSourceRelationReply: properties: node: $ref: '#/definitions/v1.DataSourceRelationReply_Node' type: object v1.DataSourceRelationReply_Node: properties: desc: type: string entry: items: $ref: '#/definitions/v1.DataSourceRelationReply_Node' type: array is_task: type: boolean node_name: type: string output: items: $ref: '#/definitions/v1.DataSourceRelationReply_Node' type: array rely: items: $ref: '#/definitions/v1.Rely' type: array type: object v1.DeleteKeyResponse: properties: code: default: 0 description: 返回码 format: int type: integer message: default: success description: 消息 type: string type: object v1.DeleteTemplateResponse: properties: code: default: 0 description: 返回码 format: int type: integer message: default: success description: 消息 type: string type: object v1.Dependency: properties: desc: type: string table_name: type: string type: object v1.DependencyReply: properties: list: items: $ref: '#/definitions/v1.Dependency' type: array type: object v1.EditList: properties: desc: type: string key: type: string value: type: string type: object v1.EditMapBody: properties: style_id: type: string third_style_id: type: string type: object v1.EditMapReply: properties: code: type: integer type: object v1.EditMapResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/v1.EditMapReply' message: default: success description: 消息 type: string type: object v1.EditReply: properties: List: items: $ref: '#/definitions/v1.EditList' type: array type: object v1.EditTemplateBody: properties: id: type: integer request: items: type: string type: array task_name: items: type: string type: array template_name: type: string type: object v1.EditTemplateResponse: properties: code: default: 0 description: 返回码 format: int type: integer message: default: success description: 消息 type: string type: object v1.ExcelReply: properties: url: type: string type: object v1.ExcelResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/v1.ExcelReply' message: default: success description: 消息 type: string type: object v1.ExportStyleTaskList: properties: created_at: type: string id: type: integer path: type: string task_name: type: string type: object v1.ExportStyleTaskListReply: properties: list: items: $ref: '#/definitions/v1.ExportStyleTaskList' type: array type: object v1.ExportStyleTaskListResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/v1.ExportStyleTaskListReply' message: default: success description: 消息 type: string type: object v1.Field: properties: desc: type: string field: type: string type: type: string type: object v1.FieldReply: properties: current_page: type: integer first_page: type: integer last_page: type: integer list: items: $ref: '#/definitions/v1.Field' type: array next_page: type: integer per_page: type: integer prev_page: type: integer total: type: integer type: object v1.GetAPIListResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/v1.APIListReply' message: default: success description: 消息 type: string type: object v1.GetAnnouncementResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/v1.AnnouncementReply' message: default: success description: 消息 type: string type: object v1.GetBrandListResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/v1.BrandListReply' message: default: success description: 消息 type: string type: object v1.GetCheckAPIResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/v1.CheckAPIReply' message: default: success description: 消息 type: string type: object v1.GetDataListResponse: properties: code: default: 0 description: 返回码 format: int type: integer dataList: $ref: '#/definitions/v1.DataListReply' message: default: success description: 消息 type: string type: object v1.GetDataSourceRelationResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/v1.DataSourceRelationReply' message: default: success description: 消息 type: string type: object v1.GetDeleteAPIResponse: properties: code: default: 0 description: 返回码 format: int type: integer message: default: success description: 消息 type: string type: object v1.GetDependencyResponse: properties: code: default: 0 description: 返回码 format: int type: integer dependencyData: $ref: '#/definitions/v1.DependencyReply' message: default: success description: 消息 type: string type: object v1.GetEditResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/v1.EditReply' message: default: success description: 消息 type: string type: object v1.GetFieldListResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/v1.FieldReply' message: default: success description: 消息 type: string type: object v1.GetItemListResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/v1.ItemListReply' message: default: success description: 消息 type: string type: object v1.GetKeyListResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/v1.KeyListReply' message: default: success description: 消息 type: string type: object v1.GetMaintainaceManualInfoResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/v1.MaintainManualInfoReply' message: default: success description: 消息 type: string type: object v1.GetMaintainaceManualResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/v1.MaintainManualReply' message: default: success description: 消息 type: string type: object v1.GetMakerResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: items: $ref: '#/definitions/v1.MakerList' type: array message: default: success description: 消息 type: string type: object v1.GetManualTaskResponse: properties: code: default: 0 description: 返回码 format: int type: integer manualTaskData: $ref: '#/definitions/v1.ManualTaskReply' message: default: success description: 消息 type: string type: object v1.GetRelationResponse: properties: code: default: 0 description: 返回码 format: int type: integer message: default: success description: 消息 type: string relationData: $ref: '#/definitions/v1.RelationReply' type: object v1.GetSeriesListResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/v1.SeriesListReply' message: default: success description: 消息 type: string type: object v1.GetStyleInfoResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/v1.StyleInfoReply' message: default: success description: 消息 type: string type: object v1.GetStyleListResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/v1.StyleListReply' message: default: success description: 消息 type: string type: object v1.GetSwitchBody: properties: is_on: type: boolean task_id: type: integer type: object v1.GetSwitchResponse: properties: code: default: 0 description: 返回码 format: int type: integer message: default: success description: 消息 type: string type: object v1.GetTaskListResponse: properties: code: default: 0 description: 返回码 format: int type: integer message: default: success description: 消息 type: string taskList: $ref: '#/definitions/v1.TaskListReply' type: object v1.ItemListReply: properties: list: items: $ref: '#/definitions/v1.ItemListReply_Item' type: array type: object v1.ItemListReply_Item: properties: item_id: type: integer item_name: type: string type: object v1.KeyList: properties: created_at: type: integer desc: type: string key: type: string type: object v1.KeyListReply: properties: current_page: type: integer first_page: type: integer last_page: type: integer list: items: $ref: '#/definitions/v1.KeyList' type: array next_page: type: integer per_page: type: integer prev_page: type: integer total: type: integer type: object v1.LoginBody: properties: password: type: string user_name: type: string required: - password - user_name type: object v1.LoginData: properties: token: type: string type: object v1.LoginResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/v1.LoginData' message: default: success description: 消息 type: string type: object v1.MaintainItem: properties: date_cycle: type: integer id: type: integer item: type: string item_id: type: integer mile_cycle: type: integer start_date: type: integer start_mile: type: integer style_id: type: string type: object v1.MaintainManualInfoReply: properties: cycle: $ref: '#/definitions/v1.MaintainManualInfoReply_Cycle' maintain: items: $ref: '#/definitions/v1.MaintainManualInfoReply_Maintain' type: array maintain_item: items: $ref: '#/definitions/v1.MaintainManualInfoReply_MaintainItem' type: array repair: items: $ref: '#/definitions/v1.MaintainManualInfoReply_Repair' type: array wash: items: $ref: '#/definitions/v1.MaintainManualInfoReply_Wash' type: array type: object v1.MaintainManualInfoReply_Cycle: properties: date_cycle: type: integer mile_cycle: type: integer start_date: type: integer start_mile: type: integer type: object v1.MaintainManualInfoReply_Items: properties: item_id: type: integer item_name: type: string level: type: integer type: object v1.MaintainManualInfoReply_Maintain: properties: age: type: integer items: items: $ref: '#/definitions/v1.MaintainManualInfoReply_Items' type: array mile: type: integer type: object v1.MaintainManualInfoReply_MaintainItem: properties: date_cycle: type: integer item_id: type: integer item_name: type: string mile_cycle: type: integer start_date: type: integer start_mile: type: integer style_id: type: string type: object v1.MaintainManualInfoReply_Repair: properties: cycle: type: integer date_cycle: type: integer item_id: type: integer item_name: type: string mile_cycle: type: integer start_date: type: integer start_mile: type: integer style_id: type: string type: object v1.MaintainManualInfoReply_Wash: properties: cycle: type: integer date_cycle: type: integer item_id: type: integer item_name: type: string mile_cycle: type: integer start_date: type: integer start_mile: type: integer style_id: type: string type: object v1.MaintainManualReply: properties: maintainance: description: 保养 items: $ref: '#/definitions/v1.MaintainItem' type: array repair: description: 维修 items: $ref: '#/definitions/v1.MaintainItem' type: array wash: description: 清洗 items: $ref: '#/definitions/v1.MaintainItem' type: array type: object v1.MakerList: properties: brand_id: type: string maker: type: string maker_id: type: string type: object v1.ManualTask: properties: created_at: type: string finish_count: type: integer is_finish: type: integer manual_task_name: type: string progress: type: integer source: type: string sql: type: string task_ids: items: type: string type: array total: type: integer type: type: integer type: object v1.ManualTaskReply: properties: current_page: type: integer first_page: type: integer last_page: type: integer list: items: $ref: '#/definitions/v1.ManualTask' type: array next_page: type: integer per_page: type: integer prev_page: type: integer total: type: integer type: object v1.RelatedTables: properties: desc: type: string tableName: type: string type: object v1.Relation: properties: desc: type: string id: type: integer is_on: type: integer task_id: type: integer task_name: type: string type: object v1.RelationReply: properties: list: items: $ref: '#/definitions/v1.Relation' type: array type: object v1.Rely: properties: desc: type: string table_name: type: string type: object v1.RequestList: properties: desc: type: string request: type: string type: object v1.SearchData: properties: desc: type: string tableName: type: string type: object v1.SearchDataReply: properties: list: items: $ref: '#/definitions/v1.SearchData' type: array type: object v1.SearchDataResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/v1.SearchDataReply' message: default: success description: 消息 type: string type: object v1.SearchLevelResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: items: type: string type: array message: default: success description: 消息 type: string type: object v1.SearchList: properties: id: type: string name: type: string type: object v1.SearchReply: properties: list: items: $ref: '#/definitions/v1.SearchList' type: array type: object v1.SearchResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/v1.SearchReply' message: default: success description: 消息 type: string type: object v1.SearchTask: properties: desc: type: string taskName: type: string type: object v1.SearchTaskReply: properties: list: items: $ref: '#/definitions/v1.SearchTask' type: array type: object v1.SearchTaskResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/v1.SearchTaskReply' message: default: success description: 消息 type: string type: object v1.SeriesList: properties: brand_id: type: string brand_name: type: string id: type: integer image: type: string maker: type: string old_series_name: type: string series_id: type: string series_name: type: string status: type: integer type: object v1.SeriesListReply: properties: current_page: type: integer first_page: type: integer last_page: type: integer list: items: $ref: '#/definitions/v1.SeriesList' type: array next_page: type: integer per_page: type: integer prev_page: type: integer total: type: integer type: object v1.Source: properties: desc: type: string tableName: type: string type: object v1.SourceReply: properties: list: items: $ref: '#/definitions/v1.Source' type: array type: object v1.SourceResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/v1.SourceReply' message: default: success description: 消息 type: string type: object v1.StyleInfoReply: properties: aircondition: $ref: '#/definitions/v1.StyleInfoReply_Aircondition' basic: $ref: '#/definitions/v1.StyleInfoReply_Basic' body: $ref: '#/definitions/v1.StyleInfoReply_Body' chassis: $ref: '#/definitions/v1.StyleInfoReply_Chassis' control: $ref: '#/definitions/v1.StyleInfoReply_Control' electric: $ref: '#/definitions/v1.StyleInfoReply_Electric' engine: $ref: '#/definitions/v1.StyleInfoReply_Engine' external: $ref: '#/definitions/v1.StyleInfoReply_External' gearbox: $ref: '#/definitions/v1.StyleInfoReply_Gearbox' intelligent: $ref: '#/definitions/v1.StyleInfoReply_Intelligent' internal: $ref: '#/definitions/v1.StyleInfoReply_Internal' light: $ref: '#/definitions/v1.StyleInfoReply_Light' media: $ref: '#/definitions/v1.StyleInfoReply_Media' optional: $ref: '#/definitions/v1.StyleInfoReply_Optional' rearview: $ref: '#/definitions/v1.StyleInfoReply_Rearview' safety: $ref: '#/definitions/v1.StyleInfoReply_Safety' seat: $ref: '#/definitions/v1.StyleInfoReply_Seat' wheelbrake: $ref: '#/definitions/v1.StyleInfoReply_Wheelbrake' type: object v1.StyleInfoReply_Aircondition: properties: aircondition_control_type: type: string car_air_purifier: type: string fragrance_system: type: string negative_ion_generator: type: string pm25_device: type: string rear_independent_air_conditioner: type: string rear_seat_air_outlet: type: string refrigerator: type: string temperature_zone_control: type: string type: object v1.StyleInfoReply_Basic: properties: alternator: type: string braking_distance_measure: type: string brand_id: type: string brand_name: type: string emission_standard: type: string engine: type: string fast_charge_amount: type: string fast_charging_time: type: string fuel_type_detail: type: string gearbox_desc: type: string hundred_accelerate: type: string hundred_accelerate_measure: type: string level: type: string lwh: type: string maker: type: string maximum_power: type: string maximum_simulation_milage: type: string maximum_simulation_milage_measure: type: string maximum_speed: type: string maximum_torque: type: string model_year: type: string oil_wear_comrehensive: type: string oil_wear_measure: type: string price: type: string price_yuan: type: string series_id: type: string series_img: type: string series_name: type: string slow_charging_time: type: string style_id: type: string style_name: type: string sub_level: type: string vehicle_structure: type: string vehicle_warranty: type: string type: object v1.StyleInfoReply_Body: properties: back_wheel_distance: type: string door_number: type: string front_wheel_distance: type: string high: type: string long: type: string minimum_ground_clearance: type: string oilbox_volume: type: string seat_number: type: string trunk_volume: type: string unladen_mass: type: string wheelbase: type: string wide: type: string type: object v1.StyleInfoReply_Chassis: properties: assist_type: type: string back_suspention_type: type: string body_structure: type: string drive_type: type: string front_suspention_type: type: string type: object v1.StyleInfoReply_Control: properties: air_suspension: type: string ascent_assist: type: string auto_hold: type: string automatic_driving_assistance: type: string automatic_parking: type: string back_parking_rador: type: string central_diff_lock: type: string cruise_system: type: string driving_mode_selection: type: string e_induction_suspension: type: string edl: type: string engine_start_stop_technology: type: string front_parking_rador: type: string hdc: type: string overall_active_steering_system: type: string reverse_vehicle_side_warning_system: type: string variable_steering_ratio: type: string variable_suspension: type: string wade_sensing_system: type: string type: object v1.StyleInfoReply_Electric: properties: back_electric_maximum_power: type: string back_electric_torque: type: string battery_energy: type: string battery_pack_warranty: type: string battery_type: type: string front_electric_maximum_power: type: string front_electric_torque: type: string hundred_electricity_consumption: type: string maximum_simulation_milage: type: string motor_layout: type: string motor_number: type: string motor_type: type: string system_integrated_power: type: string system_integrated_torque: type: string total_motor_power: type: string total_motor_torque: type: string type: object v1.StyleInfoReply_Engine: properties: air_intak_form: type: string cylinder_arrangement: type: string cylinder_diameter: type: string cylinder_head_material: type: string cylinder_material: type: string cylinder_number: type: string cylinder_valve_number: type: string displacement: type: string displacement_l: type: string engine_technology: type: string engine_type: type: string fuel_lable: type: string fuel_type_detail: type: string maximum_horsepower: type: string maximum_power_rpm: type: string oil_supply_mode: type: string piston_stroke: type: string reduction_ratio: type: string rpm: type: string valve_mechanism: type: string type: object v1.StyleInfoReply_External: properties: active_intake_grille: type: string battery_pre_heating: type: string central_control_lock: type: string electric_trunk: type: string electronic_anti_theft: type: string eosd: type: string frameless_design_door: type: string hide_electric_door_handle: type: string inductive_trunk: type: string key_type: type: string keyless_entry_system: type: string keyless_start_system: type: string outside_pedal: type: string rear_compartment_position_memory: type: string remote_start: type: string rim_material: type: string roof_luggage_rack: type: string side_sliding_door: type: string skylight_type: type: string sports_appearance_kit: type: string tail: type: string the_tailgate_glass_opens_independently: type: string type: object v1.StyleInfoReply_Gearbox: properties: gear_number: type: string gearbox_desc: type: string gearbox_type: type: string type: object v1.StyleInfoReply_Intelligent: properties: auxiliary_driving_chip: type: string chip_computing_power: type: string number_of_cameras: type: string number_of_lidars: type: string number_of_millimeter_wave_radars: type: string number_of_ultrasonic_radars: type: string type: object v1.StyleInfoReply_Internal: properties: active_noise_reduction: type: string car_driving_recorder: type: string driving_computer_display: type: string electrically_adjustable_pedal: type: string full_lcd_dashboard: type: string full_lcd_dashboard_size: type: string hud_rising_number_display: type: string mobile_phone_wireless_charging: type: string multi_functional_steering_wheel: type: string steering_wheel_adjustment: type: string steering_wheel_heating: type: string steering_wheel_material: type: string steering_wheel_remember: type: string steering_wheel_shift: type: string type: object v1.StyleInfoReply_Light: properties: adaptive_far_near: type: string atmosphere: type: string auto_head: type: string clean: type: string daytime: type: string far: type: string fog: type: string headlamp_delay_off: type: string headlamp_rain_fog_mode: type: string height_adjustable: type: string lighting_features: type: string near: type: string side_turn: type: string steering_assist_lamp: type: string touch_reading_lamp: type: string type: object v1.StyleInfoReply_Media: properties: back_lcd: type: string car_internet: type: string car_phone: type: string car_tv: type: string cd_dvd: type: string center_console_large_screen_size: type: string central_colour_screen: type: string central_lcd_split_screen: type: string charging_interface: type: string face_recognition: type: string gesture_control: type: string gps: type: string interface_of12v: type: string mobile_internet: type: string navigation_traffic_information_display: type: string number_of_interfaces: type: string ota: type: string power_of220v: type: string rear_control_multimedia: type: string road_rescue_call: type: string speaker_brand: type: string speaker_number: type: string voice_control: type: string type: object v1.StyleInfoReply_Optional: properties: body_colour: type: string interior_color: type: string type: object v1.StyleInfoReply_Rearview: properties: anti_pinch_hand: type: string back_electric_window: type: string back_side_privacy: type: string back_side_sunshade: type: string back_sunshade: type: string back_wiper: type: string cosmetic: type: string exterior_rearview_mirror_function: type: string front_electric_window: type: string front_wiper: type: string heatable_spray_nozzle: type: string interior_rearview_mirror_function: type: string multilayer_sound_insulation_glass: type: string window_one_key: type: string type: object v1.StyleInfoReply_Safety: properties: abs: type: string active_brake: type: string asr_tcs_trc: type: string auxiliary_seat_airbag: type: string back_belt_airbag: type: string back_head_airbag: type: string back_side_airbag: type: string eba_bas_ba: type: string ebd_cbc: type: string esp: type: string fatigue_driving_warning: type: string font_head_airbag: type: string front_middle_airbag: type: string front_side_airbag: type: string iso_fix: type: string knee_airbag: type: string lane_departure_warning_system: type: string lane_keeping: type: string main_seat_airbag: type: string night_vision: type: string parallel_auxiliary: type: string passenger_seat_cushion_airbag: type: string passive_pedestrian_protection: type: string rear_central_airbag: type: string rear_seat_anti_slide_airbag: type: string road_traffic_sign_recognition: type: string run_flat_tire: type: string seat_belt_warning: type: string tire_presure_monitor: type: string type: object v1.StyleInfoReply_Seat: properties: auxiliary_adjustable_button: type: string auxiliary_electric_adust: type: string auxiliary_seat_adjustment_mode: type: string back_cup_holder: type: string back_down_type: type: string back_fold_table: type: string back_handrail: type: string electric_seat_remeber: type: string front_handrail: type: string front_seat_function: type: string heating_cooling_cup_holder: type: string main_electric_adust: type: string main_seat_adjustment_mode: type: string rear_seat_electric_adjustment: type: string rear_seat_function: type: string rear_seat_power_down: type: string seat_layout_form: type: string seat_material: type: string second_independent: type: string second_row_seat_adjustment: type: string sport_seat: type: string type: object v1.StyleInfoReply_Wheelbrake: properties: back_brake_type: type: string back_wheel_specification: type: string front_brake_type: type: string front_wheel_specification: type: string parking_brake_type: type: string spare_wheel_specification: type: string type: object v1.StyleList: properties: brand_id: type: string brand_name: type: string id: type: integer maintain_id: type: integer maker: type: string series_id: type: string series_name: type: string status: type: integer style_id: type: string style_name: type: string type: object v1.StyleListReply: properties: current_page: type: integer first_page: type: integer last_page: type: integer list: items: $ref: '#/definitions/v1.StyleList' type: array next_page: type: integer per_page: type: integer prev_page: type: integer total: type: integer type: object v1.StyleMap: properties: source: type: string style_id: type: string style_name: type: string third_brand_name: type: string third_series_name: type: string third_style_id: type: string third_style_name: type: string type: object v1.StyleMapReply: properties: current_page: type: integer first_page: type: integer last_page: type: integer list: items: $ref: '#/definitions/v1.StyleMap' type: array next_page: type: integer per_page: type: integer prev_page: type: integer total: type: integer type: object v1.StyleMapResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/v1.StyleMapReply' message: default: success description: 消息 type: string type: object v1.TableStruct: properties: desc: type: string field_name: type: string type: object v1.TableStructReply: properties: list: items: $ref: '#/definitions/v1.TableStruct' type: array type: object v1.TableStructResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/v1.TableStructReply' message: default: success description: 消息 type: string type: object v1.Task: properties: desc: type: string taskName: type: string type: object v1.TaskList: properties: desc: type: string target_table: type: string task_id: type: integer task_name: type: string type: object v1.TaskListReply: properties: current_page: type: integer first_page: type: integer last_page: type: integer list: items: $ref: '#/definitions/v1.TaskList' type: array next_page: type: integer per_page: type: integer prev_page: type: integer total: type: integer type: object v1.TaskReply: properties: list: items: $ref: '#/definitions/v1.Task' type: array type: object v1.TaskResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/v1.TaskReply' message: default: success description: 消息 type: string type: object v1.Template: properties: id: type: integer name: type: string type: object v1.TemplateListReply: properties: list: items: $ref: '#/definitions/v1.Template' type: array type: object v1.TemplateListResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/v1.TemplateListReply' message: default: success description: 消息 type: string type: object v1.UpdateAPIBody: properties: api: type: string data: type: string param: type: string type: object v1.UpdateAPIResponse: properties: code: default: 0 description: 返回码 format: int type: integer message: default: success description: 消息 type: string type: object v1.UpdateBrandBody: properties: brand_name: type: string has_img: type: integer id: type: integer initial: type: string old_brand_name: type: string status: type: integer weight: type: integer type: object v1.UpdateMaintainManualBody: properties: date_cycle: type: integer id: type: integer item_id: type: integer mile_cycle: type: integer name: type: string start_date: type: integer start_mile: type: integer style_id: type: string tid: type: integer type: object v1.UpdateMaintainManualResponse: properties: code: default: 0 description: 返回码 format: int type: integer message: default: success description: 消息 type: string type: object v1.UpdateMakerBody: properties: maker: type: string maker_id: type: string type: object v1.UpdateSeriesBody: properties: has_img: type: integer id: type: integer maker: type: string old_series_name: type: string series_name: type: string status: type: integer type: object v1.UpdateStyleBody: properties: id: type: integer status: type: integer style_name: type: string type: object v1.UpdateStyleConfigBody: properties: data: type: string id: type: integer type: object v1.UpdateStyleItem: properties: attribute_rule: type: string c2_id: type: integer detail: type: string id: type: integer style_id: type: string useage: type: string type: object v1.UpdateStyleItemBody: properties: list: items: $ref: '#/definitions/v1.UpdateStyleItem' type: array type: object v1.UseAPIReply: properties: request: items: $ref: '#/definitions/v1.CheckAPI' type: array type: object v1.UseAPIResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/v1.UseAPIReply' message: default: success description: 消息 type: string type: object info: contact: {} description: This is a gateway server. On the page, you can go to do testing for every API. title: Project adm-gateway's APIs version: "1.1" paths: /api/v1.0/announcement: get: consumes: - application/json description: 信息公告 parameters: - description: jwt token in: header name: token required: true type: string - description: vin in: query name: vin_rule type: string - description: 品牌 in: query name: brand_name type: string - description: 车辆型号 in: query name: model_no type: string - description: 页码 in: query name: page type: integer - description: 每页数量,默认10 in: query name: page_size type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.GetAnnouncementResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 信息公告 tags: - announcement - v1.0 /api/v1.0/announcement/edit: get: consumes: - application/json description: 编辑 parameters: - description: jwt token in: header name: token required: true type: string - description: vehicle_batch in: query name: vehicle_batch type: string - description: model_no in: query name: model_no type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.GetEditResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 编辑 tags: - announcement - v1.0 /api/v1.0/api: get: consumes: - application/json description: API管理 parameters: - description: jwt token in: header name: token required: true type: string - description: API编号 in: query name: api_no type: string - description: 描述 in: query name: desc type: string - description: 页码 in: query name: page type: integer - description: 每页数量,默认10 in: query name: page_size type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.GetAPIListResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: API管理 tags: - api_management - v1.0 /api/v1.0/api/check: get: consumes: - application/json description: 查看API parameters: - description: jwt token in: header name: token required: true type: string - description: API id in: query name: api_id required: true type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.GetCheckAPIResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 查看API tags: - api_management - v1.0 /api/v1.0/api/delete/{api_id}: delete: consumes: - application/json description: 删除API parameters: - description: jwt token in: header name: token required: true type: string - description: API id in: path name: api_id required: true type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.GetDeleteAPIResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 删除API tags: - api_management - v1.0 /api/v1.0/api/delete/key/{key}: delete: consumes: - application/json description: 删除key parameters: - description: jwt token in: header name: token required: true type: string - description: 密钥 in: path name: key required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.DeleteKeyResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 删除key tags: - api_management - v1.0 /api/v1.0/api/key: get: consumes: - application/json description: 密钥管理 parameters: - description: jwt token in: header name: token required: true type: string - description: 密钥 in: query name: key type: string - description: 描述 in: query name: desc type: string - description: 页码 in: query name: page type: integer - description: 每页数量,默认10 in: query name: page_size type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.GetKeyListResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 密钥管理 tags: - api_management - v1.0 /api/v1.0/api/key/create: post: consumes: - application/json description: 新增密钥 parameters: - description: jwt token in: header name: token required: true type: string - description: body in: body name: body required: true schema: $ref: '#/definitions/v1.CreateKeyBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.CreateKeyResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 新增密钥 tags: - api_management - v1.0 /api/v1.0/api/search/all_api: get: consumes: - application/json description: API列表 parameters: - description: jwt token in: header name: token required: true type: string - description: API in: query name: all_api type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.AllAPIResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: API列表 tags: - api_management - v1.0 /api/v1.0/api/search/all_key: get: consumes: - application/json description: 密钥列表 parameters: - description: jwt token in: header name: token required: true type: string - description: 密钥 in: query name: all_key type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.AllKeyResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 密钥列表 tags: - api_management - v1.0 /api/v1.0/api/update_api: put: consumes: - application/json description: 更新API信息 parameters: - description: jwt token in: header name: token required: true type: string - description: body in: body name: body required: true schema: $ref: '#/definitions/v1.UpdateAPIBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.UpdateAPIResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 更新API信息 tags: - api_management - v1.0 /api/v1.0/api/use_key: get: consumes: - application/json description: API查询 parameters: - description: jwt token in: header name: token required: true type: string - description: API id in: query name: api_id type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.UseAPIResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: API查询 tags: - api_management - v1.0 /api/v1.0/brand: get: consumes: - application/json description: 品牌列表 parameters: - description: jwt token in: header name: token required: true type: string - description: 品牌名称 in: query name: brand_name type: string - description: 品牌id in: query name: brand_id type: string - description: 首字母 in: query name: initial type: string - description: -1:无图片, 1:有图片 in: query name: has_img type: integer - description: -1:下线 1:上线 in: query name: status type: integer - description: 页码 in: query name: page type: integer - description: 每页数量,默认10 in: query name: page_size type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.GetBrandListResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 品牌列表 tags: - brand - v1.0 /api/v1.0/brand/: put: consumes: - application/json description: 更新车辆品牌信息 parameters: - description: jwt token in: header name: token required: true type: string - description: body in: body name: body required: true schema: $ref: '#/definitions/v1.UpdateBrandBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.SearchResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 更新车辆品牌信息 tags: - brand - v1.0 /api/v1.0/brand/maker: get: consumes: - application/json description: 厂商列表 parameters: - description: jwt token in: header name: token required: true type: string - description: 品牌id in: query name: brand_id required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.GetMakerResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 厂商列表 tags: - brand - v1.0 put: consumes: - application/json description: 更新厂商信息 parameters: - description: jwt token in: header name: token required: true type: string - description: body in: body name: body required: true schema: $ref: '#/definitions/v1.UpdateMakerBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.SearchResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 更新厂商信息 tags: - brand - v1.0 /api/v1.0/brand/search: get: consumes: - application/json description: 模糊搜索 parameters: - description: jwt token in: header name: token required: true type: string - description: 1:品牌 2:厂商 3:车系 4:车型 in: query name: type required: true type: integer - description: 关键字 in: query name: search type: string - description: brand_id in: query name: brand_id type: string - description: maker_id in: query name: maker_id type: string - description: series_id in: query name: series_id type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.SearchResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 模糊搜索 tags: - brand - v1.0 /api/v1.0/data_import/create_template: post: consumes: - application/json description: 新建模板 parameters: - description: jwt token in: header name: token required: true type: string - description: body in: body name: body required: true schema: $ref: '#/definitions/v1.CreateTemplateBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.CreateTemplateResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 新建模板 tags: - data_import - v1.0 /api/v1.0/data_import/data_import: post: consumes: - application/json description: 数据导入 parameters: - description: jwt token in: header name: token required: true type: string - description: body in: body name: body required: true schema: $ref: '#/definitions/v1.DataImportBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.DataImportResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 数据导入 tags: - data_import - v1.0 /api/v1.0/data_import/data_import_template: get: consumes: - application/json description: 数据导入模板 parameters: - description: jwt token in: header name: token required: true type: string - description: 模板名 in: query name: template_name type: string - description: 页码 in: query name: page type: integer - description: 每页数量,默认10 in: query name: page_size type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.DataImportTemplateResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 数据导入模板 tags: - data_import - v1.0 /api/v1.0/data_import/delete_template/{id}: delete: consumes: - application/json description: 删除模板 parameters: - description: jwt token in: header name: token required: true type: string - description: id in: path name: id required: true type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.DeleteTemplateResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 删除模板 tags: - data_import - v1.0 /api/v1.0/data_import/edit_template: put: consumes: - application/json description: 修改模板 parameters: - description: jwt token in: header name: token required: true type: string - description: body in: body name: body required: true schema: $ref: '#/definitions/v1.EditTemplateBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.EditTemplateResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 修改模板 tags: - data_import - v1.0 /api/v1.0/data_management: get: consumes: - application/json description: 数据管理 parameters: - description: jwt token in: header name: token required: true type: string - description: 表名 in: query name: table_name type: string - description: 描述 in: query name: desc type: string - description: 所属层 in: query name: level type: string - description: 页码 in: query name: page type: integer - description: 每页数量,默认10 in: query name: page_size type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.GetDataListResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 数据管理 tags: - data_management - v1.0 /api/v1.0/data_management/relation: get: consumes: - application/json description: 任务关系 parameters: - description: jwt token in: header name: token required: true type: string - description: 数据源 in: query name: source_code type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.GetRelationResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 任务关系 tags: - data_management - v1.0 /api/v1.0/data_management/relation/: put: consumes: - application/json description: 任务开关 parameters: - description: jwt token in: header name: token required: true type: string - description: body in: body name: body required: true schema: $ref: '#/definitions/v1.GetSwitchBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.GetSwitchResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 任务开关 tags: - data_management - v1.0 /api/v1.0/data_management/search: get: consumes: - application/json description: 模糊搜索 parameters: - description: jwt token in: header name: token required: true type: string - description: 表名 in: query name: table_name type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.SearchDataResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 模糊搜索 tags: - data_management - v1.0 /api/v1.0/data_management/search_level: get: consumes: - application/json description: 所属层搜索 parameters: - description: jwt token in: header name: token required: true type: string - description: 所属层 in: query name: level type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.SearchLevelResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 所属层搜索 tags: - data_management - v1.0 /api/v1.0/data_management/table_struct: get: consumes: - application/json description: 查看表结构 parameters: - description: jwt token in: header name: token required: true type: string - description: 表名 in: query name: table_name type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.TableStructResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 查看表结构 tags: - data_management - v1.0 /api/v1.0/field: get: consumes: - application/json description: 字段管理 parameters: - description: jwt token in: header name: token required: true type: string - description: 字段名 in: query name: field type: string - description: 描述 in: query name: desc type: string - description: 页码 in: query name: page type: integer - description: 每页数量,默认10 in: query name: page_size type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.GetFieldListResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 字段管理 tags: - field_management - v1.0 /api/v1.0/field/excel: get: consumes: - application/json description: 导出EXCEL parameters: - description: jwt token in: header name: token required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.ExcelResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 导出EXCEL tags: - field_management - v1.0 /api/v1.0/login: post: consumes: - application/json description: 登陆 parameters: - description: body in: body name: body required: true schema: $ref: '#/definitions/v1.LoginBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.LoginResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 登陆 tags: - login - v1.0 /api/v1.0/maintainace/c2/list: get: consumes: - application/json description: C2List parameters: - description: jwt token in: header name: token required: true type: string - description: style_id in: query name: style_id type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.GetMaintainaceManualInfoResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: C2List tags: - maintainace - v1.0 /api/v1.0/maintainace/info: get: consumes: - application/json description: 维保手册详情 parameters: - description: jwt token in: header name: token required: true type: string - description: style_id in: query name: style_id type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.GetMaintainaceManualInfoResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 维保手册详情 tags: - maintainace - v1.0 /api/v1.0/maintainace/item_list: get: consumes: - application/json description: 维保项目 parameters: - description: jwt token in: header name: token required: true type: string - description: item_type in: query name: item_type required: true type: integer - description: style_id in: query name: style_id required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.GetItemListResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 维保项目 tags: - maintainace - v1.0 /api/v1.0/maintainace/manual: get: consumes: - application/json description: 维保手册 parameters: - description: jwt token in: header name: token required: true type: string - description: style_id in: query name: style_id type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.GetMaintainaceManualResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 维保手册 tags: - maintainace - v1.0 put: consumes: - application/json description: 更新维保手册 parameters: - description: jwt token in: header name: token required: true type: string - description: body in: body name: body required: true schema: $ref: '#/definitions/v1.UpdateMaintainManualBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.UpdateMaintainManualResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 更新维保手册 tags: - maintainace - v1.0 /api/v1.0/maintainace/manual/{id}: delete: consumes: - application/json description: 删除维保信息 parameters: - description: jwt token in: header name: token required: true type: string - description: style:id in: path name: id required: true type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.GetStyleInfoResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 删除维保信息 tags: - maintainace - v1.0 /api/v1.0/maintainace/style_item: get: consumes: - application/json description: 配件列表 parameters: - description: jwt token in: header name: token required: true type: string - description: style_id in: query name: style_id type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.GetMaintainaceManualInfoResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 配件列表 tags: - maintainace - v1.0 put: consumes: - application/json description: 更新配件信息 parameters: - description: jwt token in: header name: token required: true type: string - description: body in: body name: body required: true schema: $ref: '#/definitions/v1.UpdateStyleItemBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.UpdateMaintainManualResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 更新配件信息 tags: - maintainace - v1.0 /api/v1.0/maintainace/style_item/{id}: delete: consumes: - application/json description: 删除配件信息 parameters: - description: jwt token in: header name: token required: true type: string - description: style_item:id in: path name: id required: true type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.GetStyleInfoResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 删除配件信息 tags: - maintainace - v1.0 /api/v1.0/manual_task: get: consumes: - application/json description: 手动任务 parameters: - description: jwt token in: header name: token required: true type: string - description: 源表 in: query name: source type: string - description: 任务 in: query name: task_name type: string - description: 手动任务名 in: query name: manual_task_name type: string - description: 时间1 in: query name: time1 type: integer - description: 时间2 in: query name: time2 type: integer - description: 页码 in: query name: page type: integer - description: 每页数量,默认10 in: query name: page_size type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.GetManualTaskResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 手动任务 tags: - manualTask - v1.0 /api/v1.0/manual_task/create: post: consumes: - application/json description: 创建手动任务 parameters: - description: jwt token in: header name: token required: true type: string - description: body in: body name: body required: true schema: $ref: '#/definitions/v1.CreateBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.CreateResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 创建手动任务 tags: - manualTask - v1.0 /api/v1.0/manual_task/create/upload: post: consumes: - application/json description: 上传文件创建 parameters: - description: jwt token in: header name: token required: true type: string - description: 上传文件 in: formData name: file required: true type: file - description: 手动任务 in: formData name: task_name required: true type: string produces: - application/json responses: "200": description: OK schema: type: string "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 上传文件创建 tags: - manualTask - v1.0 /api/v1.0/manual_task/source: get: consumes: - application/json description: 源表搜索 parameters: - description: jwt token in: header name: token required: true type: string - description: 源表 in: query name: source_name type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.SourceResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 源表搜索 tags: - manualTask - v1.0 /api/v1.0/manual_task/task: get: consumes: - application/json description: 任务列表 parameters: - description: jwt token in: header name: token required: true type: string - description: 源表名 in: query name: source_request type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.TaskResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 任务列表 tags: - manualTask - v1.0 /api/v1.0/series/: get: consumes: - application/json description: 车系列表 parameters: - description: jwt token in: header name: token required: true type: string - description: 品牌名称 in: query name: brand_name type: string - description: 品牌id in: query name: brand_id type: string - description: 车系名称 in: query name: series_name type: string - description: 车系id in: query name: series_id type: string - description: -1:无图片, 1:有图片 in: query name: has_img type: integer - description: -1:下线 1:上线 in: query name: status type: integer - description: 页码 in: query name: page type: integer - description: 每页数量,默认10 in: query name: page_size type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.GetSeriesListResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 车系列表 tags: - series - v1.0 put: consumes: - application/json description: 更新车系信息 parameters: - description: jwt token in: header name: token required: true type: string - description: body in: body name: body required: true schema: $ref: '#/definitions/v1.UpdateSeriesBody' - description: 图片 in: formData name: file type: file produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.SearchResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 更新车系信息 tags: - series - v1.0 /api/v1.0/style/: get: consumes: - application/json description: 车型列表 parameters: - description: jwt token in: header name: token required: true type: string - description: 品牌名称 in: query name: brand_name type: string - description: 车型名称 in: query name: style_name type: string - description: 车系名称 in: query name: series_name type: string - description: 品牌id in: query name: brand_id type: string - description: 车系id in: query name: series_id type: string - description: 车型id in: query name: style_id type: string - description: -1:无手册, 1:有手册 in: query name: has_manual type: integer - description: -1:下线 1:上线 in: query name: status type: integer - description: 年款 in: query name: model_year type: integer - description: 厂商 in: query name: maker type: string - description: 页码 in: query name: page type: integer - description: 每页数量,默认10 in: query name: page_size type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.GetStyleListResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 车型列表 tags: - style - v1.0 put: consumes: - application/json description: 更新车型信息 parameters: - description: jwt token in: header name: token required: true type: string - description: body in: body name: body required: true schema: $ref: '#/definitions/v1.UpdateStyleBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.SearchResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 更新车型信息 tags: - style - v1.0 /api/v1.0/style/config: put: consumes: - application/json description: 更新车辆配置信息 parameters: - description: jwt token in: header name: token required: true type: string - description: body in: body name: body required: true schema: $ref: '#/definitions/v1.UpdateStyleConfigBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.SearchResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 更新车辆配置信息 tags: - style - v1.0 /api/v1.0/style/config/{id}: get: consumes: - application/json description: 获取车辆配置信息 parameters: - description: jwt token in: header name: token required: true type: string - description: manual:id in: path name: id required: true type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.GetStyleInfoResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 获取车辆配置信息 tags: - style - v1.0 /api/v1.0/style/export: get: consumes: - application/json description: 导出车型列表 parameters: - description: jwt token in: header name: token required: true type: string - description: 任务名称 in: query name: task_name type: string - description: 字段用,分割 in: query name: fields type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.GetStyleListResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 导出车型列表 tags: - style - v1.0 /api/v1.0/style/export_task: get: consumes: - application/json description: 导出车型任务列表 parameters: - description: jwt token in: header name: token required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.ExportStyleTaskListResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 导出车型任务列表 tags: - style - v1.0 /api/v1.0/style/export_task/{id}: delete: consumes: - application/json description: 删除导出车型任务 parameters: - description: jwt token in: header name: token required: true type: string - description: id in: path name: id required: true type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.GetStyleInfoResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 删除导出车型任务 tags: - style - v1.0 /api/v1.0/style_map_management: get: consumes: - application/json description: 车型映射管理 parameters: - description: jwt token in: header name: token required: true type: string - description: 映射源 in: query name: source type: string - description: 映射状态 in: query name: state type: string - description: 映射源车型id in: query name: third_style_id type: string - description: 车型id in: query name: style_id type: string - description: 页码 in: query name: page type: integer - description: 每页数量,默认10 in: query name: page_size type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.StyleMapResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 车型映射管理 tags: - style_map_management - v1.0 /api/v1.0/style_map_management/: put: consumes: - application/json description: 编辑 parameters: - description: jwt token in: header name: token required: true type: string - description: body in: body name: body required: true schema: $ref: '#/definitions/v1.EditMapBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.EditMapResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 编辑 tags: - style_map_management - v1.0 /api/v1.0/style_map_management/all_source: get: consumes: - application/json description: 映射源列表 parameters: - description: jwt token in: header name: token required: true type: string - description: 映射源 in: query name: all_source type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.AllSourceResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 映射源列表 tags: - style_map_management - v1.0 /api/v1.0/task_management: get: consumes: - application/json description: 任务管理 parameters: - description: jwt token in: header name: token required: true type: string - description: 任务名 in: query name: task_name type: string - description: 描述 in: query name: desc type: string - description: 页码 in: query name: page type: integer - description: 每页数量,默认10 in: query name: page_size type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.GetTaskListResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 任务管理 tags: - task_management - v1.0 /api/v1.0/task_management/dependency: get: consumes: - application/json description: 依赖表 parameters: - description: jwt token in: header name: token required: true type: string - description: 任务id in: query name: task_id type: integer - description: 源表或依赖表 in: query name: type required: true type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.GetDependencyResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 依赖表 tags: - task_management - v1.0 /api/v1.0/task_management/relation: get: consumes: - application/json description: 血缘关系 parameters: - description: jwt token in: header name: token required: true type: string - description: 任务id in: query name: task_id type: integer - description: source code in: query name: source_code type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.GetDataSourceRelationResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 血缘关系 tags: - task_management - v1.0 /api/v1.0/task_management/search: get: consumes: - application/json description: 模糊搜索 parameters: - description: jwt token in: header name: token required: true type: string - description: 任务名 in: query name: task_name type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.SearchTaskResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 模糊搜索 tags: - task_management - v1.0 /api/v1.0/template/detail: get: consumes: - application/json description: 模板详情 parameters: - description: jwt token in: header name: token required: true type: string - description: tid in: query name: tid type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.TemplateListResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 模板详情 tags: - template_list - v1.0 post: consumes: - application/json description: 新增模板 parameters: - description: jwt token in: header name: token required: true type: string - description: body in: body name: body required: true schema: $ref: '#/definitions/v1.AddTemplateDetailBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.TemplateListResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 新增模板 tags: - template_list - v1.0 put: consumes: - application/json description: 更新维保模板 parameters: - description: jwt token in: header name: token required: true type: string - description: body in: body name: body required: true schema: $ref: '#/definitions/v1.UpdateMaintainManualBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.UpdateMaintainManualResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 更新维保模板 tags: - template_list - v1.0 /api/v1.0/template/detail/choose: post: consumes: - application/json description: 选择维保模板更新到车型维保手册 parameters: - description: jwt token in: header name: token required: true type: string - description: body in: body name: body required: true schema: $ref: '#/definitions/v1.ChooseTemplateDetailBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.UpdateMaintainManualResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 选择维保模板更新到车型维保手册 tags: - template_list - v1.0 /api/v1.0/template/detail/list: get: consumes: - application/json description: 模板列表 parameters: - description: jwt token in: header name: token required: true type: string - description: tid in: query name: tid type: integer - description: 页码 in: query name: page type: integer - description: 每页数量,默认10 in: query name: page_size type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.TemplateListResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 模板列表 tags: - template_list - v1.0 /api/v1.0/template/item_list: get: consumes: - application/json description: 维保项目 parameters: - description: jwt token in: header name: token required: true type: string - description: item_type in: query name: item_type required: true type: integer - description: template_id in: query name: tid type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.GetItemListResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 维保项目 tags: - template_list - v1.0 /api/v1.0/template/list: get: consumes: - application/json description: 模板名称列表 parameters: - description: jwt token in: header name: token required: true type: string - description: 名称 in: query name: name type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.TemplateListResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 模板名称列表 tags: - template_list - v1.0 /api/v1.0/upload/: post: consumes: - application/json description: 上传图片 parameters: - description: jwt token in: header name: token required: true type: string - description: 图片 in: formData name: file required: true type: file - description: brand_id/series_id in: formData name: id required: true type: string - description: 类型 1:brand 2:series in: formData name: type required: true type: integer produces: - application/json responses: "200": description: '{}' schema: type: string "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 上传图片 tags: - upload - v1.0 swagger: "2.0"