95 lines
3.5 KiB
Swift
95 lines
3.5 KiB
Swift
//
|
|
// ApiList.swift
|
|
// OrderScheduling
|
|
//
|
|
// Created by 中道 on 2023/8/7.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public let API = ApiList.default
|
|
|
|
open class ApiList {
|
|
public static let `default` = ApiList()
|
|
|
|
public let verifyCode = "/supplierAppV2/open/verifyCode"
|
|
|
|
public let login = "/oauth2/token?grant_type=app&scope=all"
|
|
|
|
public let token = "/oauth2/token"
|
|
|
|
public let orderList = "/supplierAppV2/dispatchApp/order/orderList"
|
|
|
|
public let acceptDispatch = "/supplierAppV2/dispatchApp/order/acceptDispatch"
|
|
|
|
public let refuseDispatch = "/supplierAppV2/dispatchApp/order/refuseDispatch"
|
|
|
|
public let orderReport = "/supplierAppV2/dispatchApp/order/orderReporting"
|
|
|
|
public let dispatchVehicleList = "/supplierAppV2/dispatchApp/order/dispatchVehicleList"
|
|
|
|
public let dispatchVehicle = "/supplierAppV2/dispatchApp/order/dispatchVehicle"
|
|
|
|
public let toDoMessageCount = "/supplierAppV2/dispatchApp/toDoMessage/toDoMessageCount"
|
|
|
|
public let vehicleMonitorList = "/supplierAppV2/dispatchApp/order/vehicleMonitorList"
|
|
|
|
public let getRealtimeUrl = "/gps/xq-video-monitor/getRealtimeUrl"
|
|
|
|
public let getReplayUrl = "/gps/xq-video-monitor/getReplayUrl"
|
|
|
|
public let closeHistoryControl = "/gps/xq-video-monitor/closeHistoryControl"
|
|
|
|
public let orderPhotoList = "/supplierAppV2/dispatchApp/order/orderPhotoList"
|
|
|
|
public let supplementOrderPhoto = "/supplierAppV2/dispatchApp/order/supplementOrderPhoto"
|
|
|
|
public let logout = "/supplierAppV2/dispatchApp/user/logout"
|
|
|
|
public let generalInfo = "/supplierAppV2/dispatchApp/user/generalInfo"
|
|
|
|
public let getNeedConfirmPersonInfo = "/supplierAppV2/dispatchApp/wechat/getNeedConfirmPersonInfo"
|
|
|
|
public let giveUp = "/supplierAppV2/dispatchApp/wechat/giveUp"
|
|
|
|
public let judgeIfNeedConfirm = "/supplierAppV2/dispatchApp/wechat/judgeIfNeedConfirm"
|
|
|
|
public let dispatchAppH5Urls = "/supplierAppV2/open/dispatchAppH5Urls"
|
|
|
|
public let updateVersion = "/supplierAppV2/dispatchApp/user/updateVersion"
|
|
|
|
public let messageReminderList = "/supplierAppV2/dispatchApp/toDoMessage/messageReminderList"
|
|
|
|
public let readMessageReminder = "/supplierAppV2/dispatchApp/toDoMessage/readMessageReminder"
|
|
|
|
public let checkLogin = "/supplierAppV2/open/checkLogin"
|
|
|
|
public let uploadCallRecord = "/supplierAppV2/dispatchApp/order/uploadCallRecord"
|
|
|
|
public let userOperationPermissions = "/supplierAppV2/dispatchApp/user/userOperationPermissions"
|
|
|
|
public let vehicleLogout = "/supplierAppV2/dispatchApp/order/vehicleLogout"
|
|
|
|
public let jumpNewTrain = "/supplierAppV2/dispatchApp/user/jumpPage"
|
|
|
|
public let giveUpUserOrder = "/supplierAppV2/dispatchApp/order/giveUpUserOrder"
|
|
|
|
public let appPushRecordList = "/supplierAppV2/dispatchApp/order/appPushRecordList"
|
|
|
|
public let getConfigByCode = "/base/baseConfig/getConfigByCode"
|
|
|
|
public let thisWeekNumber = "/toc-user/car-admin/thisWeekNumber"
|
|
|
|
public let alarmList = "/supplierAppV2/dispatchApp/alarm/alarmList"
|
|
|
|
public let getAlarmByCode = "/supplierAppV2/dispatchApp/alarm/getAlarmByCode"
|
|
|
|
public let getAppeal = "/supplierAppV2/dispatchApp/order/getAppeal"
|
|
|
|
public let saveAppeal = "/driverApp/task/saveAppeal"
|
|
|
|
public let onlineReminder = "/supplierAppV2/dispatchApp/alarm/onlineReminder"
|
|
|
|
public let vehicleMonitorInfo = "/supplierAppV2/dispatchApp/order/vehicleMonitorInfo"
|
|
}
|