Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
soss
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hooloo
ms
soss
Commits
abaaa24e
Commit
abaaa24e
authored
Mar 20, 2023
by
weijiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
取消点单屏点餐,位置校验
parent
f40a0752
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
soss-admin/src/main/java/com/soss/web/controller/coffee/OrderController.java
+2
-0
No files found.
soss-admin/src/main/java/com/soss/web/controller/coffee/OrderController.java
View file @
abaaa24e
...
...
@@ -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
(
"授权发送消息权限未传递"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment