Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
openApi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hj
openApi
Commits
8a40c129
Commit
8a40c129
authored
Apr 21, 2022
by
hangjun83
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后端:百化销售订单退货功能逻辑
parent
88f46dea
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
server/app/Services/BhOrdersService.php
server/app/Services/BhOrdersService.php
+2
-1
No files found.
server/app/Services/BhOrdersService.php
View file @
8a40c129
...
@@ -615,7 +615,8 @@ class BhOrdersService
...
@@ -615,7 +615,8 @@ class BhOrdersService
}
}
if
(
$sOrderDetail
[
'so_pay_status'
]
==
0
){
if
(
$sOrderDetail
[
'so_pay_status'
]
==
0
){
throw
new
\LogicException
(
'未完成付款的订单不能取消转预存款!'
,
500
);
return
;
//throw new \LogicException('未完成付款的订单不能取消转预存款!',500);
}
}
if
(
$sOrderDetail
[
'so_pay_status'
]
==
1
){
if
(
$sOrderDetail
[
'so_pay_status'
]
==
1
){
throw
new
\LogicException
(
'部分付款的订单不能取消明细,请联系管理员!'
,
500
);
throw
new
\LogicException
(
'部分付款的订单不能取消明细,请联系管理员!'
,
500
);
...
...
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