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

Commit 509398d5 authored by 胡佳晨's avatar 胡佳晨

修改快递价格

parent 9398bdc3
......@@ -27,14 +27,14 @@ public class KylinGetShunFengPriceController {
@GetMapping("getPrice")
@ApiOperation("运费查询")
public ResponseDto<String> getFreightCharge(String adcode, String expressType){
public ResponseDto<String> getFreightCharge(String adcode, String productCode){
/* String substring = adcode.substring(0, 3);
if(substring.equals("110") || substring.equals("120") || substring.equals("130")){
if (expressType.equals("1")){
return ResponseDto.success("23.00");
}
}*/
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 + productCode);
if (obj != null){
KylinFreightChargeDao k= (KylinFreightChargeDao)obj;
//运费为0元时返23元
......
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