Commit abaaa24e by weijiguang

取消点单屏点餐,位置校验

parent f40a0752
...@@ -112,7 +112,9 @@ public class OrderController extends BaseController { ...@@ -112,7 +112,9 @@ 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("未开启微信软件地理位置权限,请前往系统设置中打开"); if (order.getSource() != null && order.getSource() == 3) {
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