Commit abaaa24e by weijiguang

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

parent f40a0752
......@@ -112,8 +112,10 @@ public class OrderController extends BaseController {
if (order.getLng() == null || order.getLng().compareTo(BigDecimal.ZERO) == 0
|| order.getLat() == null || order.getLat().compareTo(BigDecimal.ZERO) == 0) {
if (order.getSource() != null && order.getSource() == 3) {
return AjaxResult.error("未开启微信软件地理位置权限,请前往系统设置中打开");
}
}
if (order.getSendMsgFlag1() == null || order.getSendMsgFlag2() == null || order.getSendMsgFlag3() == null) {
return AjaxResult.error("授权发送消息权限未传递");
......
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