记得上下班打卡 | git大法好,push需谨慎

Commit ff1c9391 authored by sunyuntian's avatar sunyuntian

测试:固定收件地址

parent 9ed12908
...@@ -18,15 +18,15 @@ import org.springframework.web.bind.annotation.RestController; ...@@ -18,15 +18,15 @@ import org.springframework.web.bind.annotation.RestController;
@Slf4j @Slf4j
public class KylinGetShunFengPriceController { public class KylinGetShunFengPriceController {
@Autowired
private RedisDataSourceUtil redisDataSourceUtil;
@Autowired @Autowired
private RedisUtil redisUtil; private RedisUtil redisUtil;
@GetMapping("getPrice") @GetMapping("getPrice")
@ApiOperation("运费查询") @ApiOperation("运费查询")
public String getFreightCharge(String adcode,String expressType){ public String getFreightCharge(String adcode,String expressType){
adcode="530102";
expressType="1";
Object obj =redisUtil.get(KylinRedisConst.RETURN_ADDRESS_CODE+adcode+KylinRedisConst.EXPRESS_TYPE+expressType); Object obj =redisUtil.get(KylinRedisConst.RETURN_ADDRESS_CODE+adcode+KylinRedisConst.EXPRESS_TYPE+expressType);
if (obj != null){ if (obj != null){
KylinFreightChargeDao k= (KylinFreightChargeDao)obj; KylinFreightChargeDao k= (KylinFreightChargeDao)obj;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment