51 lines
1.6 KiB
Swift
51 lines
1.6 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 getRtspChannel = "/gps/thirdparty-vehicle-position/getRtspUrl"
|
|
|
|
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 dispatchAppH5Urls = "/supplierAppV2/open/dispatchAppH5Urls"
|
|
|
|
public let versionCheck = "/supplierAppV2/dispatchApp/user/versionCheck"
|
|
}
|