Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
goods
Project
Project
Details
Activity
Releases
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
bp
goods
Commits
32550a52
Commit
32550a52
authored
Aug 30, 2021
by
jianghaiming
Browse files
Options
Browse Files
Download
Plain Diff
update:修改冲突
parents
630cb9ac
c1e024dc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
GoodsService.php
application/services/goods/GoodsService.php
+3
-3
No files found.
application/services/goods/GoodsService.php
View file @
32550a52
...
...
@@ -285,7 +285,7 @@ class GoodsService
//立即上架和定时上架
if
(
in_array
(
$skuData
[
"online_type"
],
[
1
,
2
]))
{
if
(
$skuData
[
"expiration_time"
]
<=
$skuData
[
'online_start_time'
])
{
throw
new
GoodsException
([
"cus"
=>
49
]);
throw
new
GoodsException
([
"cus"
=>
52
]);
}
}
}
...
...
@@ -612,7 +612,7 @@ class GoodsService
//立即上架和定时上架
if
(
in_array
(
$onlineType
,
[
1
,
2
]))
{
if
(
$sku
[
"expiration_time"
]
<=
$goodsSkuData
[
'online_start_time'
])
{
throw
new
GoodsException
([
"cus"
=>
49
]);
throw
new
GoodsException
([
"cus"
=>
52
]);
}
}
...
...
@@ -850,7 +850,7 @@ class GoodsService
//立即上架和定时上架
if
(
in_array
(
$params
[
"online_type"
],
[
1
,
2
]))
{
if
(
$skuData
[
"expiration_time"
]
<=
$skuParams
[
'online_start_time'
])
{
throw
new
GoodsException
([
"cus"
=>
49
]);
throw
new
GoodsException
([
"cus"
=>
52
]);
}
}
}
...
...
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