Commit 544492f3 by weijiguang

优化店铺距离限制

parent abbf0ad4
...@@ -112,7 +112,7 @@ public class OrderController extends BaseController { ...@@ -112,7 +112,7 @@ public class OrderController extends BaseController {
if (order.getLng() == null || order.getLng().compareTo(BigDecimal.ZERO) == 0 if (order.getLng() == null || order.getLng().compareTo(BigDecimal.ZERO) == 0
|| order.getLat() == null || order.getLat().compareTo(BigDecimal.ZERO) == 0) { || order.getLat() == null || order.getLat().compareTo(BigDecimal.ZERO) == 0) {
return AjaxResult.error("未授权地理位置不允许下单"); return AjaxResult.error("未开启微信软件地理位置权限,请前往系统设置中打开");
} }
if (order.getSendMsgFlag1() == null || order.getSendMsgFlag2() == null || order.getSendMsgFlag3() == null) { if (order.getSendMsgFlag1() == null || order.getSendMsgFlag2() == null || order.getSendMsgFlag3() == null) {
......
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