| | |
| | | |
| | | /** |
| | | * 批量订单 |
| | | * |
| | | * @throws Exception |
| | | */ |
| | | @Override |
| | | public ResultUtil<BaseWarpper> saveOrderPrivateCars(String serverCarModel, Date travelTime, Integer reservation, Integer instead, String placementLon, String placementLat, String startLon, String startLat, String startAddress, String endLon, String endLat, String endAddress, String name, String phone, Integer orderSource, Integer driverId, Integer uid, Integer peopleNum) throws Exception { |
| | | public ResultUtil<BaseWarpper> saveOrderPrivateCars(String serverCarModel, Date travelTime, Integer reservation, Integer instead, String placementLon, String placementLat, String startLon, String startLat, String startAddress, String endLon, |
| | | String endLat, String endAddress, String name, String phone, Integer orderSource, Integer driverId, Integer uid, Integer peopleNum) throws Exception { |
| | | BaseWarpper baseWarpper = new BaseWarpper(); |
| | | if (lock.tryLock()) { |
| | | try{ |
| | |
| | | LoginWarpper loginWarpper = new LoginWarpper(); |
| | | loginWarpper.setId(userInfo.getId()); |
| | | loginWarpper.setToken(token); |
| | | loginWarpper.setExpirationTime(15552000L); |
| | | loginWarpper.setAppid(UUIDUtil.getRandomCode()); |
| | | loginWarpper.setEmergencyContact(userInfo.getEmergencyContact()); |
| | | loginWarpper.setEmergencyContactNumber(userInfo.getEmergencyContactNumber()); |
| | |
| | | private Integer id; |
| | | @ApiModelProperty("token") |
| | | private String token; |
| | | @ApiModelProperty("token过期时间,秒") |
| | | private Long expirationTime; |
| | | @ApiModelProperty("appid") |
| | | private String appid; |
| | | @ApiModelProperty("是否有手机号码(1=否,2=是)") |
| | |
| | | this.token = token; |
| | | } |
| | | |
| | | public Long getExpirationTime() { |
| | | return expirationTime; |
| | | } |
| | | |
| | | public void setExpirationTime(Long expirationTime) { |
| | | this.expirationTime = expirationTime; |
| | | } |
| | | |
| | | public String getAppid() { |
| | | return appid; |
| | | } |