OMS-GW推送-商业合作伙伴

This commit is contained in:
zhaoqing
2026-05-06 13:51:57 +08:00
parent b62fc345b0
commit 4d732b1bf8
4 changed files with 13 additions and 10 deletions
@@ -210,10 +210,10 @@ public interface UserServiceFeign {
@RequestParam(value = "updateTimeTo", required = false) String updateTimeTo,
@RequestParam(value = "shipperType", required = false) Integer shipperType);
@ApiOperation("商业合作伙伴-更新推送")
@PostMapping("/userShipperApi/updatePushStatus")
void updatePushStatus(@RequestParam(value = "shipperId") Long shipperId,
@RequestParam(value = "pushStatus") Integer pushStatus,
@RequestParam(value = "pushTime") Date pushTime,
@RequestParam(value = "pushBy") Long pushBy);
public AjaxResult<?> updatePushStatus(@RequestParam(value = "shipperId") Long shipperId,
@RequestParam(value = "pushStatus", required = false) Integer pushStatus,
@RequestParam(value = "pushTime", required = false) Date pushTime,
@RequestParam(value = "pushBy", required = false) Long pushBy);
}
@@ -189,8 +189,8 @@ public class RemoteUserFeignFallbackFactory implements FallbackFactory<UserServi
}
@Override
public void updatePushStatus(Long shipperId, Integer pushStatus, Date pushTime, Long pushBy) {
log.error("更新失败" + throwable.getMessage());
public AjaxResult<?> updatePushStatus(Long shipperId, Integer pushStatus, Date pushTime, Long pushBy) {
return AjaxResult.error("更新失败" + throwable.getMessage());
}
};
}