Commit 5fed4b60 by yu.sun

sunyu::fix bug about store info check

parent 0b1bad43
...@@ -678,7 +678,7 @@ public class ShoppingCartMCoffeeServiceImpl { ...@@ -678,7 +678,7 @@ public class ShoppingCartMCoffeeServiceImpl {
if (storeResponseDto.getActiveFlag() == 1 && storeResponseDto.getState().equals("2")) { if (storeResponseDto.getActiveFlag() == 1 && storeResponseDto.getState().equals("2")) {
ResponseResult storeRest = ResponseResult.CART_STORE_REST; ResponseResult storeRest = ResponseResult.CART_STORE_REST;
storeRest.setMessage(storeRest.getMessage().replace("$storeName",storeName)); storeRest.setMessage(storeRest.getMessage().replace("$storeName",storeName));
return ResponseUtil.error(ResponseResult.CART_STORE_REST); return ResponseUtil.error(storeRest);
} }
return ResponseUtil.success(); return ResponseUtil.success();
} }
......
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