Commit 6c0e607b by 杨树贤

修复

parent 8faf6027
Showing with 3 additions and 2 deletions
...@@ -392,9 +392,10 @@ class SkuService extends BaseService ...@@ -392,9 +392,10 @@ class SkuService extends BaseService
//验证cp_time是否超过限制 //验证cp_time是否超过限制
if (!$inputCpTime) { if (!$inputCpTime) {
$inputCpTime = 100000000000; $inputCpTime = 100000000000;
} else {
$inputCpTime = strtotime($inputCpTime);
} }
$inputCpTime = strtotime($inputCpTime);
if ($inputCpTime > $maxCpTime) { if ($inputCpTime > $maxCpTime) {
$invalidSkuIds[] = [ $invalidSkuIds[] = [
'sku_id' => $skuId, 'sku_id' => $skuId,
......
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 sign in to comment