| | |
| | | * @param type 1=身份验证,2=登录确认,3=用户注册,4=修改密码 |
| | | */ |
| | | fun sendSms(phone: String,kaptcha: String,type: Int,token:String): Flowable<ResultData<JsonObject>> { |
| | | return request().getCode(phone,kaptcha,type,token) |
| | | return request().getCode(phone,kaptcha,type) |
| | | } |
| | | /** |
| | | * 发送验证码 |
| | |
| | | /** |
| | | * 物流下单 |
| | | */ |
| | | fun smallLogistics(serverCarModelId :Int,endLonLat:String,cargoNumber:Int,cargoType:Int,endAddress:String,placementLat:Double,placementLon:Double,recipient:String, |
| | | recipientPhone:String,remark:String,startAddress:String,startLat:Double,startLon:Double,tipMoney:Int, |
| | | travelTime:String,type:Int,urgent:Int, orderSource:Int=1): Flowable<ResultData<JsonObject>> { |
| | | fun smallLogistics( |
| | | serverCarModelId: Int, |
| | | endLonLat: String, |
| | | cargoNumber: Int, |
| | | cargoType: Int, |
| | | endAddress: String, |
| | | placementLat: Double, |
| | | placementLon: Double, |
| | | recipient: String, |
| | | recipientPhone: String, |
| | | remark: String, |
| | | startAddress: String, |
| | | startLat: Double, |
| | | startLon: Double, |
| | | tipMoney: Int, |
| | | travelTime: String, |
| | | type: Int, |
| | | urgent: Int, |
| | | orderSource: Int = 1 |
| | | ): Flowable<ResultData<JsonObject>> { |
| | | val map = HashMap<String, Any>() |
| | | map["cargoNumber"] = cargoNumber |
| | | map["cargoType"] = cargoType |