OMS-GW推送-商业合作伙伴
This commit is contained in:
@@ -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);
|
||||
}
|
||||
+2
-2
@@ -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());
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user