mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-22 23:31:52 +08:00
【缺陷修复】MALL:物流信息的缓存不生效的问题
This commit is contained in:
parent
e3bec2fa3b
commit
76a7b5e401
@ -7,3 +7,8 @@ tenant-id: {{adminTenentId}}
|
|||||||
GET {{baseUrl}}/trade/order/get-detail?id=21
|
GET {{baseUrl}}/trade/order/get-detail?id=21
|
||||||
Authorization: Bearer {{token}}
|
Authorization: Bearer {{token}}
|
||||||
tenant-id: {{adminTenentId}}
|
tenant-id: {{adminTenentId}}
|
||||||
|
|
||||||
|
### 获得交易订单的物流轨迹 => 成功
|
||||||
|
GET {{baseUrl}}/trade/order/get-express-track-list?id=21
|
||||||
|
Authorization: Bearer {{token}}
|
||||||
|
tenant-id: {{adminTenentId}}
|
@ -215,7 +215,7 @@ public class TradeOrderQueryServiceImpl implements TradeOrderQueryService {
|
|||||||
* @return 物流轨迹
|
* @return 物流轨迹
|
||||||
*/
|
*/
|
||||||
@Cacheable(cacheNames = RedisKeyConstants.EXPRESS_TRACK, key = "#code + '-' + #logisticsNo + '-' + #receiverMobile",
|
@Cacheable(cacheNames = RedisKeyConstants.EXPRESS_TRACK, key = "#code + '-' + #logisticsNo + '-' + #receiverMobile",
|
||||||
condition = "#result != null")
|
condition = "#result != null && #result.length() > 0")
|
||||||
public List<ExpressTrackRespDTO> getExpressTrackList(String code, String logisticsNo, String receiverMobile) {
|
public List<ExpressTrackRespDTO> getExpressTrackList(String code, String logisticsNo, String receiverMobile) {
|
||||||
return expressClientFactory.getDefaultExpressClient().getExpressTrackList(
|
return expressClientFactory.getDefaultExpressClient().getExpressTrackList(
|
||||||
new ExpressTrackQueryReqDTO().setExpressCode(code).setLogisticsNo(logisticsNo)
|
new ExpressTrackQueryReqDTO().setExpressCode(code).setLogisticsNo(logisticsNo)
|
||||||
|
Loading…
Reference in New Issue
Block a user