mirror of
				https://github.com/YunaiV/ruoyi-vue-pro.git
				synced 2025-10-31 18:49:06 +08:00 
			
		
		
		
	【缺陷修复】MALL:物流信息的缓存不生效的问题
This commit is contained in:
		| @ -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) | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 YunaiV
					YunaiV