| | |
| | | return appUserService.getById(id); |
| | | } |
| | | |
| | | @PostMapping("/getBaseUserById") |
| | | public R<Map<String, Object>> getBaseUserById(@RequestParam("id") Long id) { |
| | | AppUser appUser = appUserService.getById(id); |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("id", appUser.getId()); |
| | | map.put("name", appUser.getName()); |
| | | map.put("phone", appUser.getPhone()); |
| | | return R.ok(map); |
| | | } |
| | | |
| | | |
| | | @ResponseBody |
| | | @PostMapping("/editAppUserById") |
| | | public R<Void> editAppUserById(@RequestBody AppUser appUser) { |
| | |
| | | return R.ok(); |
| | | } |
| | | |
| | | public static void main(String[] args) { |
| | | System.out.println(LocalDateTime.now().toEpochSecond(ZoneOffset.UTC)); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 取消订单操作 |
| | |
| | | throw new ServiceException("城市编码错误:"+cityCode, 500); |
| | | } |
| | | JSONObject jsonObject = new JSONObject(); |
| | | jsonObject.put("com", expressName); |
| | | jsonObject.put("com", companyNameByCode); |
| | | jsonObject.put("num", expressNum); |
| | | ConfirmDelivery confirmDelivery =new ConfirmDelivery(); |
| | | confirmDelivery.setOrderId(order.getId()); |
| | |
| | | } |
| | | } |
| | | |
| | | public static void main(String[] args) throws MalformedURLException { |
| | | importExpress2("http://qijishenghuiyuan.obs.cn-southwest-2.myhuaweicloud.com/admin/69c1fcbe5c114f2a9f38703e4f5e1af0.xlsx"); |
| | | } |
| | | } |
| | |
| | | |
| | | |
| | | public static void main(String[] args) { |
| | | ExpressDeliveryUtil.kd100MapTrack("zhongtong", "75617413683310", "湖南省长沙市", "四川省成都市"); |
| | | MapTrackKD100Vo mapTrackKD100Vo = ExpressDeliveryUtil.kd100MapTrack("zhongtong", "73543720196087", "湖南省长沙市", "四川省成都市"); |
| | | System.out.println(mapTrackKD100Vo); |
| | | } |
| | | |
| | | } |